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 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subdirs_all
="$ac_subdirs_all doc testsuite"
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 SET_MAKE RANLIB ac_ct_RANLIB ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l localedir PACKAGE subdirs AWK INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG 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-nls do not use Native Language Support
864 --disable-gdbcli disable command-line interface
(CLI
)
865 --disable-gdbmi disable machine-interface
(MI
)
866 --enable-tui enable full-screen terminal user interface
(TUI
)
867 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
868 --enable-profiling enable profiling of GDB
869 --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-included-gettext use the GNU
gettext library included here
879 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
880 --with-libunwind Use libunwind frame unwinding support
881 --without-included-regex don
't use included regex; this is the default
882 on systems with version 2 of the GNU C library
883 (use with caution on other system)
884 --with-sysroot=DIR Search for usr/lib et al within DIR.
885 --with-tclconfig=DIR Directory containing tcl configuration (tclConfig.sh)
886 --with-tkconfig=DIR Directory containing tk configuration (tkConfig.sh)
887 --with-tclinclude=DIR Directory where tcl private headers are
888 --with-tkinclude=DIR Directory where tk private headers are
889 --with-itclconfig Directory containing itcl configuration (itclConfig.sh)
890 --with-itkconfig Directory containing itk configuration (itkConfig.sh)
891 --with-x use the X Window System
892 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
894 Some influential environment variables:
895 CC C compiler command
896 CFLAGS C compiler flags
897 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
898 nonstandard directory <lib dir>
899 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
900 headers in a nonstandard directory <include dir>
903 Use these variables to override the choices made by `configure' or to
help
904 it to
find libraries and programs with nonstandard names
/locations.
909 if test "$ac_init_help" = "recursive"; then
910 # If there are subdirs, report their specific --help.
912 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
913 test -d $ac_dir ||
continue
916 if test "$ac_dir" != .
; then
917 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
918 # A "../" for each directory in $ac_dir_suffix.
919 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
921 ac_dir_suffix
= ac_top_builddir
=
925 .
) # No --srcdir option. We are building in place.
927 if test -z "$ac_top_builddir"; then
930 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
932 [\\/]* | ?
:[\\/]* ) # Absolute path.
933 ac_srcdir
=$srcdir$ac_dir_suffix;
934 ac_top_srcdir
=$srcdir ;;
936 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
937 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
940 # Do not use `cd foo && pwd` to compute absolute paths, because
941 # the directories may not exist.
943 .
) ac_abs_builddir
="$ac_dir";;
946 .
) ac_abs_builddir
=`pwd`;;
947 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
948 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
951 case $ac_abs_builddir in
952 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
954 case ${ac_top_builddir}.
in
955 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
956 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
957 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
960 case $ac_abs_builddir in
961 .
) ac_abs_srcdir
=$ac_srcdir;;
964 .
) ac_abs_srcdir
=$ac_abs_builddir;;
965 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
966 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
969 case $ac_abs_builddir in
970 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
972 case $ac_top_srcdir in
973 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
974 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
975 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
980 # Check for guested configure; otherwise get Cygnus style configure.
981 if test -f $ac_srcdir/configure.gnu
; then
983 $SHELL $ac_srcdir/configure.gnu
--help=recursive
984 elif test -f $ac_srcdir/configure
; then
986 $SHELL $ac_srcdir/configure
--help=recursive
987 elif test -f $ac_srcdir/configure.ac ||
988 test -f $ac_srcdir/configure.
in; then
992 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
998 test -n "$ac_init_help" && exit 0
999 if $ac_init_version; then
1002 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1003 This configure
script is free software
; the Free Software Foundation
1004 gives unlimited permission to copy
, distribute and modify it.
1010 This file contains any messages produced by compilers while
1011 running configure, to aid debugging if configure makes a mistake.
1013 It was created by $as_me, which was
1014 generated by GNU Autoconf 2.59. Invocation command line was
1025 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1026 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1027 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1028 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1029 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1031 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1032 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1034 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1035 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1036 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1037 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1038 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1039 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1040 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1048 test -z "$as_dir" && as_dir
=.
1049 echo "PATH: $as_dir"
1064 # Keep a trace of the command line.
1065 # Strip out --no-create and --no-recursion so they do not pile up.
1066 # Strip out --silent because we don't want to record it for future runs.
1067 # Also quote any args containing shell meta-characters.
1068 # Make two passes to allow for proper duplicate-argument suppression.
1073 ac_must_keep_next
=false
1079 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1080 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1081 |
-silent |
--silent |
--silen |
--sile |
--sil)
1083 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1084 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1087 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1089 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1090 if test $ac_must_keep_next = true
; then
1091 ac_must_keep_next
=false
# Got value, back to normal.
1094 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1095 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1096 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1097 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1098 case "$ac_configure_args0 " in
1099 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1102 -* ) ac_must_keep_next
=true
;;
1105 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1106 # Get rid of the leading space.
1112 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1113 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1115 # When interrupted or exit'd, cleanup temporary files, and complete
1116 # config.log. We remove comments because anyway the quotes in there
1117 # would cause problems or look ugly.
1118 # WARNING: Be sure not to use single quotes in there, as some shells,
1119 # such as our DU 5.0 friend, will then `close' the trap.
1120 trap 'exit_status=$?
1121 # Save into config.log some information that might help in debugging.
1126 ## ---------------- ##
1127 ## Cache variables. ##
1128 ## ---------------- ##
1131 # The following way of writing the cache mishandles newlines in values,
1134 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1137 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1142 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1149 ## ----------------- ##
1150 ## Output variables. ##
1151 ## ----------------- ##
1154 for ac_var in $ac_subst_vars
1156 eval ac_val=$`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1161 if test -n "$ac_subst_files"; then
1168 for ac_var in $ac_subst_files
1170 eval ac_val=$`echo $ac_var`
1171 echo "$ac_var='"'"'$ac_val'"'"'"
1176 if test -s confdefs.h; then
1183 sed "/^$/d" confdefs.h | sort
1186 test "$ac_signal" != 0 &&
1187 echo "$as_me: caught signal $ac_signal"
1188 echo "$as_me: exit $exit_status"
1190 rm -f core *.core &&
1191 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1194 for ac_signal
in 1 2 13 15; do
1195 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1199 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1200 rm -rf conftest
* confdefs.h
1201 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1204 # Predefined preprocessor variables.
1206 cat >>confdefs.h
<<_ACEOF
1207 #define PACKAGE_NAME "$PACKAGE_NAME"
1211 cat >>confdefs.h
<<_ACEOF
1212 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1216 cat >>confdefs.h
<<_ACEOF
1217 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1221 cat >>confdefs.h
<<_ACEOF
1222 #define PACKAGE_STRING "$PACKAGE_STRING"
1226 cat >>confdefs.h
<<_ACEOF
1227 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1231 # Let the site file select an alternate cache file if it wants to.
1232 # Prefer explicitly selected file to automatically selected ones.
1233 if test -z "$CONFIG_SITE"; then
1234 if test "x$prefix" != xNONE
; then
1235 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1237 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1240 for ac_site_file
in $CONFIG_SITE; do
1241 if test -r "$ac_site_file"; then
1242 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1243 echo "$as_me: loading site script $ac_site_file" >&6;}
1244 sed 's/^/| /' "$ac_site_file" >&5
1249 if test -r "$cache_file"; then
1250 # Some versions of bash will fail to source /dev/null (special
1251 # files actually), so we avoid doing that.
1252 if test -f "$cache_file"; then
1253 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1254 echo "$as_me: loading cache $cache_file" >&6;}
1256 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1257 *) . .
/$cache_file;;
1261 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1262 echo "$as_me: creating cache $cache_file" >&6;}
1266 # Check that the precious variables saved in the cache have kept the same
1268 ac_cache_corrupted
=false
1269 for ac_var
in `(set) 2>&1 |
1270 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1271 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1272 eval ac_new_set
=\
$ac_env_${ac_var}_set
1273 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1274 eval ac_new_val
="\$ac_env_${ac_var}_value"
1275 case $ac_old_set,$ac_new_set in
1277 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1278 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1279 ac_cache_corrupted
=: ;;
1281 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1282 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1283 ac_cache_corrupted
=: ;;
1286 if test "x$ac_old_val" != "x$ac_new_val"; then
1287 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1288 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1289 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1290 echo "$as_me: former value: $ac_old_val" >&2;}
1291 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1292 echo "$as_me: current value: $ac_new_val" >&2;}
1293 ac_cache_corrupted
=:
1296 # Pass precious variables to config.status.
1297 if test "$ac_new_set" = set; then
1299 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1300 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1301 *) ac_arg
=$ac_var=$ac_new_val ;;
1303 case " $ac_configure_args " in
1304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1305 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1309 if $ac_cache_corrupted; then
1310 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1311 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1312 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1313 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1314 { (exit 1); exit 1; }; }
1318 ac_cpp
='$CPP $CPPFLAGS'
1319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1341 ac_config_headers
="$ac_config_headers config.h:config.in"
1343 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1344 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1345 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1346 if test "${enable_maintainer_mode+set}" = set; then
1347 enableval
="$enable_maintainer_mode"
1348 USE_MAINTAINER_MODE
=$enableval
1350 USE_MAINTAINER_MODE
=no
1352 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1353 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1356 if test $USE_MAINTAINER_MODE = yes; then
1357 MAINTAINER_MODE_TRUE
=
1358 MAINTAINER_MODE_FALSE
='#'
1360 MAINTAINER_MODE_TRUE
='#'
1361 MAINTAINER_MODE_FALSE
=
1364 MAINT
=$MAINTAINER_MODE_TRUE
1369 ac_cpp
='$CPP $CPPFLAGS'
1370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1373 if test -n "$ac_tool_prefix"; then
1374 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1375 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1376 echo "$as_me:$LINENO: checking for $ac_word" >&5
1377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1378 if test "${ac_cv_prog_CC+set}" = set; then
1379 echo $ECHO_N "(cached) $ECHO_C" >&6
1381 if test -n "$CC"; then
1382 ac_cv_prog_CC
="$CC" # Let the user override the test.
1384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir
=.
1389 for ac_exec_ext
in '' $ac_executable_extensions; do
1390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1391 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1401 if test -n "$CC"; then
1402 echo "$as_me:$LINENO: result: $CC" >&5
1403 echo "${ECHO_T}$CC" >&6
1405 echo "$as_me:$LINENO: result: no" >&5
1406 echo "${ECHO_T}no" >&6
1410 if test -z "$ac_cv_prog_CC"; then
1412 # Extract the first word of "gcc", so it can be a program name with args.
1413 set dummy gcc
; ac_word
=$2
1414 echo "$as_me:$LINENO: checking for $ac_word" >&5
1415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1416 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1417 echo $ECHO_N "(cached) $ECHO_C" >&6
1419 if test -n "$ac_ct_CC"; then
1420 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1426 test -z "$as_dir" && as_dir
=.
1427 for ac_exec_ext
in '' $ac_executable_extensions; do
1428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1429 ac_cv_prog_ac_ct_CC
="gcc"
1430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1438 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1439 if test -n "$ac_ct_CC"; then
1440 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1441 echo "${ECHO_T}$ac_ct_CC" >&6
1443 echo "$as_me:$LINENO: result: no" >&5
1444 echo "${ECHO_T}no" >&6
1452 if test -z "$CC"; then
1453 if test -n "$ac_tool_prefix"; then
1454 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1455 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1456 echo "$as_me:$LINENO: checking for $ac_word" >&5
1457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1458 if test "${ac_cv_prog_CC+set}" = set; then
1459 echo $ECHO_N "(cached) $ECHO_C" >&6
1461 if test -n "$CC"; then
1462 ac_cv_prog_CC
="$CC" # Let the user override the test.
1464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1468 test -z "$as_dir" && as_dir
=.
1469 for ac_exec_ext
in '' $ac_executable_extensions; do
1470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1471 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1481 if test -n "$CC"; then
1482 echo "$as_me:$LINENO: result: $CC" >&5
1483 echo "${ECHO_T}$CC" >&6
1485 echo "$as_me:$LINENO: result: no" >&5
1486 echo "${ECHO_T}no" >&6
1490 if test -z "$ac_cv_prog_CC"; then
1492 # Extract the first word of "cc", so it can be a program name with args.
1493 set dummy cc
; ac_word
=$2
1494 echo "$as_me:$LINENO: checking for $ac_word" >&5
1495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1497 echo $ECHO_N "(cached) $ECHO_C" >&6
1499 if test -n "$ac_ct_CC"; then
1500 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir
=.
1507 for ac_exec_ext
in '' $ac_executable_extensions; do
1508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1509 ac_cv_prog_ac_ct_CC
="cc"
1510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1518 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1519 if test -n "$ac_ct_CC"; then
1520 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1521 echo "${ECHO_T}$ac_ct_CC" >&6
1523 echo "$as_me:$LINENO: result: no" >&5
1524 echo "${ECHO_T}no" >&6
1533 if test -z "$CC"; then
1534 # Extract the first word of "cc", so it can be a program name with args.
1535 set dummy cc
; ac_word
=$2
1536 echo "$as_me:$LINENO: checking for $ac_word" >&5
1537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1538 if test "${ac_cv_prog_CC+set}" = set; then
1539 echo $ECHO_N "(cached) $ECHO_C" >&6
1541 if test -n "$CC"; then
1542 ac_cv_prog_CC
="$CC" # Let the user override the test.
1545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1549 test -z "$as_dir" && as_dir
=.
1550 for ac_exec_ext
in '' $ac_executable_extensions; do
1551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1553 ac_prog_rejected
=yes
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1563 if test $ac_prog_rejected = yes; then
1564 # We found a bogon in the path, so make sure we never use it.
1565 set dummy
$ac_cv_prog_CC
1567 if test $# != 0; then
1568 # We chose a different compiler from the bogus one.
1569 # However, it has the same basename, so the bogon will be chosen
1570 # first if we set CC to just the basename; use the full file name.
1572 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1578 if test -n "$CC"; then
1579 echo "$as_me:$LINENO: result: $CC" >&5
1580 echo "${ECHO_T}$CC" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1587 if test -z "$CC"; then
1588 if test -n "$ac_tool_prefix"; then
1591 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1592 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1593 echo "$as_me:$LINENO: checking for $ac_word" >&5
1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1595 if test "${ac_cv_prog_CC+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 if test -n "$CC"; then
1599 ac_cv_prog_CC
="$CC" # Let the user override the test.
1601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1605 test -z "$as_dir" && as_dir
=.
1606 for ac_exec_ext
in '' $ac_executable_extensions; do
1607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1608 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1618 if test -n "$CC"; then
1619 echo "$as_me:$LINENO: result: $CC" >&5
1620 echo "${ECHO_T}$CC" >&6
1622 echo "$as_me:$LINENO: result: no" >&5
1623 echo "${ECHO_T}no" >&6
1626 test -n "$CC" && break
1629 if test -z "$CC"; then
1633 # Extract the first word of "$ac_prog", so it can be a program name with args.
1634 set dummy
$ac_prog; ac_word
=$2
1635 echo "$as_me:$LINENO: checking for $ac_word" >&5
1636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1638 echo $ECHO_N "(cached) $ECHO_C" >&6
1640 if test -n "$ac_ct_CC"; then
1641 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir
=.
1648 for ac_exec_ext
in '' $ac_executable_extensions; do
1649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1650 ac_cv_prog_ac_ct_CC
="$ac_prog"
1651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1659 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1660 if test -n "$ac_ct_CC"; then
1661 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1662 echo "${ECHO_T}$ac_ct_CC" >&6
1664 echo "$as_me:$LINENO: result: no" >&5
1665 echo "${ECHO_T}no" >&6
1668 test -n "$ac_ct_CC" && break
1677 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1678 See \`config.log' for more details." >&5
1679 echo "$as_me: error: no acceptable C compiler found in \$PATH
1680 See \`config.log' for more details." >&2;}
1681 { (exit 1); exit 1; }; }
1683 # Provide some information about the compiler.
1684 echo "$as_me:$LINENO:" \
1685 "checking for C compiler version" >&5
1686 ac_compiler
=`set X $ac_compile; echo $2`
1687 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1688 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1691 (exit $ac_status); }
1692 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1693 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1696 (exit $ac_status); }
1697 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1698 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1701 (exit $ac_status); }
1703 cat >conftest.
$ac_ext <<_ACEOF
1706 cat confdefs.h
>>conftest.
$ac_ext
1707 cat >>conftest.
$ac_ext <<_ACEOF
1708 /* end confdefs.h. */
1718 ac_clean_files_save
=$ac_clean_files
1719 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1720 # Try to create an executable without -o first, disregard a.out.
1721 # It will help us diagnose broken compilers, and finding out an intuition
1723 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1724 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1725 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1726 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1727 (eval $ac_link_default) 2>&5
1729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1730 (exit $ac_status); }; then
1731 # Find the output, starting from the most likely. This scheme is
1732 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1735 # Be careful to initialize this variable, since it used to be cached.
1736 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1738 # b.out is created by i960 compilers.
1739 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1741 test -f "$ac_file" ||
continue
1743 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1746 # This is the source file.
1749 # We found the default executable, but exeext='' is most
1753 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1754 # FIXME: I believe we export ac_cv_exeext for Libtool,
1755 # but it would be cool to find out if it's true. Does anybody
1756 # maintain Libtool? --akim.
1764 echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.
$ac_ext >&5
1767 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1768 See \`config.log' for more details." >&5
1769 echo "$as_me: error: C compiler cannot create executables
1770 See \`config.log' for more details." >&2;}
1771 { (exit 77); exit 77; }; }
1774 ac_exeext
=$ac_cv_exeext
1775 echo "$as_me:$LINENO: result: $ac_file" >&5
1776 echo "${ECHO_T}$ac_file" >&6
1778 # Check the compiler produces executables we can run. If not, either
1779 # the compiler is broken, or we cross compile.
1780 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1781 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1782 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1783 # If not cross compiling, check that we can run a simple program.
1784 if test "$cross_compiling" != yes; then
1785 if { ac_try
='./$ac_file'
1786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); }; }; then
1793 if test "$cross_compiling" = maybe
; then
1796 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1797 If you meant to cross compile, use \`--host'.
1798 See \`config.log' for more details." >&5
1799 echo "$as_me: error: cannot run C compiled programs.
1800 If you meant to cross compile, use \`--host'.
1801 See \`config.log' for more details." >&2;}
1802 { (exit 1); exit 1; }; }
1806 echo "$as_me:$LINENO: result: yes" >&5
1807 echo "${ECHO_T}yes" >&6
1809 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1810 ac_clean_files
=$ac_clean_files_save
1811 # Check the compiler produces executables we can run. If not, either
1812 # the compiler is broken, or we cross compile.
1813 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1814 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1815 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1816 echo "${ECHO_T}$cross_compiling" >&6
1818 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1819 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1821 (eval $ac_link) 2>&5
1823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1824 (exit $ac_status); }; then
1825 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1826 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1827 # work properly (i.e., refer to `conftest.exe'), while it won't with
1829 for ac_file
in conftest.exe conftest conftest.
*; do
1830 test -f "$ac_file" ||
continue
1832 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1833 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1840 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1841 See \`config.log' for more details." >&5
1842 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1843 See \`config.log' for more details." >&2;}
1844 { (exit 1); exit 1; }; }
1847 rm -f conftest
$ac_cv_exeext
1848 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1849 echo "${ECHO_T}$ac_cv_exeext" >&6
1851 rm -f conftest.
$ac_ext
1852 EXEEXT
=$ac_cv_exeext
1854 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1855 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1856 if test "${ac_cv_objext+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 cat >conftest.
$ac_ext <<_ACEOF
1862 cat confdefs.h
>>conftest.
$ac_ext
1863 cat >>conftest.
$ac_ext <<_ACEOF
1864 /* end confdefs.h. */
1874 rm -f conftest.o conftest.obj
1875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1876 (eval $ac_compile) 2>&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); }; then
1880 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1882 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1883 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1888 echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.
$ac_ext >&5
1891 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1892 See \`config.log' for more details." >&5
1893 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1894 See \`config.log' for more details." >&2;}
1895 { (exit 1); exit 1; }; }
1898 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1900 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1901 echo "${ECHO_T}$ac_cv_objext" >&6
1902 OBJEXT
=$ac_cv_objext
1904 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1905 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1906 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1907 echo $ECHO_N "(cached) $ECHO_C" >&6
1909 cat >conftest.
$ac_ext <<_ACEOF
1912 cat confdefs.h
>>conftest.
$ac_ext
1913 cat >>conftest.
$ac_ext <<_ACEOF
1914 /* end confdefs.h. */
1927 rm -f conftest.
$ac_objext
1928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1929 (eval $ac_compile) 2>conftest.er1
1931 grep -v '^ *+' conftest.er1
>conftest.err
1933 cat conftest.err
>&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); } &&
1936 { ac_try
='test -z "$ac_c_werror_flag"
1937 || test ! -s conftest.err'
1938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); }; } &&
1943 { ac_try
='test -s conftest.$ac_objext'
1944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948 (exit $ac_status); }; }; then
1951 echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.
$ac_ext >&5
1956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1957 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1960 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1961 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1962 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1963 ac_test_CFLAGS
=${CFLAGS+set}
1964 ac_save_CFLAGS
=$CFLAGS
1966 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1967 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1968 if test "${ac_cv_prog_cc_g+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 cat >conftest.
$ac_ext <<_ACEOF
1974 cat confdefs.h
>>conftest.
$ac_ext
1975 cat >>conftest.
$ac_ext <<_ACEOF
1976 /* end confdefs.h. */
1986 rm -f conftest.
$ac_objext
1987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1988 (eval $ac_compile) 2>conftest.er1
1990 grep -v '^ *+' conftest.er1
>conftest.err
1992 cat conftest.err
>&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); } &&
1995 { ac_try
='test -z "$ac_c_werror_flag"
1996 || test ! -s conftest.err'
1997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); }; } &&
2002 { ac_try
='test -s conftest.$ac_objext'
2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; }; then
2010 echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.
$ac_ext >&5
2015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2017 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2018 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2019 if test "$ac_test_CFLAGS" = set; then
2020 CFLAGS
=$ac_save_CFLAGS
2021 elif test $ac_cv_prog_cc_g = yes; then
2022 if test "$GCC" = yes; then
2028 if test "$GCC" = yes; then
2034 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2035 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2036 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 ac_cv_prog_cc_stdc
=no
2041 cat >conftest.
$ac_ext <<_ACEOF
2044 cat confdefs.h
>>conftest.
$ac_ext
2045 cat >>conftest.
$ac_ext <<_ACEOF
2046 /* end confdefs.h. */
2049 #include <sys/types.h>
2050 #include <sys/stat.h>
2051 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2052 struct buf { int x; };
2053 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2054 static char *e (p, i)
2060 static char *f (char * (*g) (char **, int), char **p, ...)
2065 s = g (p, va_arg (v,int));
2070 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2071 function prototypes and stuff, but not '\xHH' hex character constants.
2072 These don't provoke an error unfortunately, instead are silently treated
2073 as 'x'. The following induces an error, until -std1 is added to get
2074 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2075 array size at least. It's necessary to write '\x00'==0 to get something
2076 that's true only with -std1. */
2077 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2079 int test (int i, double x);
2080 struct s1 {int (*f) (int a);};
2081 struct s2 {int (*f) (double a);};
2082 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2088 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2093 # Don't try gcc -ansi; that turns off useful extensions and
2094 # breaks some systems' header files.
2095 # AIX -qlanglvl=ansi
2096 # Ultrix and OSF/1 -std1
2097 # HP-UX 10.20 and later -Ae
2098 # HP-UX older versions -Aa -D_HPUX_SOURCE
2099 # SVR4 -Xc -D__EXTENSIONS__
2100 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2102 CC
="$ac_save_CC $ac_arg"
2103 rm -f conftest.
$ac_objext
2104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2105 (eval $ac_compile) 2>conftest.er1
2107 grep -v '^ *+' conftest.er1
>conftest.err
2109 cat conftest.err
>&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); } &&
2112 { ac_try
='test -z "$ac_c_werror_flag"
2113 || test ! -s conftest.err'
2114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; } &&
2119 { ac_try
='test -s conftest.$ac_objext'
2120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; }; then
2125 ac_cv_prog_cc_stdc
=$ac_arg
2128 echo "$as_me: failed program was:" >&5
2129 sed 's/^/| /' conftest.
$ac_ext >&5
2132 rm -f conftest.err conftest.
$ac_objext
2134 rm -f conftest.
$ac_ext conftest.
$ac_objext
2139 case "x$ac_cv_prog_cc_stdc" in
2141 echo "$as_me:$LINENO: result: none needed" >&5
2142 echo "${ECHO_T}none needed" >&6 ;;
2144 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2145 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2146 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2149 # Some people use a C++ compiler to compile C. Since we use `exit',
2150 # in C++ we need to declare it. In case someone uses the same compiler
2151 # for both compiling C and C++ we need to have the C++ compiler decide
2152 # the declaration of exit, since it's the most demanding environment.
2153 cat >conftest.
$ac_ext <<_ACEOF
2158 rm -f conftest.
$ac_objext
2159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2160 (eval $ac_compile) 2>conftest.er1
2162 grep -v '^ *+' conftest.er1
>conftest.err
2164 cat conftest.err
>&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); } &&
2167 { ac_try
='test -z "$ac_c_werror_flag"
2168 || test ! -s conftest.err'
2169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }; } &&
2174 { ac_try
='test -s conftest.$ac_objext'
2175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179 (exit $ac_status); }; }; then
2180 for ac_declaration
in \
2182 'extern "C" void std::exit (int) throw (); using std::exit;' \
2183 'extern "C" void std::exit (int); using std::exit;' \
2184 'extern "C" void exit (int) throw ();' \
2185 'extern "C" void exit (int);' \
2188 cat >conftest.
$ac_ext <<_ACEOF
2191 cat confdefs.h
>>conftest.
$ac_ext
2192 cat >>conftest.
$ac_ext <<_ACEOF
2193 /* end confdefs.h. */
2204 rm -f conftest.
$ac_objext
2205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2206 (eval $ac_compile) 2>conftest.er1
2208 grep -v '^ *+' conftest.er1
>conftest.err
2210 cat conftest.err
>&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); } &&
2213 { ac_try
='test -z "$ac_c_werror_flag"
2214 || test ! -s conftest.err'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; } &&
2220 { ac_try
='test -s conftest.$ac_objext'
2221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; }; then
2228 echo "$as_me: failed program was:" >&5
2229 sed 's/^/| /' conftest.
$ac_ext >&5
2233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2234 cat >conftest.
$ac_ext <<_ACEOF
2237 cat confdefs.h
>>conftest.
$ac_ext
2238 cat >>conftest.
$ac_ext <<_ACEOF
2239 /* end confdefs.h. */
2249 rm -f conftest.
$ac_objext
2250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2251 (eval $ac_compile) 2>conftest.er1
2253 grep -v '^ *+' conftest.er1
>conftest.err
2255 cat conftest.err
>&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); } &&
2258 { ac_try
='test -z "$ac_c_werror_flag"
2259 || test ! -s conftest.err'
2260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); }; } &&
2265 { ac_try
='test -s conftest.$ac_objext'
2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }; }; then
2273 echo "$as_me: failed program was:" >&5
2274 sed 's/^/| /' conftest.
$ac_ext >&5
2277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2280 if test -n "$ac_declaration"; then
2281 echo '#ifdef __cplusplus' >>confdefs.h
2282 echo $ac_declaration >>confdefs.h
2283 echo '#endif' >>confdefs.h
2287 echo "$as_me: failed program was:" >&5
2288 sed 's/^/| /' conftest.
$ac_ext >&5
2291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2293 ac_cpp
='$CPP $CPPFLAGS'
2294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2299 cat >>confdefs.h
<<\_ACEOF
2300 #define _GNU_SOURCE 1
2306 ac_cpp
='$CPP $CPPFLAGS'
2307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2310 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2311 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2312 # On Suns, sometimes $CPP names a directory.
2313 if test -n "$CPP" && test -d "$CPP"; then
2316 if test -z "$CPP"; then
2317 if test "${ac_cv_prog_CPP+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2320 # Double quotes because CPP needs to be expanded
2321 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2324 for ac_c_preproc_warn_flag
in '' yes
2326 # Use a header file that comes with gcc, so configuring glibc
2327 # with a fresh cross-compiler works.
2328 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2329 # <limits.h> exists even on freestanding compilers.
2330 # On the NeXT, cc -E runs the code through the compiler's parser,
2331 # not just through cpp. "Syntax error" is here to catch this case.
2332 cat >conftest.
$ac_ext <<_ACEOF
2335 cat confdefs.h
>>conftest.
$ac_ext
2336 cat >>conftest.
$ac_ext <<_ACEOF
2337 /* end confdefs.h. */
2339 # include <limits.h>
2341 # include <assert.h>
2345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2348 grep -v '^ *+' conftest.er1
>conftest.err
2350 cat conftest.err
>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } >/dev
/null
; then
2353 if test -s conftest.err
; then
2354 ac_cpp_err
=$ac_c_preproc_warn_flag
2355 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2362 if test -z "$ac_cpp_err"; then
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.
$ac_ext >&5
2368 # Broken: fails on valid input.
2371 rm -f conftest.err conftest.
$ac_ext
2373 # OK, works on sane cases. Now check whether non-existent headers
2374 # can be detected and how.
2375 cat >conftest.
$ac_ext <<_ACEOF
2378 cat confdefs.h
>>conftest.
$ac_ext
2379 cat >>conftest.
$ac_ext <<_ACEOF
2380 /* end confdefs.h. */
2381 #include <ac_nonexistent.h>
2383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2384 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2386 grep -v '^ *+' conftest.er1
>conftest.err
2388 cat conftest.err
>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); } >/dev
/null
; then
2391 if test -s conftest.err
; then
2392 ac_cpp_err
=$ac_c_preproc_warn_flag
2393 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2400 if test -z "$ac_cpp_err"; then
2401 # Broken: success on invalid input.
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.
$ac_ext >&5
2407 # Passes both tests.
2411 rm -f conftest.err conftest.
$ac_ext
2414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2415 rm -f conftest.err conftest.
$ac_ext
2416 if $ac_preproc_ok; then
2428 echo "$as_me:$LINENO: result: $CPP" >&5
2429 echo "${ECHO_T}$CPP" >&6
2431 for ac_c_preproc_warn_flag
in '' yes
2433 # Use a header file that comes with gcc, so configuring glibc
2434 # with a fresh cross-compiler works.
2435 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2436 # <limits.h> exists even on freestanding compilers.
2437 # On the NeXT, cc -E runs the code through the compiler's parser,
2438 # not just through cpp. "Syntax error" is here to catch this case.
2439 cat >conftest.
$ac_ext <<_ACEOF
2442 cat confdefs.h
>>conftest.
$ac_ext
2443 cat >>conftest.
$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2446 # include <limits.h>
2448 # include <assert.h>
2452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2453 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2455 grep -v '^ *+' conftest.er1
>conftest.err
2457 cat conftest.err
>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); } >/dev
/null
; then
2460 if test -s conftest.err
; then
2461 ac_cpp_err
=$ac_c_preproc_warn_flag
2462 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2469 if test -z "$ac_cpp_err"; then
2472 echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.
$ac_ext >&5
2475 # Broken: fails on valid input.
2478 rm -f conftest.err conftest.
$ac_ext
2480 # OK, works on sane cases. Now check whether non-existent headers
2481 # can be detected and how.
2482 cat >conftest.
$ac_ext <<_ACEOF
2485 cat confdefs.h
>>conftest.
$ac_ext
2486 cat >>conftest.
$ac_ext <<_ACEOF
2487 /* end confdefs.h. */
2488 #include <ac_nonexistent.h>
2490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2493 grep -v '^ *+' conftest.er1
>conftest.err
2495 cat conftest.err
>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); } >/dev
/null
; then
2498 if test -s conftest.err
; then
2499 ac_cpp_err
=$ac_c_preproc_warn_flag
2500 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2507 if test -z "$ac_cpp_err"; then
2508 # Broken: success on invalid input.
2511 echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.
$ac_ext >&5
2514 # Passes both tests.
2518 rm -f conftest.err conftest.
$ac_ext
2521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2522 rm -f conftest.err conftest.
$ac_ext
2523 if $ac_preproc_ok; then
2526 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2529 See \`config.log' for more details." >&2;}
2530 { (exit 1); exit 1; }; }
2534 ac_cpp
='$CPP $CPPFLAGS'
2535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2540 echo "$as_me:$LINENO: checking for egrep" >&5
2541 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2542 if test "${ac_cv_prog_egrep+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2546 then ac_cv_prog_egrep
='grep -E'
2547 else ac_cv_prog_egrep
='egrep'
2550 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2551 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2552 EGREP
=$ac_cv_prog_egrep
2556 echo "$as_me:$LINENO: checking for AIX" >&5
2557 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2558 cat >conftest.
$ac_ext <<_ACEOF
2561 cat confdefs.h
>>conftest.
$ac_ext
2562 cat >>conftest.
$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2570 $EGREP "yes" >/dev
/null
2>&1; then
2571 echo "$as_me:$LINENO: result: yes" >&5
2572 echo "${ECHO_T}yes" >&6
2573 cat >>confdefs.h
<<\_ACEOF
2574 #define _ALL_SOURCE 1
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2584 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2585 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2586 if test "${ac_cv_search_strerror+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2589 ac_func_search_save_LIBS
=$LIBS
2590 ac_cv_search_strerror
=no
2591 cat >conftest.
$ac_ext <<_ACEOF
2594 cat confdefs.h
>>conftest.
$ac_ext
2595 cat >>conftest.
$ac_ext <<_ACEOF
2596 /* end confdefs.h. */
2598 /* Override any gcc2 internal prototype to avoid an error. */
2602 /* We use char because int might match the return type of a gcc2
2603 builtin and then its argument prototype would still apply. */
2613 rm -f conftest.
$ac_objext conftest
$ac_exeext
2614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2615 (eval $ac_link) 2>conftest.er1
2617 grep -v '^ *+' conftest.er1
>conftest.err
2619 cat conftest.err
>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); } &&
2622 { ac_try
='test -z "$ac_c_werror_flag"
2623 || test ! -s conftest.err'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; } &&
2629 { ac_try
='test -s conftest$ac_exeext'
2630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); }; }; then
2635 ac_cv_search_strerror
="none required"
2637 echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.
$ac_ext >&5
2641 rm -f conftest.err conftest.
$ac_objext \
2642 conftest
$ac_exeext conftest.
$ac_ext
2643 if test "$ac_cv_search_strerror" = no
; then
2644 for ac_lib
in cposix
; do
2645 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2646 cat >conftest.
$ac_ext <<_ACEOF
2649 cat confdefs.h
>>conftest.
$ac_ext
2650 cat >>conftest.
$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2653 /* Override any gcc2 internal prototype to avoid an error. */
2657 /* We use char because int might match the return type of a gcc2
2658 builtin and then its argument prototype would still apply. */
2668 rm -f conftest.
$ac_objext conftest
$ac_exeext
2669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2670 (eval $ac_link) 2>conftest.er1
2672 grep -v '^ *+' conftest.er1
>conftest.err
2674 cat conftest.err
>&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); } &&
2677 { ac_try
='test -z "$ac_c_werror_flag"
2678 || test ! -s conftest.err'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; } &&
2684 { ac_try
='test -s conftest$ac_exeext'
2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2690 ac_cv_search_strerror
="-l$ac_lib"
2693 echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.
$ac_ext >&5
2697 rm -f conftest.err conftest.
$ac_objext \
2698 conftest
$ac_exeext conftest.
$ac_ext
2701 LIBS
=$ac_func_search_save_LIBS
2703 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2704 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2705 if test "$ac_cv_search_strerror" != no
; then
2706 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2713 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
2714 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
2715 if test "${am_cv_prog_cc_stdc+set}" = set; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 am_cv_prog_cc_stdc
=no
2720 # Don't try gcc -ansi; that turns off useful extensions and
2721 # breaks some systems' header files.
2722 # AIX -qlanglvl=ansi
2723 # Ultrix and OSF/1 -std1
2724 # HP-UX 10.20 and later -Ae
2725 # HP-UX older versions -Aa -D_HPUX_SOURCE
2726 # SVR4 -Xc -D__EXTENSIONS__
2727 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2729 CC
="$ac_save_CC $ac_arg"
2730 cat >conftest.
$ac_ext <<_ACEOF
2733 cat confdefs.h
>>conftest.
$ac_ext
2734 cat >>conftest.
$ac_ext <<_ACEOF
2735 /* end confdefs.h. */
2738 #include <sys/types.h>
2739 #include <sys/stat.h>
2740 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2741 struct buf { int x; };
2742 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2743 static char *e (p, i)
2749 static char *f (char * (*g) (char **, int), char **p, ...)
2754 s = g (p, va_arg (v,int));
2758 int test (int i, double x);
2759 struct s1 {int (*f) (int a);};
2760 struct s2 {int (*f) (double a);};
2761 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2769 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2775 rm -f conftest.
$ac_objext
2776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2777 (eval $ac_compile) 2>conftest.er1
2779 grep -v '^ *+' conftest.er1
>conftest.err
2781 cat conftest.err
>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } &&
2784 { ac_try
='test -z "$ac_c_werror_flag"
2785 || test ! -s conftest.err'
2786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; } &&
2791 { ac_try
='test -s conftest.$ac_objext'
2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; }; then
2797 am_cv_prog_cc_stdc
="$ac_arg"; break
2799 echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.
$ac_ext >&5
2803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2809 if test -z "$am_cv_prog_cc_stdc"; then
2810 echo "$as_me:$LINENO: result: none needed" >&5
2811 echo "${ECHO_T}none needed" >&6
2813 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
2814 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
2816 case "x$am_cv_prog_cc_stdc" in
2818 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2823 for ac_dir
in `cd $srcdir;pwd`/..
$srcdir/`cd $srcdir;pwd`/..
; do
2824 if test -f $ac_dir/install-sh
; then
2826 ac_install_sh
="$ac_aux_dir/install-sh -c"
2828 elif test -f $ac_dir/install.sh
; then
2830 ac_install_sh
="$ac_aux_dir/install.sh -c"
2832 elif test -f $ac_dir/shtool
; then
2834 ac_install_sh
="$ac_aux_dir/shtool install -c"
2838 if test -z "$ac_aux_dir"; then
2839 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&5
2840 echo "$as_me: error: cannot find install-sh or install.sh in \`cd $srcdir;pwd\`/.. $srcdir/\`cd $srcdir;pwd\`/.." >&2;}
2841 { (exit 1); exit 1; }; }
2843 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2844 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2845 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2847 # Make sure we can run config.sub.
2848 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2849 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2850 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2851 { (exit 1); exit 1; }; }
2853 echo "$as_me:$LINENO: checking build system type" >&5
2854 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2855 if test "${ac_cv_build+set}" = set; then
2856 echo $ECHO_N "(cached) $ECHO_C" >&6
2858 ac_cv_build_alias
=$build_alias
2859 test -z "$ac_cv_build_alias" &&
2860 ac_cv_build_alias
=`$ac_config_guess`
2861 test -z "$ac_cv_build_alias" &&
2862 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2863 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2864 { (exit 1); exit 1; }; }
2865 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2866 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2867 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2868 { (exit 1); exit 1; }; }
2871 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2872 echo "${ECHO_T}$ac_cv_build" >&6
2874 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2875 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2876 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2879 echo "$as_me:$LINENO: checking host system type" >&5
2880 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2881 if test "${ac_cv_host+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 ac_cv_host_alias
=$host_alias
2885 test -z "$ac_cv_host_alias" &&
2886 ac_cv_host_alias
=$ac_cv_build_alias
2887 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2888 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2889 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2890 { (exit 1); exit 1; }; }
2893 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2894 echo "${ECHO_T}$ac_cv_host" >&6
2896 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2897 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2898 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2901 echo "$as_me:$LINENO: checking target system type" >&5
2902 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2903 if test "${ac_cv_target+set}" = set; then
2904 echo $ECHO_N "(cached) $ECHO_C" >&6
2906 ac_cv_target_alias
=$target_alias
2907 test "x$ac_cv_target_alias" = "x" &&
2908 ac_cv_target_alias
=$ac_cv_host_alias
2909 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2910 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2911 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2912 { (exit 1); exit 1; }; }
2915 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2916 echo "${ECHO_T}$ac_cv_target" >&6
2917 target
=$ac_cv_target
2918 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2919 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2920 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2923 # The aliases save the names the user supplied, while $host etc.
2924 # will get canonicalized.
2925 test -n "$target_alias" &&
2926 test "$program_prefix$program_suffix$program_transform_name" = \
2928 program_prefix
=${target_alias}-
2942 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2943 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2944 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2945 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2946 echo $ECHO_N "(cached) $ECHO_C" >&6
2948 cat >conftest.
make <<\_ACEOF
2950 @
echo 'ac_maketemp="$(MAKE)"'
2952 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2953 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2954 if test -n "$ac_maketemp"; then
2955 eval ac_cv_prog_make_
${ac_make}_set
=yes
2957 eval ac_cv_prog_make_
${ac_make}_set
=no
2961 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2962 echo "$as_me:$LINENO: result: yes" >&5
2963 echo "${ECHO_T}yes" >&6
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 SET_MAKE
="MAKE=${MAKE-make}"
2971 if test -n "$ac_tool_prefix"; then
2972 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2973 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2974 echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2976 if test "${ac_cv_prog_RANLIB+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 if test -n "$RANLIB"; then
2980 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2986 test -z "$as_dir" && as_dir
=.
2987 for ac_exec_ext
in '' $ac_executable_extensions; do
2988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2989 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 RANLIB
=$ac_cv_prog_RANLIB
2999 if test -n "$RANLIB"; then
3000 echo "$as_me:$LINENO: result: $RANLIB" >&5
3001 echo "${ECHO_T}$RANLIB" >&6
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3008 if test -z "$ac_cv_prog_RANLIB"; then
3009 ac_ct_RANLIB
=$RANLIB
3010 # Extract the first word of "ranlib", so it can be a program name with args.
3011 set dummy ranlib
; ac_word
=$2
3012 echo "$as_me:$LINENO: checking for $ac_word" >&5
3013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3014 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3015 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 if test -n "$ac_ct_RANLIB"; then
3018 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3024 test -z "$as_dir" && as_dir
=.
3025 for ac_exec_ext
in '' $ac_executable_extensions; do
3026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3027 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3037 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3038 if test -n "$ac_ct_RANLIB"; then
3039 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3040 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3042 echo "$as_me:$LINENO: result: no" >&5
3043 echo "${ECHO_T}no" >&6
3046 RANLIB
=$ac_ct_RANLIB
3048 RANLIB
="$ac_cv_prog_RANLIB"
3051 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3052 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3053 if test "${ac_cv_header_stdc+set}" = set; then
3054 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 cat >conftest.
$ac_ext <<_ACEOF
3059 cat confdefs.h
>>conftest.
$ac_ext
3060 cat >>conftest.
$ac_ext <<_ACEOF
3061 /* end confdefs.h. */
3075 rm -f conftest.
$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3079 grep -v '^ *+' conftest.er1
>conftest.err
3081 cat conftest.err
>&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try
='test -z "$ac_c_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try
='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_cv_header_stdc
=yes
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.
$ac_ext >&5
3102 ac_cv_header_stdc
=no
3104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3106 if test $ac_cv_header_stdc = yes; then
3107 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3108 cat >conftest.
$ac_ext <<_ACEOF
3111 cat confdefs.h
>>conftest.
$ac_ext
3112 cat >>conftest.
$ac_ext <<_ACEOF
3113 /* end confdefs.h. */
3117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3118 $EGREP "memchr" >/dev
/null
2>&1; then
3121 ac_cv_header_stdc
=no
3127 if test $ac_cv_header_stdc = yes; then
3128 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3129 cat >conftest.
$ac_ext <<_ACEOF
3132 cat confdefs.h
>>conftest.
$ac_ext
3133 cat >>conftest.
$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3139 $EGREP "free" >/dev
/null
2>&1; then
3142 ac_cv_header_stdc
=no
3148 if test $ac_cv_header_stdc = yes; then
3149 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3150 if test "$cross_compiling" = yes; then
3153 cat >conftest.
$ac_ext <<_ACEOF
3156 cat confdefs.h
>>conftest.
$ac_ext
3157 cat >>conftest.
$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3160 #if ((' ' & 0x0FF) == 0x020)
3161 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3162 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3164 # define ISLOWER(c) \
3165 (('a' <= (c) && (c) <= 'i') \
3166 || ('j' <= (c) && (c) <= 'r') \
3167 || ('s' <= (c) && (c) <= 'z'))
3168 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3171 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3176 for (i = 0; i < 256; i++)
3177 if (XOR (islower (i), ISLOWER (i))
3178 || toupper (i) != TOUPPER (i))
3183 rm -f conftest
$ac_exeext
3184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3185 (eval $ac_link) 2>&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; }; then
3196 echo "$as_me: program exited with status $ac_status" >&5
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.
$ac_ext >&5
3201 ac_cv_header_stdc
=no
3203 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3207 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3208 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3209 if test $ac_cv_header_stdc = yes; then
3211 cat >>confdefs.h
<<\_ACEOF
3212 #define STDC_HEADERS 1
3217 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3218 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3219 if test "${ac_cv_c_const+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3222 cat >conftest.
$ac_ext <<_ACEOF
3225 cat confdefs.h
>>conftest.
$ac_ext
3226 cat >>conftest.
$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3232 /* FIXME: Include the comments suggested by Paul. */
3234 /* Ultrix mips cc rejects this. */
3235 typedef int charset[2];
3237 /* SunOS 4.1.1 cc rejects this. */
3238 char const *const *ccp;
3240 /* NEC SVR4.0.2 mips cc rejects this. */
3241 struct point {int x, y;};
3242 static struct point const zero = {0,0};
3243 /* AIX XL C 1.02.0.0 rejects this.
3244 It does not let you subtract one const X* pointer from another in
3245 an arm of an if-expression whose if-part is not a constant
3247 const char *g = "string";
3248 ccp = &g + (g ? g-g : 0);
3249 /* HPUX 7.0 cc rejects these. */
3252 ccp = (char const *const *) p;
3253 { /* SCO 3.2v4 cc rejects this. */
3255 char const *s = 0 ? (char *) 0 : (char const *) 0;
3259 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3261 const int *foo = &x[0];
3264 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3265 typedef const int *iptr;
3269 { /* AIX XL C 1.02.0.0 rejects this saying
3270 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3271 struct s { int j; const int *ap[3]; };
3272 struct s *b; b->j = 5;
3274 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3283 rm -f conftest.
$ac_objext
3284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3285 (eval $ac_compile) 2>conftest.er1
3287 grep -v '^ *+' conftest.er1
>conftest.err
3289 cat conftest.err
>&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); } &&
3292 { ac_try
='test -z "$ac_c_werror_flag"
3293 || test ! -s conftest.err'
3294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); }; } &&
3299 { ac_try
='test -s conftest.$ac_objext'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3307 echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.
$ac_ext >&5
3312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3314 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3315 echo "${ECHO_T}$ac_cv_c_const" >&6
3316 if test $ac_cv_c_const = no
; then
3318 cat >>confdefs.h
<<\_ACEOF
3324 echo "$as_me:$LINENO: checking for inline" >&5
3325 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3326 if test "${ac_cv_c_inline+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 for ac_kw
in inline __inline__ __inline
; do
3331 cat >conftest.
$ac_ext <<_ACEOF
3334 cat confdefs.h
>>conftest.
$ac_ext
3335 cat >>conftest.
$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3339 static $ac_kw foo_t static_foo () {return 0; }
3340 $ac_kw foo_t foo () {return 0; }
3344 rm -f conftest.
$ac_objext
3345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3346 (eval $ac_compile) 2>conftest.er1
3348 grep -v '^ *+' conftest.er1
>conftest.err
3350 cat conftest.err
>&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } &&
3353 { ac_try
='test -z "$ac_c_werror_flag"
3354 || test ! -s conftest.err'
3355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; } &&
3360 { ac_try
='test -s conftest.$ac_objext'
3361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; }; then
3366 ac_cv_c_inline
=$ac_kw; break
3368 echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.
$ac_ext >&5
3372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3376 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3377 echo "${ECHO_T}$ac_cv_c_inline" >&6
3380 case $ac_cv_c_inline in
3383 case $ac_cv_c_inline in
3385 *) ac_val
=$ac_cv_c_inline;;
3387 cat >>confdefs.h
<<_ACEOF
3389 #define inline $ac_val
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
3467 echo "$as_me:$LINENO: checking for off_t" >&5
3468 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3469 if test "${ac_cv_type_off_t+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 cat >conftest.
$ac_ext <<_ACEOF
3475 cat confdefs.h
>>conftest.
$ac_ext
3476 cat >>conftest.
$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3478 $ac_includes_default
3490 rm -f conftest.
$ac_objext
3491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3492 (eval $ac_compile) 2>conftest.er1
3494 grep -v '^ *+' conftest.er1
>conftest.err
3496 cat conftest.err
>&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } &&
3499 { ac_try
='test -z "$ac_c_werror_flag"
3500 || test ! -s conftest.err'
3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); }; } &&
3506 { ac_try
='test -s conftest.$ac_objext'
3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); }; }; then
3512 ac_cv_type_off_t
=yes
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.
$ac_ext >&5
3519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3521 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3522 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3523 if test $ac_cv_type_off_t = yes; then
3527 cat >>confdefs.h
<<_ACEOF
3533 echo "$as_me:$LINENO: checking for size_t" >&5
3534 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3535 if test "${ac_cv_type_size_t+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 cat >conftest.
$ac_ext <<_ACEOF
3541 cat confdefs.h
>>conftest.
$ac_ext
3542 cat >>conftest.
$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3544 $ac_includes_default
3550 if (sizeof (size_t))
3556 rm -f conftest.
$ac_objext
3557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3558 (eval $ac_compile) 2>conftest.er1
3560 grep -v '^ *+' conftest.er1
>conftest.err
3562 cat conftest.err
>&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); } &&
3565 { ac_try
='test -z "$ac_c_werror_flag"
3566 || test ! -s conftest.err'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; } &&
3572 { ac_try
='test -s conftest.$ac_objext'
3573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; }; then
3578 ac_cv_type_size_t
=yes
3580 echo "$as_me: failed program was:" >&5
3581 sed 's/^/| /' conftest.
$ac_ext >&5
3583 ac_cv_type_size_t
=no
3585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3587 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3588 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3589 if test $ac_cv_type_size_t = yes; then
3593 cat >>confdefs.h
<<_ACEOF
3594 #define size_t unsigned
3599 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3600 # for constant arguments. Useless!
3601 echo "$as_me:$LINENO: checking for working alloca.h" >&5
3602 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
3603 if test "${ac_cv_working_alloca_h+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 cat >conftest.
$ac_ext <<_ACEOF
3609 cat confdefs.h
>>conftest.
$ac_ext
3610 cat >>conftest.
$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3616 char *p = (char *) alloca (2 * sizeof (int));
3621 rm -f conftest.
$ac_objext conftest
$ac_exeext
3622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3623 (eval $ac_link) 2>conftest.er1
3625 grep -v '^ *+' conftest.er1
>conftest.err
3627 cat conftest.err
>&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } &&
3630 { ac_try
='test -z "$ac_c_werror_flag"
3631 || test ! -s conftest.err'
3632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); }; } &&
3637 { ac_try
='test -s conftest$ac_exeext'
3638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; }; then
3643 ac_cv_working_alloca_h
=yes
3645 echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.
$ac_ext >&5
3648 ac_cv_working_alloca_h
=no
3650 rm -f conftest.err conftest.
$ac_objext \
3651 conftest
$ac_exeext conftest.
$ac_ext
3653 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
3654 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
3655 if test $ac_cv_working_alloca_h = yes; then
3657 cat >>confdefs.h
<<\_ACEOF
3658 #define HAVE_ALLOCA_H 1
3663 echo "$as_me:$LINENO: checking for alloca" >&5
3664 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
3665 if test "${ac_cv_func_alloca_works+set}" = set; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 cat >conftest.
$ac_ext <<_ACEOF
3671 cat confdefs.h
>>conftest.
$ac_ext
3672 cat >>conftest.
$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3675 # define alloca __builtin_alloca
3678 # include <malloc.h>
3679 # define alloca _alloca
3682 # include <alloca.h>
3687 # ifndef alloca /* predefined by HP cc +Olibcalls */
3698 char *p = (char *) alloca (1);
3703 rm -f conftest.
$ac_objext conftest
$ac_exeext
3704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3705 (eval $ac_link) 2>conftest.er1
3707 grep -v '^ *+' conftest.er1
>conftest.err
3709 cat conftest.err
>&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); } &&
3712 { ac_try
='test -z "$ac_c_werror_flag"
3713 || test ! -s conftest.err'
3714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); }; } &&
3719 { ac_try
='test -s conftest$ac_exeext'
3720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); }; }; then
3725 ac_cv_func_alloca_works
=yes
3727 echo "$as_me: failed program was:" >&5
3728 sed 's/^/| /' conftest.
$ac_ext >&5
3730 ac_cv_func_alloca_works
=no
3732 rm -f conftest.err conftest.
$ac_objext \
3733 conftest
$ac_exeext conftest.
$ac_ext
3735 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
3736 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
3738 if test $ac_cv_func_alloca_works = yes; then
3740 cat >>confdefs.h
<<\_ACEOF
3741 #define HAVE_ALLOCA 1
3745 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3746 # that cause trouble. Some versions do not even contain alloca or
3747 # contain a buggy version. If you still want to use their alloca,
3748 # use ar to extract alloca.o from them instead of compiling alloca.c.
3750 ALLOCA
=alloca.
$ac_objext
3752 cat >>confdefs.h
<<\_ACEOF
3757 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
3758 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
3759 if test "${ac_cv_os_cray+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 cat >conftest.
$ac_ext <<_ACEOF
3765 cat confdefs.h
>>conftest.
$ac_ext
3766 cat >>conftest.
$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3768 #if defined(CRAY) && ! defined(CRAY2)
3775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3776 $EGREP "webecray" >/dev
/null
2>&1; then
3784 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
3785 echo "${ECHO_T}$ac_cv_os_cray" >&6
3786 if test $ac_cv_os_cray = yes; then
3787 for ac_func
in _getb67 GETB67 getb67
; do
3788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3789 echo "$as_me:$LINENO: checking for $ac_func" >&5
3790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3791 if eval "test \"\${$as_ac_var+set}\" = set"; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3794 cat >conftest.
$ac_ext <<_ACEOF
3797 cat confdefs.h
>>conftest.
$ac_ext
3798 cat >>conftest.
$ac_ext <<_ACEOF
3799 /* end confdefs.h. */
3800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3802 #define $ac_func innocuous_$ac_func
3804 /* System header to define __stub macros and hopefully few prototypes,
3805 which can conflict with char $ac_func (); below.
3806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3807 <limits.h> exists even on freestanding compilers. */
3810 # include <limits.h>
3812 # include <assert.h>
3817 /* Override any gcc2 internal prototype to avoid an error. */
3822 /* We use char because int might match the return type of a gcc2
3823 builtin and then its argument prototype would still apply. */
3825 /* The GNU C library defines this for functions which it implements
3826 to always fail with ENOSYS. Some functions are actually named
3827 something starting with __ and the normal name is an alias. */
3828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3831 char (*f) () = $ac_func;
3840 return f != $ac_func;
3845 rm -f conftest.
$ac_objext conftest
$ac_exeext
3846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3847 (eval $ac_link) 2>conftest.er1
3849 grep -v '^ *+' conftest.er1
>conftest.err
3851 cat conftest.err
>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } &&
3854 { ac_try
='test -z "$ac_c_werror_flag"
3855 || test ! -s conftest.err'
3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); }; } &&
3861 { ac_try
='test -s conftest$ac_exeext'
3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); }; }; then
3867 eval "$as_ac_var=yes"
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.
$ac_ext >&5
3872 eval "$as_ac_var=no"
3874 rm -f conftest.err conftest.
$ac_objext \
3875 conftest
$ac_exeext conftest.
$ac_ext
3877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3879 if test `eval echo '${'$as_ac_var'}'` = yes; then
3881 cat >>confdefs.h
<<_ACEOF
3882 #define CRAY_STACKSEG_END $ac_func
3891 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
3892 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
3893 if test "${ac_cv_c_stack_direction+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 if test "$cross_compiling" = yes; then
3897 ac_cv_c_stack_direction
=0
3899 cat >conftest.
$ac_ext <<_ACEOF
3902 cat confdefs.h
>>conftest.
$ac_ext
3903 cat >>conftest.
$ac_ext <<_ACEOF
3904 /* end confdefs.h. */
3906 find_stack_direction ()
3908 static char *addr = 0;
3913 return find_stack_direction ();
3916 return (&dummy > addr) ? 1 : -1;
3922 exit (find_stack_direction () < 0);
3925 rm -f conftest
$ac_exeext
3926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3927 (eval $ac_link) 2>&5
3929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3936 ac_cv_c_stack_direction
=1
3938 echo "$as_me: program exited with status $ac_status" >&5
3939 echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.
$ac_ext >&5
3943 ac_cv_c_stack_direction
=-1
3945 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3948 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
3949 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
3951 cat >>confdefs.h
<<_ACEOF
3952 #define STACK_DIRECTION $ac_cv_c_stack_direction
3960 for ac_header
in stdlib.h unistd.h
3962 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3964 echo "$as_me:$LINENO: checking for $ac_header" >&5
3965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3972 # Is the header compilable?
3973 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3974 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3975 cat >conftest.
$ac_ext <<_ACEOF
3978 cat confdefs.h
>>conftest.
$ac_ext
3979 cat >>conftest.
$ac_ext <<_ACEOF
3980 /* end confdefs.h. */
3981 $ac_includes_default
3982 #include <$ac_header>
3984 rm -f conftest.
$ac_objext
3985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3986 (eval $ac_compile) 2>conftest.er1
3988 grep -v '^ *+' conftest.er1
>conftest.err
3990 cat conftest.err
>&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } &&
3993 { ac_try
='test -z "$ac_c_werror_flag"
3994 || test ! -s conftest.err'
3995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); }; } &&
4000 { ac_try
='test -s conftest.$ac_objext'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; }; then
4006 ac_header_compiler
=yes
4008 echo "$as_me: failed program was:" >&5
4009 sed 's/^/| /' conftest.
$ac_ext >&5
4011 ac_header_compiler
=no
4013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4015 echo "${ECHO_T}$ac_header_compiler" >&6
4017 # Is the header present?
4018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4020 cat >conftest.
$ac_ext <<_ACEOF
4023 cat confdefs.h
>>conftest.
$ac_ext
4024 cat >>conftest.
$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4026 #include <$ac_header>
4028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4031 grep -v '^ *+' conftest.er1
>conftest.err
4033 cat conftest.err
>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } >/dev
/null
; then
4036 if test -s conftest.err
; then
4037 ac_cpp_err
=$ac_c_preproc_warn_flag
4038 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4045 if test -z "$ac_cpp_err"; then
4046 ac_header_preproc
=yes
4048 echo "$as_me: failed program was:" >&5
4049 sed 's/^/| /' conftest.
$ac_ext >&5
4051 ac_header_preproc
=no
4053 rm -f conftest.err conftest.
$ac_ext
4054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4055 echo "${ECHO_T}$ac_header_preproc" >&6
4057 # So? What about this header?
4058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4064 ac_header_preproc
=yes
4067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4081 ## ------------------------------------------ ##
4082 ## Report this to the AC_PACKAGE_NAME lists. ##
4083 ## ------------------------------------------ ##
4086 sed "s/^/$as_me: WARNING: /" >&2
4089 echo "$as_me:$LINENO: checking for $ac_header" >&5
4090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 eval "$as_ac_Header=\$ac_header_preproc"
4096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4101 cat >>confdefs.h
<<_ACEOF
4102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4110 for ac_func
in getpagesize
4112 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4113 echo "$as_me:$LINENO: checking for $ac_func" >&5
4114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4115 if eval "test \"\${$as_ac_var+set}\" = set"; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 cat >conftest.
$ac_ext <<_ACEOF
4121 cat confdefs.h
>>conftest.
$ac_ext
4122 cat >>conftest.
$ac_ext <<_ACEOF
4123 /* end confdefs.h. */
4124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4126 #define $ac_func innocuous_$ac_func
4128 /* System header to define __stub macros and hopefully few prototypes,
4129 which can conflict with char $ac_func (); below.
4130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4131 <limits.h> exists even on freestanding compilers. */
4134 # include <limits.h>
4136 # include <assert.h>
4141 /* Override any gcc2 internal prototype to avoid an error. */
4146 /* We use char because int might match the return type of a gcc2
4147 builtin and then its argument prototype would still apply. */
4149 /* The GNU C library defines this for functions which it implements
4150 to always fail with ENOSYS. Some functions are actually named
4151 something starting with __ and the normal name is an alias. */
4152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4155 char (*f) () = $ac_func;
4164 return f != $ac_func;
4169 rm -f conftest.
$ac_objext conftest
$ac_exeext
4170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4171 (eval $ac_link) 2>conftest.er1
4173 grep -v '^ *+' conftest.er1
>conftest.err
4175 cat conftest.err
>&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); } &&
4178 { ac_try
='test -z "$ac_c_werror_flag"
4179 || test ! -s conftest.err'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; } &&
4185 { ac_try
='test -s conftest$ac_exeext'
4186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; }; then
4191 eval "$as_ac_var=yes"
4193 echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.
$ac_ext >&5
4196 eval "$as_ac_var=no"
4198 rm -f conftest.err conftest.
$ac_objext \
4199 conftest
$ac_exeext conftest.
$ac_ext
4201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4203 if test `eval echo '${'$as_ac_var'}'` = yes; then
4204 cat >>confdefs.h
<<_ACEOF
4205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4211 echo "$as_me:$LINENO: checking for working mmap" >&5
4212 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4213 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 if test "$cross_compiling" = yes; then
4217 ac_cv_func_mmap_fixed_mapped
=no
4219 cat >conftest.
$ac_ext <<_ACEOF
4222 cat confdefs.h
>>conftest.
$ac_ext
4223 cat >>conftest.
$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4225 $ac_includes_default
4226 /* malloc might have been renamed as rpl_malloc. */
4229 /* Thanks to Mike Haertel and Jim Avera for this test.
4230 Here is a matrix of mmap possibilities:
4231 mmap private not fixed
4232 mmap private fixed at somewhere currently unmapped
4233 mmap private fixed at somewhere already mapped
4234 mmap shared not fixed
4235 mmap shared fixed at somewhere currently unmapped
4236 mmap shared fixed at somewhere already mapped
4237 For private mappings, we should verify that changes cannot be read()
4238 back from the file, nor mmap's back from the file at a different
4239 address. (There have been systems where private was not correctly
4240 implemented like the infamous i386 svr4.0, and systems where the
4241 VM page cache was not coherent with the file system buffer cache
4242 like early versions of FreeBSD and possibly contemporary NetBSD.)
4243 For shared mappings, we should conversely verify that changes get
4244 propagated back to all the places they're supposed to be.
4246 Grep wants private fixed already mapped.
4247 The main things grep needs to know about mmap are:
4248 * does it exist and is it safe to write into the mmap'd area
4249 * how to use it (BSD variants) */
4252 #include <sys/mman.h>
4254 #if !STDC_HEADERS && !HAVE_STDLIB_H
4258 /* This mess was copied from the GNU getpagesize.h. */
4259 #if !HAVE_GETPAGESIZE
4260 /* Assume that all systems that can run configure have sys/param.h. */
4261 # if !HAVE_SYS_PARAM_H
4262 # define HAVE_SYS_PARAM_H 1
4265 # ifdef _SC_PAGESIZE
4266 # define getpagesize() sysconf(_SC_PAGESIZE)
4267 # else /* no _SC_PAGESIZE */
4268 # if HAVE_SYS_PARAM_H
4269 # include <sys/param.h>
4270 # ifdef EXEC_PAGESIZE
4271 # define getpagesize() EXEC_PAGESIZE
4272 # else /* no EXEC_PAGESIZE */
4274 # define getpagesize() NBPG * CLSIZE
4277 # endif /* no CLSIZE */
4278 # else /* no NBPG */
4280 # define getpagesize() NBPC
4281 # else /* no NBPC */
4283 # define getpagesize() PAGESIZE
4284 # endif /* PAGESIZE */
4285 # endif /* no NBPC */
4286 # endif /* no NBPG */
4287 # endif /* no EXEC_PAGESIZE */
4288 # else /* no HAVE_SYS_PARAM_H */
4289 # define getpagesize() 8192 /* punt totally */
4290 # endif /* no HAVE_SYS_PARAM_H */
4291 # endif /* no _SC_PAGESIZE */
4293 #endif /* no HAVE_GETPAGESIZE */
4298 char *data, *data2, *data3;
4302 pagesize = getpagesize ();
4304 /* First, make a file with some known garbage in it. */
4305 data = (char *) malloc (pagesize);
4308 for (i = 0; i < pagesize; ++i)
4309 *(data + i) = rand ();
4311 fd = creat ("conftest.mmap", 0600);
4314 if (write (fd, data, pagesize) != pagesize)
4318 /* Next, try to mmap the file at a fixed address which already has
4319 something else allocated at it. If we can, also make sure that
4320 we see the same garbage. */
4321 fd = open ("conftest.mmap", O_RDWR);
4324 data2 = (char *) malloc (2 * pagesize);
4327 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4328 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4329 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4331 for (i = 0; i < pagesize; ++i)
4332 if (*(data + i) != *(data2 + i))
4335 /* Finally, make sure that changes to the mapped area do not
4336 percolate back to the file as seen by read(). (This is a bug on
4337 some variants of i386 svr4.0.) */
4338 for (i = 0; i < pagesize; ++i)
4339 *(data2 + i) = *(data2 + i) + 1;
4340 data3 = (char *) malloc (pagesize);
4343 if (read (fd, data3, pagesize) != pagesize)
4345 for (i = 0; i < pagesize; ++i)
4346 if (*(data + i) != *(data3 + i))
4352 rm -f conftest
$ac_exeext
4353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4354 (eval $ac_link) 2>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); }; }; then
4363 ac_cv_func_mmap_fixed_mapped
=yes
4365 echo "$as_me: program exited with status $ac_status" >&5
4366 echo "$as_me: failed program was:" >&5
4367 sed 's/^/| /' conftest.
$ac_ext >&5
4370 ac_cv_func_mmap_fixed_mapped
=no
4372 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4375 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4376 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4377 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4379 cat >>confdefs.h
<<\_ACEOF
4396 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
4397 unistd.h values.h sys
/param.h
4399 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4401 echo "$as_me:$LINENO: checking for $ac_header" >&5
4402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4409 # Is the header compilable?
4410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4412 cat >conftest.
$ac_ext <<_ACEOF
4415 cat confdefs.h
>>conftest.
$ac_ext
4416 cat >>conftest.
$ac_ext <<_ACEOF
4417 /* end confdefs.h. */
4418 $ac_includes_default
4419 #include <$ac_header>
4421 rm -f conftest.
$ac_objext
4422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4423 (eval $ac_compile) 2>conftest.er1
4425 grep -v '^ *+' conftest.er1
>conftest.err
4427 cat conftest.err
>&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } &&
4430 { ac_try
='test -z "$ac_c_werror_flag"
4431 || test ! -s conftest.err'
4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; } &&
4437 { ac_try
='test -s conftest.$ac_objext'
4438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; }; then
4443 ac_header_compiler
=yes
4445 echo "$as_me: failed program was:" >&5
4446 sed 's/^/| /' conftest.
$ac_ext >&5
4448 ac_header_compiler
=no
4450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4452 echo "${ECHO_T}$ac_header_compiler" >&6
4454 # Is the header present?
4455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4457 cat >conftest.
$ac_ext <<_ACEOF
4460 cat confdefs.h
>>conftest.
$ac_ext
4461 cat >>conftest.
$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4463 #include <$ac_header>
4465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4468 grep -v '^ *+' conftest.er1
>conftest.err
4470 cat conftest.err
>&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); } >/dev
/null
; then
4473 if test -s conftest.err
; then
4474 ac_cpp_err
=$ac_c_preproc_warn_flag
4475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4482 if test -z "$ac_cpp_err"; then
4483 ac_header_preproc
=yes
4485 echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.
$ac_ext >&5
4488 ac_header_preproc
=no
4490 rm -f conftest.err conftest.
$ac_ext
4491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4492 echo "${ECHO_T}$ac_header_preproc" >&6
4494 # So? What about this header?
4495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4501 ac_header_preproc
=yes
4504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4518 ## ------------------------------------------ ##
4519 ## Report this to the AC_PACKAGE_NAME lists. ##
4520 ## ------------------------------------------ ##
4523 sed "s/^/$as_me: WARNING: /" >&2
4526 echo "$as_me:$LINENO: checking for $ac_header" >&5
4527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6
4531 eval "$as_ac_Header=\$ac_header_preproc"
4533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4538 cat >>confdefs.h
<<_ACEOF
4539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4556 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
4557 __argz_count __argz_stringify __argz_next
4559 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4560 echo "$as_me:$LINENO: checking for $ac_func" >&5
4561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4562 if eval "test \"\${$as_ac_var+set}\" = set"; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 cat >conftest.
$ac_ext <<_ACEOF
4568 cat confdefs.h
>>conftest.
$ac_ext
4569 cat >>conftest.
$ac_ext <<_ACEOF
4570 /* end confdefs.h. */
4571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4573 #define $ac_func innocuous_$ac_func
4575 /* System header to define __stub macros and hopefully few prototypes,
4576 which can conflict with char $ac_func (); below.
4577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4578 <limits.h> exists even on freestanding compilers. */
4581 # include <limits.h>
4583 # include <assert.h>
4588 /* Override any gcc2 internal prototype to avoid an error. */
4593 /* We use char because int might match the return type of a gcc2
4594 builtin and then its argument prototype would still apply. */
4596 /* The GNU C library defines this for functions which it implements
4597 to always fail with ENOSYS. Some functions are actually named
4598 something starting with __ and the normal name is an alias. */
4599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4602 char (*f) () = $ac_func;
4611 return f != $ac_func;
4616 rm -f conftest.
$ac_objext conftest
$ac_exeext
4617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4618 (eval $ac_link) 2>conftest.er1
4620 grep -v '^ *+' conftest.er1
>conftest.err
4622 cat conftest.err
>&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); } &&
4625 { ac_try
='test -z "$ac_c_werror_flag"
4626 || test ! -s conftest.err'
4627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); }; } &&
4632 { ac_try
='test -s conftest$ac_exeext'
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; }; then
4638 eval "$as_ac_var=yes"
4640 echo "$as_me: failed program was:" >&5
4641 sed 's/^/| /' conftest.
$ac_ext >&5
4643 eval "$as_ac_var=no"
4645 rm -f conftest.err conftest.
$ac_objext \
4646 conftest
$ac_exeext conftest.
$ac_ext
4648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4650 if test `eval echo '${'$as_ac_var'}'` = yes; then
4651 cat >>confdefs.h
<<_ACEOF
4652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4659 if test "${ac_cv_func_stpcpy+set}" != "set"; then
4661 for ac_func
in stpcpy
4663 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4664 echo "$as_me:$LINENO: checking for $ac_func" >&5
4665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4666 if eval "test \"\${$as_ac_var+set}\" = set"; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 cat >conftest.
$ac_ext <<_ACEOF
4672 cat confdefs.h
>>conftest.
$ac_ext
4673 cat >>conftest.
$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4677 #define $ac_func innocuous_$ac_func
4679 /* System header to define __stub macros and hopefully few prototypes,
4680 which can conflict with char $ac_func (); below.
4681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4682 <limits.h> exists even on freestanding compilers. */
4685 # include <limits.h>
4687 # include <assert.h>
4692 /* Override any gcc2 internal prototype to avoid an error. */
4697 /* We use char because int might match the return type of a gcc2
4698 builtin and then its argument prototype would still apply. */
4700 /* The GNU C library defines this for functions which it implements
4701 to always fail with ENOSYS. Some functions are actually named
4702 something starting with __ and the normal name is an alias. */
4703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4706 char (*f) () = $ac_func;
4715 return f != $ac_func;
4720 rm -f conftest.
$ac_objext conftest
$ac_exeext
4721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4722 (eval $ac_link) 2>conftest.er1
4724 grep -v '^ *+' conftest.er1
>conftest.err
4726 cat conftest.err
>&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } &&
4729 { ac_try
='test -z "$ac_c_werror_flag"
4730 || test ! -s conftest.err'
4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try
='test -s conftest$ac_exeext'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; }; then
4742 eval "$as_ac_var=yes"
4744 echo "$as_me: failed program was:" >&5
4745 sed 's/^/| /' conftest.
$ac_ext >&5
4747 eval "$as_ac_var=no"
4749 rm -f conftest.err conftest.
$ac_objext \
4750 conftest
$ac_exeext conftest.
$ac_ext
4752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4754 if test `eval echo '${'$as_ac_var'}'` = yes; then
4755 cat >>confdefs.h
<<_ACEOF
4756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4763 if test "${ac_cv_func_stpcpy}" = "yes"; then
4765 cat >>confdefs.h
<<\_ACEOF
4766 #define HAVE_STPCPY 1
4771 if test $ac_cv_header_locale_h = yes; then
4772 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4773 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4774 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4777 cat >conftest.
$ac_ext <<_ACEOF
4780 cat confdefs.h
>>conftest.
$ac_ext
4781 cat >>conftest.
$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4792 rm -f conftest.
$ac_objext conftest
$ac_exeext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4794 (eval $ac_link) 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try
='test -z "$ac_c_werror_flag"
4802 || test ! -s conftest.err'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; } &&
4808 { ac_try
='test -s conftest$ac_exeext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4814 am_cv_val_LC_MESSAGES
=yes
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4819 am_cv_val_LC_MESSAGES
=no
4821 rm -f conftest.err conftest.
$ac_objext \
4822 conftest
$ac_exeext conftest.
$ac_ext
4824 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4825 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4826 if test $am_cv_val_LC_MESSAGES = yes; then
4828 cat >>confdefs.h
<<\_ACEOF
4829 #define HAVE_LC_MESSAGES 1
4834 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
4835 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
4836 # Check whether --enable-nls or --disable-nls was given.
4837 if test "${enable_nls+set}" = set; then
4838 enableval
="$enable_nls"
4843 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4844 echo "${ECHO_T}$USE_NLS" >&6
4847 USE_INCLUDED_LIBINTL
=no
4849 if test "$USE_NLS" = "yes"; then
4850 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
4851 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
4853 # Check whether --with-included-gettext or --without-included-gettext was given.
4854 if test "${with_included_gettext+set}" = set; then
4855 withval
="$with_included_gettext"
4856 nls_cv_force_use_gnu_gettext
=$withval
4858 nls_cv_force_use_gnu_gettext
=no
4860 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
4861 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
4863 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
4864 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
4866 nls_cv_header_libgt
=
4869 if test "${ac_cv_header_libintl_h+set}" = set; then
4870 echo "$as_me:$LINENO: checking for libintl.h" >&5
4871 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4872 if test "${ac_cv_header_libintl_h+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4876 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4878 # Is the header compilable?
4879 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4880 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4881 cat >conftest.
$ac_ext <<_ACEOF
4884 cat confdefs.h
>>conftest.
$ac_ext
4885 cat >>conftest.
$ac_ext <<_ACEOF
4886 /* end confdefs.h. */
4887 $ac_includes_default
4888 #include <libintl.h>
4890 rm -f conftest.
$ac_objext
4891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4892 (eval $ac_compile) 2>conftest.er1
4894 grep -v '^ *+' conftest.er1
>conftest.err
4896 cat conftest.err
>&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); } &&
4899 { ac_try
='test -z "$ac_c_werror_flag"
4900 || test ! -s conftest.err'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; } &&
4906 { ac_try
='test -s conftest.$ac_objext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4912 ac_header_compiler
=yes
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.
$ac_ext >&5
4917 ac_header_compiler
=no
4919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4921 echo "${ECHO_T}$ac_header_compiler" >&6
4923 # Is the header present?
4924 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4925 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4926 cat >conftest.
$ac_ext <<_ACEOF
4929 cat confdefs.h
>>conftest.
$ac_ext
4930 cat >>conftest.
$ac_ext <<_ACEOF
4931 /* end confdefs.h. */
4932 #include <libintl.h>
4934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4937 grep -v '^ *+' conftest.er1
>conftest.err
4939 cat conftest.err
>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } >/dev
/null
; then
4942 if test -s conftest.err
; then
4943 ac_cpp_err
=$ac_c_preproc_warn_flag
4944 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4951 if test -z "$ac_cpp_err"; then
4952 ac_header_preproc
=yes
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.
$ac_ext >&5
4957 ac_header_preproc
=no
4959 rm -f conftest.err conftest.
$ac_ext
4960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4961 echo "${ECHO_T}$ac_header_preproc" >&6
4963 # So? What about this header?
4964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4966 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4967 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4968 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4969 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4970 ac_header_preproc
=yes
4973 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4974 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4975 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4976 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4977 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4978 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4979 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4980 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4981 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4982 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4983 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4984 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4987 ## ------------------------------------------ ##
4988 ## Report this to the AC_PACKAGE_NAME lists. ##
4989 ## ------------------------------------------ ##
4992 sed "s/^/$as_me: WARNING: /" >&2
4995 echo "$as_me:$LINENO: checking for libintl.h" >&5
4996 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4997 if test "${ac_cv_header_libintl_h+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 ac_cv_header_libintl_h
=$ac_header_preproc
5002 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5003 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
5006 if test $ac_cv_header_libintl_h = yes; then
5007 echo "$as_me:$LINENO: checking for gettext in libc" >&5
5008 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
5009 if test "${gt_cv_func_gettext_libc+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 cat >conftest.
$ac_ext <<_ACEOF
5015 cat confdefs.h
>>conftest.
$ac_ext
5016 cat >>conftest.
$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5018 #include <libintl.h>
5022 return (int) gettext ("")
5027 rm -f conftest.
$ac_objext conftest
$ac_exeext
5028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5029 (eval $ac_link) 2>conftest.er1
5031 grep -v '^ *+' conftest.er1
>conftest.err
5033 cat conftest.err
>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try
='test -z "$ac_c_werror_flag"
5037 || test ! -s conftest.err'
5038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); }; } &&
5043 { ac_try
='test -s conftest$ac_exeext'
5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; }; then
5049 gt_cv_func_gettext_libc
=yes
5051 echo "$as_me: failed program was:" >&5
5052 sed 's/^/| /' conftest.
$ac_ext >&5
5054 gt_cv_func_gettext_libc
=no
5056 rm -f conftest.err conftest.
$ac_objext \
5057 conftest
$ac_exeext conftest.
$ac_ext
5059 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
5060 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
5062 if test "$gt_cv_func_gettext_libc" != "yes"; then
5063 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5064 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
5065 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 ac_check_lib_save_LIBS
=$LIBS
5070 cat >conftest.
$ac_ext <<_ACEOF
5073 cat confdefs.h
>>conftest.
$ac_ext
5074 cat >>conftest.
$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5077 /* Override any gcc2 internal prototype to avoid an error. */
5081 /* We use char because int might match the return type of a gcc2
5082 builtin and then its argument prototype would still apply. */
5083 char bindtextdomain ();
5092 rm -f conftest.
$ac_objext conftest
$ac_exeext
5093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5094 (eval $ac_link) 2>conftest.er1
5096 grep -v '^ *+' conftest.er1
>conftest.err
5098 cat conftest.err
>&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } &&
5101 { ac_try
='test -z "$ac_c_werror_flag"
5102 || test ! -s conftest.err'
5103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); }; } &&
5108 { ac_try
='test -s conftest$ac_exeext'
5109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); }; }; then
5114 ac_cv_lib_intl_bindtextdomain
=yes
5116 echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.
$ac_ext >&5
5119 ac_cv_lib_intl_bindtextdomain
=no
5121 rm -f conftest.err conftest.
$ac_objext \
5122 conftest
$ac_exeext conftest.
$ac_ext
5123 LIBS
=$ac_check_lib_save_LIBS
5125 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5126 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5127 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5128 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
5129 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
5130 if test "${gt_cv_func_gettext_libintl+set}" = set; then
5131 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 cat >conftest.
$ac_ext <<_ACEOF
5136 cat confdefs.h
>>conftest.
$ac_ext
5137 cat >>conftest.
$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5143 return (int) gettext ("")
5148 rm -f conftest.
$ac_objext conftest
$ac_exeext
5149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5150 (eval $ac_link) 2>conftest.er1
5152 grep -v '^ *+' conftest.er1
>conftest.err
5154 cat conftest.err
>&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); } &&
5157 { ac_try
='test -z "$ac_c_werror_flag"
5158 || test ! -s conftest.err'
5159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); }; } &&
5164 { ac_try
='test -s conftest$ac_exeext'
5165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); }; }; then
5170 gt_cv_func_gettext_libintl
=yes
5172 echo "$as_me: failed program was:" >&5
5173 sed 's/^/| /' conftest.
$ac_ext >&5
5175 gt_cv_func_gettext_libintl
=no
5177 rm -f conftest.err conftest.
$ac_objext \
5178 conftest
$ac_exeext conftest.
$ac_ext
5180 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
5181 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
5186 if test "$gt_cv_func_gettext_libc" = "yes" \
5187 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
5189 cat >>confdefs.h
<<\_ACEOF
5190 #define HAVE_GETTEXT 1
5193 # Extract the first word of "msgfmt", so it can be a program name with args.
5194 set dummy msgfmt
; ac_word
=$2
5195 echo "$as_me:$LINENO: checking for $ac_word" >&5
5196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5197 if test "${ac_cv_path_MSGFMT+set}" = set; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5202 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5205 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5206 for ac_dir
in $PATH; do
5207 test -z "$ac_dir" && ac_dir
=.
5208 if test -f $ac_dir/$ac_word; then
5209 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5210 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5216 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
5220 MSGFMT
="$ac_cv_path_MSGFMT"
5221 if test -n "$MSGFMT"; then
5222 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5223 echo "${ECHO_T}$MSGFMT" >&6
5225 echo "$as_me:$LINENO: result: no" >&5
5226 echo "${ECHO_T}no" >&6
5228 if test "$MSGFMT" != "no"; then
5230 for ac_func
in dcgettext
5232 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5233 echo "$as_me:$LINENO: checking for $ac_func" >&5
5234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5235 if eval "test \"\${$as_ac_var+set}\" = set"; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 cat >conftest.
$ac_ext <<_ACEOF
5241 cat confdefs.h
>>conftest.
$ac_ext
5242 cat >>conftest.
$ac_ext <<_ACEOF
5243 /* end confdefs.h. */
5244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5246 #define $ac_func innocuous_$ac_func
5248 /* System header to define __stub macros and hopefully few prototypes,
5249 which can conflict with char $ac_func (); below.
5250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5251 <limits.h> exists even on freestanding compilers. */
5254 # include <limits.h>
5256 # include <assert.h>
5261 /* Override any gcc2 internal prototype to avoid an error. */
5266 /* We use char because int might match the return type of a gcc2
5267 builtin and then its argument prototype would still apply. */
5269 /* The GNU C library defines this for functions which it implements
5270 to always fail with ENOSYS. Some functions are actually named
5271 something starting with __ and the normal name is an alias. */
5272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5275 char (*f) () = $ac_func;
5284 return f != $ac_func;
5289 rm -f conftest.
$ac_objext conftest
$ac_exeext
5290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5291 (eval $ac_link) 2>conftest.er1
5293 grep -v '^ *+' conftest.er1
>conftest.err
5295 cat conftest.err
>&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); } &&
5298 { ac_try
='test -z "$ac_c_werror_flag"
5299 || test ! -s conftest.err'
5300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); }; } &&
5305 { ac_try
='test -s conftest$ac_exeext'
5306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); }; }; then
5311 eval "$as_ac_var=yes"
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.
$ac_ext >&5
5316 eval "$as_ac_var=no"
5318 rm -f conftest.err conftest.
$ac_objext \
5319 conftest
$ac_exeext conftest.
$ac_ext
5321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5323 if test `eval echo '${'$as_ac_var'}'` = yes; then
5324 cat >>confdefs.h
<<_ACEOF
5325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5331 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5332 set dummy gmsgfmt
; ac_word
=$2
5333 echo "$as_me:$LINENO: checking for $ac_word" >&5
5334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5335 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5340 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5347 test -z "$as_dir" && as_dir
=.
5348 for ac_exec_ext
in '' $ac_executable_extensions; do
5349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5350 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5361 GMSGFMT
=$ac_cv_path_GMSGFMT
5363 if test -n "$GMSGFMT"; then
5364 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5365 echo "${ECHO_T}$GMSGFMT" >&6
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5371 # Extract the first word of "xgettext", so it can be a program name with args.
5372 set dummy xgettext
; ac_word
=$2
5373 echo "$as_me:$LINENO: checking for $ac_word" >&5
5374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5375 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5380 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5383 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5384 for ac_dir
in $PATH; do
5385 test -z "$ac_dir" && ac_dir
=.
5386 if test -f $ac_dir/$ac_word; then
5387 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5388 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5394 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5398 XGETTEXT
="$ac_cv_path_XGETTEXT"
5399 if test -n "$XGETTEXT"; then
5400 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5401 echo "${ECHO_T}$XGETTEXT" >&6
5403 echo "$as_me:$LINENO: result: no" >&5
5404 echo "${ECHO_T}no" >&6
5407 cat >conftest.
$ac_ext <<_ACEOF
5410 cat confdefs.h
>>conftest.
$ac_ext
5411 cat >>conftest.
$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5417 extern int _nl_msg_cat_cntr;
5418 return _nl_msg_cat_cntr
5423 rm -f conftest.
$ac_objext conftest
$ac_exeext
5424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5425 (eval $ac_link) 2>conftest.er1
5427 grep -v '^ *+' conftest.er1
>conftest.err
5429 cat conftest.err
>&5
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); } &&
5432 { ac_try
='test -z "$ac_c_werror_flag"
5433 || test ! -s conftest.err'
5434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); }; } &&
5439 { ac_try
='test -s conftest$ac_exeext'
5440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; }; then
5448 echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.
$ac_ext >&5
5454 rm -f conftest.err conftest.
$ac_objext \
5455 conftest
$ac_exeext conftest.
$ac_ext
5465 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
5466 # Neither gettext nor catgets in included in the C library.
5467 # Fall back on GNU gettext library (assuming it is present).
5468 nls_cv_use_gnu_gettext
=yes
5472 if test "$nls_cv_use_gnu_gettext" = "yes"; then
5473 INTLOBJS
="\$(GETTOBJS)"
5474 # Extract the first word of "msgfmt", so it can be a program name with args.
5475 set dummy msgfmt
; ac_word
=$2
5476 echo "$as_me:$LINENO: checking for $ac_word" >&5
5477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5478 if test "${ac_cv_path_MSGFMT+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5483 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5486 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5487 for ac_dir
in $PATH; do
5488 test -z "$ac_dir" && ac_dir
=.
5489 if test -f $ac_dir/$ac_word; then
5490 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5491 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
5497 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
5501 MSGFMT
="$ac_cv_path_MSGFMT"
5502 if test -n "$MSGFMT"; then
5503 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5504 echo "${ECHO_T}$MSGFMT" >&6
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5510 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5511 set dummy gmsgfmt
; ac_word
=$2
5512 echo "$as_me:$LINENO: checking for $ac_word" >&5
5513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5514 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5519 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir
=.
5527 for ac_exec_ext
in '' $ac_executable_extensions; do
5528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5540 GMSGFMT
=$ac_cv_path_GMSGFMT
5542 if test -n "$GMSGFMT"; then
5543 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5544 echo "${ECHO_T}$GMSGFMT" >&6
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5550 # Extract the first word of "xgettext", so it can be a program name with args.
5551 set dummy xgettext
; ac_word
=$2
5552 echo "$as_me:$LINENO: checking for $ac_word" >&5
5553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5554 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5559 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5562 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5563 for ac_dir
in $PATH; do
5564 test -z "$ac_dir" && ac_dir
=.
5565 if test -f $ac_dir/$ac_word; then
5566 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5567 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
5573 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5577 XGETTEXT
="$ac_cv_path_XGETTEXT"
5578 if test -n "$XGETTEXT"; then
5579 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5580 echo "${ECHO_T}$XGETTEXT" >&6
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5587 USE_INCLUDED_LIBINTL
=yes
5591 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
5593 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
5594 nls_cv_header_intl
=libintl.h
5595 nls_cv_header_libgt
=libgettext.h
5598 if test "$XGETTEXT" != ":"; then
5599 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
5602 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
5603 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
5608 # We need to process the po/ directory.
5612 nls_cv_header_intl
=libintl.h
5613 nls_cv_header_libgt
=libgettext.h
5616 # If this is used in GNU gettext we have to set USE_NLS to `yes'
5617 # because some of the sources are only built for this goal.
5618 if test "$PACKAGE" = gettext; then
5620 USE_INCLUDED_LIBINTL
=yes
5623 for lang
in $ALL_LINGUAS; do
5624 GMOFILES
="$GMOFILES $lang.gmo"
5625 POFILES
="$POFILES $lang.po"
5639 if test "x$CATOBJEXT" != "x"; then
5641 cat >>confdefs.h
<<\_ACEOF
5642 #define ENABLE_NLS 1
5648 if test "x$CATOBJEXT" != "x"; then
5649 if test "x$ALL_LINGUAS" = "x"; then
5652 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5653 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5655 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
5656 case "$ALL_LINGUAS" in
5657 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
5660 LINGUAS
=$NEW_LINGUAS
5661 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5662 echo "${ECHO_T}$LINGUAS" >&6
5665 if test -n "$LINGUAS"; then
5666 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
5670 if test $ac_cv_header_locale_h = yes; then
5671 INCLUDE_LOCALE_H
="#include <locale.h>"
5674 /* The system does not provide the header <locale.h>. Take care yourself. */"
5678 if test -f $srcdir/po2tbl.
sed.
in; then
5679 if test "$CATOBJEXT" = ".cat"; then
5680 if test "${ac_cv_header_linux_version_h+set}" = set; then
5681 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5682 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5683 if test "${ac_cv_header_linux_version_h+set}" = set; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5687 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5689 # Is the header compilable?
5690 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
5691 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
5692 cat >conftest.
$ac_ext <<_ACEOF
5695 cat confdefs.h
>>conftest.
$ac_ext
5696 cat >>conftest.
$ac_ext <<_ACEOF
5697 /* end confdefs.h. */
5698 $ac_includes_default
5699 #include <linux/version.h>
5701 rm -f conftest.
$ac_objext
5702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5703 (eval $ac_compile) 2>conftest.er1
5705 grep -v '^ *+' conftest.er1
>conftest.err
5707 cat conftest.err
>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); } &&
5710 { ac_try
='test -z "$ac_c_werror_flag"
5711 || test ! -s conftest.err'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; } &&
5717 { ac_try
='test -s conftest.$ac_objext'
5718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); }; }; then
5723 ac_header_compiler
=yes
5725 echo "$as_me: failed program was:" >&5
5726 sed 's/^/| /' conftest.
$ac_ext >&5
5728 ac_header_compiler
=no
5730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5732 echo "${ECHO_T}$ac_header_compiler" >&6
5734 # Is the header present?
5735 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
5736 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
5737 cat >conftest.
$ac_ext <<_ACEOF
5740 cat confdefs.h
>>conftest.
$ac_ext
5741 cat >>conftest.
$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5743 #include <linux/version.h>
5745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5746 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5748 grep -v '^ *+' conftest.er1
>conftest.err
5750 cat conftest.err
>&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); } >/dev
/null
; then
5753 if test -s conftest.err
; then
5754 ac_cpp_err
=$ac_c_preproc_warn_flag
5755 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5762 if test -z "$ac_cpp_err"; then
5763 ac_header_preproc
=yes
5765 echo "$as_me: failed program was:" >&5
5766 sed 's/^/| /' conftest.
$ac_ext >&5
5768 ac_header_preproc
=no
5770 rm -f conftest.err conftest.
$ac_ext
5771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5772 echo "${ECHO_T}$ac_header_preproc" >&6
5774 # So? What about this header?
5775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5777 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
5778 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5779 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
5780 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
5781 ac_header_preproc
=yes
5784 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
5785 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
5786 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
5787 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
5788 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
5789 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
5790 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
5791 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
5792 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
5793 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
5794 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
5795 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
5798 ## ------------------------------------------ ##
5799 ## Report this to the AC_PACKAGE_NAME lists. ##
5800 ## ------------------------------------------ ##
5803 sed "s/^/$as_me: WARNING: /" >&2
5806 echo "$as_me:$LINENO: checking for linux/version.h" >&5
5807 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
5808 if test "${ac_cv_header_linux_version_h+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 ac_cv_header_linux_version_h
=$ac_header_preproc
5813 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
5814 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
5817 if test $ac_cv_header_linux_version_h = yes; then
5825 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
5827 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
5828 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
5831 if test "$PACKAGE" = "gettext"; then
5841 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
5847 if test -f $srcdir/po
/POTFILES.
in; then
5848 test -d po || mkdir po
5849 if test "x$srcdir" != "x."; then
5850 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5851 posrcprefix
="$srcdir/"
5853 posrcprefix
="../$srcdir/"
5859 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5860 < $srcdir/po
/POTFILES.
in > po
/POTFILES
5864 localedir
='${datadir}/locale'
5867 if test "x$POSUB" != x
; then
5869 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5870 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5871 # Look for .po and .gmo files in the source directory.
5874 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5875 # If there aren't any .gmo files the shell will give us the
5876 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5878 case "$cat" in *\
**)
5881 # The quadruple backslash is collapsed to a double backslash
5882 # by the backticks, then collapsed again by the double quotes,
5883 # leaving us with one backslash in the sed expression (right
5884 # before the dot that mustn't act as a wildcard).
5885 cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"`
5886 lang
=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"`
5887 # The user is allowed to set LINGUAS to a list of languages to
5888 # install catalogs for. If it's empty that means "all of them."
5889 if test "x$LINGUAS" = x
; then
5890 CATALOGS
="$CATALOGS $cat"
5891 XLINGUAS
="$XLINGUAS $lang"
5893 case "$LINGUAS" in *$lang*)
5894 CATALOGS
="$CATALOGS $cat"
5895 XLINGUAS
="$XLINGUAS $lang"
5901 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5902 echo "${ECHO_T}$LINGUAS" >&6
5904 CONFIG_ALL
="$CONFIG_ALL all-po"
5905 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
5906 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
5907 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
5912 cat >>confdefs.h
<<_ACEOF
5913 #define PACKAGE "$PACKAGE"
5918 debugdir
=${libdir}/debug
5921 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
5922 if test "${with_separate_debug_dir+set}" = set; then
5923 withval
="$with_separate_debug_dir"
5924 debugdir
="${withval}"
5928 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
5929 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5930 ac_define_dir
=`eval echo $debugdir`
5931 ac_define_dir
=`eval echo $ac_define_dir`
5933 cat >>confdefs.h
<<_ACEOF
5934 #define DEBUGDIR "$ac_define_dir"
5938 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
5942 subdirs
="$subdirs doc testsuite"
5945 # Provide defaults for some variables set by the per-host and per-target
5947 gdb_host_obs
=posix-hdep.o
5949 .
$srcdir/configure.
host
5951 .
$srcdir/configure.tgt
5953 # Fetch the default architecture and default target vector from BFD.
5954 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
5956 # We only want the first architecture, so strip off the others if
5957 # there is more than one.
5958 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
5960 if test "x$targ_archs" != x
; then
5962 cat >>confdefs.h
<<_ACEOF
5963 #define DEFAULT_BFD_ARCH $targ_archs
5967 if test "x$targ_defvec" != x
; then
5969 cat >>confdefs.h
<<_ACEOF
5970 #define DEFAULT_BFD_VEC $targ_defvec
5975 test "$program_prefix" != NONE
&&
5976 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
5977 # Use a double $ so make ignores it.
5978 test "$program_suffix" != NONE
&&
5979 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
5980 # Double any \ or $. echo might interpret backslashes.
5981 # By default was `s,x,x', remove it if useless.
5982 cat <<\_ACEOF
>conftest.
sed
5983 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
5985 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
5989 # The CLI cannot be disabled yet, but may be in the future.
5992 # Check whether --enable-gdbcli or --disable-gdbcli was given.
5993 if test "${enable_gdbcli+set}" = set; then
5994 enableval
="$enable_gdbcli"
5999 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
6000 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
6001 { (exit 1); exit 1; }; } ;;
6003 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
6004 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
6005 { (exit 1); exit 1; }; } ;;
6010 if test x
"$enable_gdbcli" = xyes
; then
6011 if test -d $srcdir/cli
; then
6012 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
6013 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
6014 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
6015 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
6020 # Check whether --enable-gdbmi or --disable-gdbmi was given.
6021 if test "${enable_gdbmi+set}" = set; then
6022 enableval
="$enable_gdbmi"
6027 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
6028 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
6029 { (exit 1); exit 1; }; } ;;
6034 if test x
"$enable_gdbmi" = xyes
; then
6035 if test -d $srcdir/mi
; then
6036 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
6037 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
6038 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
6039 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
6044 # Check whether --enable-tui or --disable-tui was given.
6045 if test "${enable_tui+set}" = set; then
6046 enableval
="$enable_tui"
6051 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
6052 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
6053 { (exit 1); exit 1; }; } ;;
6060 # Check whether --enable-gdbtk or --disable-gdbtk was given.
6061 if test "${enable_gdbtk+set}" = set; then
6062 enableval
="$enable_gdbtk"
6067 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
6068 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
6069 { (exit 1); exit 1; }; } ;;
6072 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
6078 # We unconditionally disable gdbtk tests on selected platforms.
6081 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
6082 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
6086 # Libunwind support.
6088 # Check whether --with-libunwind or --without-libunwind was given.
6089 if test "${with_libunwind+set}" = set; then
6090 withval
="$with_libunwind"
6091 case "${withval}" in
6092 yes) enable_libunwind
=yes ;;
6093 no
) enable_libunwind
=no
;;
6094 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
6095 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
6096 { (exit 1); exit 1; }; } ;;
6101 for ac_header
in libunwind.h
6103 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6105 echo "$as_me:$LINENO: checking for $ac_header" >&5
6106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6108 echo $ECHO_N "(cached) $ECHO_C" >&6
6110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6113 # Is the header compilable?
6114 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6116 cat >conftest.
$ac_ext <<_ACEOF
6119 cat confdefs.h
>>conftest.
$ac_ext
6120 cat >>conftest.
$ac_ext <<_ACEOF
6121 /* end confdefs.h. */
6122 $ac_includes_default
6123 #include <$ac_header>
6125 rm -f conftest.
$ac_objext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6127 (eval $ac_compile) 2>conftest.er1
6129 grep -v '^ *+' conftest.er1
>conftest.err
6131 cat conftest.err
>&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } &&
6134 { ac_try
='test -z "$ac_c_werror_flag"
6135 || test ! -s conftest.err'
6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); }; } &&
6141 { ac_try
='test -s conftest.$ac_objext'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; }; then
6147 ac_header_compiler
=yes
6149 echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.
$ac_ext >&5
6152 ac_header_compiler
=no
6154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6156 echo "${ECHO_T}$ac_header_compiler" >&6
6158 # Is the header present?
6159 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6161 cat >conftest.
$ac_ext <<_ACEOF
6164 cat confdefs.h
>>conftest.
$ac_ext
6165 cat >>conftest.
$ac_ext <<_ACEOF
6166 /* end confdefs.h. */
6167 #include <$ac_header>
6169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6170 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6172 grep -v '^ *+' conftest.er1
>conftest.err
6174 cat conftest.err
>&5
6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); } >/dev
/null
; then
6177 if test -s conftest.err
; then
6178 ac_cpp_err
=$ac_c_preproc_warn_flag
6179 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6186 if test -z "$ac_cpp_err"; then
6187 ac_header_preproc
=yes
6189 echo "$as_me: failed program was:" >&5
6190 sed 's/^/| /' conftest.
$ac_ext >&5
6192 ac_header_preproc
=no
6194 rm -f conftest.err conftest.
$ac_ext
6195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6196 echo "${ECHO_T}$ac_header_preproc" >&6
6198 # So? What about this header?
6199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6201 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6202 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6204 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6205 ac_header_preproc
=yes
6208 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6209 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6210 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6211 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6212 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6213 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6214 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6215 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6218 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6219 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6222 ## ------------------------------------------ ##
6223 ## Report this to the AC_PACKAGE_NAME lists. ##
6224 ## ------------------------------------------ ##
6227 sed "s/^/$as_me: WARNING: /" >&2
6230 echo "$as_me:$LINENO: checking for $ac_header" >&5
6231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6233 echo $ECHO_N "(cached) $ECHO_C" >&6
6235 eval "$as_ac_Header=\$ac_header_preproc"
6237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6242 cat >>confdefs.h
<<_ACEOF
6243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6251 for ac_header
in libunwind-ia64.h
6253 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6255 echo "$as_me:$LINENO: checking for $ac_header" >&5
6256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6263 # Is the header compilable?
6264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6266 cat >conftest.
$ac_ext <<_ACEOF
6269 cat confdefs.h
>>conftest.
$ac_ext
6270 cat >>conftest.
$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6272 $ac_includes_default
6273 #include <$ac_header>
6275 rm -f conftest.
$ac_objext
6276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6277 (eval $ac_compile) 2>conftest.er1
6279 grep -v '^ *+' conftest.er1
>conftest.err
6281 cat conftest.err
>&5
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } &&
6284 { ac_try
='test -z "$ac_c_werror_flag"
6285 || test ! -s conftest.err'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; } &&
6291 { ac_try
='test -s conftest.$ac_objext'
6292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }; }; then
6297 ac_header_compiler
=yes
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.
$ac_ext >&5
6302 ac_header_compiler
=no
6304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6306 echo "${ECHO_T}$ac_header_compiler" >&6
6308 # Is the header present?
6309 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6311 cat >conftest.
$ac_ext <<_ACEOF
6314 cat confdefs.h
>>conftest.
$ac_ext
6315 cat >>conftest.
$ac_ext <<_ACEOF
6316 /* end confdefs.h. */
6317 #include <$ac_header>
6319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6322 grep -v '^ *+' conftest.er1
>conftest.err
6324 cat conftest.err
>&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } >/dev
/null
; then
6327 if test -s conftest.err
; then
6328 ac_cpp_err
=$ac_c_preproc_warn_flag
6329 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6336 if test -z "$ac_cpp_err"; then
6337 ac_header_preproc
=yes
6339 echo "$as_me: failed program was:" >&5
6340 sed 's/^/| /' conftest.
$ac_ext >&5
6342 ac_header_preproc
=no
6344 rm -f conftest.err conftest.
$ac_ext
6345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6346 echo "${ECHO_T}$ac_header_preproc" >&6
6348 # So? What about this header?
6349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6352 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6354 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6355 ac_header_preproc
=yes
6358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6362 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6363 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6364 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6365 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6369 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6372 ## ------------------------------------------ ##
6373 ## Report this to the AC_PACKAGE_NAME lists. ##
6374 ## ------------------------------------------ ##
6377 sed "s/^/$as_me: WARNING: /" >&2
6380 echo "$as_me:$LINENO: checking for $ac_header" >&5
6381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6383 echo $ECHO_N "(cached) $ECHO_C" >&6
6385 eval "$as_ac_Header=\$ac_header_preproc"
6387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6392 cat >>confdefs.h
<<_ACEOF
6393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6400 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
6401 enable_libunwind
=yes;
6406 if test x
"$enable_libunwind" = xyes
; then
6408 for ac_header
in libunwind.h
6410 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6412 echo "$as_me:$LINENO: checking for $ac_header" >&5
6413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6415 echo $ECHO_N "(cached) $ECHO_C" >&6
6417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6420 # Is the header compilable?
6421 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6422 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6423 cat >conftest.
$ac_ext <<_ACEOF
6426 cat confdefs.h
>>conftest.
$ac_ext
6427 cat >>conftest.
$ac_ext <<_ACEOF
6428 /* end confdefs.h. */
6429 $ac_includes_default
6430 #include <$ac_header>
6432 rm -f conftest.
$ac_objext
6433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6434 (eval $ac_compile) 2>conftest.er1
6436 grep -v '^ *+' conftest.er1
>conftest.err
6438 cat conftest.err
>&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } &&
6441 { ac_try
='test -z "$ac_c_werror_flag"
6442 || test ! -s conftest.err'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; } &&
6448 { ac_try
='test -s conftest.$ac_objext'
6449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; }; then
6454 ac_header_compiler
=yes
6456 echo "$as_me: failed program was:" >&5
6457 sed 's/^/| /' conftest.
$ac_ext >&5
6459 ac_header_compiler
=no
6461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6462 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6463 echo "${ECHO_T}$ac_header_compiler" >&6
6465 # Is the header present?
6466 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6467 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6468 cat >conftest.
$ac_ext <<_ACEOF
6471 cat confdefs.h
>>conftest.
$ac_ext
6472 cat >>conftest.
$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6474 #include <$ac_header>
6476 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6477 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6479 grep -v '^ *+' conftest.er1
>conftest.err
6481 cat conftest.err
>&5
6482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483 (exit $ac_status); } >/dev
/null
; then
6484 if test -s conftest.err
; then
6485 ac_cpp_err
=$ac_c_preproc_warn_flag
6486 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6493 if test -z "$ac_cpp_err"; then
6494 ac_header_preproc
=yes
6496 echo "$as_me: failed program was:" >&5
6497 sed 's/^/| /' conftest.
$ac_ext >&5
6499 ac_header_preproc
=no
6501 rm -f conftest.err conftest.
$ac_ext
6502 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6503 echo "${ECHO_T}$ac_header_preproc" >&6
6505 # So? What about this header?
6506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6508 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6509 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6511 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6512 ac_header_preproc
=yes
6515 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6516 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6517 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6518 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6519 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6520 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6521 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6522 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6524 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6525 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6526 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6529 ## ------------------------------------------ ##
6530 ## Report this to the AC_PACKAGE_NAME lists. ##
6531 ## ------------------------------------------ ##
6534 sed "s/^/$as_me: WARNING: /" >&2
6537 echo "$as_me:$LINENO: checking for $ac_header" >&5
6538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6540 echo $ECHO_N "(cached) $ECHO_C" >&6
6542 eval "$as_ac_Header=\$ac_header_preproc"
6544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6549 cat >>confdefs.h
<<_ACEOF
6550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6558 for ac_header
in libunwind-ia64.h
6560 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6562 echo "$as_me:$LINENO: checking for $ac_header" >&5
6563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6570 # Is the header compilable?
6571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6573 cat >conftest.
$ac_ext <<_ACEOF
6576 cat confdefs.h
>>conftest.
$ac_ext
6577 cat >>conftest.
$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6579 $ac_includes_default
6580 #include <$ac_header>
6582 rm -f conftest.
$ac_objext
6583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6584 (eval $ac_compile) 2>conftest.er1
6586 grep -v '^ *+' conftest.er1
>conftest.err
6588 cat conftest.err
>&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); } &&
6591 { ac_try
='test -z "$ac_c_werror_flag"
6592 || test ! -s conftest.err'
6593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); }; } &&
6598 { ac_try
='test -s conftest.$ac_objext'
6599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); }; }; then
6604 ac_header_compiler
=yes
6606 echo "$as_me: failed program was:" >&5
6607 sed 's/^/| /' conftest.
$ac_ext >&5
6609 ac_header_compiler
=no
6611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6613 echo "${ECHO_T}$ac_header_compiler" >&6
6615 # Is the header present?
6616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6618 cat >conftest.
$ac_ext <<_ACEOF
6621 cat confdefs.h
>>conftest.
$ac_ext
6622 cat >>conftest.
$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6624 #include <$ac_header>
6626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6629 grep -v '^ *+' conftest.er1
>conftest.err
6631 cat conftest.err
>&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); } >/dev
/null
; then
6634 if test -s conftest.err
; then
6635 ac_cpp_err
=$ac_c_preproc_warn_flag
6636 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6643 if test -z "$ac_cpp_err"; then
6644 ac_header_preproc
=yes
6646 echo "$as_me: failed program was:" >&5
6647 sed 's/^/| /' conftest.
$ac_ext >&5
6649 ac_header_preproc
=no
6651 rm -f conftest.err conftest.
$ac_ext
6652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6653 echo "${ECHO_T}$ac_header_preproc" >&6
6655 # So? What about this header?
6656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6662 ac_header_preproc
=yes
6665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6679 ## ------------------------------------------ ##
6680 ## Report this to the AC_PACKAGE_NAME lists. ##
6681 ## ------------------------------------------ ##
6684 sed "s/^/$as_me: WARNING: /" >&2
6687 echo "$as_me:$LINENO: checking for $ac_header" >&5
6688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6690 echo $ECHO_N "(cached) $ECHO_C" >&6
6692 eval "$as_ac_Header=\$ac_header_preproc"
6694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6699 cat >>confdefs.h
<<_ACEOF
6700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6708 cat >>confdefs.h
<<\_ACEOF
6709 #define HAVE_LIBUNWIND 1
6712 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
6713 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
6714 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
6717 # Profiling support.
6718 # Check whether --enable-profiling or --disable-profiling was given.
6719 if test "${enable_profiling+set}" = set; then
6720 enableval
="$enable_profiling"
6725 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
6726 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
6727 { (exit 1); exit 1; }; } ;;
6735 for ac_func
in monstartup _mcleanup
6737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6738 echo "$as_me:$LINENO: checking for $ac_func" >&5
6739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6740 if eval "test \"\${$as_ac_var+set}\" = set"; then
6741 echo $ECHO_N "(cached) $ECHO_C" >&6
6743 cat >conftest.
$ac_ext <<_ACEOF
6746 cat confdefs.h
>>conftest.
$ac_ext
6747 cat >>conftest.
$ac_ext <<_ACEOF
6748 /* end confdefs.h. */
6749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6751 #define $ac_func innocuous_$ac_func
6753 /* System header to define __stub macros and hopefully few prototypes,
6754 which can conflict with char $ac_func (); below.
6755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6756 <limits.h> exists even on freestanding compilers. */
6759 # include <limits.h>
6761 # include <assert.h>
6766 /* Override any gcc2 internal prototype to avoid an error. */
6771 /* We use char because int might match the return type of a gcc2
6772 builtin and then its argument prototype would still apply. */
6774 /* The GNU C library defines this for functions which it implements
6775 to always fail with ENOSYS. Some functions are actually named
6776 something starting with __ and the normal name is an alias. */
6777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6780 char (*f) () = $ac_func;
6789 return f != $ac_func;
6794 rm -f conftest.
$ac_objext conftest
$ac_exeext
6795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6796 (eval $ac_link) 2>conftest.er1
6798 grep -v '^ *+' conftest.er1
>conftest.err
6800 cat conftest.err
>&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); } &&
6803 { ac_try
='test -z "$ac_c_werror_flag"
6804 || test ! -s conftest.err'
6805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); }; } &&
6810 { ac_try
='test -s conftest$ac_exeext'
6811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); }; }; then
6816 eval "$as_ac_var=yes"
6818 echo "$as_me: failed program was:" >&5
6819 sed 's/^/| /' conftest.
$ac_ext >&5
6821 eval "$as_ac_var=no"
6823 rm -f conftest.err conftest.
$ac_objext \
6824 conftest
$ac_exeext conftest.
$ac_ext
6826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6828 if test `eval echo '${'$as_ac_var'}'` = yes; then
6829 cat >>confdefs.h
<<_ACEOF
6830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6836 echo "$as_me:$LINENO: checking for _etext" >&5
6837 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
6838 if test "${ac_cv_var__etext+set}" = set; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 cat >conftest.
$ac_ext <<_ACEOF
6844 cat confdefs.h
>>conftest.
$ac_ext
6845 cat >>conftest.
$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6858 rm -f conftest.
$ac_objext conftest
$ac_exeext
6859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6860 (eval $ac_link) 2>conftest.er1
6862 grep -v '^ *+' conftest.er1
>conftest.err
6864 cat conftest.err
>&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); } &&
6867 { ac_try
='test -z "$ac_c_werror_flag"
6868 || test ! -s conftest.err'
6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); }; } &&
6874 { ac_try
='test -s conftest$ac_exeext'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; }; then
6880 ac_cv_var__etext
=yes
6882 echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.
$ac_ext >&5
6887 rm -f conftest.err conftest.
$ac_objext \
6888 conftest
$ac_exeext conftest.
$ac_ext
6890 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
6891 echo "${ECHO_T}$ac_cv_var__etext" >&6
6892 if test $ac_cv_var__etext = yes; then
6894 cat >>confdefs.h
<<\_ACEOF
6895 #define HAVE__ETEXT 1
6899 if test "$enable_profiling" = yes ; then
6900 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
6901 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
6902 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
6903 { (exit 1); exit 1; }; }
6906 OLD_CFLAGS
="$CFLAGS"
6907 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
6909 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
6910 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
6911 if test "${ac_cv_cc_supports_pg+set}" = set; then
6912 echo $ECHO_N "(cached) $ECHO_C" >&6
6914 cat >conftest.
$ac_ext <<_ACEOF
6917 cat confdefs.h
>>conftest.
$ac_ext
6918 cat >>conftest.
$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6929 rm -f conftest.
$ac_objext
6930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6931 (eval $ac_compile) 2>conftest.er1
6933 grep -v '^ *+' conftest.er1
>conftest.err
6935 cat conftest.err
>&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); } &&
6938 { ac_try
='test -z "$ac_c_werror_flag"
6939 || test ! -s conftest.err'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; } &&
6945 { ac_try
='test -s conftest.$ac_objext'
6946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); }; }; then
6951 ac_cv_cc_supports_pg
=yes
6953 echo "$as_me: failed program was:" >&5
6954 sed 's/^/| /' conftest.
$ac_ext >&5
6956 ac_cv_cc_supports_pg
=no
6958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6960 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
6961 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
6963 if test $ac_cv_cc_supports_pg = no
; then
6964 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
6965 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
6966 { (exit 1); exit 1; }; }
6969 CFLAGS
="$OLD_CFLAGS"
6972 # --------------------- #
6973 # Checks for programs. #
6974 # --------------------- #
6976 for ac_prog
in gawk mawk nawk
awk
6978 # Extract the first word of "$ac_prog", so it can be a program name with args.
6979 set dummy
$ac_prog; ac_word
=$2
6980 echo "$as_me:$LINENO: checking for $ac_word" >&5
6981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6982 if test "${ac_cv_prog_AWK+set}" = set; then
6983 echo $ECHO_N "(cached) $ECHO_C" >&6
6985 if test -n "$AWK"; then
6986 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6992 test -z "$as_dir" && as_dir
=.
6993 for ac_exec_ext
in '' $ac_executable_extensions; do
6994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6995 ac_cv_prog_AWK
="$ac_prog"
6996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 if test -n "$AWK"; then
7006 echo "$as_me:$LINENO: result: $AWK" >&5
7007 echo "${ECHO_T}$AWK" >&6
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7013 test -n "$AWK" && break
7016 # Find a good install program. We prefer a C program (faster),
7017 # so one script is as good as another. But avoid the broken or
7018 # incompatible versions:
7019 # SysV /etc/install, /usr/sbin/install
7020 # SunOS /usr/etc/install
7021 # IRIX /sbin/install
7023 # AmigaOS /C/install, which installs bootblocks on floppy discs
7024 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7025 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7026 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7027 # OS/2's system install, which has a completely different semantic
7028 # ./install, which can be erroneously created by make from ./install.sh.
7029 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7030 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7031 if test -z "$INSTALL"; then
7032 if test "${ac_cv_path_install+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7039 test -z "$as_dir" && as_dir
=.
7040 # Account for people who put trailing slashes in PATH elements.
7042 .
/ | .
// |
/cC
/* | \
7043 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
7044 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7047 # OSF1 and SCO ODT 3.0 have their own names for install.
7048 # Don't use installbsd from OSF since it installs stuff as root
7050 for ac_prog
in ginstall scoinst
install; do
7051 for ac_exec_ext
in '' $ac_executable_extensions; do
7052 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7053 if test $ac_prog = install &&
7054 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7055 # AIX install. It has an incompatible calling convention.
7057 elif test $ac_prog = install &&
7058 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7059 # program-specific install script used by HP pwplus--don't use.
7062 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7074 if test "${ac_cv_path_install+set}" = set; then
7075 INSTALL
=$ac_cv_path_install
7077 # As a last resort, use the slow shell script. We don't cache a
7078 # path for INSTALL within a source directory, because that will
7079 # break other packages using the cache if that directory is
7080 # removed, or if the path is relative.
7081 INSTALL
=$ac_install_sh
7084 echo "$as_me:$LINENO: result: $INSTALL" >&5
7085 echo "${ECHO_T}$INSTALL" >&6
7087 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7088 # It thinks the first close brace ends the variable substitution.
7089 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7091 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7093 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7095 echo "$as_me:$LINENO: checking whether ln -s works" >&5
7096 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7098 if test "$LN_S" = "ln -s"; then
7099 echo "$as_me:$LINENO: result: yes" >&5
7100 echo "${ECHO_T}yes" >&6
7102 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7103 echo "${ECHO_T}no, using $LN_S" >&6
7106 if test -n "$ac_tool_prefix"; then
7107 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7108 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7109 echo "$as_me:$LINENO: checking for $ac_word" >&5
7110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7111 if test "${ac_cv_prog_RANLIB+set}" = set; then
7112 echo $ECHO_N "(cached) $ECHO_C" >&6
7114 if test -n "$RANLIB"; then
7115 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7121 test -z "$as_dir" && as_dir
=.
7122 for ac_exec_ext
in '' $ac_executable_extensions; do
7123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7124 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7133 RANLIB
=$ac_cv_prog_RANLIB
7134 if test -n "$RANLIB"; then
7135 echo "$as_me:$LINENO: result: $RANLIB" >&5
7136 echo "${ECHO_T}$RANLIB" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7143 if test -z "$ac_cv_prog_RANLIB"; then
7144 ac_ct_RANLIB
=$RANLIB
7145 # Extract the first word of "ranlib", so it can be a program name with args.
7146 set dummy ranlib
; ac_word
=$2
7147 echo "$as_me:$LINENO: checking for $ac_word" >&5
7148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7149 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 if test -n "$ac_ct_RANLIB"; then
7153 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7159 test -z "$as_dir" && as_dir
=.
7160 for ac_exec_ext
in '' $ac_executable_extensions; do
7161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7169 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
7172 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7173 if test -n "$ac_ct_RANLIB"; then
7174 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7175 echo "${ECHO_T}$ac_ct_RANLIB" >&6
7177 echo "$as_me:$LINENO: result: no" >&5
7178 echo "${ECHO_T}no" >&6
7181 RANLIB
=$ac_ct_RANLIB
7183 RANLIB
="$ac_cv_prog_RANLIB"
7186 for ac_prog
in 'bison -y' byacc
7188 # Extract the first word of "$ac_prog", so it can be a program name with args.
7189 set dummy
$ac_prog; ac_word
=$2
7190 echo "$as_me:$LINENO: checking for $ac_word" >&5
7191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7192 if test "${ac_cv_prog_YACC+set}" = set; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 if test -n "$YACC"; then
7196 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
7198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir
=.
7203 for ac_exec_ext
in '' $ac_executable_extensions; do
7204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7205 ac_cv_prog_YACC
="$ac_prog"
7206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 YACC
=$ac_cv_prog_YACC
7215 if test -n "$YACC"; then
7216 echo "$as_me:$LINENO: result: $YACC" >&5
7217 echo "${ECHO_T}$YACC" >&6
7219 echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6
7223 test -n "$YACC" && break
7225 test -n "$YACC" || YACC
="yacc"
7228 if test -n "$ac_tool_prefix"; then
7229 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7230 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7231 echo "$as_me:$LINENO: checking for $ac_word" >&5
7232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7233 if test "${ac_cv_prog_AR+set}" = set; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 if test -n "$AR"; then
7237 ac_cv_prog_AR
="$AR" # Let the user override the test.
7239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir
=.
7244 for ac_exec_ext
in '' $ac_executable_extensions; do
7245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 if test -n "$AR"; then
7257 echo "$as_me:$LINENO: result: $AR" >&5
7258 echo "${ECHO_T}$AR" >&6
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7265 if test -z "$ac_cv_prog_AR"; then
7267 # Extract the first word of "ar", so it can be a program name with args.
7268 set dummy
ar; ac_word
=$2
7269 echo "$as_me:$LINENO: checking for $ac_word" >&5
7270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7271 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7272 echo $ECHO_N "(cached) $ECHO_C" >&6
7274 if test -n "$ac_ct_AR"; then
7275 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7281 test -z "$as_dir" && as_dir
=.
7282 for ac_exec_ext
in '' $ac_executable_extensions; do
7283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7284 ac_cv_prog_ac_ct_AR
="ar"
7285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7293 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7294 if test -n "$ac_ct_AR"; then
7295 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7296 echo "${ECHO_T}$ac_ct_AR" >&6
7298 echo "$as_me:$LINENO: result: no" >&5
7299 echo "${ECHO_T}no" >&6
7307 if test -n "$ac_tool_prefix"; then
7308 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7309 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7310 echo "$as_me:$LINENO: checking for $ac_word" >&5
7311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7312 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7313 echo $ECHO_N "(cached) $ECHO_C" >&6
7315 if test -n "$DLLTOOL"; then
7316 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7322 test -z "$as_dir" && as_dir
=.
7323 for ac_exec_ext
in '' $ac_executable_extensions; do
7324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7325 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 DLLTOOL
=$ac_cv_prog_DLLTOOL
7335 if test -n "$DLLTOOL"; then
7336 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7337 echo "${ECHO_T}$DLLTOOL" >&6
7339 echo "$as_me:$LINENO: result: no" >&5
7340 echo "${ECHO_T}no" >&6
7344 if test -z "$ac_cv_prog_DLLTOOL"; then
7345 ac_ct_DLLTOOL
=$DLLTOOL
7346 # Extract the first word of "dlltool", so it can be a program name with args.
7347 set dummy dlltool
; ac_word
=$2
7348 echo "$as_me:$LINENO: checking for $ac_word" >&5
7349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7350 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 if test -n "$ac_ct_DLLTOOL"; then
7354 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir
=.
7361 for ac_exec_ext
in '' $ac_executable_extensions; do
7362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7373 if test -n "$ac_ct_DLLTOOL"; then
7374 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7375 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
7377 echo "$as_me:$LINENO: result: no" >&5
7378 echo "${ECHO_T}no" >&6
7381 DLLTOOL
=$ac_ct_DLLTOOL
7383 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7386 if test -n "$ac_tool_prefix"; then
7387 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7388 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
7389 echo "$as_me:$LINENO: checking for $ac_word" >&5
7390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7391 if test "${ac_cv_prog_WINDRES+set}" = set; then
7392 echo $ECHO_N "(cached) $ECHO_C" >&6
7394 if test -n "$WINDRES"; then
7395 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
7397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir
=.
7402 for ac_exec_ext
in '' $ac_executable_extensions; do
7403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
7405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7413 WINDRES
=$ac_cv_prog_WINDRES
7414 if test -n "$WINDRES"; then
7415 echo "$as_me:$LINENO: result: $WINDRES" >&5
7416 echo "${ECHO_T}$WINDRES" >&6
7418 echo "$as_me:$LINENO: result: no" >&5
7419 echo "${ECHO_T}no" >&6
7423 if test -z "$ac_cv_prog_WINDRES"; then
7424 ac_ct_WINDRES
=$WINDRES
7425 # Extract the first word of "windres", so it can be a program name with args.
7426 set dummy windres
; ac_word
=$2
7427 echo "$as_me:$LINENO: checking for $ac_word" >&5
7428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7429 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 if test -n "$ac_ct_WINDRES"; then
7433 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
7435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7439 test -z "$as_dir" && as_dir
=.
7440 for ac_exec_ext
in '' $ac_executable_extensions; do
7441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7442 ac_cv_prog_ac_ct_WINDRES
="windres"
7443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7451 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
7452 if test -n "$ac_ct_WINDRES"; then
7453 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
7454 echo "${ECHO_T}$ac_ct_WINDRES" >&6
7456 echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6
7460 WINDRES
=$ac_ct_WINDRES
7462 WINDRES
="$ac_cv_prog_WINDRES"
7466 # Needed for GNU/Hurd.
7467 if test -n "$ac_tool_prefix"; then
7468 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
7469 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
7470 echo "$as_me:$LINENO: checking for $ac_word" >&5
7471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7472 if test "${ac_cv_prog_MIG+set}" = set; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 if test -n "$MIG"; then
7476 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
7478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7482 test -z "$as_dir" && as_dir
=.
7483 for ac_exec_ext
in '' $ac_executable_extensions; do
7484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
7486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7495 if test -n "$MIG"; then
7496 echo "$as_me:$LINENO: result: $MIG" >&5
7497 echo "${ECHO_T}$MIG" >&6
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7504 if test -z "$ac_cv_prog_MIG"; then
7506 # Extract the first word of "mig", so it can be a program name with args.
7507 set dummy mig
; ac_word
=$2
7508 echo "$as_me:$LINENO: checking for $ac_word" >&5
7509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7510 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7513 if test -n "$ac_ct_MIG"; then
7514 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
7516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir
=.
7521 for ac_exec_ext
in '' $ac_executable_extensions; do
7522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523 ac_cv_prog_ac_ct_MIG
="mig"
7524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
7533 if test -n "$ac_ct_MIG"; then
7534 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
7535 echo "${ECHO_T}$ac_ct_MIG" >&6
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7543 MIG
="$ac_cv_prog_MIG"
7547 # ---------------------- #
7548 # Checks for libraries. #
7549 # ---------------------- #
7551 # We might need to link with -lm; most simulators need it.
7553 echo "$as_me:$LINENO: checking for main in -lm" >&5
7554 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
7555 if test "${ac_cv_lib_m_main+set}" = set; then
7556 echo $ECHO_N "(cached) $ECHO_C" >&6
7558 ac_check_lib_save_LIBS
=$LIBS
7560 cat >conftest.
$ac_ext <<_ACEOF
7563 cat confdefs.h
>>conftest.
$ac_ext
7564 cat >>conftest.
$ac_ext <<_ACEOF
7565 /* end confdefs.h. */
7576 rm -f conftest.
$ac_objext conftest
$ac_exeext
7577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7578 (eval $ac_link) 2>conftest.er1
7580 grep -v '^ *+' conftest.er1
>conftest.err
7582 cat conftest.err
>&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); } &&
7585 { ac_try
='test -z "$ac_c_werror_flag"
7586 || test ! -s conftest.err'
7587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); }; } &&
7592 { ac_try
='test -s conftest$ac_exeext'
7593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); }; }; then
7598 ac_cv_lib_m_main
=yes
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.
$ac_ext >&5
7605 rm -f conftest.err conftest.
$ac_objext \
7606 conftest
$ac_exeext conftest.
$ac_ext
7607 LIBS
=$ac_check_lib_save_LIBS
7609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
7610 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
7611 if test $ac_cv_lib_m_main = yes; then
7612 cat >>confdefs.h
<<_ACEOF
7621 # We need to link with -lw to get `wctype' on Solaris before Solaris
7622 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
7623 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
7624 # is known to have this problem). Therefore we avoid libw if we can.
7625 echo "$as_me:$LINENO: checking for wctype" >&5
7626 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
7627 if test "${ac_cv_func_wctype+set}" = set; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 cat >conftest.
$ac_ext <<_ACEOF
7633 cat confdefs.h
>>conftest.
$ac_ext
7634 cat >>conftest.
$ac_ext <<_ACEOF
7635 /* end confdefs.h. */
7636 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
7637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7638 #define wctype innocuous_wctype
7640 /* System header to define __stub macros and hopefully few prototypes,
7641 which can conflict with char wctype (); below.
7642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7643 <limits.h> exists even on freestanding compilers. */
7646 # include <limits.h>
7648 # include <assert.h>
7653 /* Override any gcc2 internal prototype to avoid an error. */
7658 /* We use char because int might match the return type of a gcc2
7659 builtin and then its argument prototype would still apply. */
7661 /* The GNU C library defines this for functions which it implements
7662 to always fail with ENOSYS. Some functions are actually named
7663 something starting with __ and the normal name is an alias. */
7664 #if defined (__stub_wctype) || defined (__stub___wctype)
7667 char (*f) () = wctype;
7681 rm -f conftest.
$ac_objext conftest
$ac_exeext
7682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7683 (eval $ac_link) 2>conftest.er1
7685 grep -v '^ *+' conftest.er1
>conftest.err
7687 cat conftest.err
>&5
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); } &&
7690 { ac_try
='test -z "$ac_c_werror_flag"
7691 || test ! -s conftest.err'
7692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 (exit $ac_status); }; } &&
7697 { ac_try
='test -s conftest$ac_exeext'
7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); }; }; then
7703 ac_cv_func_wctype
=yes
7705 echo "$as_me: failed program was:" >&5
7706 sed 's/^/| /' conftest.
$ac_ext >&5
7708 ac_cv_func_wctype
=no
7710 rm -f conftest.err conftest.
$ac_objext \
7711 conftest
$ac_exeext conftest.
$ac_ext
7713 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
7714 echo "${ECHO_T}$ac_cv_func_wctype" >&6
7715 if test $ac_cv_func_wctype = yes; then
7719 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
7720 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
7721 if test "${ac_cv_lib_w_wctype+set}" = set; then
7722 echo $ECHO_N "(cached) $ECHO_C" >&6
7724 ac_check_lib_save_LIBS
=$LIBS
7726 cat >conftest.
$ac_ext <<_ACEOF
7729 cat confdefs.h
>>conftest.
$ac_ext
7730 cat >>conftest.
$ac_ext <<_ACEOF
7731 /* end confdefs.h. */
7733 /* Override any gcc2 internal prototype to avoid an error. */
7737 /* We use char because int might match the return type of a gcc2
7738 builtin and then its argument prototype would still apply. */
7748 rm -f conftest.
$ac_objext conftest
$ac_exeext
7749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7750 (eval $ac_link) 2>conftest.er1
7752 grep -v '^ *+' conftest.er1
>conftest.err
7754 cat conftest.err
>&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); } &&
7757 { ac_try
='test -z "$ac_c_werror_flag"
7758 || test ! -s conftest.err'
7759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); }; } &&
7764 { ac_try
='test -s conftest$ac_exeext'
7765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); }; }; then
7770 ac_cv_lib_w_wctype
=yes
7772 echo "$as_me: failed program was:" >&5
7773 sed 's/^/| /' conftest.
$ac_ext >&5
7775 ac_cv_lib_w_wctype
=no
7777 rm -f conftest.err conftest.
$ac_objext \
7778 conftest
$ac_exeext conftest.
$ac_ext
7779 LIBS
=$ac_check_lib_save_LIBS
7781 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
7782 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
7783 if test $ac_cv_lib_w_wctype = yes; then
7784 cat >>confdefs.h
<<_ACEOF
7795 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
7796 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
7797 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
7798 if test "${ac_cv_search_gethostbyname+set}" = set; then
7799 echo $ECHO_N "(cached) $ECHO_C" >&6
7801 ac_func_search_save_LIBS
=$LIBS
7802 ac_cv_search_gethostbyname
=no
7803 cat >conftest.
$ac_ext <<_ACEOF
7806 cat confdefs.h
>>conftest.
$ac_ext
7807 cat >>conftest.
$ac_ext <<_ACEOF
7808 /* end confdefs.h. */
7810 /* Override any gcc2 internal prototype to avoid an error. */
7814 /* We use char because int might match the return type of a gcc2
7815 builtin and then its argument prototype would still apply. */
7816 char gethostbyname ();
7825 rm -f conftest.
$ac_objext conftest
$ac_exeext
7826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7827 (eval $ac_link) 2>conftest.er1
7829 grep -v '^ *+' conftest.er1
>conftest.err
7831 cat conftest.err
>&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); } &&
7834 { ac_try
='test -z "$ac_c_werror_flag"
7835 || test ! -s conftest.err'
7836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; } &&
7841 { ac_try
='test -s conftest$ac_exeext'
7842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 (exit $ac_status); }; }; then
7847 ac_cv_search_gethostbyname
="none required"
7849 echo "$as_me: failed program was:" >&5
7850 sed 's/^/| /' conftest.
$ac_ext >&5
7853 rm -f conftest.err conftest.
$ac_objext \
7854 conftest
$ac_exeext conftest.
$ac_ext
7855 if test "$ac_cv_search_gethostbyname" = no
; then
7856 for ac_lib
in nsl
; do
7857 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7858 cat >conftest.
$ac_ext <<_ACEOF
7861 cat confdefs.h
>>conftest.
$ac_ext
7862 cat >>conftest.
$ac_ext <<_ACEOF
7863 /* end confdefs.h. */
7865 /* Override any gcc2 internal prototype to avoid an error. */
7869 /* We use char because int might match the return type of a gcc2
7870 builtin and then its argument prototype would still apply. */
7871 char gethostbyname ();
7880 rm -f conftest.
$ac_objext conftest
$ac_exeext
7881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7882 (eval $ac_link) 2>conftest.er1
7884 grep -v '^ *+' conftest.er1
>conftest.err
7886 cat conftest.err
>&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); } &&
7889 { ac_try
='test -z "$ac_c_werror_flag"
7890 || test ! -s conftest.err'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; } &&
7896 { ac_try
='test -s conftest$ac_exeext'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; }; then
7902 ac_cv_search_gethostbyname
="-l$ac_lib"
7905 echo "$as_me: failed program was:" >&5
7906 sed 's/^/| /' conftest.
$ac_ext >&5
7909 rm -f conftest.err conftest.
$ac_objext \
7910 conftest
$ac_exeext conftest.
$ac_ext
7913 LIBS
=$ac_func_search_save_LIBS
7915 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
7916 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
7917 if test "$ac_cv_search_gethostbyname" != no
; then
7918 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
7923 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
7924 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
7925 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
7926 if test "${ac_cv_search_socketpair+set}" = set; then
7927 echo $ECHO_N "(cached) $ECHO_C" >&6
7929 ac_func_search_save_LIBS
=$LIBS
7930 ac_cv_search_socketpair
=no
7931 cat >conftest.
$ac_ext <<_ACEOF
7934 cat confdefs.h
>>conftest.
$ac_ext
7935 cat >>conftest.
$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7938 /* Override any gcc2 internal prototype to avoid an error. */
7942 /* We use char because int might match the return type of a gcc2
7943 builtin and then its argument prototype would still apply. */
7953 rm -f conftest.
$ac_objext conftest
$ac_exeext
7954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7955 (eval $ac_link) 2>conftest.er1
7957 grep -v '^ *+' conftest.er1
>conftest.err
7959 cat conftest.err
>&5
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); } &&
7962 { ac_try
='test -z "$ac_c_werror_flag"
7963 || test ! -s conftest.err'
7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); }; } &&
7969 { ac_try
='test -s conftest$ac_exeext'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; }; then
7975 ac_cv_search_socketpair
="none required"
7977 echo "$as_me: failed program was:" >&5
7978 sed 's/^/| /' conftest.
$ac_ext >&5
7981 rm -f conftest.err conftest.
$ac_objext \
7982 conftest
$ac_exeext conftest.
$ac_ext
7983 if test "$ac_cv_search_socketpair" = no
; then
7984 for ac_lib
in socket
; do
7985 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7986 cat >conftest.
$ac_ext <<_ACEOF
7989 cat confdefs.h
>>conftest.
$ac_ext
7990 cat >>conftest.
$ac_ext <<_ACEOF
7991 /* end confdefs.h. */
7993 /* Override any gcc2 internal prototype to avoid an error. */
7997 /* We use char because int might match the return type of a gcc2
7998 builtin and then its argument prototype would still apply. */
8008 rm -f conftest.
$ac_objext conftest
$ac_exeext
8009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8010 (eval $ac_link) 2>conftest.er1
8012 grep -v '^ *+' conftest.er1
>conftest.err
8014 cat conftest.err
>&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); } &&
8017 { ac_try
='test -z "$ac_c_werror_flag"
8018 || test ! -s conftest.err'
8019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); }; } &&
8024 { ac_try
='test -s conftest$ac_exeext'
8025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); }; }; then
8030 ac_cv_search_socketpair
="-l$ac_lib"
8033 echo "$as_me: failed program was:" >&5
8034 sed 's/^/| /' conftest.
$ac_ext >&5
8037 rm -f conftest.err conftest.
$ac_objext \
8038 conftest
$ac_exeext conftest.
$ac_ext
8041 LIBS
=$ac_func_search_save_LIBS
8043 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
8044 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
8045 if test "$ac_cv_search_socketpair" != no
; then
8046 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
8051 # For the TUI, we need enhanced curses functionality.
8053 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
8054 # curses library because the latter might not provide all the
8055 # functionality we need. However, this leads to problems on systems
8056 # where the linker searches /usr/local/lib, but the compiler doesn't
8057 # search /usr/local/include, if ncurses is installed in /usr/local. A
8058 # default installation of ncurses on alpha*-dec-osf* will lead to such
8060 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
8061 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
8062 if test "${ac_cv_search_waddstr+set}" = set; then
8063 echo $ECHO_N "(cached) $ECHO_C" >&6
8065 ac_func_search_save_LIBS
=$LIBS
8066 ac_cv_search_waddstr
=no
8067 cat >conftest.
$ac_ext <<_ACEOF
8070 cat confdefs.h
>>conftest.
$ac_ext
8071 cat >>conftest.
$ac_ext <<_ACEOF
8072 /* end confdefs.h. */
8074 /* Override any gcc2 internal prototype to avoid an error. */
8078 /* We use char because int might match the return type of a gcc2
8079 builtin and then its argument prototype would still apply. */
8089 rm -f conftest.
$ac_objext conftest
$ac_exeext
8090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8091 (eval $ac_link) 2>conftest.er1
8093 grep -v '^ *+' conftest.er1
>conftest.err
8095 cat conftest.err
>&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); } &&
8098 { ac_try
='test -z "$ac_c_werror_flag"
8099 || test ! -s conftest.err'
8100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); }; } &&
8105 { ac_try
='test -s conftest$ac_exeext'
8106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); }; }; then
8111 ac_cv_search_waddstr
="none required"
8113 echo "$as_me: failed program was:" >&5
8114 sed 's/^/| /' conftest.
$ac_ext >&5
8117 rm -f conftest.err conftest.
$ac_objext \
8118 conftest
$ac_exeext conftest.
$ac_ext
8119 if test "$ac_cv_search_waddstr" = no
; then
8120 for ac_lib
in ncurses cursesX curses
; do
8121 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8122 cat >conftest.
$ac_ext <<_ACEOF
8125 cat confdefs.h
>>conftest.
$ac_ext
8126 cat >>conftest.
$ac_ext <<_ACEOF
8127 /* end confdefs.h. */
8129 /* Override any gcc2 internal prototype to avoid an error. */
8133 /* We use char because int might match the return type of a gcc2
8134 builtin and then its argument prototype would still apply. */
8144 rm -f conftest.
$ac_objext conftest
$ac_exeext
8145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8146 (eval $ac_link) 2>conftest.er1
8148 grep -v '^ *+' conftest.er1
>conftest.err
8150 cat conftest.err
>&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } &&
8153 { ac_try
='test -z "$ac_c_werror_flag"
8154 || test ! -s conftest.err'
8155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); }; } &&
8160 { ac_try
='test -s conftest$ac_exeext'
8161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; }; then
8166 ac_cv_search_waddstr
="-l$ac_lib"
8169 echo "$as_me: failed program was:" >&5
8170 sed 's/^/| /' conftest.
$ac_ext >&5
8173 rm -f conftest.err conftest.
$ac_objext \
8174 conftest
$ac_exeext conftest.
$ac_ext
8177 LIBS
=$ac_func_search_save_LIBS
8179 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
8180 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
8181 if test "$ac_cv_search_waddstr" != no
; then
8182 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
8187 # Since GDB uses Readline, we need termcap functionality. In many
8188 # cases this will be provided by the curses library, but some systems
8189 # have a seperate termcap library, or no curses library at all.
8193 if test -d $srcdir/libtermcap
; then
8194 LIBS
="../libtermcap/libtermcap.a $LIBS"
8195 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
8198 ac_cv_search_tgetent
="none required"
8201 ac_cv_search_tgetent
="none required"
8202 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
8206 # These are the libraries checked by Readline.
8207 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
8208 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
8209 if test "${ac_cv_search_tgetent+set}" = set; then
8210 echo $ECHO_N "(cached) $ECHO_C" >&6
8212 ac_func_search_save_LIBS
=$LIBS
8213 ac_cv_search_tgetent
=no
8214 cat >conftest.
$ac_ext <<_ACEOF
8217 cat confdefs.h
>>conftest.
$ac_ext
8218 cat >>conftest.
$ac_ext <<_ACEOF
8219 /* end confdefs.h. */
8221 /* Override any gcc2 internal prototype to avoid an error. */
8225 /* We use char because int might match the return type of a gcc2
8226 builtin and then its argument prototype would still apply. */
8236 rm -f conftest.
$ac_objext conftest
$ac_exeext
8237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8238 (eval $ac_link) 2>conftest.er1
8240 grep -v '^ *+' conftest.er1
>conftest.err
8242 cat conftest.err
>&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); } &&
8245 { ac_try
='test -z "$ac_c_werror_flag"
8246 || test ! -s conftest.err'
8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); }; } &&
8252 { ac_try
='test -s conftest$ac_exeext'
8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); }; }; then
8258 ac_cv_search_tgetent
="none required"
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.
$ac_ext >&5
8264 rm -f conftest.err conftest.
$ac_objext \
8265 conftest
$ac_exeext conftest.
$ac_ext
8266 if test "$ac_cv_search_tgetent" = no
; then
8267 for ac_lib
in termcap tinfo curses ncurses
; do
8268 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8269 cat >conftest.
$ac_ext <<_ACEOF
8272 cat confdefs.h
>>conftest.
$ac_ext
8273 cat >>conftest.
$ac_ext <<_ACEOF
8274 /* end confdefs.h. */
8276 /* Override any gcc2 internal prototype to avoid an error. */
8280 /* We use char because int might match the return type of a gcc2
8281 builtin and then its argument prototype would still apply. */
8291 rm -f conftest.
$ac_objext conftest
$ac_exeext
8292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8293 (eval $ac_link) 2>conftest.er1
8295 grep -v '^ *+' conftest.er1
>conftest.err
8297 cat conftest.err
>&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); } &&
8300 { ac_try
='test -z "$ac_c_werror_flag"
8301 || test ! -s conftest.err'
8302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }; } &&
8307 { ac_try
='test -s conftest$ac_exeext'
8308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); }; }; then
8313 ac_cv_search_tgetent
="-l$ac_lib"
8316 echo "$as_me: failed program was:" >&5
8317 sed 's/^/| /' conftest.
$ac_ext >&5
8320 rm -f conftest.err conftest.
$ac_objext \
8321 conftest
$ac_exeext conftest.
$ac_ext
8324 LIBS
=$ac_func_search_save_LIBS
8326 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
8327 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
8328 if test "$ac_cv_search_tgetent" != no
; then
8329 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
8334 if test "$ac_cv_search_tgetent" = no
; then
8335 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
8336 echo "$as_me: error: no termcap library found" >&2;}
8337 { (exit 1); exit 1; }; }
8340 # ------------------------- #
8341 # Checks for header files. #
8342 # ------------------------- #
8350 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8351 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8352 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8353 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8357 cat >conftest.
$ac_ext <<_ACEOF
8360 cat confdefs.h
>>conftest.
$ac_ext
8361 cat >>conftest.
$ac_ext <<_ACEOF
8362 /* end confdefs.h. */
8363 #include <sys/types.h>
8375 rm -f conftest.
$ac_objext
8376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8377 (eval $ac_compile) 2>conftest.er1
8379 grep -v '^ *+' conftest.er1
>conftest.err
8381 cat conftest.err
>&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } &&
8384 { ac_try
='test -z "$ac_c_werror_flag"
8385 || test ! -s conftest.err'
8386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; } &&
8391 { ac_try
='test -s conftest.$ac_objext'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; }; then
8397 eval "$as_ac_Header=yes"
8399 echo "$as_me: failed program was:" >&5
8400 sed 's/^/| /' conftest.
$ac_ext >&5
8402 eval "$as_ac_Header=no"
8404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8409 cat >>confdefs.h
<<_ACEOF
8410 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8413 ac_header_dirent
=$ac_hdr; break
8417 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8418 if test $ac_header_dirent = dirent.h
; then
8419 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8420 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8421 if test "${ac_cv_search_opendir+set}" = set; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8424 ac_func_search_save_LIBS
=$LIBS
8425 ac_cv_search_opendir
=no
8426 cat >conftest.
$ac_ext <<_ACEOF
8429 cat confdefs.h
>>conftest.
$ac_ext
8430 cat >>conftest.
$ac_ext <<_ACEOF
8431 /* end confdefs.h. */
8433 /* Override any gcc2 internal prototype to avoid an error. */
8437 /* We use char because int might match the return type of a gcc2
8438 builtin and then its argument prototype would still apply. */
8448 rm -f conftest.
$ac_objext conftest
$ac_exeext
8449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8450 (eval $ac_link) 2>conftest.er1
8452 grep -v '^ *+' conftest.er1
>conftest.err
8454 cat conftest.err
>&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); } &&
8457 { ac_try
='test -z "$ac_c_werror_flag"
8458 || test ! -s conftest.err'
8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; } &&
8464 { ac_try
='test -s conftest$ac_exeext'
8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; }; then
8470 ac_cv_search_opendir
="none required"
8472 echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.
$ac_ext >&5
8476 rm -f conftest.err conftest.
$ac_objext \
8477 conftest
$ac_exeext conftest.
$ac_ext
8478 if test "$ac_cv_search_opendir" = no
; then
8479 for ac_lib
in dir
; do
8480 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8481 cat >conftest.
$ac_ext <<_ACEOF
8484 cat confdefs.h
>>conftest.
$ac_ext
8485 cat >>conftest.
$ac_ext <<_ACEOF
8486 /* end confdefs.h. */
8488 /* Override any gcc2 internal prototype to avoid an error. */
8492 /* We use char because int might match the return type of a gcc2
8493 builtin and then its argument prototype would still apply. */
8503 rm -f conftest.
$ac_objext conftest
$ac_exeext
8504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8505 (eval $ac_link) 2>conftest.er1
8507 grep -v '^ *+' conftest.er1
>conftest.err
8509 cat conftest.err
>&5
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); } &&
8512 { ac_try
='test -z "$ac_c_werror_flag"
8513 || test ! -s conftest.err'
8514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 (exit $ac_status); }; } &&
8519 { ac_try
='test -s conftest$ac_exeext'
8520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); }; }; then
8525 ac_cv_search_opendir
="-l$ac_lib"
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.
$ac_ext >&5
8532 rm -f conftest.err conftest.
$ac_objext \
8533 conftest
$ac_exeext conftest.
$ac_ext
8536 LIBS
=$ac_func_search_save_LIBS
8538 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8539 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8540 if test "$ac_cv_search_opendir" != no
; then
8541 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8546 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8547 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8548 if test "${ac_cv_search_opendir+set}" = set; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8551 ac_func_search_save_LIBS
=$LIBS
8552 ac_cv_search_opendir
=no
8553 cat >conftest.
$ac_ext <<_ACEOF
8556 cat confdefs.h
>>conftest.
$ac_ext
8557 cat >>conftest.
$ac_ext <<_ACEOF
8558 /* end confdefs.h. */
8560 /* Override any gcc2 internal prototype to avoid an error. */
8564 /* We use char because int might match the return type of a gcc2
8565 builtin and then its argument prototype would still apply. */
8575 rm -f conftest.
$ac_objext conftest
$ac_exeext
8576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8577 (eval $ac_link) 2>conftest.er1
8579 grep -v '^ *+' conftest.er1
>conftest.err
8581 cat conftest.err
>&5
8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 (exit $ac_status); } &&
8584 { ac_try
='test -z "$ac_c_werror_flag"
8585 || test ! -s conftest.err'
8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); }; } &&
8591 { ac_try
='test -s conftest$ac_exeext'
8592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 (exit $ac_status); }; }; then
8597 ac_cv_search_opendir
="none required"
8599 echo "$as_me: failed program was:" >&5
8600 sed 's/^/| /' conftest.
$ac_ext >&5
8603 rm -f conftest.err conftest.
$ac_objext \
8604 conftest
$ac_exeext conftest.
$ac_ext
8605 if test "$ac_cv_search_opendir" = no
; then
8607 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8608 cat >conftest.
$ac_ext <<_ACEOF
8611 cat confdefs.h
>>conftest.
$ac_ext
8612 cat >>conftest.
$ac_ext <<_ACEOF
8613 /* end confdefs.h. */
8615 /* Override any gcc2 internal prototype to avoid an error. */
8619 /* We use char because int might match the return type of a gcc2
8620 builtin and then its argument prototype would still apply. */
8630 rm -f conftest.
$ac_objext conftest
$ac_exeext
8631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8632 (eval $ac_link) 2>conftest.er1
8634 grep -v '^ *+' conftest.er1
>conftest.err
8636 cat conftest.err
>&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); } &&
8639 { ac_try
='test -z "$ac_c_werror_flag"
8640 || test ! -s conftest.err'
8641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); }; } &&
8646 { ac_try
='test -s conftest$ac_exeext'
8647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); }; }; then
8652 ac_cv_search_opendir
="-l$ac_lib"
8655 echo "$as_me: failed program was:" >&5
8656 sed 's/^/| /' conftest.
$ac_ext >&5
8659 rm -f conftest.err conftest.
$ac_objext \
8660 conftest
$ac_exeext conftest.
$ac_ext
8663 LIBS
=$ac_func_search_save_LIBS
8665 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8666 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8667 if test "$ac_cv_search_opendir" != no
; then
8668 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
8674 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8675 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
8676 if test "${ac_cv_header_stat_broken+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8679 cat >conftest.
$ac_ext <<_ACEOF
8682 cat confdefs.h
>>conftest.
$ac_ext
8683 cat >>conftest.
$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8685 #include <sys/types.h>
8686 #include <sys/stat.h>
8688 #if defined(S_ISBLK) && defined(S_IFDIR)
8689 # if S_ISBLK (S_IFDIR)
8694 #if defined(S_ISBLK) && defined(S_IFCHR)
8695 # if S_ISBLK (S_IFCHR)
8700 #if defined(S_ISLNK) && defined(S_IFREG)
8701 # if S_ISLNK (S_IFREG)
8706 #if defined(S_ISSOCK) && defined(S_IFREG)
8707 # if S_ISSOCK (S_IFREG)
8713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8714 $EGREP "You lose" >/dev
/null
2>&1; then
8715 ac_cv_header_stat_broken
=yes
8717 ac_cv_header_stat_broken
=no
8722 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8723 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
8724 if test $ac_cv_header_stat_broken = yes; then
8726 cat >>confdefs.h
<<\_ACEOF
8727 #define STAT_MACROS_BROKEN 1
8732 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8733 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8734 if test "${ac_cv_header_stdc+set}" = set; then
8735 echo $ECHO_N "(cached) $ECHO_C" >&6
8737 cat >conftest.
$ac_ext <<_ACEOF
8740 cat confdefs.h
>>conftest.
$ac_ext
8741 cat >>conftest.
$ac_ext <<_ACEOF
8742 /* end confdefs.h. */
8756 rm -f conftest.
$ac_objext
8757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8758 (eval $ac_compile) 2>conftest.er1
8760 grep -v '^ *+' conftest.er1
>conftest.err
8762 cat conftest.err
>&5
8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); } &&
8765 { ac_try
='test -z "$ac_c_werror_flag"
8766 || test ! -s conftest.err'
8767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771 (exit $ac_status); }; } &&
8772 { ac_try
='test -s conftest.$ac_objext'
8773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); }; }; then
8778 ac_cv_header_stdc
=yes
8780 echo "$as_me: failed program was:" >&5
8781 sed 's/^/| /' conftest.
$ac_ext >&5
8783 ac_cv_header_stdc
=no
8785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8787 if test $ac_cv_header_stdc = yes; then
8788 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8789 cat >conftest.
$ac_ext <<_ACEOF
8792 cat confdefs.h
>>conftest.
$ac_ext
8793 cat >>conftest.
$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8799 $EGREP "memchr" >/dev
/null
2>&1; then
8802 ac_cv_header_stdc
=no
8808 if test $ac_cv_header_stdc = yes; then
8809 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8810 cat >conftest.
$ac_ext <<_ACEOF
8813 cat confdefs.h
>>conftest.
$ac_ext
8814 cat >>conftest.
$ac_ext <<_ACEOF
8815 /* end confdefs.h. */
8819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8820 $EGREP "free" >/dev
/null
2>&1; then
8823 ac_cv_header_stdc
=no
8829 if test $ac_cv_header_stdc = yes; then
8830 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8831 if test "$cross_compiling" = yes; then
8834 cat >conftest.
$ac_ext <<_ACEOF
8837 cat confdefs.h
>>conftest.
$ac_ext
8838 cat >>conftest.
$ac_ext <<_ACEOF
8839 /* end confdefs.h. */
8841 #if ((' ' & 0x0FF) == 0x020)
8842 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8843 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8845 # define ISLOWER(c) \
8846 (('a' <= (c) && (c) <= 'i') \
8847 || ('j' <= (c) && (c) <= 'r') \
8848 || ('s' <= (c) && (c) <= 'z'))
8849 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8852 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8857 for (i = 0; i < 256; i++)
8858 if (XOR (islower (i), ISLOWER (i))
8859 || toupper (i) != TOUPPER (i))
8864 rm -f conftest
$ac_exeext
8865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8866 (eval $ac_link) 2>&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; }; then
8877 echo "$as_me: program exited with status $ac_status" >&5
8878 echo "$as_me: failed program was:" >&5
8879 sed 's/^/| /' conftest.
$ac_ext >&5
8882 ac_cv_header_stdc
=no
8884 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8888 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8889 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8890 if test $ac_cv_header_stdc = yes; then
8892 cat >>confdefs.h
<<\_ACEOF
8893 #define STDC_HEADERS 1
8899 for ac_header
in nlist.h
8901 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8903 echo "$as_me:$LINENO: checking for $ac_header" >&5
8904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8906 echo $ECHO_N "(cached) $ECHO_C" >&6
8908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8911 # Is the header compilable?
8912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8914 cat >conftest.
$ac_ext <<_ACEOF
8917 cat confdefs.h
>>conftest.
$ac_ext
8918 cat >>conftest.
$ac_ext <<_ACEOF
8919 /* end confdefs.h. */
8920 $ac_includes_default
8921 #include <$ac_header>
8923 rm -f conftest.
$ac_objext
8924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8925 (eval $ac_compile) 2>conftest.er1
8927 grep -v '^ *+' conftest.er1
>conftest.err
8929 cat conftest.err
>&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); } &&
8932 { ac_try
='test -z "$ac_c_werror_flag"
8933 || test ! -s conftest.err'
8934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); }; } &&
8939 { ac_try
='test -s conftest.$ac_objext'
8940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); }; }; then
8945 ac_header_compiler
=yes
8947 echo "$as_me: failed program was:" >&5
8948 sed 's/^/| /' conftest.
$ac_ext >&5
8950 ac_header_compiler
=no
8952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8954 echo "${ECHO_T}$ac_header_compiler" >&6
8956 # Is the header present?
8957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8959 cat >conftest.
$ac_ext <<_ACEOF
8962 cat confdefs.h
>>conftest.
$ac_ext
8963 cat >>conftest.
$ac_ext <<_ACEOF
8964 /* end confdefs.h. */
8965 #include <$ac_header>
8967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8968 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8970 grep -v '^ *+' conftest.er1
>conftest.err
8972 cat conftest.err
>&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } >/dev
/null
; then
8975 if test -s conftest.err
; then
8976 ac_cpp_err
=$ac_c_preproc_warn_flag
8977 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8984 if test -z "$ac_cpp_err"; then
8985 ac_header_preproc
=yes
8987 echo "$as_me: failed program was:" >&5
8988 sed 's/^/| /' conftest.
$ac_ext >&5
8990 ac_header_preproc
=no
8992 rm -f conftest.err conftest.
$ac_ext
8993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8994 echo "${ECHO_T}$ac_header_preproc" >&6
8996 # So? What about this header?
8997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9003 ac_header_preproc
=yes
9006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9020 ## ------------------------------------------ ##
9021 ## Report this to the AC_PACKAGE_NAME lists. ##
9022 ## ------------------------------------------ ##
9025 sed "s/^/$as_me: WARNING: /" >&2
9028 echo "$as_me:$LINENO: checking for $ac_header" >&5
9029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9031 echo $ECHO_N "(cached) $ECHO_C" >&6
9033 eval "$as_ac_Header=\$ac_header_preproc"
9035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9040 cat >>confdefs.h
<<_ACEOF
9041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9049 for ac_header
in link.h
9051 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9052 echo "$as_me:$LINENO: checking for $ac_header" >&5
9053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9055 echo $ECHO_N "(cached) $ECHO_C" >&6
9057 cat >conftest.
$ac_ext <<_ACEOF
9060 cat confdefs.h
>>conftest.
$ac_ext
9061 cat >>conftest.
$ac_ext <<_ACEOF
9062 /* end confdefs.h. */
9063 #if HAVE_SYS_TYPES_H
9064 # include <sys/types.h>
9071 #include <$ac_header>
9073 rm -f conftest.
$ac_objext
9074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9075 (eval $ac_compile) 2>conftest.er1
9077 grep -v '^ *+' conftest.er1
>conftest.err
9079 cat conftest.err
>&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); } &&
9082 { ac_try
='test -z "$ac_c_werror_flag"
9083 || test ! -s conftest.err'
9084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); }; } &&
9089 { ac_try
='test -s conftest.$ac_objext'
9090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); }; }; then
9095 eval "$as_ac_Header=yes"
9097 echo "$as_me: failed program was:" >&5
9098 sed 's/^/| /' conftest.
$ac_ext >&5
9100 eval "$as_ac_Header=no"
9102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9107 cat >>confdefs.h
<<_ACEOF
9108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9116 for ac_header
in machine
/reg.h
9118 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9120 echo "$as_me:$LINENO: checking for $ac_header" >&5
9121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9128 # Is the header compilable?
9129 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9130 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9131 cat >conftest.
$ac_ext <<_ACEOF
9134 cat confdefs.h
>>conftest.
$ac_ext
9135 cat >>conftest.
$ac_ext <<_ACEOF
9136 /* end confdefs.h. */
9137 $ac_includes_default
9138 #include <$ac_header>
9140 rm -f conftest.
$ac_objext
9141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9142 (eval $ac_compile) 2>conftest.er1
9144 grep -v '^ *+' conftest.er1
>conftest.err
9146 cat conftest.err
>&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); } &&
9149 { ac_try
='test -z "$ac_c_werror_flag"
9150 || test ! -s conftest.err'
9151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; } &&
9156 { ac_try
='test -s conftest.$ac_objext'
9157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); }; }; then
9162 ac_header_compiler
=yes
9164 echo "$as_me: failed program was:" >&5
9165 sed 's/^/| /' conftest.
$ac_ext >&5
9167 ac_header_compiler
=no
9169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9171 echo "${ECHO_T}$ac_header_compiler" >&6
9173 # Is the header present?
9174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9176 cat >conftest.
$ac_ext <<_ACEOF
9179 cat confdefs.h
>>conftest.
$ac_ext
9180 cat >>conftest.
$ac_ext <<_ACEOF
9181 /* end confdefs.h. */
9182 #include <$ac_header>
9184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9187 grep -v '^ *+' conftest.er1
>conftest.err
9189 cat conftest.err
>&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); } >/dev
/null
; then
9192 if test -s conftest.err
; then
9193 ac_cpp_err
=$ac_c_preproc_warn_flag
9194 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9201 if test -z "$ac_cpp_err"; then
9202 ac_header_preproc
=yes
9204 echo "$as_me: failed program was:" >&5
9205 sed 's/^/| /' conftest.
$ac_ext >&5
9207 ac_header_preproc
=no
9209 rm -f conftest.err conftest.
$ac_ext
9210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9211 echo "${ECHO_T}$ac_header_preproc" >&6
9213 # So? What about this header?
9214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9220 ac_header_preproc
=yes
9223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9237 ## ------------------------------------------ ##
9238 ## Report this to the AC_PACKAGE_NAME lists. ##
9239 ## ------------------------------------------ ##
9242 sed "s/^/$as_me: WARNING: /" >&2
9245 echo "$as_me:$LINENO: checking for $ac_header" >&5
9246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9248 echo $ECHO_N "(cached) $ECHO_C" >&6
9250 eval "$as_ac_Header=\$ac_header_preproc"
9252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9257 cat >>confdefs.h
<<_ACEOF
9258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9267 for ac_header
in poll.h sys
/poll.h
9269 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9271 echo "$as_me:$LINENO: checking for $ac_header" >&5
9272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9279 # Is the header compilable?
9280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9282 cat >conftest.
$ac_ext <<_ACEOF
9285 cat confdefs.h
>>conftest.
$ac_ext
9286 cat >>conftest.
$ac_ext <<_ACEOF
9287 /* end confdefs.h. */
9288 $ac_includes_default
9289 #include <$ac_header>
9291 rm -f conftest.
$ac_objext
9292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9293 (eval $ac_compile) 2>conftest.er1
9295 grep -v '^ *+' conftest.er1
>conftest.err
9297 cat conftest.err
>&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } &&
9300 { ac_try
='test -z "$ac_c_werror_flag"
9301 || test ! -s conftest.err'
9302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); }; } &&
9307 { ac_try
='test -s conftest.$ac_objext'
9308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; }; then
9313 ac_header_compiler
=yes
9315 echo "$as_me: failed program was:" >&5
9316 sed 's/^/| /' conftest.
$ac_ext >&5
9318 ac_header_compiler
=no
9320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9322 echo "${ECHO_T}$ac_header_compiler" >&6
9324 # Is the header present?
9325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9327 cat >conftest.
$ac_ext <<_ACEOF
9330 cat confdefs.h
>>conftest.
$ac_ext
9331 cat >>conftest.
$ac_ext <<_ACEOF
9332 /* end confdefs.h. */
9333 #include <$ac_header>
9335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9336 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9338 grep -v '^ *+' conftest.er1
>conftest.err
9340 cat conftest.err
>&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); } >/dev
/null
; then
9343 if test -s conftest.err
; then
9344 ac_cpp_err
=$ac_c_preproc_warn_flag
9345 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9352 if test -z "$ac_cpp_err"; then
9353 ac_header_preproc
=yes
9355 echo "$as_me: failed program was:" >&5
9356 sed 's/^/| /' conftest.
$ac_ext >&5
9358 ac_header_preproc
=no
9360 rm -f conftest.err conftest.
$ac_ext
9361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9362 echo "${ECHO_T}$ac_header_preproc" >&6
9364 # So? What about this header?
9365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9371 ac_header_preproc
=yes
9374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9388 ## ------------------------------------------ ##
9389 ## Report this to the AC_PACKAGE_NAME lists. ##
9390 ## ------------------------------------------ ##
9393 sed "s/^/$as_me: WARNING: /" >&2
9396 echo "$as_me:$LINENO: checking for $ac_header" >&5
9397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9399 echo $ECHO_N "(cached) $ECHO_C" >&6
9401 eval "$as_ac_Header=\$ac_header_preproc"
9403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9408 cat >>confdefs.h
<<_ACEOF
9409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9419 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
9421 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9423 echo "$as_me:$LINENO: checking for $ac_header" >&5
9424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9431 # Is the header compilable?
9432 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9434 cat >conftest.
$ac_ext <<_ACEOF
9437 cat confdefs.h
>>conftest.
$ac_ext
9438 cat >>conftest.
$ac_ext <<_ACEOF
9439 /* end confdefs.h. */
9440 $ac_includes_default
9441 #include <$ac_header>
9443 rm -f conftest.
$ac_objext
9444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9445 (eval $ac_compile) 2>conftest.er1
9447 grep -v '^ *+' conftest.er1
>conftest.err
9449 cat conftest.err
>&5
9450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); } &&
9452 { ac_try
='test -z "$ac_c_werror_flag"
9453 || test ! -s conftest.err'
9454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 (exit $ac_status); }; } &&
9459 { ac_try
='test -s conftest.$ac_objext'
9460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); }; }; then
9465 ac_header_compiler
=yes
9467 echo "$as_me: failed program was:" >&5
9468 sed 's/^/| /' conftest.
$ac_ext >&5
9470 ac_header_compiler
=no
9472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9473 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9474 echo "${ECHO_T}$ac_header_compiler" >&6
9476 # Is the header present?
9477 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9478 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9479 cat >conftest.
$ac_ext <<_ACEOF
9482 cat confdefs.h
>>conftest.
$ac_ext
9483 cat >>conftest.
$ac_ext <<_ACEOF
9484 /* end confdefs.h. */
9485 #include <$ac_header>
9487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9488 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9490 grep -v '^ *+' conftest.er1
>conftest.err
9492 cat conftest.err
>&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); } >/dev
/null
; then
9495 if test -s conftest.err
; then
9496 ac_cpp_err
=$ac_c_preproc_warn_flag
9497 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9504 if test -z "$ac_cpp_err"; then
9505 ac_header_preproc
=yes
9507 echo "$as_me: failed program was:" >&5
9508 sed 's/^/| /' conftest.
$ac_ext >&5
9510 ac_header_preproc
=no
9512 rm -f conftest.err conftest.
$ac_ext
9513 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9514 echo "${ECHO_T}$ac_header_preproc" >&6
9516 # So? What about this header?
9517 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9519 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9520 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9522 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9523 ac_header_preproc
=yes
9526 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9527 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9528 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9529 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9530 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9531 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9532 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9533 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9535 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9536 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9537 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9540 ## ------------------------------------------ ##
9541 ## Report this to the AC_PACKAGE_NAME lists. ##
9542 ## ------------------------------------------ ##
9545 sed "s/^/$as_me: WARNING: /" >&2
9548 echo "$as_me:$LINENO: checking for $ac_header" >&5
9549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9551 echo $ECHO_N "(cached) $ECHO_C" >&6
9553 eval "$as_ac_Header=\$ac_header_preproc"
9555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9560 cat >>confdefs.h
<<_ACEOF
9561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9569 for ac_header
in stddef.h
9571 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9573 echo "$as_me:$LINENO: checking for $ac_header" >&5
9574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9581 # Is the header compilable?
9582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9584 cat >conftest.
$ac_ext <<_ACEOF
9587 cat confdefs.h
>>conftest.
$ac_ext
9588 cat >>conftest.
$ac_ext <<_ACEOF
9589 /* end confdefs.h. */
9590 $ac_includes_default
9591 #include <$ac_header>
9593 rm -f conftest.
$ac_objext
9594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9595 (eval $ac_compile) 2>conftest.er1
9597 grep -v '^ *+' conftest.er1
>conftest.err
9599 cat conftest.err
>&5
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); } &&
9602 { ac_try
='test -z "$ac_c_werror_flag"
9603 || test ! -s conftest.err'
9604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); }; } &&
9609 { ac_try
='test -s conftest.$ac_objext'
9610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); }; }; then
9615 ac_header_compiler
=yes
9617 echo "$as_me: failed program was:" >&5
9618 sed 's/^/| /' conftest.
$ac_ext >&5
9620 ac_header_compiler
=no
9622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9624 echo "${ECHO_T}$ac_header_compiler" >&6
9626 # Is the header present?
9627 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9629 cat >conftest.
$ac_ext <<_ACEOF
9632 cat confdefs.h
>>conftest.
$ac_ext
9633 cat >>conftest.
$ac_ext <<_ACEOF
9634 /* end confdefs.h. */
9635 #include <$ac_header>
9637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9638 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9640 grep -v '^ *+' conftest.er1
>conftest.err
9642 cat conftest.err
>&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); } >/dev
/null
; then
9645 if test -s conftest.err
; then
9646 ac_cpp_err
=$ac_c_preproc_warn_flag
9647 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9654 if test -z "$ac_cpp_err"; then
9655 ac_header_preproc
=yes
9657 echo "$as_me: failed program was:" >&5
9658 sed 's/^/| /' conftest.
$ac_ext >&5
9660 ac_header_preproc
=no
9662 rm -f conftest.err conftest.
$ac_ext
9663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9664 echo "${ECHO_T}$ac_header_preproc" >&6
9666 # So? What about this header?
9667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9672 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9673 ac_header_preproc
=yes
9676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9679 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9680 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9681 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9682 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9683 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9686 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9687 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9690 ## ------------------------------------------ ##
9691 ## Report this to the AC_PACKAGE_NAME lists. ##
9692 ## ------------------------------------------ ##
9695 sed "s/^/$as_me: WARNING: /" >&2
9698 echo "$as_me:$LINENO: checking for $ac_header" >&5
9699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9701 echo $ECHO_N "(cached) $ECHO_C" >&6
9703 eval "$as_ac_Header=\$ac_header_preproc"
9705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9710 cat >>confdefs.h
<<_ACEOF
9711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9719 for ac_header
in stdlib.h
9721 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9723 echo "$as_me:$LINENO: checking for $ac_header" >&5
9724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9726 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9731 # Is the header compilable?
9732 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9734 cat >conftest.
$ac_ext <<_ACEOF
9737 cat confdefs.h
>>conftest.
$ac_ext
9738 cat >>conftest.
$ac_ext <<_ACEOF
9739 /* end confdefs.h. */
9740 $ac_includes_default
9741 #include <$ac_header>
9743 rm -f conftest.
$ac_objext
9744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9745 (eval $ac_compile) 2>conftest.er1
9747 grep -v '^ *+' conftest.er1
>conftest.err
9749 cat conftest.err
>&5
9750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 (exit $ac_status); } &&
9752 { ac_try
='test -z "$ac_c_werror_flag"
9753 || test ! -s conftest.err'
9754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); }; } &&
9759 { ac_try
='test -s conftest.$ac_objext'
9760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); }; }; then
9765 ac_header_compiler
=yes
9767 echo "$as_me: failed program was:" >&5
9768 sed 's/^/| /' conftest.
$ac_ext >&5
9770 ac_header_compiler
=no
9772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9774 echo "${ECHO_T}$ac_header_compiler" >&6
9776 # Is the header present?
9777 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9779 cat >conftest.
$ac_ext <<_ACEOF
9782 cat confdefs.h
>>conftest.
$ac_ext
9783 cat >>conftest.
$ac_ext <<_ACEOF
9784 /* end confdefs.h. */
9785 #include <$ac_header>
9787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9788 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9790 grep -v '^ *+' conftest.er1
>conftest.err
9792 cat conftest.err
>&5
9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); } >/dev
/null
; then
9795 if test -s conftest.err
; then
9796 ac_cpp_err
=$ac_c_preproc_warn_flag
9797 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9804 if test -z "$ac_cpp_err"; then
9805 ac_header_preproc
=yes
9807 echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.
$ac_ext >&5
9810 ac_header_preproc
=no
9812 rm -f conftest.err conftest.
$ac_ext
9813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9814 echo "${ECHO_T}$ac_header_preproc" >&6
9816 # So? What about this header?
9817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9822 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9823 ac_header_preproc
=yes
9826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9829 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9831 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9833 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9837 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9840 ## ------------------------------------------ ##
9841 ## Report this to the AC_PACKAGE_NAME lists. ##
9842 ## ------------------------------------------ ##
9845 sed "s/^/$as_me: WARNING: /" >&2
9848 echo "$as_me:$LINENO: checking for $ac_header" >&5
9849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9851 echo $ECHO_N "(cached) $ECHO_C" >&6
9853 eval "$as_ac_Header=\$ac_header_preproc"
9855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9860 cat >>confdefs.h
<<_ACEOF
9861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9869 for ac_header
in stdint.h
9871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9873 echo "$as_me:$LINENO: checking for $ac_header" >&5
9874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9881 # Is the header compilable?
9882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9884 cat >conftest.
$ac_ext <<_ACEOF
9887 cat confdefs.h
>>conftest.
$ac_ext
9888 cat >>conftest.
$ac_ext <<_ACEOF
9889 /* end confdefs.h. */
9890 $ac_includes_default
9891 #include <$ac_header>
9893 rm -f conftest.
$ac_objext
9894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9895 (eval $ac_compile) 2>conftest.er1
9897 grep -v '^ *+' conftest.er1
>conftest.err
9899 cat conftest.err
>&5
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); } &&
9902 { ac_try
='test -z "$ac_c_werror_flag"
9903 || test ! -s conftest.err'
9904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); }; } &&
9909 { ac_try
='test -s conftest.$ac_objext'
9910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); }; }; then
9915 ac_header_compiler
=yes
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.
$ac_ext >&5
9920 ac_header_compiler
=no
9922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9924 echo "${ECHO_T}$ac_header_compiler" >&6
9926 # Is the header present?
9927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9929 cat >conftest.
$ac_ext <<_ACEOF
9932 cat confdefs.h
>>conftest.
$ac_ext
9933 cat >>conftest.
$ac_ext <<_ACEOF
9934 /* end confdefs.h. */
9935 #include <$ac_header>
9937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9940 grep -v '^ *+' conftest.er1
>conftest.err
9942 cat conftest.err
>&5
9943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); } >/dev
/null
; then
9945 if test -s conftest.err
; then
9946 ac_cpp_err
=$ac_c_preproc_warn_flag
9947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9954 if test -z "$ac_cpp_err"; then
9955 ac_header_preproc
=yes
9957 echo "$as_me: failed program was:" >&5
9958 sed 's/^/| /' conftest.
$ac_ext >&5
9960 ac_header_preproc
=no
9962 rm -f conftest.err conftest.
$ac_ext
9963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9964 echo "${ECHO_T}$ac_header_preproc" >&6
9966 # So? What about this header?
9967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9973 ac_header_preproc
=yes
9976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9990 ## ------------------------------------------ ##
9991 ## Report this to the AC_PACKAGE_NAME lists. ##
9992 ## ------------------------------------------ ##
9995 sed "s/^/$as_me: WARNING: /" >&2
9998 echo "$as_me:$LINENO: checking for $ac_header" >&5
9999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10001 echo $ECHO_N "(cached) $ECHO_C" >&6
10003 eval "$as_ac_Header=\$ac_header_preproc"
10005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10010 cat >>confdefs.h
<<_ACEOF
10011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10021 for ac_header
in string.h memory.h
strings.h
10023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10025 echo "$as_me:$LINENO: checking for $ac_header" >&5
10026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10028 echo $ECHO_N "(cached) $ECHO_C" >&6
10030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10033 # Is the header compilable?
10034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10036 cat >conftest.
$ac_ext <<_ACEOF
10039 cat confdefs.h
>>conftest.
$ac_ext
10040 cat >>conftest.
$ac_ext <<_ACEOF
10041 /* end confdefs.h. */
10042 $ac_includes_default
10043 #include <$ac_header>
10045 rm -f conftest.
$ac_objext
10046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10047 (eval $ac_compile) 2>conftest.er1
10049 grep -v '^ *+' conftest.er1
>conftest.err
10051 cat conftest.err
>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); } &&
10054 { ac_try
='test -z "$ac_c_werror_flag"
10055 || test ! -s conftest.err'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; } &&
10061 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
10067 ac_header_compiler
=yes
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.
$ac_ext >&5
10072 ac_header_compiler
=no
10074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10076 echo "${ECHO_T}$ac_header_compiler" >&6
10078 # Is the header present?
10079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10081 cat >conftest.
$ac_ext <<_ACEOF
10084 cat confdefs.h
>>conftest.
$ac_ext
10085 cat >>conftest.
$ac_ext <<_ACEOF
10086 /* end confdefs.h. */
10087 #include <$ac_header>
10089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10092 grep -v '^ *+' conftest.er1
>conftest.err
10094 cat conftest.err
>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); } >/dev
/null
; then
10097 if test -s conftest.err
; then
10098 ac_cpp_err
=$ac_c_preproc_warn_flag
10099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10106 if test -z "$ac_cpp_err"; then
10107 ac_header_preproc
=yes
10109 echo "$as_me: failed program was:" >&5
10110 sed 's/^/| /' conftest.
$ac_ext >&5
10112 ac_header_preproc
=no
10114 rm -f conftest.err conftest.
$ac_ext
10115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10116 echo "${ECHO_T}$ac_header_preproc" >&6
10118 # So? What about this header?
10119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10125 ac_header_preproc
=yes
10128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10142 ## ------------------------------------------ ##
10143 ## Report this to the AC_PACKAGE_NAME lists. ##
10144 ## ------------------------------------------ ##
10147 sed "s/^/$as_me: WARNING: /" >&2
10150 echo "$as_me:$LINENO: checking for $ac_header" >&5
10151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10155 eval "$as_ac_Header=\$ac_header_preproc"
10157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10162 cat >>confdefs.h
<<_ACEOF
10163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10171 for ac_header
in sys
/fault.h
10173 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10175 echo "$as_me:$LINENO: checking for $ac_header" >&5
10176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10183 # Is the header compilable?
10184 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10186 cat >conftest.
$ac_ext <<_ACEOF
10189 cat confdefs.h
>>conftest.
$ac_ext
10190 cat >>conftest.
$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10192 $ac_includes_default
10193 #include <$ac_header>
10195 rm -f conftest.
$ac_objext
10196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10197 (eval $ac_compile) 2>conftest.er1
10199 grep -v '^ *+' conftest.er1
>conftest.err
10201 cat conftest.err
>&5
10202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203 (exit $ac_status); } &&
10204 { ac_try
='test -z "$ac_c_werror_flag"
10205 || test ! -s conftest.err'
10206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); }; } &&
10211 { ac_try
='test -s conftest.$ac_objext'
10212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10213 (eval $ac_try) 2>&5
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); }; }; then
10217 ac_header_compiler
=yes
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.
$ac_ext >&5
10222 ac_header_compiler
=no
10224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10226 echo "${ECHO_T}$ac_header_compiler" >&6
10228 # Is the header present?
10229 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10230 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10231 cat >conftest.
$ac_ext <<_ACEOF
10234 cat confdefs.h
>>conftest.
$ac_ext
10235 cat >>conftest.
$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10237 #include <$ac_header>
10239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10242 grep -v '^ *+' conftest.er1
>conftest.err
10244 cat conftest.err
>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); } >/dev
/null
; then
10247 if test -s conftest.err
; then
10248 ac_cpp_err
=$ac_c_preproc_warn_flag
10249 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10256 if test -z "$ac_cpp_err"; then
10257 ac_header_preproc
=yes
10259 echo "$as_me: failed program was:" >&5
10260 sed 's/^/| /' conftest.
$ac_ext >&5
10262 ac_header_preproc
=no
10264 rm -f conftest.err conftest.
$ac_ext
10265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10266 echo "${ECHO_T}$ac_header_preproc" >&6
10268 # So? What about this header?
10269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10271 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10272 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10274 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10275 ac_header_preproc
=yes
10278 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10279 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10280 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10281 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10282 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10283 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10284 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10285 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10288 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10289 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10292 ## ------------------------------------------ ##
10293 ## Report this to the AC_PACKAGE_NAME lists. ##
10294 ## ------------------------------------------ ##
10297 sed "s/^/$as_me: WARNING: /" >&2
10300 echo "$as_me:$LINENO: checking for $ac_header" >&5
10301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10303 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 eval "$as_ac_Header=\$ac_header_preproc"
10307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10312 cat >>confdefs.h
<<_ACEOF
10313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10321 for ac_header
in sys
/file.h
10323 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10325 echo "$as_me:$LINENO: checking for $ac_header" >&5
10326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10328 echo $ECHO_N "(cached) $ECHO_C" >&6
10330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10333 # Is the header compilable?
10334 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10335 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10336 cat >conftest.
$ac_ext <<_ACEOF
10339 cat confdefs.h
>>conftest.
$ac_ext
10340 cat >>conftest.
$ac_ext <<_ACEOF
10341 /* end confdefs.h. */
10342 $ac_includes_default
10343 #include <$ac_header>
10345 rm -f conftest.
$ac_objext
10346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10347 (eval $ac_compile) 2>conftest.er1
10349 grep -v '^ *+' conftest.er1
>conftest.err
10351 cat conftest.err
>&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); } &&
10354 { ac_try
='test -z "$ac_c_werror_flag"
10355 || test ! -s conftest.err'
10356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10357 (eval $ac_try) 2>&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); }; } &&
10361 { ac_try
='test -s conftest.$ac_objext'
10362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10363 (eval $ac_try) 2>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); }; }; then
10367 ac_header_compiler
=yes
10369 echo "$as_me: failed program was:" >&5
10370 sed 's/^/| /' conftest.
$ac_ext >&5
10372 ac_header_compiler
=no
10374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10376 echo "${ECHO_T}$ac_header_compiler" >&6
10378 # Is the header present?
10379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10381 cat >conftest.
$ac_ext <<_ACEOF
10384 cat confdefs.h
>>conftest.
$ac_ext
10385 cat >>conftest.
$ac_ext <<_ACEOF
10386 /* end confdefs.h. */
10387 #include <$ac_header>
10389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10392 grep -v '^ *+' conftest.er1
>conftest.err
10394 cat conftest.err
>&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } >/dev
/null
; then
10397 if test -s conftest.err
; then
10398 ac_cpp_err
=$ac_c_preproc_warn_flag
10399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10406 if test -z "$ac_cpp_err"; then
10407 ac_header_preproc
=yes
10409 echo "$as_me: failed program was:" >&5
10410 sed 's/^/| /' conftest.
$ac_ext >&5
10412 ac_header_preproc
=no
10414 rm -f conftest.err conftest.
$ac_ext
10415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10416 echo "${ECHO_T}$ac_header_preproc" >&6
10418 # So? What about this header?
10419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10425 ac_header_preproc
=yes
10428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10442 ## ------------------------------------------ ##
10443 ## Report this to the AC_PACKAGE_NAME lists. ##
10444 ## ------------------------------------------ ##
10447 sed "s/^/$as_me: WARNING: /" >&2
10450 echo "$as_me:$LINENO: checking for $ac_header" >&5
10451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 eval "$as_ac_Header=\$ac_header_preproc"
10457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10462 cat >>confdefs.h
<<_ACEOF
10463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10471 for ac_header
in sys
/filio.h
10473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10475 echo "$as_me:$LINENO: checking for $ac_header" >&5
10476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10478 echo $ECHO_N "(cached) $ECHO_C" >&6
10480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10483 # Is the header compilable?
10484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10486 cat >conftest.
$ac_ext <<_ACEOF
10489 cat confdefs.h
>>conftest.
$ac_ext
10490 cat >>conftest.
$ac_ext <<_ACEOF
10491 /* end confdefs.h. */
10492 $ac_includes_default
10493 #include <$ac_header>
10495 rm -f conftest.
$ac_objext
10496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10497 (eval $ac_compile) 2>conftest.er1
10499 grep -v '^ *+' conftest.er1
>conftest.err
10501 cat conftest.err
>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); } &&
10504 { ac_try
='test -z "$ac_c_werror_flag"
10505 || test ! -s conftest.err'
10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507 (eval $ac_try) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; } &&
10511 { ac_try
='test -s conftest.$ac_objext'
10512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10513 (eval $ac_try) 2>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; }; then
10517 ac_header_compiler
=yes
10519 echo "$as_me: failed program was:" >&5
10520 sed 's/^/| /' conftest.
$ac_ext >&5
10522 ac_header_compiler
=no
10524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10526 echo "${ECHO_T}$ac_header_compiler" >&6
10528 # Is the header present?
10529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10531 cat >conftest.
$ac_ext <<_ACEOF
10534 cat confdefs.h
>>conftest.
$ac_ext
10535 cat >>conftest.
$ac_ext <<_ACEOF
10536 /* end confdefs.h. */
10537 #include <$ac_header>
10539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10542 grep -v '^ *+' conftest.er1
>conftest.err
10544 cat conftest.err
>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); } >/dev
/null
; then
10547 if test -s conftest.err
; then
10548 ac_cpp_err
=$ac_c_preproc_warn_flag
10549 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10556 if test -z "$ac_cpp_err"; then
10557 ac_header_preproc
=yes
10559 echo "$as_me: failed program was:" >&5
10560 sed 's/^/| /' conftest.
$ac_ext >&5
10562 ac_header_preproc
=no
10564 rm -f conftest.err conftest.
$ac_ext
10565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10566 echo "${ECHO_T}$ac_header_preproc" >&6
10568 # So? What about this header?
10569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10575 ac_header_preproc
=yes
10578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10592 ## ------------------------------------------ ##
10593 ## Report this to the AC_PACKAGE_NAME lists. ##
10594 ## ------------------------------------------ ##
10597 sed "s/^/$as_me: WARNING: /" >&2
10600 echo "$as_me:$LINENO: checking for $ac_header" >&5
10601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10603 echo $ECHO_N "(cached) $ECHO_C" >&6
10605 eval "$as_ac_Header=\$ac_header_preproc"
10607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10612 cat >>confdefs.h
<<_ACEOF
10613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10621 for ac_header
in sys
/ioctl.h
10623 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10625 echo "$as_me:$LINENO: checking for $ac_header" >&5
10626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10628 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10633 # Is the header compilable?
10634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10636 cat >conftest.
$ac_ext <<_ACEOF
10639 cat confdefs.h
>>conftest.
$ac_ext
10640 cat >>conftest.
$ac_ext <<_ACEOF
10641 /* end confdefs.h. */
10642 $ac_includes_default
10643 #include <$ac_header>
10645 rm -f conftest.
$ac_objext
10646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10647 (eval $ac_compile) 2>conftest.er1
10649 grep -v '^ *+' conftest.er1
>conftest.err
10651 cat conftest.err
>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); } &&
10654 { ac_try
='test -z "$ac_c_werror_flag"
10655 || test ! -s conftest.err'
10656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10657 (eval $ac_try) 2>&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); }; } &&
10661 { ac_try
='test -s conftest.$ac_objext'
10662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10663 (eval $ac_try) 2>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); }; }; then
10667 ac_header_compiler
=yes
10669 echo "$as_me: failed program was:" >&5
10670 sed 's/^/| /' conftest.
$ac_ext >&5
10672 ac_header_compiler
=no
10674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10676 echo "${ECHO_T}$ac_header_compiler" >&6
10678 # Is the header present?
10679 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10680 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10681 cat >conftest.
$ac_ext <<_ACEOF
10684 cat confdefs.h
>>conftest.
$ac_ext
10685 cat >>conftest.
$ac_ext <<_ACEOF
10686 /* end confdefs.h. */
10687 #include <$ac_header>
10689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10690 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10692 grep -v '^ *+' conftest.er1
>conftest.err
10694 cat conftest.err
>&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); } >/dev
/null
; then
10697 if test -s conftest.err
; then
10698 ac_cpp_err
=$ac_c_preproc_warn_flag
10699 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10706 if test -z "$ac_cpp_err"; then
10707 ac_header_preproc
=yes
10709 echo "$as_me: failed program was:" >&5
10710 sed 's/^/| /' conftest.
$ac_ext >&5
10712 ac_header_preproc
=no
10714 rm -f conftest.err conftest.
$ac_ext
10715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10716 echo "${ECHO_T}$ac_header_preproc" >&6
10718 # So? What about this header?
10719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10721 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10722 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10724 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10725 ac_header_preproc
=yes
10728 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10729 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10730 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10731 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10732 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10733 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10734 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10735 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10738 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10739 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10742 ## ------------------------------------------ ##
10743 ## Report this to the AC_PACKAGE_NAME lists. ##
10744 ## ------------------------------------------ ##
10747 sed "s/^/$as_me: WARNING: /" >&2
10750 echo "$as_me:$LINENO: checking for $ac_header" >&5
10751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10753 echo $ECHO_N "(cached) $ECHO_C" >&6
10755 eval "$as_ac_Header=\$ac_header_preproc"
10757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10762 cat >>confdefs.h
<<_ACEOF
10763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10771 for ac_header
in sys
/param.h
10773 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10775 echo "$as_me:$LINENO: checking for $ac_header" >&5
10776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10778 echo $ECHO_N "(cached) $ECHO_C" >&6
10780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10783 # Is the header compilable?
10784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10786 cat >conftest.
$ac_ext <<_ACEOF
10789 cat confdefs.h
>>conftest.
$ac_ext
10790 cat >>conftest.
$ac_ext <<_ACEOF
10791 /* end confdefs.h. */
10792 $ac_includes_default
10793 #include <$ac_header>
10795 rm -f conftest.
$ac_objext
10796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10797 (eval $ac_compile) 2>conftest.er1
10799 grep -v '^ *+' conftest.er1
>conftest.err
10801 cat conftest.err
>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } &&
10804 { ac_try
='test -z "$ac_c_werror_flag"
10805 || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; } &&
10811 { ac_try
='test -s conftest.$ac_objext'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then
10817 ac_header_compiler
=yes
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.
$ac_ext >&5
10822 ac_header_compiler
=no
10824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10826 echo "${ECHO_T}$ac_header_compiler" >&6
10828 # Is the header present?
10829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10831 cat >conftest.
$ac_ext <<_ACEOF
10834 cat confdefs.h
>>conftest.
$ac_ext
10835 cat >>conftest.
$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10837 #include <$ac_header>
10839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10840 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10842 grep -v '^ *+' conftest.er1
>conftest.err
10844 cat conftest.err
>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } >/dev
/null
; then
10847 if test -s conftest.err
; then
10848 ac_cpp_err
=$ac_c_preproc_warn_flag
10849 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10856 if test -z "$ac_cpp_err"; then
10857 ac_header_preproc
=yes
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10862 ac_header_preproc
=no
10864 rm -f conftest.err conftest.
$ac_ext
10865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10866 echo "${ECHO_T}$ac_header_preproc" >&6
10868 # So? What about this header?
10869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10874 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10875 ac_header_preproc
=yes
10878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10882 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10883 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10884 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10885 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10888 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10889 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10892 ## ------------------------------------------ ##
10893 ## Report this to the AC_PACKAGE_NAME lists. ##
10894 ## ------------------------------------------ ##
10897 sed "s/^/$as_me: WARNING: /" >&2
10900 echo "$as_me:$LINENO: checking for $ac_header" >&5
10901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 eval "$as_ac_Header=\$ac_header_preproc"
10907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10912 cat >>confdefs.h
<<_ACEOF
10913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10921 for ac_header
in sys
/proc.h
10923 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10924 echo "$as_me:$LINENO: checking for $ac_header" >&5
10925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10927 echo $ECHO_N "(cached) $ECHO_C" >&6
10929 cat >conftest.
$ac_ext <<_ACEOF
10932 cat confdefs.h
>>conftest.
$ac_ext
10933 cat >>conftest.
$ac_ext <<_ACEOF
10934 /* end confdefs.h. */
10935 #if HAVE_SYS_PARAM_H
10936 # include <sys/param.h>
10940 #include <$ac_header>
10942 rm -f conftest.
$ac_objext
10943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10944 (eval $ac_compile) 2>conftest.er1
10946 grep -v '^ *+' conftest.er1
>conftest.err
10948 cat conftest.err
>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); } &&
10951 { ac_try
='test -z "$ac_c_werror_flag"
10952 || test ! -s conftest.err'
10953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10954 (eval $ac_try) 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; } &&
10958 { ac_try
='test -s conftest.$ac_objext'
10959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10960 (eval $ac_try) 2>&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); }; }; then
10964 eval "$as_ac_Header=yes"
10966 echo "$as_me: failed program was:" >&5
10967 sed 's/^/| /' conftest.
$ac_ext >&5
10969 eval "$as_ac_Header=no"
10971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10976 cat >>confdefs.h
<<_ACEOF
10977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10985 for ac_header
in sys
/procfs.h
10987 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10989 echo "$as_me:$LINENO: checking for $ac_header" >&5
10990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10992 echo $ECHO_N "(cached) $ECHO_C" >&6
10994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10997 # Is the header compilable?
10998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11000 cat >conftest.
$ac_ext <<_ACEOF
11003 cat confdefs.h
>>conftest.
$ac_ext
11004 cat >>conftest.
$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11006 $ac_includes_default
11007 #include <$ac_header>
11009 rm -f conftest.
$ac_objext
11010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11011 (eval $ac_compile) 2>conftest.er1
11013 grep -v '^ *+' conftest.er1
>conftest.err
11015 cat conftest.err
>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); } &&
11018 { ac_try
='test -z "$ac_c_werror_flag"
11019 || test ! -s conftest.err'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; } &&
11025 { ac_try
='test -s conftest.$ac_objext'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; }; then
11031 ac_header_compiler
=yes
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.
$ac_ext >&5
11036 ac_header_compiler
=no
11038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11040 echo "${ECHO_T}$ac_header_compiler" >&6
11042 # Is the header present?
11043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11045 cat >conftest.
$ac_ext <<_ACEOF
11048 cat confdefs.h
>>conftest.
$ac_ext
11049 cat >>conftest.
$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11051 #include <$ac_header>
11053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11056 grep -v '^ *+' conftest.er1
>conftest.err
11058 cat conftest.err
>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); } >/dev
/null
; then
11061 if test -s conftest.err
; then
11062 ac_cpp_err
=$ac_c_preproc_warn_flag
11063 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11070 if test -z "$ac_cpp_err"; then
11071 ac_header_preproc
=yes
11073 echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.
$ac_ext >&5
11076 ac_header_preproc
=no
11078 rm -f conftest.err conftest.
$ac_ext
11079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11080 echo "${ECHO_T}$ac_header_preproc" >&6
11082 # So? What about this header?
11083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11089 ac_header_preproc
=yes
11092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11106 ## ------------------------------------------ ##
11107 ## Report this to the AC_PACKAGE_NAME lists. ##
11108 ## ------------------------------------------ ##
11111 sed "s/^/$as_me: WARNING: /" >&2
11114 echo "$as_me:$LINENO: checking for $ac_header" >&5
11115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 eval "$as_ac_Header=\$ac_header_preproc"
11121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11126 cat >>confdefs.h
<<_ACEOF
11127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11136 for ac_header
in sys
/ptrace.h ptrace.h
11138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11140 echo "$as_me:$LINENO: checking for $ac_header" >&5
11141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11148 # Is the header compilable?
11149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11151 cat >conftest.
$ac_ext <<_ACEOF
11154 cat confdefs.h
>>conftest.
$ac_ext
11155 cat >>conftest.
$ac_ext <<_ACEOF
11156 /* end confdefs.h. */
11157 $ac_includes_default
11158 #include <$ac_header>
11160 rm -f conftest.
$ac_objext
11161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11162 (eval $ac_compile) 2>conftest.er1
11164 grep -v '^ *+' conftest.er1
>conftest.err
11166 cat conftest.err
>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } &&
11169 { ac_try
='test -z "$ac_c_werror_flag"
11170 || test ! -s conftest.err'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; } &&
11176 { ac_try
='test -s conftest.$ac_objext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 ac_header_compiler
=yes
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.
$ac_ext >&5
11187 ac_header_compiler
=no
11189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11191 echo "${ECHO_T}$ac_header_compiler" >&6
11193 # Is the header present?
11194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11196 cat >conftest.
$ac_ext <<_ACEOF
11199 cat confdefs.h
>>conftest.
$ac_ext
11200 cat >>conftest.
$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11202 #include <$ac_header>
11204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11207 grep -v '^ *+' conftest.er1
>conftest.err
11209 cat conftest.err
>&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); } >/dev
/null
; then
11212 if test -s conftest.err
; then
11213 ac_cpp_err
=$ac_c_preproc_warn_flag
11214 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11221 if test -z "$ac_cpp_err"; then
11222 ac_header_preproc
=yes
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.
$ac_ext >&5
11227 ac_header_preproc
=no
11229 rm -f conftest.err conftest.
$ac_ext
11230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11231 echo "${ECHO_T}$ac_header_preproc" >&6
11233 # So? What about this header?
11234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11240 ac_header_preproc
=yes
11243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11257 ## ------------------------------------------ ##
11258 ## Report this to the AC_PACKAGE_NAME lists. ##
11259 ## ------------------------------------------ ##
11262 sed "s/^/$as_me: WARNING: /" >&2
11265 echo "$as_me:$LINENO: checking for $ac_header" >&5
11266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11268 echo $ECHO_N "(cached) $ECHO_C" >&6
11270 eval "$as_ac_Header=\$ac_header_preproc"
11272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11277 cat >>confdefs.h
<<_ACEOF
11278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11287 for ac_header
in sys
/reg.h sys
/debugreg.h
11289 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11291 echo "$as_me:$LINENO: checking for $ac_header" >&5
11292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11299 # Is the header compilable?
11300 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11302 cat >conftest.
$ac_ext <<_ACEOF
11305 cat confdefs.h
>>conftest.
$ac_ext
11306 cat >>conftest.
$ac_ext <<_ACEOF
11307 /* end confdefs.h. */
11308 $ac_includes_default
11309 #include <$ac_header>
11311 rm -f conftest.
$ac_objext
11312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11313 (eval $ac_compile) 2>conftest.er1
11315 grep -v '^ *+' conftest.er1
>conftest.err
11317 cat conftest.err
>&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); } &&
11320 { ac_try
='test -z "$ac_c_werror_flag"
11321 || test ! -s conftest.err'
11322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323 (eval $ac_try) 2>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); }; } &&
11327 { ac_try
='test -s conftest.$ac_objext'
11328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329 (eval $ac_try) 2>&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); }; }; then
11333 ac_header_compiler
=yes
11335 echo "$as_me: failed program was:" >&5
11336 sed 's/^/| /' conftest.
$ac_ext >&5
11338 ac_header_compiler
=no
11340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11342 echo "${ECHO_T}$ac_header_compiler" >&6
11344 # Is the header present?
11345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11347 cat >conftest.
$ac_ext <<_ACEOF
11350 cat confdefs.h
>>conftest.
$ac_ext
11351 cat >>conftest.
$ac_ext <<_ACEOF
11352 /* end confdefs.h. */
11353 #include <$ac_header>
11355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11356 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11358 grep -v '^ *+' conftest.er1
>conftest.err
11360 cat conftest.err
>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } >/dev
/null
; then
11363 if test -s conftest.err
; then
11364 ac_cpp_err
=$ac_c_preproc_warn_flag
11365 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11372 if test -z "$ac_cpp_err"; then
11373 ac_header_preproc
=yes
11375 echo "$as_me: failed program was:" >&5
11376 sed 's/^/| /' conftest.
$ac_ext >&5
11378 ac_header_preproc
=no
11380 rm -f conftest.err conftest.
$ac_ext
11381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11382 echo "${ECHO_T}$ac_header_preproc" >&6
11384 # So? What about this header?
11385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11390 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11391 ac_header_preproc
=yes
11394 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11395 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11396 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11397 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11398 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11399 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11400 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11401 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11404 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11405 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11408 ## ------------------------------------------ ##
11409 ## Report this to the AC_PACKAGE_NAME lists. ##
11410 ## ------------------------------------------ ##
11413 sed "s/^/$as_me: WARNING: /" >&2
11416 echo "$as_me:$LINENO: checking for $ac_header" >&5
11417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 eval "$as_ac_Header=\$ac_header_preproc"
11423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11428 cat >>confdefs.h
<<_ACEOF
11429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11437 for ac_header
in sys
/select.h
11439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11441 echo "$as_me:$LINENO: checking for $ac_header" >&5
11442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11444 echo $ECHO_N "(cached) $ECHO_C" >&6
11446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11449 # Is the header compilable?
11450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11452 cat >conftest.
$ac_ext <<_ACEOF
11455 cat confdefs.h
>>conftest.
$ac_ext
11456 cat >>conftest.
$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11458 $ac_includes_default
11459 #include <$ac_header>
11461 rm -f conftest.
$ac_objext
11462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11463 (eval $ac_compile) 2>conftest.er1
11465 grep -v '^ *+' conftest.er1
>conftest.err
11467 cat conftest.err
>&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); } &&
11470 { ac_try
='test -z "$ac_c_werror_flag"
11471 || test ! -s conftest.err'
11472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473 (eval $ac_try) 2>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); }; } &&
11477 { ac_try
='test -s conftest.$ac_objext'
11478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11479 (eval $ac_try) 2>&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); }; }; then
11483 ac_header_compiler
=yes
11485 echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.
$ac_ext >&5
11488 ac_header_compiler
=no
11490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11492 echo "${ECHO_T}$ac_header_compiler" >&6
11494 # Is the header present?
11495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11497 cat >conftest.
$ac_ext <<_ACEOF
11500 cat confdefs.h
>>conftest.
$ac_ext
11501 cat >>conftest.
$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11503 #include <$ac_header>
11505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11506 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11508 grep -v '^ *+' conftest.er1
>conftest.err
11510 cat conftest.err
>&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } >/dev
/null
; then
11513 if test -s conftest.err
; then
11514 ac_cpp_err
=$ac_c_preproc_warn_flag
11515 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11522 if test -z "$ac_cpp_err"; then
11523 ac_header_preproc
=yes
11525 echo "$as_me: failed program was:" >&5
11526 sed 's/^/| /' conftest.
$ac_ext >&5
11528 ac_header_preproc
=no
11530 rm -f conftest.err conftest.
$ac_ext
11531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11532 echo "${ECHO_T}$ac_header_preproc" >&6
11534 # So? What about this header?
11535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11541 ac_header_preproc
=yes
11544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11548 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11550 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11551 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11554 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11558 ## ------------------------------------------ ##
11559 ## Report this to the AC_PACKAGE_NAME lists. ##
11560 ## ------------------------------------------ ##
11563 sed "s/^/$as_me: WARNING: /" >&2
11566 echo "$as_me:$LINENO: checking for $ac_header" >&5
11567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11569 echo $ECHO_N "(cached) $ECHO_C" >&6
11571 eval "$as_ac_Header=\$ac_header_preproc"
11573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11578 cat >>confdefs.h
<<_ACEOF
11579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11587 for ac_header
in sys
/syscall.h
11589 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11591 echo "$as_me:$LINENO: checking for $ac_header" >&5
11592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11599 # Is the header compilable?
11600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11602 cat >conftest.
$ac_ext <<_ACEOF
11605 cat confdefs.h
>>conftest.
$ac_ext
11606 cat >>conftest.
$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11608 $ac_includes_default
11609 #include <$ac_header>
11611 rm -f conftest.
$ac_objext
11612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11613 (eval $ac_compile) 2>conftest.er1
11615 grep -v '^ *+' conftest.er1
>conftest.err
11617 cat conftest.err
>&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); } &&
11620 { ac_try
='test -z "$ac_c_werror_flag"
11621 || test ! -s conftest.err'
11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; } &&
11627 { ac_try
='test -s conftest.$ac_objext'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; }; then
11633 ac_header_compiler
=yes
11635 echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.
$ac_ext >&5
11638 ac_header_compiler
=no
11640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11642 echo "${ECHO_T}$ac_header_compiler" >&6
11644 # Is the header present?
11645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11647 cat >conftest.
$ac_ext <<_ACEOF
11650 cat confdefs.h
>>conftest.
$ac_ext
11651 cat >>conftest.
$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11653 #include <$ac_header>
11655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11656 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11658 grep -v '^ *+' conftest.er1
>conftest.err
11660 cat conftest.err
>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); } >/dev
/null
; then
11663 if test -s conftest.err
; then
11664 ac_cpp_err
=$ac_c_preproc_warn_flag
11665 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11672 if test -z "$ac_cpp_err"; then
11673 ac_header_preproc
=yes
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.
$ac_ext >&5
11678 ac_header_preproc
=no
11680 rm -f conftest.err conftest.
$ac_ext
11681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11682 echo "${ECHO_T}$ac_header_preproc" >&6
11684 # So? What about this header?
11685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11691 ac_header_preproc
=yes
11694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11708 ## ------------------------------------------ ##
11709 ## Report this to the AC_PACKAGE_NAME lists. ##
11710 ## ------------------------------------------ ##
11713 sed "s/^/$as_me: WARNING: /" >&2
11716 echo "$as_me:$LINENO: checking for $ac_header" >&5
11717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11719 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 eval "$as_ac_Header=\$ac_header_preproc"
11723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11728 cat >>confdefs.h
<<_ACEOF
11729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11737 for ac_header
in sys
/types.h
11739 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11741 echo "$as_me:$LINENO: checking for $ac_header" >&5
11742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11744 echo $ECHO_N "(cached) $ECHO_C" >&6
11746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11749 # Is the header compilable?
11750 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11751 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11752 cat >conftest.
$ac_ext <<_ACEOF
11755 cat confdefs.h
>>conftest.
$ac_ext
11756 cat >>conftest.
$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11758 $ac_includes_default
11759 #include <$ac_header>
11761 rm -f conftest.
$ac_objext
11762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11763 (eval $ac_compile) 2>conftest.er1
11765 grep -v '^ *+' conftest.er1
>conftest.err
11767 cat conftest.err
>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try
='test -z "$ac_c_werror_flag"
11771 || test ! -s conftest.err'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; } &&
11777 { ac_try
='test -s conftest.$ac_objext'
11778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11779 (eval $ac_try) 2>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); }; }; then
11783 ac_header_compiler
=yes
11785 echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.
$ac_ext >&5
11788 ac_header_compiler
=no
11790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11792 echo "${ECHO_T}$ac_header_compiler" >&6
11794 # Is the header present?
11795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11797 cat >conftest.
$ac_ext <<_ACEOF
11800 cat confdefs.h
>>conftest.
$ac_ext
11801 cat >>conftest.
$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11803 #include <$ac_header>
11805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11806 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
11813 if test -s conftest.err
; then
11814 ac_cpp_err
=$ac_c_preproc_warn_flag
11815 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11822 if test -z "$ac_cpp_err"; then
11823 ac_header_preproc
=yes
11825 echo "$as_me: failed program was:" >&5
11826 sed 's/^/| /' conftest.
$ac_ext >&5
11828 ac_header_preproc
=no
11830 rm -f conftest.err conftest.
$ac_ext
11831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11832 echo "${ECHO_T}$ac_header_preproc" >&6
11834 # So? What about this header?
11835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11840 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11841 ac_header_preproc
=yes
11844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11849 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11851 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11855 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11858 ## ------------------------------------------ ##
11859 ## Report this to the AC_PACKAGE_NAME lists. ##
11860 ## ------------------------------------------ ##
11863 sed "s/^/$as_me: WARNING: /" >&2
11866 echo "$as_me:$LINENO: checking for $ac_header" >&5
11867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11871 eval "$as_ac_Header=\$ac_header_preproc"
11873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11878 cat >>confdefs.h
<<_ACEOF
11879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11887 for ac_header
in sys
/user.h
11889 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11890 echo "$as_me:$LINENO: checking for $ac_header" >&5
11891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11893 echo $ECHO_N "(cached) $ECHO_C" >&6
11895 cat >conftest.
$ac_ext <<_ACEOF
11898 cat confdefs.h
>>conftest.
$ac_ext
11899 cat >>conftest.
$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11901 #if HAVE_SYS_PARAM_H
11902 # include <sys/param.h>
11906 #include <$ac_header>
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 eval "$as_ac_Header=yes"
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.
$ac_ext >&5
11935 eval "$as_ac_Header=no"
11937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11942 cat >>confdefs.h
<<_ACEOF
11943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11952 for ac_header
in sys
/wait.h
wait.h
11954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11956 echo "$as_me:$LINENO: checking for $ac_header" >&5
11957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11964 # Is the header compilable?
11965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11967 cat >conftest.
$ac_ext <<_ACEOF
11970 cat confdefs.h
>>conftest.
$ac_ext
11971 cat >>conftest.
$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11973 $ac_includes_default
11974 #include <$ac_header>
11976 rm -f conftest.
$ac_objext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11978 (eval $ac_compile) 2>conftest.er1
11980 grep -v '^ *+' conftest.er1
>conftest.err
11982 cat conftest.err
>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } &&
11985 { ac_try
='test -z "$ac_c_werror_flag"
11986 || test ! -s conftest.err'
11987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11988 (eval $ac_try) 2>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); }; } &&
11992 { ac_try
='test -s conftest.$ac_objext'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; }; then
11998 ac_header_compiler
=yes
12000 echo "$as_me: failed program was:" >&5
12001 sed 's/^/| /' conftest.
$ac_ext >&5
12003 ac_header_compiler
=no
12005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12007 echo "${ECHO_T}$ac_header_compiler" >&6
12009 # Is the header present?
12010 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12012 cat >conftest.
$ac_ext <<_ACEOF
12015 cat confdefs.h
>>conftest.
$ac_ext
12016 cat >>conftest.
$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12018 #include <$ac_header>
12020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12023 grep -v '^ *+' conftest.er1
>conftest.err
12025 cat conftest.err
>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } >/dev
/null
; then
12028 if test -s conftest.err
; then
12029 ac_cpp_err
=$ac_c_preproc_warn_flag
12030 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12037 if test -z "$ac_cpp_err"; then
12038 ac_header_preproc
=yes
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.
$ac_ext >&5
12043 ac_header_preproc
=no
12045 rm -f conftest.err conftest.
$ac_ext
12046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12047 echo "${ECHO_T}$ac_header_preproc" >&6
12049 # So? What about this header?
12050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12055 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12056 ac_header_preproc
=yes
12059 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12060 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12061 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12062 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12063 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12064 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12065 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12066 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12069 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12070 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12073 ## ------------------------------------------ ##
12074 ## Report this to the AC_PACKAGE_NAME lists. ##
12075 ## ------------------------------------------ ##
12078 sed "s/^/$as_me: WARNING: /" >&2
12081 echo "$as_me:$LINENO: checking for $ac_header" >&5
12082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 eval "$as_ac_Header=\$ac_header_preproc"
12088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12093 cat >>confdefs.h
<<_ACEOF
12094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12104 for ac_header
in termios.h termio.h sgtty.h
12106 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12108 echo "$as_me:$LINENO: checking for $ac_header" >&5
12109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12111 echo $ECHO_N "(cached) $ECHO_C" >&6
12113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12116 # Is the header compilable?
12117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12119 cat >conftest.
$ac_ext <<_ACEOF
12122 cat confdefs.h
>>conftest.
$ac_ext
12123 cat >>conftest.
$ac_ext <<_ACEOF
12124 /* end confdefs.h. */
12125 $ac_includes_default
12126 #include <$ac_header>
12128 rm -f conftest.
$ac_objext
12129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12130 (eval $ac_compile) 2>conftest.er1
12132 grep -v '^ *+' conftest.er1
>conftest.err
12134 cat conftest.err
>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } &&
12137 { ac_try
='test -z "$ac_c_werror_flag"
12138 || test ! -s conftest.err'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; } &&
12144 { ac_try
='test -s conftest.$ac_objext'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; }; then
12150 ac_header_compiler
=yes
12152 echo "$as_me: failed program was:" >&5
12153 sed 's/^/| /' conftest.
$ac_ext >&5
12155 ac_header_compiler
=no
12157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12159 echo "${ECHO_T}$ac_header_compiler" >&6
12161 # Is the header present?
12162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12164 cat >conftest.
$ac_ext <<_ACEOF
12167 cat confdefs.h
>>conftest.
$ac_ext
12168 cat >>conftest.
$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12170 #include <$ac_header>
12172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12173 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12175 grep -v '^ *+' conftest.er1
>conftest.err
12177 cat conftest.err
>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } >/dev
/null
; then
12180 if test -s conftest.err
; then
12181 ac_cpp_err
=$ac_c_preproc_warn_flag
12182 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12189 if test -z "$ac_cpp_err"; then
12190 ac_header_preproc
=yes
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.
$ac_ext >&5
12195 ac_header_preproc
=no
12197 rm -f conftest.err conftest.
$ac_ext
12198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12199 echo "${ECHO_T}$ac_header_preproc" >&6
12201 # So? What about this header?
12202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12208 ac_header_preproc
=yes
12211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12225 ## ------------------------------------------ ##
12226 ## Report this to the AC_PACKAGE_NAME lists. ##
12227 ## ------------------------------------------ ##
12230 sed "s/^/$as_me: WARNING: /" >&2
12233 echo "$as_me:$LINENO: checking for $ac_header" >&5
12234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 eval "$as_ac_Header=\$ac_header_preproc"
12240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12245 cat >>confdefs.h
<<_ACEOF
12246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12254 for ac_header
in unistd.h
12256 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12258 echo "$as_me:$LINENO: checking for $ac_header" >&5
12259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12266 # Is the header compilable?
12267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12269 cat >conftest.
$ac_ext <<_ACEOF
12272 cat confdefs.h
>>conftest.
$ac_ext
12273 cat >>conftest.
$ac_ext <<_ACEOF
12274 /* end confdefs.h. */
12275 $ac_includes_default
12276 #include <$ac_header>
12278 rm -f conftest.
$ac_objext
12279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12280 (eval $ac_compile) 2>conftest.er1
12282 grep -v '^ *+' conftest.er1
>conftest.err
12284 cat conftest.err
>&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); } &&
12287 { ac_try
='test -z "$ac_c_werror_flag"
12288 || test ! -s conftest.err'
12289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12290 (eval $ac_try) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; } &&
12294 { ac_try
='test -s conftest.$ac_objext'
12295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 (eval $ac_try) 2>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); }; }; then
12300 ac_header_compiler
=yes
12302 echo "$as_me: failed program was:" >&5
12303 sed 's/^/| /' conftest.
$ac_ext >&5
12305 ac_header_compiler
=no
12307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12309 echo "${ECHO_T}$ac_header_compiler" >&6
12311 # Is the header present?
12312 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12313 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12314 cat >conftest.
$ac_ext <<_ACEOF
12317 cat confdefs.h
>>conftest.
$ac_ext
12318 cat >>conftest.
$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320 #include <$ac_header>
12322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12323 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12325 grep -v '^ *+' conftest.er1
>conftest.err
12327 cat conftest.err
>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } >/dev
/null
; then
12330 if test -s conftest.err
; then
12331 ac_cpp_err
=$ac_c_preproc_warn_flag
12332 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12339 if test -z "$ac_cpp_err"; then
12340 ac_header_preproc
=yes
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.
$ac_ext >&5
12345 ac_header_preproc
=no
12347 rm -f conftest.err conftest.
$ac_ext
12348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12349 echo "${ECHO_T}$ac_header_preproc" >&6
12351 # So? What about this header?
12352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12354 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12355 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12357 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12358 ac_header_preproc
=yes
12361 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12363 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12365 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12366 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12367 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12368 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12371 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12372 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12375 ## ------------------------------------------ ##
12376 ## Report this to the AC_PACKAGE_NAME lists. ##
12377 ## ------------------------------------------ ##
12380 sed "s/^/$as_me: WARNING: /" >&2
12383 echo "$as_me:$LINENO: checking for $ac_header" >&5
12384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12386 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 eval "$as_ac_Header=\$ac_header_preproc"
12390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12395 cat >>confdefs.h
<<_ACEOF
12396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12404 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
12405 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
12406 # think that we don't have <curses.h> if we're using GCC.
12409 if test "$GCC" = yes; then
12411 cat >>confdefs.h
<<\_ACEOF
12412 #define _MSE_INT_H 1
12421 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
12423 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12425 echo "$as_me:$LINENO: checking for $ac_header" >&5
12426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12433 # Is the header compilable?
12434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12436 cat >conftest.
$ac_ext <<_ACEOF
12439 cat confdefs.h
>>conftest.
$ac_ext
12440 cat >>conftest.
$ac_ext <<_ACEOF
12441 /* end confdefs.h. */
12442 $ac_includes_default
12443 #include <$ac_header>
12445 rm -f conftest.
$ac_objext
12446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12447 (eval $ac_compile) 2>conftest.er1
12449 grep -v '^ *+' conftest.er1
>conftest.err
12451 cat conftest.err
>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); } &&
12454 { ac_try
='test -z "$ac_c_werror_flag"
12455 || test ! -s conftest.err'
12456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12457 (eval $ac_try) 2>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); }; } &&
12461 { ac_try
='test -s conftest.$ac_objext'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; }; then
12467 ac_header_compiler
=yes
12469 echo "$as_me: failed program was:" >&5
12470 sed 's/^/| /' conftest.
$ac_ext >&5
12472 ac_header_compiler
=no
12474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12476 echo "${ECHO_T}$ac_header_compiler" >&6
12478 # Is the header present?
12479 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12481 cat >conftest.
$ac_ext <<_ACEOF
12484 cat confdefs.h
>>conftest.
$ac_ext
12485 cat >>conftest.
$ac_ext <<_ACEOF
12486 /* end confdefs.h. */
12487 #include <$ac_header>
12489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12490 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12492 grep -v '^ *+' conftest.er1
>conftest.err
12494 cat conftest.err
>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } >/dev
/null
; then
12497 if test -s conftest.err
; then
12498 ac_cpp_err
=$ac_c_preproc_warn_flag
12499 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12506 if test -z "$ac_cpp_err"; then
12507 ac_header_preproc
=yes
12509 echo "$as_me: failed program was:" >&5
12510 sed 's/^/| /' conftest.
$ac_ext >&5
12512 ac_header_preproc
=no
12514 rm -f conftest.err conftest.
$ac_ext
12515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12516 echo "${ECHO_T}$ac_header_preproc" >&6
12518 # So? What about this header?
12519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12525 ac_header_preproc
=yes
12528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12542 ## ------------------------------------------ ##
12543 ## Report this to the AC_PACKAGE_NAME lists. ##
12544 ## ------------------------------------------ ##
12547 sed "s/^/$as_me: WARNING: /" >&2
12550 echo "$as_me:$LINENO: checking for $ac_header" >&5
12551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 eval "$as_ac_Header=\$ac_header_preproc"
12557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12562 cat >>confdefs.h
<<_ACEOF
12563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12571 for ac_header
in ncurses
/term.h
12573 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12575 echo "$as_me:$LINENO: checking for $ac_header" >&5
12576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12578 echo $ECHO_N "(cached) $ECHO_C" >&6
12580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12583 # Is the header compilable?
12584 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12585 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12586 cat >conftest.
$ac_ext <<_ACEOF
12589 cat confdefs.h
>>conftest.
$ac_ext
12590 cat >>conftest.
$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12592 $ac_includes_default
12593 #include <$ac_header>
12595 rm -f conftest.
$ac_objext
12596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12597 (eval $ac_compile) 2>conftest.er1
12599 grep -v '^ *+' conftest.er1
>conftest.err
12601 cat conftest.err
>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try
='test -z "$ac_c_werror_flag"
12605 || test ! -s conftest.err'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; } &&
12611 { ac_try
='test -s conftest.$ac_objext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; }; then
12617 ac_header_compiler
=yes
12619 echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.
$ac_ext >&5
12622 ac_header_compiler
=no
12624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12626 echo "${ECHO_T}$ac_header_compiler" >&6
12628 # Is the header present?
12629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12631 cat >conftest.
$ac_ext <<_ACEOF
12634 cat confdefs.h
>>conftest.
$ac_ext
12635 cat >>conftest.
$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 #include <$ac_header>
12639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12640 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12642 grep -v '^ *+' conftest.er1
>conftest.err
12644 cat conftest.err
>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } >/dev
/null
; then
12647 if test -s conftest.err
; then
12648 ac_cpp_err
=$ac_c_preproc_warn_flag
12649 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12656 if test -z "$ac_cpp_err"; then
12657 ac_header_preproc
=yes
12659 echo "$as_me: failed program was:" >&5
12660 sed 's/^/| /' conftest.
$ac_ext >&5
12662 ac_header_preproc
=no
12664 rm -f conftest.err conftest.
$ac_ext
12665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12666 echo "${ECHO_T}$ac_header_preproc" >&6
12668 # So? What about this header?
12669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12674 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12675 ac_header_preproc
=yes
12678 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12679 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12680 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12681 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12683 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12684 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12685 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12688 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12689 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12692 ## ------------------------------------------ ##
12693 ## Report this to the AC_PACKAGE_NAME lists. ##
12694 ## ------------------------------------------ ##
12697 sed "s/^/$as_me: WARNING: /" >&2
12700 echo "$as_me:$LINENO: checking for $ac_header" >&5
12701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12703 echo $ECHO_N "(cached) $ECHO_C" >&6
12705 eval "$as_ac_Header=\$ac_header_preproc"
12707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12712 cat >>confdefs.h
<<_ACEOF
12713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12721 for ac_header
in term.h
12723 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12724 echo "$as_me:$LINENO: checking for $ac_header" >&5
12725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12727 echo $ECHO_N "(cached) $ECHO_C" >&6
12729 cat >conftest.
$ac_ext <<_ACEOF
12732 cat confdefs.h
>>conftest.
$ac_ext
12733 cat >>conftest.
$ac_ext <<_ACEOF
12734 /* end confdefs.h. */
12736 # include <curses.h>
12740 #include <$ac_header>
12742 rm -f conftest.
$ac_objext
12743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12744 (eval $ac_compile) 2>conftest.er1
12746 grep -v '^ *+' conftest.er1
>conftest.err
12748 cat conftest.err
>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } &&
12751 { ac_try
='test -z "$ac_c_werror_flag"
12752 || test ! -s conftest.err'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; } &&
12758 { ac_try
='test -s conftest.$ac_objext'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; }; then
12764 eval "$as_ac_Header=yes"
12766 echo "$as_me: failed program was:" >&5
12767 sed 's/^/| /' conftest.
$ac_ext >&5
12769 eval "$as_ac_Header=no"
12771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12776 cat >>confdefs.h
<<_ACEOF
12777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12785 # FIXME: kettenis/20030102: In most cases we include these
12786 # unconditionally, so what's the point in checking these?
12789 for ac_header
in ctype.h
time.h
12791 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12793 echo "$as_me:$LINENO: checking for $ac_header" >&5
12794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12796 echo $ECHO_N "(cached) $ECHO_C" >&6
12798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12801 # Is the header compilable?
12802 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12803 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12804 cat >conftest.
$ac_ext <<_ACEOF
12807 cat confdefs.h
>>conftest.
$ac_ext
12808 cat >>conftest.
$ac_ext <<_ACEOF
12809 /* end confdefs.h. */
12810 $ac_includes_default
12811 #include <$ac_header>
12813 rm -f conftest.
$ac_objext
12814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12815 (eval $ac_compile) 2>conftest.er1
12817 grep -v '^ *+' conftest.er1
>conftest.err
12819 cat conftest.err
>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); } &&
12822 { ac_try
='test -z "$ac_c_werror_flag"
12823 || test ! -s conftest.err'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; } &&
12829 { ac_try
='test -s conftest.$ac_objext'
12830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12831 (eval $ac_try) 2>&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); }; }; then
12835 ac_header_compiler
=yes
12837 echo "$as_me: failed program was:" >&5
12838 sed 's/^/| /' conftest.
$ac_ext >&5
12840 ac_header_compiler
=no
12842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12844 echo "${ECHO_T}$ac_header_compiler" >&6
12846 # Is the header present?
12847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12849 cat >conftest.
$ac_ext <<_ACEOF
12852 cat confdefs.h
>>conftest.
$ac_ext
12853 cat >>conftest.
$ac_ext <<_ACEOF
12854 /* end confdefs.h. */
12855 #include <$ac_header>
12857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12860 grep -v '^ *+' conftest.er1
>conftest.err
12862 cat conftest.err
>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } >/dev
/null
; then
12865 if test -s conftest.err
; then
12866 ac_cpp_err
=$ac_c_preproc_warn_flag
12867 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12874 if test -z "$ac_cpp_err"; then
12875 ac_header_preproc
=yes
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.
$ac_ext >&5
12880 ac_header_preproc
=no
12882 rm -f conftest.err conftest.
$ac_ext
12883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12884 echo "${ECHO_T}$ac_header_preproc" >&6
12886 # So? What about this header?
12887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12889 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12892 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12893 ac_header_preproc
=yes
12896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12897 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12899 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12900 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12901 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12902 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12903 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12907 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12910 ## ------------------------------------------ ##
12911 ## Report this to the AC_PACKAGE_NAME lists. ##
12912 ## ------------------------------------------ ##
12915 sed "s/^/$as_me: WARNING: /" >&2
12918 echo "$as_me:$LINENO: checking for $ac_header" >&5
12919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 eval "$as_ac_Header=\$ac_header_preproc"
12925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12930 cat >>confdefs.h
<<_ACEOF
12931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12939 # Create a header we can use portably to get the standard integer types.
12942 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
12944 acx_cv_header_stdint
=stddef.h
12945 acx_cv_header_stdint_kind
="(already complete)"
12946 for i
in stdint.h
$inttype_headers; do
12947 unset ac_cv_type_uintptr_t
12948 unset ac_cv_type_uintmax_t
12949 unset ac_cv_type_int_least32_t
12950 unset ac_cv_type_int_fast32_t
12951 unset ac_cv_type_uint64_t
12952 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
12953 echo "$as_me:$LINENO: checking for uintmax_t" >&5
12954 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
12955 if test "${ac_cv_type_uintmax_t+set}" = set; then
12956 echo $ECHO_N "(cached) $ECHO_C" >&6
12958 cat >conftest.
$ac_ext <<_ACEOF
12961 cat confdefs.h
>>conftest.
$ac_ext
12962 cat >>conftest.
$ac_ext <<_ACEOF
12963 /* end confdefs.h. */
12964 #include <sys/types.h>
12970 if ((uintmax_t *) 0)
12972 if (sizeof (uintmax_t))
12978 rm -f conftest.
$ac_objext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980 (eval $ac_compile) 2>conftest.er1
12982 grep -v '^ *+' conftest.er1
>conftest.err
12984 cat conftest.err
>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try
='test -z "$ac_c_werror_flag"
12988 || test ! -s conftest.err'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; } &&
12994 { ac_try
='test -s conftest.$ac_objext'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13000 ac_cv_type_uintmax_t
=yes
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.
$ac_ext >&5
13005 ac_cv_type_uintmax_t
=no
13007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13009 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
13010 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
13011 if test $ac_cv_type_uintmax_t = yes; then
13012 acx_cv_header_stdint
=$i
13017 echo "$as_me:$LINENO: checking for uintptr_t" >&5
13018 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
13019 if test "${ac_cv_type_uintptr_t+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13022 cat >conftest.
$ac_ext <<_ACEOF
13025 cat confdefs.h
>>conftest.
$ac_ext
13026 cat >>conftest.
$ac_ext <<_ACEOF
13027 /* end confdefs.h. */
13028 #include <sys/types.h>
13034 if ((uintptr_t *) 0)
13036 if (sizeof (uintptr_t))
13042 rm -f conftest.
$ac_objext
13043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13044 (eval $ac_compile) 2>conftest.er1
13046 grep -v '^ *+' conftest.er1
>conftest.err
13048 cat conftest.err
>&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); } &&
13051 { ac_try
='test -z "$ac_c_werror_flag"
13052 || test ! -s conftest.err'
13053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13054 (eval $ac_try) 2>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); }; } &&
13058 { ac_try
='test -s conftest.$ac_objext'
13059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13060 (eval $ac_try) 2>&5
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); }; }; then
13064 ac_cv_type_uintptr_t
=yes
13066 echo "$as_me: failed program was:" >&5
13067 sed 's/^/| /' conftest.
$ac_ext >&5
13069 ac_cv_type_uintptr_t
=no
13071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13073 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
13074 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
13075 if test $ac_cv_type_uintptr_t = yes; then
13078 acx_cv_header_stdint_kind
="(mostly complete)"
13081 echo "$as_me:$LINENO: checking for int_least32_t" >&5
13082 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
13083 if test "${ac_cv_type_int_least32_t+set}" = set; then
13084 echo $ECHO_N "(cached) $ECHO_C" >&6
13086 cat >conftest.
$ac_ext <<_ACEOF
13089 cat confdefs.h
>>conftest.
$ac_ext
13090 cat >>conftest.
$ac_ext <<_ACEOF
13091 /* end confdefs.h. */
13092 #include <sys/types.h>
13098 if ((int_least32_t *) 0)
13100 if (sizeof (int_least32_t))
13106 rm -f conftest.
$ac_objext
13107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13108 (eval $ac_compile) 2>conftest.er1
13110 grep -v '^ *+' conftest.er1
>conftest.err
13112 cat conftest.err
>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } &&
13115 { ac_try
='test -z "$ac_c_werror_flag"
13116 || test ! -s conftest.err'
13117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13118 (eval $ac_try) 2>&5
13120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13121 (exit $ac_status); }; } &&
13122 { ac_try
='test -s conftest.$ac_objext'
13123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13124 (eval $ac_try) 2>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }; }; then
13128 ac_cv_type_int_least32_t
=yes
13130 echo "$as_me: failed program was:" >&5
13131 sed 's/^/| /' conftest.
$ac_ext >&5
13133 ac_cv_type_int_least32_t
=no
13135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13137 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
13138 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
13139 if test $ac_cv_type_int_least32_t = yes; then
13142 acx_cv_header_stdint_kind
="(mostly complete)"
13145 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
13146 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
13147 if test "${ac_cv_type_int_fast32_t+set}" = set; then
13148 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 cat >conftest.
$ac_ext <<_ACEOF
13153 cat confdefs.h
>>conftest.
$ac_ext
13154 cat >>conftest.
$ac_ext <<_ACEOF
13155 /* end confdefs.h. */
13156 #include <sys/types.h>
13162 if ((int_fast32_t *) 0)
13164 if (sizeof (int_fast32_t))
13170 rm -f conftest.
$ac_objext
13171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13172 (eval $ac_compile) 2>conftest.er1
13174 grep -v '^ *+' conftest.er1
>conftest.err
13176 cat conftest.err
>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); } &&
13179 { ac_try
='test -z "$ac_c_werror_flag"
13180 || test ! -s conftest.err'
13181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13182 (eval $ac_try) 2>&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); }; } &&
13186 { ac_try
='test -s conftest.$ac_objext'
13187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13188 (eval $ac_try) 2>&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); }; }; then
13192 ac_cv_type_int_fast32_t
=yes
13194 echo "$as_me: failed program was:" >&5
13195 sed 's/^/| /' conftest.
$ac_ext >&5
13197 ac_cv_type_int_fast32_t
=no
13199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13201 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
13202 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
13203 if test $ac_cv_type_int_fast32_t = yes; then
13206 acx_cv_header_stdint_kind
="(mostly complete)"
13209 echo "$as_me:$LINENO: checking for uint64_t" >&5
13210 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13211 if test "${ac_cv_type_uint64_t+set}" = set; then
13212 echo $ECHO_N "(cached) $ECHO_C" >&6
13214 cat >conftest.
$ac_ext <<_ACEOF
13217 cat confdefs.h
>>conftest.
$ac_ext
13218 cat >>conftest.
$ac_ext <<_ACEOF
13219 /* end confdefs.h. */
13220 #include <sys/types.h>
13226 if ((uint64_t *) 0)
13228 if (sizeof (uint64_t))
13234 rm -f conftest.
$ac_objext
13235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13236 (eval $ac_compile) 2>conftest.er1
13238 grep -v '^ *+' conftest.er1
>conftest.err
13240 cat conftest.err
>&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); } &&
13243 { ac_try
='test -z "$ac_c_werror_flag"
13244 || test ! -s conftest.err'
13245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13246 (eval $ac_try) 2>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); }; } &&
13250 { ac_try
='test -s conftest.$ac_objext'
13251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13252 (eval $ac_try) 2>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; }; then
13256 ac_cv_type_uint64_t
=yes
13258 echo "$as_me: failed program was:" >&5
13259 sed 's/^/| /' conftest.
$ac_ext >&5
13261 ac_cv_type_uint64_t
=no
13263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13265 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13266 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13267 if test $ac_cv_type_uint64_t = yes; then
13270 acx_cv_header_stdint_kind
="(lacks uint64_t)"
13275 if test "$acx_cv_header_stdint" = stddef.h
; then
13276 acx_cv_header_stdint_kind
="(lacks uintptr_t)"
13277 for i
in stdint.h
$inttype_headers; do
13278 unset ac_cv_type_uint32_t
13279 unset ac_cv_type_uint64_t
13280 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
13281 echo "$as_me:$LINENO: checking for uint32_t" >&5
13282 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
13283 if test "${ac_cv_type_uint32_t+set}" = set; then
13284 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 cat >conftest.
$ac_ext <<_ACEOF
13289 cat confdefs.h
>>conftest.
$ac_ext
13290 cat >>conftest.
$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13292 #include <sys/types.h>
13298 if ((uint32_t *) 0)
13300 if (sizeof (uint32_t))
13306 rm -f conftest.
$ac_objext
13307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13308 (eval $ac_compile) 2>conftest.er1
13310 grep -v '^ *+' conftest.er1
>conftest.err
13312 cat conftest.err
>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); } &&
13315 { ac_try
='test -z "$ac_c_werror_flag"
13316 || test ! -s conftest.err'
13317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13318 (eval $ac_try) 2>&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; } &&
13322 { ac_try
='test -s conftest.$ac_objext'
13323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13324 (eval $ac_try) 2>&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); }; }; then
13328 ac_cv_type_uint32_t
=yes
13330 echo "$as_me: failed program was:" >&5
13331 sed 's/^/| /' conftest.
$ac_ext >&5
13333 ac_cv_type_uint32_t
=no
13335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13337 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
13338 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
13339 if test $ac_cv_type_uint32_t = yes; then
13340 acx_cv_header_stdint
=$i
13345 echo "$as_me:$LINENO: checking for uint64_t" >&5
13346 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
13347 if test "${ac_cv_type_uint64_t+set}" = set; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 cat >conftest.
$ac_ext <<_ACEOF
13353 cat confdefs.h
>>conftest.
$ac_ext
13354 cat >>conftest.
$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13356 #include <sys/types.h>
13362 if ((uint64_t *) 0)
13364 if (sizeof (uint64_t))
13370 rm -f conftest.
$ac_objext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372 (eval $ac_compile) 2>conftest.er1
13374 grep -v '^ *+' conftest.er1
>conftest.err
13376 cat conftest.err
>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } &&
13379 { ac_try
='test -z "$ac_c_werror_flag"
13380 || test ! -s conftest.err'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; } &&
13386 { ac_try
='test -s conftest.$ac_objext'
13387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13388 (eval $ac_try) 2>&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); }; }; then
13392 ac_cv_type_uint64_t
=yes
13394 echo "$as_me: failed program was:" >&5
13395 sed 's/^/| /' conftest.
$ac_ext >&5
13397 ac_cv_type_uint64_t
=no
13399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13401 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
13402 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
13403 if test $ac_cv_type_uint64_t = yes; then
13406 acx_cv_header_stdint_kind
="(lacks uintptr_t and uint64_t)"
13412 if test "$acx_cv_header_stdint" = stddef.h
; then
13413 acx_cv_header_stdint_kind
="(u_intXX_t style)"
13414 for i
in sys
/types.h
$inttype_headers; do
13415 unset ac_cv_type_u_int32_t
13416 unset ac_cv_type_u_int64_t
13417 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
13418 echo "$as_me:$LINENO: checking for u_int32_t" >&5
13419 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
13420 if test "${ac_cv_type_u_int32_t+set}" = set; then
13421 echo $ECHO_N "(cached) $ECHO_C" >&6
13423 cat >conftest.
$ac_ext <<_ACEOF
13426 cat confdefs.h
>>conftest.
$ac_ext
13427 cat >>conftest.
$ac_ext <<_ACEOF
13428 /* end confdefs.h. */
13429 #include <sys/types.h>
13435 if ((u_int32_t *) 0)
13437 if (sizeof (u_int32_t))
13443 rm -f conftest.
$ac_objext
13444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13445 (eval $ac_compile) 2>conftest.er1
13447 grep -v '^ *+' conftest.er1
>conftest.err
13449 cat conftest.err
>&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } &&
13452 { ac_try
='test -z "$ac_c_werror_flag"
13453 || test ! -s conftest.err'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; } &&
13459 { ac_try
='test -s conftest.$ac_objext'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; }; then
13465 ac_cv_type_u_int32_t
=yes
13467 echo "$as_me: failed program was:" >&5
13468 sed 's/^/| /' conftest.
$ac_ext >&5
13470 ac_cv_type_u_int32_t
=no
13472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13474 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
13475 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
13476 if test $ac_cv_type_u_int32_t = yes; then
13477 acx_cv_header_stdint
=$i
13482 echo "$as_me:$LINENO: checking for u_int64_t" >&5
13483 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
13484 if test "${ac_cv_type_u_int64_t+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13487 cat >conftest.
$ac_ext <<_ACEOF
13490 cat confdefs.h
>>conftest.
$ac_ext
13491 cat >>conftest.
$ac_ext <<_ACEOF
13492 /* end confdefs.h. */
13493 #include <sys/types.h>
13499 if ((u_int64_t *) 0)
13501 if (sizeof (u_int64_t))
13507 rm -f conftest.
$ac_objext
13508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13509 (eval $ac_compile) 2>conftest.er1
13511 grep -v '^ *+' conftest.er1
>conftest.err
13513 cat conftest.err
>&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); } &&
13516 { ac_try
='test -z "$ac_c_werror_flag"
13517 || test ! -s conftest.err'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; } &&
13523 { ac_try
='test -s conftest.$ac_objext'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; }; then
13529 ac_cv_type_u_int64_t
=yes
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.
$ac_ext >&5
13534 ac_cv_type_u_int64_t
=no
13536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13538 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
13539 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
13540 if test $ac_cv_type_u_int64_t = yes; then
13543 acx_cv_header_stdint_kind
="(u_intXX_t style, lacks u_int64_t)"
13549 if test "$acx_cv_header_stdint" = stddef.h
; then
13550 acx_cv_header_stdint_kind
="(using manual detection)"
13553 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
13554 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
13555 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
13556 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
13557 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
13559 # ----------------- Summarize what we found so far
13561 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
13562 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
13564 case `$as_basename gdb_stdint.h ||
13565 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
13566 Xgdb_stdint.h : 'X\(//\)$' \| \
13567 Xgdb_stdint.h : 'X\(/\)$' \| \
13568 . : '\(.\)' 2>/dev/null ||
13569 echo X/gdb_stdint.h |
13570 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13571 /^X\/\(\/\/\)$/{ s//\1/; q; }
13572 /^X\/\(\/\).*/{ s//\1/; q; }
13574 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13575 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13576 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
13577 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
13581 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
13582 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
13584 # ----------------- done included file, check C basic types --------
13586 # Lacking an uintptr_t? Test size of void *
13587 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
13588 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
13589 echo $ECHO_N "checking for void *... $ECHO_C" >&6
13590 if test "${ac_cv_type_void_p+set}" = set; then
13591 echo $ECHO_N "(cached) $ECHO_C" >&6
13593 cat >conftest.
$ac_ext <<_ACEOF
13596 cat confdefs.h
>>conftest.
$ac_ext
13597 cat >>conftest.
$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 $ac_includes_default
13605 if (sizeof (void *))
13611 rm -f conftest.
$ac_objext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13613 (eval $ac_compile) 2>conftest.er1
13615 grep -v '^ *+' conftest.er1
>conftest.err
13617 cat conftest.err
>&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try
='test -z "$ac_c_werror_flag"
13621 || test ! -s conftest.err'
13622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13623 (eval $ac_try) 2>&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); }; } &&
13627 { ac_try
='test -s conftest.$ac_objext'
13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13629 (eval $ac_try) 2>&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }; }; then
13633 ac_cv_type_void_p
=yes
13635 echo "$as_me: failed program was:" >&5
13636 sed 's/^/| /' conftest.
$ac_ext >&5
13638 ac_cv_type_void_p
=no
13640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13642 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
13643 echo "${ECHO_T}$ac_cv_type_void_p" >&6
13645 echo "$as_me:$LINENO: checking size of void *" >&5
13646 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
13647 if test "${ac_cv_sizeof_void_p+set}" = set; then
13648 echo $ECHO_N "(cached) $ECHO_C" >&6
13650 if test "$ac_cv_type_void_p" = yes; then
13651 # The cast to unsigned long works around a bug in the HP C Compiler
13652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13654 # This bug is HP SR number 8606223364.
13655 if test "$cross_compiling" = yes; then
13656 # Depending upon the size, compute the lo and hi bounds.
13657 cat >conftest.
$ac_ext <<_ACEOF
13660 cat confdefs.h
>>conftest.
$ac_ext
13661 cat >>conftest.
$ac_ext <<_ACEOF
13662 /* end confdefs.h. */
13663 $ac_includes_default
13667 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
13674 rm -f conftest.
$ac_objext
13675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13676 (eval $ac_compile) 2>conftest.er1
13678 grep -v '^ *+' conftest.er1
>conftest.err
13680 cat conftest.err
>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); } &&
13683 { ac_try
='test -z "$ac_c_werror_flag"
13684 || test ! -s conftest.err'
13685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686 (eval $ac_try) 2>&5
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; } &&
13690 { ac_try
='test -s conftest.$ac_objext'
13691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13692 (eval $ac_try) 2>&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); }; }; then
13698 cat >conftest.
$ac_ext <<_ACEOF
13701 cat confdefs.h
>>conftest.
$ac_ext
13702 cat >>conftest.
$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704 $ac_includes_default
13708 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13715 rm -f conftest.
$ac_objext
13716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13717 (eval $ac_compile) 2>conftest.er1
13719 grep -v '^ *+' conftest.er1
>conftest.err
13721 cat conftest.err
>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); } &&
13724 { ac_try
='test -z "$ac_c_werror_flag"
13725 || test ! -s conftest.err'
13726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13727 (eval $ac_try) 2>&5
13729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 (exit $ac_status); }; } &&
13731 { ac_try
='test -s conftest.$ac_objext'
13732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13733 (eval $ac_try) 2>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); }; }; then
13737 ac_hi
=$ac_mid; break
13739 echo "$as_me: failed program was:" >&5
13740 sed 's/^/| /' conftest.
$ac_ext >&5
13742 ac_lo
=`expr $ac_mid + 1`
13743 if test $ac_lo -le $ac_mid; then
13747 ac_mid
=`expr 2 '*' $ac_mid + 1`
13749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13752 echo "$as_me: failed program was:" >&5
13753 sed 's/^/| /' conftest.
$ac_ext >&5
13755 cat >conftest.
$ac_ext <<_ACEOF
13758 cat confdefs.h
>>conftest.
$ac_ext
13759 cat >>conftest.
$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13761 $ac_includes_default
13765 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
13772 rm -f conftest.
$ac_objext
13773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13774 (eval $ac_compile) 2>conftest.er1
13776 grep -v '^ *+' conftest.er1
>conftest.err
13778 cat conftest.err
>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } &&
13781 { ac_try
='test -z "$ac_c_werror_flag"
13782 || test ! -s conftest.err'
13783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13784 (eval $ac_try) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; } &&
13788 { ac_try
='test -s conftest.$ac_objext'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; }; then
13796 cat >conftest.
$ac_ext <<_ACEOF
13799 cat confdefs.h
>>conftest.
$ac_ext
13800 cat >>conftest.
$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13802 $ac_includes_default
13806 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
13813 rm -f conftest.
$ac_objext
13814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13815 (eval $ac_compile) 2>conftest.er1
13817 grep -v '^ *+' conftest.er1
>conftest.err
13819 cat conftest.err
>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } &&
13822 { ac_try
='test -z "$ac_c_werror_flag"
13823 || test ! -s conftest.err'
13824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13825 (eval $ac_try) 2>&5
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); }; } &&
13829 { ac_try
='test -s conftest.$ac_objext'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; }; then
13835 ac_lo
=$ac_mid; break
13837 echo "$as_me: failed program was:" >&5
13838 sed 's/^/| /' conftest.
$ac_ext >&5
13840 ac_hi
=`expr '(' $ac_mid ')' - 1`
13841 if test $ac_mid -le $ac_hi; then
13845 ac_mid
=`expr 2 '*' $ac_mid`
13847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13850 echo "$as_me: failed program was:" >&5
13851 sed 's/^/| /' conftest.
$ac_ext >&5
13855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13858 # Binary search between lo and hi bounds.
13859 while test "x$ac_lo" != "x$ac_hi"; do
13860 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13861 cat >conftest.
$ac_ext <<_ACEOF
13864 cat confdefs.h
>>conftest.
$ac_ext
13865 cat >>conftest.
$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 $ac_includes_default
13871 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
13878 rm -f conftest.
$ac_objext
13879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13880 (eval $ac_compile) 2>conftest.er1
13882 grep -v '^ *+' conftest.er1
>conftest.err
13884 cat conftest.err
>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); } &&
13887 { ac_try
='test -z "$ac_c_werror_flag"
13888 || test ! -s conftest.err'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; } &&
13894 { ac_try
='test -s conftest.$ac_objext'
13895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13896 (eval $ac_try) 2>&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); }; }; then
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.
$ac_ext >&5
13905 ac_lo
=`expr '(' $ac_mid ')' + 1`
13907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13910 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
13911 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13912 See \`config.log' for more details." >&5
13913 echo "$as_me: error: cannot compute sizeof (void *), 77
13914 See \`config.log' for more details." >&2;}
13915 { (exit 1); exit 1; }; } ;;
13918 if test "$cross_compiling" = yes; then
13919 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13920 See \`config.log' for more details." >&5
13921 echo "$as_me: error: cannot run test program while cross compiling
13922 See \`config.log' for more details." >&2;}
13923 { (exit 1); exit 1; }; }
13925 cat >conftest.
$ac_ext <<_ACEOF
13928 cat confdefs.h
>>conftest.
$ac_ext
13929 cat >>conftest.
$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 $ac_includes_default
13932 long longval () { return (long) (sizeof (void *)); }
13933 unsigned long ulongval () { return (long) (sizeof (void *)); }
13935 #include <stdlib.h>
13940 FILE *f = fopen ("conftest.val", "w");
13943 if (((long) (sizeof (void *))) < 0)
13945 long i = longval ();
13946 if (i != ((long) (sizeof (void *))))
13948 fprintf (f, "%ld\n", i);
13952 unsigned long i = ulongval ();
13953 if (i != ((long) (sizeof (void *))))
13955 fprintf (f, "%lu\n", i);
13957 exit (ferror (f) || fclose (f) != 0);
13963 rm -f conftest
$ac_exeext
13964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13965 (eval $ac_link) 2>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
13974 ac_cv_sizeof_void_p
=`cat conftest.val`
13976 echo "$as_me: program exited with status $ac_status" >&5
13977 echo "$as_me: failed program was:" >&5
13978 sed 's/^/| /' conftest.
$ac_ext >&5
13980 ( exit $ac_status )
13981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
13982 See \`config.log' for more details." >&5
13983 echo "$as_me: error: cannot compute sizeof (void *), 77
13984 See \`config.log' for more details." >&2;}
13985 { (exit 1); exit 1; }; }
13987 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13992 ac_cv_sizeof_void_p
=0
13995 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
13996 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
13997 cat >>confdefs.h
<<_ACEOF
13998 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14004 # Lacking an uint64_t? Test size of long
14005 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
14006 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
14007 echo $ECHO_N "checking for long... $ECHO_C" >&6
14008 if test "${ac_cv_type_long+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14011 cat >conftest.
$ac_ext <<_ACEOF
14014 cat confdefs.h
>>conftest.
$ac_ext
14015 cat >>conftest.
$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14017 $ac_includes_default
14029 rm -f conftest.
$ac_objext
14030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14031 (eval $ac_compile) 2>conftest.er1
14033 grep -v '^ *+' conftest.er1
>conftest.err
14035 cat conftest.err
>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); } &&
14038 { ac_try
='test -z "$ac_c_werror_flag"
14039 || test ! -s conftest.err'
14040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 (eval $ac_try) 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; } &&
14045 { ac_try
='test -s conftest.$ac_objext'
14046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14047 (eval $ac_try) 2>&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }; }; then
14051 ac_cv_type_long
=yes
14053 echo "$as_me: failed program was:" >&5
14054 sed 's/^/| /' conftest.
$ac_ext >&5
14058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14060 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14061 echo "${ECHO_T}$ac_cv_type_long" >&6
14063 echo "$as_me:$LINENO: checking size of long" >&5
14064 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14065 if test "${ac_cv_sizeof_long+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 if test "$ac_cv_type_long" = yes; then
14069 # The cast to unsigned long works around a bug in the HP C Compiler
14070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14072 # This bug is HP SR number 8606223364.
14073 if test "$cross_compiling" = yes; then
14074 # Depending upon the size, compute the lo and hi bounds.
14075 cat >conftest.
$ac_ext <<_ACEOF
14078 cat confdefs.h
>>conftest.
$ac_ext
14079 cat >>conftest.
$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081 $ac_includes_default
14085 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14092 rm -f conftest.
$ac_objext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14094 (eval $ac_compile) 2>conftest.er1
14096 grep -v '^ *+' conftest.er1
>conftest.err
14098 cat conftest.err
>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try
='test -z "$ac_c_werror_flag"
14102 || test ! -s conftest.err'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } &&
14108 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14116 cat >conftest.
$ac_ext <<_ACEOF
14119 cat confdefs.h
>>conftest.
$ac_ext
14120 cat >>conftest.
$ac_ext <<_ACEOF
14121 /* end confdefs.h. */
14122 $ac_includes_default
14126 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14133 rm -f conftest.
$ac_objext
14134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14135 (eval $ac_compile) 2>conftest.er1
14137 grep -v '^ *+' conftest.er1
>conftest.err
14139 cat conftest.err
>&5
14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); } &&
14142 { ac_try
='test -z "$ac_c_werror_flag"
14143 || test ! -s conftest.err'
14144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14145 (eval $ac_try) 2>&5
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); }; } &&
14149 { ac_try
='test -s conftest.$ac_objext'
14150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151 (eval $ac_try) 2>&5
14153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154 (exit $ac_status); }; }; then
14155 ac_hi
=$ac_mid; break
14157 echo "$as_me: failed program was:" >&5
14158 sed 's/^/| /' conftest.
$ac_ext >&5
14160 ac_lo
=`expr $ac_mid + 1`
14161 if test $ac_lo -le $ac_mid; then
14165 ac_mid
=`expr 2 '*' $ac_mid + 1`
14167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14170 echo "$as_me: failed program was:" >&5
14171 sed 's/^/| /' conftest.
$ac_ext >&5
14173 cat >conftest.
$ac_ext <<_ACEOF
14176 cat confdefs.h
>>conftest.
$ac_ext
14177 cat >>conftest.
$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14179 $ac_includes_default
14183 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
14190 rm -f conftest.
$ac_objext
14191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14192 (eval $ac_compile) 2>conftest.er1
14194 grep -v '^ *+' conftest.er1
>conftest.err
14196 cat conftest.err
>&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } &&
14199 { ac_try
='test -z "$ac_c_werror_flag"
14200 || test ! -s conftest.err'
14201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14202 (eval $ac_try) 2>&5
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); }; } &&
14206 { ac_try
='test -s conftest.$ac_objext'
14207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208 (eval $ac_try) 2>&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; }; then
14214 cat >conftest.
$ac_ext <<_ACEOF
14217 cat confdefs.h
>>conftest.
$ac_ext
14218 cat >>conftest.
$ac_ext <<_ACEOF
14219 /* end confdefs.h. */
14220 $ac_includes_default
14224 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
14231 rm -f conftest.
$ac_objext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>conftest.er1
14235 grep -v '^ *+' conftest.er1
>conftest.err
14237 cat conftest.err
>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); } &&
14240 { ac_try
='test -z "$ac_c_werror_flag"
14241 || test ! -s conftest.err'
14242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14243 (eval $ac_try) 2>&5
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); }; } &&
14247 { ac_try
='test -s conftest.$ac_objext'
14248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14249 (eval $ac_try) 2>&5
14251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14252 (exit $ac_status); }; }; then
14253 ac_lo
=$ac_mid; break
14255 echo "$as_me: failed program was:" >&5
14256 sed 's/^/| /' conftest.
$ac_ext >&5
14258 ac_hi
=`expr '(' $ac_mid ')' - 1`
14259 if test $ac_mid -le $ac_hi; then
14263 ac_mid
=`expr 2 '*' $ac_mid`
14265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.
$ac_ext >&5
14273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14276 # Binary search between lo and hi bounds.
14277 while test "x$ac_lo" != "x$ac_hi"; do
14278 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14279 cat >conftest.
$ac_ext <<_ACEOF
14282 cat confdefs.h
>>conftest.
$ac_ext
14283 cat >>conftest.
$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14285 $ac_includes_default
14289 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
14296 rm -f conftest.
$ac_objext
14297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14298 (eval $ac_compile) 2>conftest.er1
14300 grep -v '^ *+' conftest.er1
>conftest.err
14302 cat conftest.err
>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } &&
14305 { ac_try
='test -z "$ac_c_werror_flag"
14306 || test ! -s conftest.err'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; } &&
14312 { ac_try
='test -s conftest.$ac_objext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14320 echo "$as_me: failed program was:" >&5
14321 sed 's/^/| /' conftest.
$ac_ext >&5
14323 ac_lo
=`expr '(' $ac_mid ')' + 1`
14325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14328 ?
*) ac_cv_sizeof_long
=$ac_lo;;
14329 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14330 See \`config.log' for more details." >&5
14331 echo "$as_me: error: cannot compute sizeof (long), 77
14332 See \`config.log' for more details." >&2;}
14333 { (exit 1); exit 1; }; } ;;
14336 if test "$cross_compiling" = yes; then
14337 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14338 See \`config.log' for more details." >&5
14339 echo "$as_me: error: cannot run test program while cross compiling
14340 See \`config.log' for more details." >&2;}
14341 { (exit 1); exit 1; }; }
14343 cat >conftest.
$ac_ext <<_ACEOF
14346 cat confdefs.h
>>conftest.
$ac_ext
14347 cat >>conftest.
$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349 $ac_includes_default
14350 long longval () { return (long) (sizeof (long)); }
14351 unsigned long ulongval () { return (long) (sizeof (long)); }
14353 #include <stdlib.h>
14358 FILE *f = fopen ("conftest.val", "w");
14361 if (((long) (sizeof (long))) < 0)
14363 long i = longval ();
14364 if (i != ((long) (sizeof (long))))
14366 fprintf (f, "%ld\n", i);
14370 unsigned long i = ulongval ();
14371 if (i != ((long) (sizeof (long))))
14373 fprintf (f, "%lu\n", i);
14375 exit (ferror (f) || fclose (f) != 0);
14381 rm -f conftest
$ac_exeext
14382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14383 (eval $ac_link) 2>&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; }; then
14392 ac_cv_sizeof_long
=`cat conftest.val`
14394 echo "$as_me: program exited with status $ac_status" >&5
14395 echo "$as_me: failed program was:" >&5
14396 sed 's/^/| /' conftest.
$ac_ext >&5
14398 ( exit $ac_status )
14399 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
14400 See \`config.log' for more details." >&5
14401 echo "$as_me: error: cannot compute sizeof (long), 77
14402 See \`config.log' for more details." >&2;}
14403 { (exit 1); exit 1; }; }
14405 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14410 ac_cv_sizeof_long
=0
14413 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
14414 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
14415 cat >>confdefs.h
<<_ACEOF
14416 #define SIZEOF_LONG $ac_cv_sizeof_long
14422 if test $acx_cv_header_stdint = stddef.h
; then
14423 # Lacking a good header? Test size of everything and deduce all types.
14424 echo "$as_me:$LINENO: checking for int" >&5
14425 echo $ECHO_N "checking for int... $ECHO_C" >&6
14426 if test "${ac_cv_type_int+set}" = set; then
14427 echo $ECHO_N "(cached) $ECHO_C" >&6
14429 cat >conftest.
$ac_ext <<_ACEOF
14432 cat confdefs.h
>>conftest.
$ac_ext
14433 cat >>conftest.
$ac_ext <<_ACEOF
14434 /* end confdefs.h. */
14435 $ac_includes_default
14447 rm -f conftest.
$ac_objext
14448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14449 (eval $ac_compile) 2>conftest.er1
14451 grep -v '^ *+' conftest.er1
>conftest.err
14453 cat conftest.err
>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); } &&
14456 { ac_try
='test -z "$ac_c_werror_flag"
14457 || test ! -s conftest.err'
14458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14459 (eval $ac_try) 2>&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); }; } &&
14463 { ac_try
='test -s conftest.$ac_objext'
14464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14465 (eval $ac_try) 2>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); }; }; then
14471 echo "$as_me: failed program was:" >&5
14472 sed 's/^/| /' conftest.
$ac_ext >&5
14476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14478 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14479 echo "${ECHO_T}$ac_cv_type_int" >&6
14481 echo "$as_me:$LINENO: checking size of int" >&5
14482 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14483 if test "${ac_cv_sizeof_int+set}" = set; then
14484 echo $ECHO_N "(cached) $ECHO_C" >&6
14486 if test "$ac_cv_type_int" = yes; then
14487 # The cast to unsigned long works around a bug in the HP C Compiler
14488 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14489 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14490 # This bug is HP SR number 8606223364.
14491 if test "$cross_compiling" = yes; then
14492 # Depending upon the size, compute the lo and hi bounds.
14493 cat >conftest.
$ac_ext <<_ACEOF
14496 cat confdefs.h
>>conftest.
$ac_ext
14497 cat >>conftest.
$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14499 $ac_includes_default
14503 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14510 rm -f conftest.
$ac_objext
14511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14512 (eval $ac_compile) 2>conftest.er1
14514 grep -v '^ *+' conftest.er1
>conftest.err
14516 cat conftest.err
>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); } &&
14519 { ac_try
='test -z "$ac_c_werror_flag"
14520 || test ! -s conftest.err'
14521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14522 (eval $ac_try) 2>&5
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); }; } &&
14526 { ac_try
='test -s conftest.$ac_objext'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; }; then
14534 cat >conftest.
$ac_ext <<_ACEOF
14537 cat confdefs.h
>>conftest.
$ac_ext
14538 cat >>conftest.
$ac_ext <<_ACEOF
14539 /* end confdefs.h. */
14540 $ac_includes_default
14544 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14551 rm -f conftest.
$ac_objext
14552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14553 (eval $ac_compile) 2>conftest.er1
14555 grep -v '^ *+' conftest.er1
>conftest.err
14557 cat conftest.err
>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); } &&
14560 { ac_try
='test -z "$ac_c_werror_flag"
14561 || test ! -s conftest.err'
14562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14563 (eval $ac_try) 2>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); }; } &&
14567 { ac_try
='test -s conftest.$ac_objext'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; }; then
14573 ac_hi
=$ac_mid; break
14575 echo "$as_me: failed program was:" >&5
14576 sed 's/^/| /' conftest.
$ac_ext >&5
14578 ac_lo
=`expr $ac_mid + 1`
14579 if test $ac_lo -le $ac_mid; then
14583 ac_mid
=`expr 2 '*' $ac_mid + 1`
14585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14588 echo "$as_me: failed program was:" >&5
14589 sed 's/^/| /' conftest.
$ac_ext >&5
14591 cat >conftest.
$ac_ext <<_ACEOF
14594 cat confdefs.h
>>conftest.
$ac_ext
14595 cat >>conftest.
$ac_ext <<_ACEOF
14596 /* end confdefs.h. */
14597 $ac_includes_default
14601 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14608 rm -f conftest.
$ac_objext
14609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14610 (eval $ac_compile) 2>conftest.er1
14612 grep -v '^ *+' conftest.er1
>conftest.err
14614 cat conftest.err
>&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); } &&
14617 { ac_try
='test -z "$ac_c_werror_flag"
14618 || test ! -s conftest.err'
14619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14620 (eval $ac_try) 2>&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); }; } &&
14624 { ac_try
='test -s conftest.$ac_objext'
14625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14626 (eval $ac_try) 2>&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); }; }; then
14632 cat >conftest.
$ac_ext <<_ACEOF
14635 cat confdefs.h
>>conftest.
$ac_ext
14636 cat >>conftest.
$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14638 $ac_includes_default
14642 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14649 rm -f conftest.
$ac_objext
14650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14651 (eval $ac_compile) 2>conftest.er1
14653 grep -v '^ *+' conftest.er1
>conftest.err
14655 cat conftest.err
>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try
='test -z "$ac_c_werror_flag"
14659 || test ! -s conftest.err'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; } &&
14665 { ac_try
='test -s conftest.$ac_objext'
14666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667 (eval $ac_try) 2>&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; }; then
14671 ac_lo
=$ac_mid; break
14673 echo "$as_me: failed program was:" >&5
14674 sed 's/^/| /' conftest.
$ac_ext >&5
14676 ac_hi
=`expr '(' $ac_mid ')' - 1`
14677 if test $ac_mid -le $ac_hi; then
14681 ac_mid
=`expr 2 '*' $ac_mid`
14683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14686 echo "$as_me: failed program was:" >&5
14687 sed 's/^/| /' conftest.
$ac_ext >&5
14691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14694 # Binary search between lo and hi bounds.
14695 while test "x$ac_lo" != "x$ac_hi"; do
14696 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14697 cat >conftest.
$ac_ext <<_ACEOF
14700 cat confdefs.h
>>conftest.
$ac_ext
14701 cat >>conftest.
$ac_ext <<_ACEOF
14702 /* end confdefs.h. */
14703 $ac_includes_default
14707 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14714 rm -f conftest.
$ac_objext
14715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14716 (eval $ac_compile) 2>conftest.er1
14718 grep -v '^ *+' conftest.er1
>conftest.err
14720 cat conftest.err
>&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); } &&
14723 { ac_try
='test -z "$ac_c_werror_flag"
14724 || test ! -s conftest.err'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; } &&
14730 { ac_try
='test -s conftest.$ac_objext'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; }; then
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.
$ac_ext >&5
14741 ac_lo
=`expr '(' $ac_mid ')' + 1`
14743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14746 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14747 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14748 See \`config.log' for more details." >&5
14749 echo "$as_me: error: cannot compute sizeof (int), 77
14750 See \`config.log' for more details." >&2;}
14751 { (exit 1); exit 1; }; } ;;
14754 if test "$cross_compiling" = yes; then
14755 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14756 See \`config.log' for more details." >&5
14757 echo "$as_me: error: cannot run test program while cross compiling
14758 See \`config.log' for more details." >&2;}
14759 { (exit 1); exit 1; }; }
14761 cat >conftest.
$ac_ext <<_ACEOF
14764 cat confdefs.h
>>conftest.
$ac_ext
14765 cat >>conftest.
$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14767 $ac_includes_default
14768 long longval () { return (long) (sizeof (int)); }
14769 unsigned long ulongval () { return (long) (sizeof (int)); }
14771 #include <stdlib.h>
14776 FILE *f = fopen ("conftest.val", "w");
14779 if (((long) (sizeof (int))) < 0)
14781 long i = longval ();
14782 if (i != ((long) (sizeof (int))))
14784 fprintf (f, "%ld\n", i);
14788 unsigned long i = ulongval ();
14789 if (i != ((long) (sizeof (int))))
14791 fprintf (f, "%lu\n", i);
14793 exit (ferror (f) || fclose (f) != 0);
14799 rm -f conftest
$ac_exeext
14800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14801 (eval $ac_link) 2>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; }; then
14810 ac_cv_sizeof_int
=`cat conftest.val`
14812 echo "$as_me: program exited with status $ac_status" >&5
14813 echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.
$ac_ext >&5
14816 ( exit $ac_status )
14817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14818 See \`config.log' for more details." >&5
14819 echo "$as_me: error: cannot compute sizeof (int), 77
14820 See \`config.log' for more details." >&2;}
14821 { (exit 1); exit 1; }; }
14823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14832 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14833 cat >>confdefs.h
<<_ACEOF
14834 #define SIZEOF_INT $ac_cv_sizeof_int
14838 echo "$as_me:$LINENO: checking for short" >&5
14839 echo $ECHO_N "checking for short... $ECHO_C" >&6
14840 if test "${ac_cv_type_short+set}" = set; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14843 cat >conftest.
$ac_ext <<_ACEOF
14846 cat confdefs.h
>>conftest.
$ac_ext
14847 cat >>conftest.
$ac_ext <<_ACEOF
14848 /* end confdefs.h. */
14849 $ac_includes_default
14855 if (sizeof (short))
14861 rm -f conftest.
$ac_objext
14862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14863 (eval $ac_compile) 2>conftest.er1
14865 grep -v '^ *+' conftest.er1
>conftest.err
14867 cat conftest.err
>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } &&
14870 { ac_try
='test -z "$ac_c_werror_flag"
14871 || test ! -s conftest.err'
14872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14873 (eval $ac_try) 2>&5
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; } &&
14877 { ac_try
='test -s conftest.$ac_objext'
14878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14879 (eval $ac_try) 2>&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); }; }; then
14883 ac_cv_type_short
=yes
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.
$ac_ext >&5
14888 ac_cv_type_short
=no
14890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14892 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14893 echo "${ECHO_T}$ac_cv_type_short" >&6
14895 echo "$as_me:$LINENO: checking size of short" >&5
14896 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14897 if test "${ac_cv_sizeof_short+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14900 if test "$ac_cv_type_short" = yes; then
14901 # The cast to unsigned long works around a bug in the HP C Compiler
14902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14904 # This bug is HP SR number 8606223364.
14905 if test "$cross_compiling" = yes; then
14906 # Depending upon the size, compute the lo and hi bounds.
14907 cat >conftest.
$ac_ext <<_ACEOF
14910 cat confdefs.h
>>conftest.
$ac_ext
14911 cat >>conftest.
$ac_ext <<_ACEOF
14912 /* end confdefs.h. */
14913 $ac_includes_default
14917 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14924 rm -f conftest.
$ac_objext
14925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14926 (eval $ac_compile) 2>conftest.er1
14928 grep -v '^ *+' conftest.er1
>conftest.err
14930 cat conftest.err
>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); } &&
14933 { ac_try
='test -z "$ac_c_werror_flag"
14934 || test ! -s conftest.err'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; } &&
14940 { ac_try
='test -s conftest.$ac_objext'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; }; then
14948 cat >conftest.
$ac_ext <<_ACEOF
14951 cat confdefs.h
>>conftest.
$ac_ext
14952 cat >>conftest.
$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 $ac_includes_default
14958 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14965 rm -f conftest.
$ac_objext
14966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14967 (eval $ac_compile) 2>conftest.er1
14969 grep -v '^ *+' conftest.er1
>conftest.err
14971 cat conftest.err
>&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } &&
14974 { ac_try
='test -z "$ac_c_werror_flag"
14975 || test ! -s conftest.err'
14976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14977 (eval $ac_try) 2>&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); }; } &&
14981 { ac_try
='test -s conftest.$ac_objext'
14982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14983 (eval $ac_try) 2>&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); }; }; then
14987 ac_hi
=$ac_mid; break
14989 echo "$as_me: failed program was:" >&5
14990 sed 's/^/| /' conftest.
$ac_ext >&5
14992 ac_lo
=`expr $ac_mid + 1`
14993 if test $ac_lo -le $ac_mid; then
14997 ac_mid
=`expr 2 '*' $ac_mid + 1`
14999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15002 echo "$as_me: failed program was:" >&5
15003 sed 's/^/| /' conftest.
$ac_ext >&5
15005 cat >conftest.
$ac_ext <<_ACEOF
15008 cat confdefs.h
>>conftest.
$ac_ext
15009 cat >>conftest.
$ac_ext <<_ACEOF
15010 /* end confdefs.h. */
15011 $ac_includes_default
15015 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15022 rm -f conftest.
$ac_objext
15023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15024 (eval $ac_compile) 2>conftest.er1
15026 grep -v '^ *+' conftest.er1
>conftest.err
15028 cat conftest.err
>&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); } &&
15031 { ac_try
='test -z "$ac_c_werror_flag"
15032 || test ! -s conftest.err'
15033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15034 (eval $ac_try) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); }; } &&
15038 { ac_try
='test -s conftest.$ac_objext'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; }; then
15046 cat >conftest.
$ac_ext <<_ACEOF
15049 cat confdefs.h
>>conftest.
$ac_ext
15050 cat >>conftest.
$ac_ext <<_ACEOF
15051 /* end confdefs.h. */
15052 $ac_includes_default
15056 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15063 rm -f conftest.
$ac_objext
15064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15065 (eval $ac_compile) 2>conftest.er1
15067 grep -v '^ *+' conftest.er1
>conftest.err
15069 cat conftest.err
>&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); } &&
15072 { ac_try
='test -z "$ac_c_werror_flag"
15073 || test ! -s conftest.err'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; } &&
15079 { ac_try
='test -s conftest.$ac_objext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 ac_lo
=$ac_mid; break
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.
$ac_ext >&5
15090 ac_hi
=`expr '(' $ac_mid ')' - 1`
15091 if test $ac_mid -le $ac_hi; then
15095 ac_mid
=`expr 2 '*' $ac_mid`
15097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15100 echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.
$ac_ext >&5
15105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15108 # Binary search between lo and hi bounds.
15109 while test "x$ac_lo" != "x$ac_hi"; do
15110 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15111 cat >conftest.
$ac_ext <<_ACEOF
15114 cat confdefs.h
>>conftest.
$ac_ext
15115 cat >>conftest.
$ac_ext <<_ACEOF
15116 /* end confdefs.h. */
15117 $ac_includes_default
15121 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15128 rm -f conftest.
$ac_objext
15129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15130 (eval $ac_compile) 2>conftest.er1
15132 grep -v '^ *+' conftest.er1
>conftest.err
15134 cat conftest.err
>&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); } &&
15137 { ac_try
='test -z "$ac_c_werror_flag"
15138 || test ! -s conftest.err'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; } &&
15144 { ac_try
='test -s conftest.$ac_objext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.
$ac_ext >&5
15155 ac_lo
=`expr '(' $ac_mid ')' + 1`
15157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15160 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15161 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15162 See \`config.log' for more details." >&5
15163 echo "$as_me: error: cannot compute sizeof (short), 77
15164 See \`config.log' for more details." >&2;}
15165 { (exit 1); exit 1; }; } ;;
15168 if test "$cross_compiling" = yes; then
15169 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15170 See \`config.log' for more details." >&5
15171 echo "$as_me: error: cannot run test program while cross compiling
15172 See \`config.log' for more details." >&2;}
15173 { (exit 1); exit 1; }; }
15175 cat >conftest.
$ac_ext <<_ACEOF
15178 cat confdefs.h
>>conftest.
$ac_ext
15179 cat >>conftest.
$ac_ext <<_ACEOF
15180 /* end confdefs.h. */
15181 $ac_includes_default
15182 long longval () { return (long) (sizeof (short)); }
15183 unsigned long ulongval () { return (long) (sizeof (short)); }
15185 #include <stdlib.h>
15190 FILE *f = fopen ("conftest.val", "w");
15193 if (((long) (sizeof (short))) < 0)
15195 long i = longval ();
15196 if (i != ((long) (sizeof (short))))
15198 fprintf (f, "%ld\n", i);
15202 unsigned long i = ulongval ();
15203 if (i != ((long) (sizeof (short))))
15205 fprintf (f, "%lu\n", i);
15207 exit (ferror (f) || fclose (f) != 0);
15213 rm -f conftest
$ac_exeext
15214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15215 (eval $ac_link) 2>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15220 (eval $ac_try) 2>&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); }; }; then
15224 ac_cv_sizeof_short
=`cat conftest.val`
15226 echo "$as_me: program exited with status $ac_status" >&5
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.
$ac_ext >&5
15230 ( exit $ac_status )
15231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15232 See \`config.log' for more details." >&5
15233 echo "$as_me: error: cannot compute sizeof (short), 77
15234 See \`config.log' for more details." >&2;}
15235 { (exit 1); exit 1; }; }
15237 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15242 ac_cv_sizeof_short
=0
15245 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15246 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15247 cat >>confdefs.h
<<_ACEOF
15248 #define SIZEOF_SHORT $ac_cv_sizeof_short
15252 echo "$as_me:$LINENO: checking for char" >&5
15253 echo $ECHO_N "checking for char... $ECHO_C" >&6
15254 if test "${ac_cv_type_char+set}" = set; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15257 cat >conftest.
$ac_ext <<_ACEOF
15260 cat confdefs.h
>>conftest.
$ac_ext
15261 cat >>conftest.
$ac_ext <<_ACEOF
15262 /* end confdefs.h. */
15263 $ac_includes_default
15275 rm -f conftest.
$ac_objext
15276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15277 (eval $ac_compile) 2>conftest.er1
15279 grep -v '^ *+' conftest.er1
>conftest.err
15281 cat conftest.err
>&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); } &&
15284 { ac_try
='test -z "$ac_c_werror_flag"
15285 || test ! -s conftest.err'
15286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15287 (eval $ac_try) 2>&5
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); }; } &&
15291 { ac_try
='test -s conftest.$ac_objext'
15292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15293 (eval $ac_try) 2>&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); }; }; then
15297 ac_cv_type_char
=yes
15299 echo "$as_me: failed program was:" >&5
15300 sed 's/^/| /' conftest.
$ac_ext >&5
15304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15306 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15307 echo "${ECHO_T}$ac_cv_type_char" >&6
15309 echo "$as_me:$LINENO: checking size of char" >&5
15310 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15311 if test "${ac_cv_sizeof_char+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15314 if test "$ac_cv_type_char" = yes; then
15315 # The cast to unsigned long works around a bug in the HP C Compiler
15316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15318 # This bug is HP SR number 8606223364.
15319 if test "$cross_compiling" = yes; then
15320 # Depending upon the size, compute the lo and hi bounds.
15321 cat >conftest.
$ac_ext <<_ACEOF
15324 cat confdefs.h
>>conftest.
$ac_ext
15325 cat >>conftest.
$ac_ext <<_ACEOF
15326 /* end confdefs.h. */
15327 $ac_includes_default
15331 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15338 rm -f conftest.
$ac_objext
15339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15340 (eval $ac_compile) 2>conftest.er1
15342 grep -v '^ *+' conftest.er1
>conftest.err
15344 cat conftest.err
>&5
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); } &&
15347 { ac_try
='test -z "$ac_c_werror_flag"
15348 || test ! -s conftest.err'
15349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15350 (eval $ac_try) 2>&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); }; } &&
15354 { ac_try
='test -s conftest.$ac_objext'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; }; then
15362 cat >conftest.
$ac_ext <<_ACEOF
15365 cat confdefs.h
>>conftest.
$ac_ext
15366 cat >>conftest.
$ac_ext <<_ACEOF
15367 /* end confdefs.h. */
15368 $ac_includes_default
15372 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15379 rm -f conftest.
$ac_objext
15380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15381 (eval $ac_compile) 2>conftest.er1
15383 grep -v '^ *+' conftest.er1
>conftest.err
15385 cat conftest.err
>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try
='test -z "$ac_c_werror_flag"
15389 || test ! -s conftest.err'
15390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15391 (eval $ac_try) 2>&5
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); }; } &&
15395 { ac_try
='test -s conftest.$ac_objext'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; }; then
15401 ac_hi
=$ac_mid; break
15403 echo "$as_me: failed program was:" >&5
15404 sed 's/^/| /' conftest.
$ac_ext >&5
15406 ac_lo
=`expr $ac_mid + 1`
15407 if test $ac_lo -le $ac_mid; then
15411 ac_mid
=`expr 2 '*' $ac_mid + 1`
15413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15416 echo "$as_me: failed program was:" >&5
15417 sed 's/^/| /' conftest.
$ac_ext >&5
15419 cat >conftest.
$ac_ext <<_ACEOF
15422 cat confdefs.h
>>conftest.
$ac_ext
15423 cat >>conftest.
$ac_ext <<_ACEOF
15424 /* end confdefs.h. */
15425 $ac_includes_default
15429 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15436 rm -f conftest.
$ac_objext
15437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15438 (eval $ac_compile) 2>conftest.er1
15440 grep -v '^ *+' conftest.er1
>conftest.err
15442 cat conftest.err
>&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } &&
15445 { ac_try
='test -z "$ac_c_werror_flag"
15446 || test ! -s conftest.err'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; } &&
15452 { ac_try
='test -s conftest.$ac_objext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15460 cat >conftest.
$ac_ext <<_ACEOF
15463 cat confdefs.h
>>conftest.
$ac_ext
15464 cat >>conftest.
$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466 $ac_includes_default
15470 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15477 rm -f conftest.
$ac_objext
15478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15479 (eval $ac_compile) 2>conftest.er1
15481 grep -v '^ *+' conftest.er1
>conftest.err
15483 cat conftest.err
>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } &&
15486 { ac_try
='test -z "$ac_c_werror_flag"
15487 || test ! -s conftest.err'
15488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15489 (eval $ac_try) 2>&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); }; } &&
15493 { ac_try
='test -s conftest.$ac_objext'
15494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15495 (eval $ac_try) 2>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; }; then
15499 ac_lo
=$ac_mid; break
15501 echo "$as_me: failed program was:" >&5
15502 sed 's/^/| /' conftest.
$ac_ext >&5
15504 ac_hi
=`expr '(' $ac_mid ')' - 1`
15505 if test $ac_mid -le $ac_hi; then
15509 ac_mid
=`expr 2 '*' $ac_mid`
15511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15514 echo "$as_me: failed program was:" >&5
15515 sed 's/^/| /' conftest.
$ac_ext >&5
15519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15522 # Binary search between lo and hi bounds.
15523 while test "x$ac_lo" != "x$ac_hi"; do
15524 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15525 cat >conftest.
$ac_ext <<_ACEOF
15528 cat confdefs.h
>>conftest.
$ac_ext
15529 cat >>conftest.
$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 $ac_includes_default
15535 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15542 rm -f conftest.
$ac_objext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>conftest.er1
15546 grep -v '^ *+' conftest.er1
>conftest.err
15548 cat conftest.err
>&5
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); } &&
15551 { ac_try
='test -z "$ac_c_werror_flag"
15552 || test ! -s conftest.err'
15553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15554 (eval $ac_try) 2>&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; } &&
15558 { ac_try
='test -s conftest.$ac_objext'
15559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15560 (eval $ac_try) 2>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; }; then
15566 echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.
$ac_ext >&5
15569 ac_lo
=`expr '(' $ac_mid ')' + 1`
15571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15574 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15576 See \`config.log' for more details." >&5
15577 echo "$as_me: error: cannot compute sizeof (char), 77
15578 See \`config.log' for more details." >&2;}
15579 { (exit 1); exit 1; }; } ;;
15582 if test "$cross_compiling" = yes; then
15583 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15584 See \`config.log' for more details." >&5
15585 echo "$as_me: error: cannot run test program while cross compiling
15586 See \`config.log' for more details." >&2;}
15587 { (exit 1); exit 1; }; }
15589 cat >conftest.
$ac_ext <<_ACEOF
15592 cat confdefs.h
>>conftest.
$ac_ext
15593 cat >>conftest.
$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595 $ac_includes_default
15596 long longval () { return (long) (sizeof (char)); }
15597 unsigned long ulongval () { return (long) (sizeof (char)); }
15599 #include <stdlib.h>
15604 FILE *f = fopen ("conftest.val", "w");
15607 if (((long) (sizeof (char))) < 0)
15609 long i = longval ();
15610 if (i != ((long) (sizeof (char))))
15612 fprintf (f, "%ld\n", i);
15616 unsigned long i = ulongval ();
15617 if (i != ((long) (sizeof (char))))
15619 fprintf (f, "%lu\n", i);
15621 exit (ferror (f) || fclose (f) != 0);
15627 rm -f conftest
$ac_exeext
15628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15629 (eval $ac_link) 2>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15638 ac_cv_sizeof_char
=`cat conftest.val`
15640 echo "$as_me: program exited with status $ac_status" >&5
15641 echo "$as_me: failed program was:" >&5
15642 sed 's/^/| /' conftest.
$ac_ext >&5
15644 ( exit $ac_status )
15645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15646 See \`config.log' for more details." >&5
15647 echo "$as_me: error: cannot compute sizeof (char), 77
15648 See \`config.log' for more details." >&2;}
15649 { (exit 1); exit 1; }; }
15651 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15656 ac_cv_sizeof_char
=0
15659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15660 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15661 cat >>confdefs.h
<<_ACEOF
15662 #define SIZEOF_CHAR $ac_cv_sizeof_char
15667 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
15668 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
15669 case "$ac_cv_sizeof_char" in
15670 1) acx_cv_type_int8_t
=char
;;
15671 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
15672 echo "$as_me: error: no 8-bit type" >&2;}
15673 { (exit please report a bug
); exit please report a bug
; }; }
15675 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
15676 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
15678 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
15679 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
15680 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15681 2:*) acx_cv_type_int16_t
=int
;;
15682 *:2) acx_cv_type_int16_t
=short
;;
15683 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
15684 echo "$as_me: error: no 16-bit type" >&2;}
15685 { (exit please report a bug
); exit please report a bug
; }; }
15687 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
15688 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
15690 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
15691 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
15692 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15693 4:*) acx_cv_type_int32_t
=int
;;
15694 *:4) acx_cv_type_int32_t
=long
;;
15695 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
15696 echo "$as_me: error: no 32-bit type" >&2;}
15697 { (exit please report a bug
); exit please report a bug
; }; }
15699 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
15700 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
15703 # These tests are here to make the output prettier
15705 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15706 case "$ac_cv_sizeof_long" in
15707 8) acx_cv_type_int64_t
=long
;;
15709 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
15710 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
15711 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15712 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
15715 # Now we can use the above types
15717 if test "$ac_cv_type_uintptr_t" != yes; then
15718 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
15719 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
15720 case $ac_cv_sizeof_void_p in
15721 2) acx_cv_type_intptr_t
=int16_t
;;
15722 4) acx_cv_type_intptr_t
=int32_t
;;
15723 8) acx_cv_type_intptr_t
=int64_t
;;
15724 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
15725 echo "$as_me: error: no equivalent for intptr_t" >&2;}
15726 { (exit please report a bug
); exit please report a bug
; }; }
15728 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
15729 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
15732 # ----------------- done all checks, emit header -------------
15733 ac_config_commands
="$ac_config_commands gdb_stdint.h"
15738 # ------------------------- #
15739 # Checks for declarations. #
15740 # ------------------------- #
15742 echo "$as_me:$LINENO: checking whether free is declared" >&5
15743 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
15744 if test "${ac_cv_have_decl_free+set}" = set; then
15745 echo $ECHO_N "(cached) $ECHO_C" >&6
15747 cat >conftest.
$ac_ext <<_ACEOF
15750 cat confdefs.h
>>conftest.
$ac_ext
15751 cat >>conftest.
$ac_ext <<_ACEOF
15752 /* end confdefs.h. */
15753 $ac_includes_default
15758 char *p = (char *) free;
15765 rm -f conftest.
$ac_objext
15766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15767 (eval $ac_compile) 2>conftest.er1
15769 grep -v '^ *+' conftest.er1
>conftest.err
15771 cat conftest.err
>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); } &&
15774 { ac_try
='test -z "$ac_c_werror_flag"
15775 || test ! -s conftest.err'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; } &&
15781 { ac_try
='test -s conftest.$ac_objext'
15782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783 (eval $ac_try) 2>&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); }; }; then
15787 ac_cv_have_decl_free
=yes
15789 echo "$as_me: failed program was:" >&5
15790 sed 's/^/| /' conftest.
$ac_ext >&5
15792 ac_cv_have_decl_free
=no
15794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15796 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
15797 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
15798 if test $ac_cv_have_decl_free = yes; then
15800 cat >>confdefs.h
<<_ACEOF
15801 #define HAVE_DECL_FREE 1
15806 cat >>confdefs.h
<<_ACEOF
15807 #define HAVE_DECL_FREE 0
15812 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
15813 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
15814 if test "${ac_cv_have_decl_malloc+set}" = set; then
15815 echo $ECHO_N "(cached) $ECHO_C" >&6
15817 cat >conftest.
$ac_ext <<_ACEOF
15820 cat confdefs.h
>>conftest.
$ac_ext
15821 cat >>conftest.
$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15823 $ac_includes_default
15828 char *p = (char *) malloc;
15835 rm -f conftest.
$ac_objext
15836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15837 (eval $ac_compile) 2>conftest.er1
15839 grep -v '^ *+' conftest.er1
>conftest.err
15841 cat conftest.err
>&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); } &&
15844 { ac_try
='test -z "$ac_c_werror_flag"
15845 || test ! -s conftest.err'
15846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 (eval $ac_try) 2>&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }; } &&
15851 { ac_try
='test -s conftest.$ac_objext'
15852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15853 (eval $ac_try) 2>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); }; }; then
15857 ac_cv_have_decl_malloc
=yes
15859 echo "$as_me: failed program was:" >&5
15860 sed 's/^/| /' conftest.
$ac_ext >&5
15862 ac_cv_have_decl_malloc
=no
15864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15866 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
15867 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
15868 if test $ac_cv_have_decl_malloc = yes; then
15870 cat >>confdefs.h
<<_ACEOF
15871 #define HAVE_DECL_MALLOC 1
15876 cat >>confdefs.h
<<_ACEOF
15877 #define HAVE_DECL_MALLOC 0
15882 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
15883 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
15884 if test "${ac_cv_have_decl_realloc+set}" = set; then
15885 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 cat >conftest.
$ac_ext <<_ACEOF
15890 cat confdefs.h
>>conftest.
$ac_ext
15891 cat >>conftest.
$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15893 $ac_includes_default
15898 char *p = (char *) realloc;
15905 rm -f conftest.
$ac_objext
15906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 (eval $ac_compile) 2>conftest.er1
15909 grep -v '^ *+' conftest.er1
>conftest.err
15911 cat conftest.err
>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } &&
15914 { ac_try
='test -z "$ac_c_werror_flag"
15915 || test ! -s conftest.err'
15916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15917 (eval $ac_try) 2>&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); }; } &&
15921 { ac_try
='test -s conftest.$ac_objext'
15922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15923 (eval $ac_try) 2>&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); }; }; then
15927 ac_cv_have_decl_realloc
=yes
15929 echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.
$ac_ext >&5
15932 ac_cv_have_decl_realloc
=no
15934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15936 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
15937 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
15938 if test $ac_cv_have_decl_realloc = yes; then
15940 cat >>confdefs.h
<<_ACEOF
15941 #define HAVE_DECL_REALLOC 1
15946 cat >>confdefs.h
<<_ACEOF
15947 #define HAVE_DECL_REALLOC 0
15954 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
15955 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
15956 if test "${ac_cv_have_decl_strerror+set}" = set; then
15957 echo $ECHO_N "(cached) $ECHO_C" >&6
15959 cat >conftest.
$ac_ext <<_ACEOF
15962 cat confdefs.h
>>conftest.
$ac_ext
15963 cat >>conftest.
$ac_ext <<_ACEOF
15964 /* end confdefs.h. */
15965 $ac_includes_default
15970 char *p = (char *) strerror;
15977 rm -f conftest.
$ac_objext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>conftest.er1
15981 grep -v '^ *+' conftest.er1
>conftest.err
15983 cat conftest.err
>&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try
='test -z "$ac_c_werror_flag"
15987 || test ! -s conftest.err'
15988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15989 (eval $ac_try) 2>&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); }; } &&
15993 { ac_try
='test -s conftest.$ac_objext'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; }; then
15999 ac_cv_have_decl_strerror
=yes
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.
$ac_ext >&5
16004 ac_cv_have_decl_strerror
=no
16006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16008 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
16009 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
16010 if test $ac_cv_have_decl_strerror = yes; then
16012 cat >>confdefs.h
<<_ACEOF
16013 #define HAVE_DECL_STRERROR 1
16018 cat >>confdefs.h
<<_ACEOF
16019 #define HAVE_DECL_STRERROR 0
16024 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
16025 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
16026 if test "${ac_cv_have_decl_strstr+set}" = set; then
16027 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 cat >conftest.
$ac_ext <<_ACEOF
16032 cat confdefs.h
>>conftest.
$ac_ext
16033 cat >>conftest.
$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16035 $ac_includes_default
16040 char *p = (char *) strstr;
16047 rm -f conftest.
$ac_objext
16048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16049 (eval $ac_compile) 2>conftest.er1
16051 grep -v '^ *+' conftest.er1
>conftest.err
16053 cat conftest.err
>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); } &&
16056 { ac_try
='test -z "$ac_c_werror_flag"
16057 || test ! -s conftest.err'
16058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16059 (eval $ac_try) 2>&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); }; } &&
16063 { ac_try
='test -s conftest.$ac_objext'
16064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16065 (eval $ac_try) 2>&5
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); }; }; then
16069 ac_cv_have_decl_strstr
=yes
16071 echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.
$ac_ext >&5
16074 ac_cv_have_decl_strstr
=no
16076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16078 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
16079 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
16080 if test $ac_cv_have_decl_strstr = yes; then
16082 cat >>confdefs.h
<<_ACEOF
16083 #define HAVE_DECL_STRSTR 1
16088 cat >>confdefs.h
<<_ACEOF
16089 #define HAVE_DECL_STRSTR 0
16096 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
16097 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
16098 if test "${ac_cv_have_decl_getopt+set}" = set; then
16099 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 cat >conftest.
$ac_ext <<_ACEOF
16104 cat confdefs.h
>>conftest.
$ac_ext
16105 cat >>conftest.
$ac_ext <<_ACEOF
16106 /* end confdefs.h. */
16107 $ac_includes_default
16112 char *p = (char *) getopt;
16119 rm -f conftest.
$ac_objext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16121 (eval $ac_compile) 2>conftest.er1
16123 grep -v '^ *+' conftest.er1
>conftest.err
16125 cat conftest.err
>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try
='test -z "$ac_c_werror_flag"
16129 || test ! -s conftest.err'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; } &&
16135 { ac_try
='test -s conftest.$ac_objext'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; }; then
16141 ac_cv_have_decl_getopt
=yes
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.
$ac_ext >&5
16146 ac_cv_have_decl_getopt
=no
16148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16150 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
16151 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
16152 if test $ac_cv_have_decl_getopt = yes; then
16154 cat >>confdefs.h
<<_ACEOF
16155 #define HAVE_DECL_GETOPT 1
16160 cat >>confdefs.h
<<_ACEOF
16161 #define HAVE_DECL_GETOPT 0
16166 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
16167 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
16168 if test "${ac_cv_have_decl_snprintf+set}" = set; then
16169 echo $ECHO_N "(cached) $ECHO_C" >&6
16171 cat >conftest.
$ac_ext <<_ACEOF
16174 cat confdefs.h
>>conftest.
$ac_ext
16175 cat >>conftest.
$ac_ext <<_ACEOF
16176 /* end confdefs.h. */
16177 $ac_includes_default
16182 char *p = (char *) snprintf;
16189 rm -f conftest.
$ac_objext
16190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16191 (eval $ac_compile) 2>conftest.er1
16193 grep -v '^ *+' conftest.er1
>conftest.err
16195 cat conftest.err
>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } &&
16198 { ac_try
='test -z "$ac_c_werror_flag"
16199 || test ! -s conftest.err'
16200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201 (eval $ac_try) 2>&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); }; } &&
16205 { ac_try
='test -s conftest.$ac_objext'
16206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16207 (eval $ac_try) 2>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); }; }; then
16211 ac_cv_have_decl_snprintf
=yes
16213 echo "$as_me: failed program was:" >&5
16214 sed 's/^/| /' conftest.
$ac_ext >&5
16216 ac_cv_have_decl_snprintf
=no
16218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16220 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
16221 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
16222 if test $ac_cv_have_decl_snprintf = yes; then
16224 cat >>confdefs.h
<<_ACEOF
16225 #define HAVE_DECL_SNPRINTF 1
16230 cat >>confdefs.h
<<_ACEOF
16231 #define HAVE_DECL_SNPRINTF 0
16236 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
16237 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
16238 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16241 cat >conftest.
$ac_ext <<_ACEOF
16244 cat confdefs.h
>>conftest.
$ac_ext
16245 cat >>conftest.
$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16247 $ac_includes_default
16252 char *p = (char *) vsnprintf;
16259 rm -f conftest.
$ac_objext
16260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16261 (eval $ac_compile) 2>conftest.er1
16263 grep -v '^ *+' conftest.er1
>conftest.err
16265 cat conftest.err
>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); } &&
16268 { ac_try
='test -z "$ac_c_werror_flag"
16269 || test ! -s conftest.err'
16270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16271 (eval $ac_try) 2>&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); }; } &&
16275 { ac_try
='test -s conftest.$ac_objext'
16276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16277 (eval $ac_try) 2>&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }; }; then
16281 ac_cv_have_decl_vsnprintf
=yes
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.
$ac_ext >&5
16286 ac_cv_have_decl_vsnprintf
=no
16288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16290 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
16291 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
16292 if test $ac_cv_have_decl_vsnprintf = yes; then
16294 cat >>confdefs.h
<<_ACEOF
16295 #define HAVE_DECL_VSNPRINTF 1
16300 cat >>confdefs.h
<<_ACEOF
16301 #define HAVE_DECL_VSNPRINTF 0
16309 # ----------------------- #
16310 # Checks for structures. #
16311 # ----------------------- #
16313 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
16314 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
16315 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
16316 echo $ECHO_N "(cached) $ECHO_C" >&6
16318 cat >conftest.
$ac_ext <<_ACEOF
16321 cat confdefs.h
>>conftest.
$ac_ext
16322 cat >>conftest.
$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 $ac_includes_default
16328 static struct stat ac_aggr;
16329 if (ac_aggr.st_blocks)
16335 rm -f conftest.
$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>conftest.er1
16339 grep -v '^ *+' conftest.er1
>conftest.err
16341 cat conftest.err
>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try
='test -z "$ac_c_werror_flag"
16345 || test ! -s conftest.err'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; } &&
16351 { ac_try
='test -s conftest.$ac_objext'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 ac_cv_member_struct_stat_st_blocks
=yes
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.
$ac_ext >&5
16362 cat >conftest.
$ac_ext <<_ACEOF
16365 cat confdefs.h
>>conftest.
$ac_ext
16366 cat >>conftest.
$ac_ext <<_ACEOF
16367 /* end confdefs.h. */
16368 $ac_includes_default
16372 static struct stat ac_aggr;
16373 if (sizeof ac_aggr.st_blocks)
16379 rm -f conftest.
$ac_objext
16380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16381 (eval $ac_compile) 2>conftest.er1
16383 grep -v '^ *+' conftest.er1
>conftest.err
16385 cat conftest.err
>&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); } &&
16388 { ac_try
='test -z "$ac_c_werror_flag"
16389 || test ! -s conftest.err'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; } &&
16395 { ac_try
='test -s conftest.$ac_objext'
16396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16397 (eval $ac_try) 2>&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; }; then
16401 ac_cv_member_struct_stat_st_blocks
=yes
16403 echo "$as_me: failed program was:" >&5
16404 sed 's/^/| /' conftest.
$ac_ext >&5
16406 ac_cv_member_struct_stat_st_blocks
=no
16408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16412 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
16413 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
16414 if test $ac_cv_member_struct_stat_st_blocks = yes; then
16416 cat >>confdefs.h
<<_ACEOF
16417 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16423 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
16424 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
16425 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
16426 echo $ECHO_N "(cached) $ECHO_C" >&6
16428 cat >conftest.
$ac_ext <<_ACEOF
16431 cat confdefs.h
>>conftest.
$ac_ext
16432 cat >>conftest.
$ac_ext <<_ACEOF
16433 /* end confdefs.h. */
16434 $ac_includes_default
16438 static struct stat ac_aggr;
16439 if (ac_aggr.st_blksize)
16445 rm -f conftest.
$ac_objext
16446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16447 (eval $ac_compile) 2>conftest.er1
16449 grep -v '^ *+' conftest.er1
>conftest.err
16451 cat conftest.err
>&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } &&
16454 { ac_try
='test -z "$ac_c_werror_flag"
16455 || test ! -s conftest.err'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; } &&
16461 { ac_try
='test -s conftest.$ac_objext'
16462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16463 (eval $ac_try) 2>&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); }; }; then
16467 ac_cv_member_struct_stat_st_blksize
=yes
16469 echo "$as_me: failed program was:" >&5
16470 sed 's/^/| /' conftest.
$ac_ext >&5
16472 cat >conftest.
$ac_ext <<_ACEOF
16475 cat confdefs.h
>>conftest.
$ac_ext
16476 cat >>conftest.
$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 $ac_includes_default
16482 static struct stat ac_aggr;
16483 if (sizeof ac_aggr.st_blksize)
16489 rm -f conftest.
$ac_objext
16490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16491 (eval $ac_compile) 2>conftest.er1
16493 grep -v '^ *+' conftest.er1
>conftest.err
16495 cat conftest.err
>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } &&
16498 { ac_try
='test -z "$ac_c_werror_flag"
16499 || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try
='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 ac_cv_member_struct_stat_st_blksize
=yes
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.
$ac_ext >&5
16516 ac_cv_member_struct_stat_st_blksize
=no
16518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16522 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
16523 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
16524 if test $ac_cv_member_struct_stat_st_blksize = yes; then
16526 cat >>confdefs.h
<<_ACEOF
16527 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16534 # ------------------ #
16535 # Checks for types. #
16536 # ------------------ #
16538 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
16539 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
16540 if test "${ac_cv_type_signal+set}" = set; then
16541 echo $ECHO_N "(cached) $ECHO_C" >&6
16543 cat >conftest.
$ac_ext <<_ACEOF
16546 cat confdefs.h
>>conftest.
$ac_ext
16547 cat >>conftest.
$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 #include <sys/types.h>
16550 #include <signal.h>
16555 extern "C" void (*signal (int, void (*)(int)))(int);
16557 void (*signal ()) ();
16568 rm -f conftest.
$ac_objext
16569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16570 (eval $ac_compile) 2>conftest.er1
16572 grep -v '^ *+' conftest.er1
>conftest.err
16574 cat conftest.err
>&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); } &&
16577 { ac_try
='test -z "$ac_c_werror_flag"
16578 || test ! -s conftest.err'
16579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 (eval $ac_try) 2>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); }; } &&
16584 { ac_try
='test -s conftest.$ac_objext'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 ac_cv_type_signal
=void
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.
$ac_ext >&5
16595 ac_cv_type_signal
=int
16597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16599 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
16600 echo "${ECHO_T}$ac_cv_type_signal" >&6
16602 cat >>confdefs.h
<<_ACEOF
16603 #define RETSIGTYPE $ac_cv_type_signal
16607 echo "$as_me:$LINENO: checking for socklen_t" >&5
16608 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
16609 if test "${ac_cv_type_socklen_t+set}" = set; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 cat >conftest.
$ac_ext <<_ACEOF
16615 cat confdefs.h
>>conftest.
$ac_ext
16616 cat >>conftest.
$ac_ext <<_ACEOF
16617 /* end confdefs.h. */
16618 #include <sys/types.h>
16619 #include <sys/socket.h>
16625 if ((socklen_t *) 0)
16627 if (sizeof (socklen_t))
16633 rm -f conftest.
$ac_objext
16634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16635 (eval $ac_compile) 2>conftest.er1
16637 grep -v '^ *+' conftest.er1
>conftest.err
16639 cat conftest.err
>&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } &&
16642 { ac_try
='test -z "$ac_c_werror_flag"
16643 || test ! -s conftest.err'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; } &&
16649 { ac_try
='test -s conftest.$ac_objext'
16650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16651 (eval $ac_try) 2>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); }; }; then
16655 ac_cv_type_socklen_t
=yes
16657 echo "$as_me: failed program was:" >&5
16658 sed 's/^/| /' conftest.
$ac_ext >&5
16660 ac_cv_type_socklen_t
=no
16662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16664 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
16665 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
16666 if test $ac_cv_type_socklen_t = yes; then
16668 cat >>confdefs.h
<<_ACEOF
16669 #define HAVE_SOCKLEN_T 1
16675 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16676 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16677 if test "${ac_cv_type_uintptr_t+set}" = set; then
16678 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 cat >conftest.
$ac_ext <<_ACEOF
16683 cat confdefs.h
>>conftest.
$ac_ext
16684 cat >>conftest.
$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 #include <stdint.h>
16691 if ((uintptr_t *) 0)
16693 if (sizeof (uintptr_t))
16699 rm -f conftest.
$ac_objext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16701 (eval $ac_compile) 2>conftest.er1
16703 grep -v '^ *+' conftest.er1
>conftest.err
16705 cat conftest.err
>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } &&
16708 { ac_try
='test -z "$ac_c_werror_flag"
16709 || test ! -s conftest.err'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; } &&
16715 { ac_try
='test -s conftest.$ac_objext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16721 ac_cv_type_uintptr_t
=yes
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.
$ac_ext >&5
16726 ac_cv_type_uintptr_t
=no
16728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16730 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16731 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16732 if test $ac_cv_type_uintptr_t = yes; then
16734 cat >>confdefs.h
<<_ACEOF
16735 #define HAVE_UINTPTR_T 1
16742 # ------------------------------------- #
16743 # Checks for compiler characteristics. #
16744 # ------------------------------------- #
16746 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16747 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16748 if test "${ac_cv_c_const+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16751 cat >conftest.
$ac_ext <<_ACEOF
16754 cat confdefs.h
>>conftest.
$ac_ext
16755 cat >>conftest.
$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16761 /* FIXME: Include the comments suggested by Paul. */
16762 #ifndef __cplusplus
16763 /* Ultrix mips cc rejects this. */
16764 typedef int charset[2];
16766 /* SunOS 4.1.1 cc rejects this. */
16767 char const *const *ccp;
16769 /* NEC SVR4.0.2 mips cc rejects this. */
16770 struct point {int x, y;};
16771 static struct point const zero = {0,0};
16772 /* AIX XL C 1.02.0.0 rejects this.
16773 It does not let you subtract one const X* pointer from another in
16774 an arm of an if-expression whose if-part is not a constant
16776 const char *g = "string";
16777 ccp = &g + (g ? g-g : 0);
16778 /* HPUX 7.0 cc rejects these. */
16781 ccp = (char const *const *) p;
16782 { /* SCO 3.2v4 cc rejects this. */
16784 char const *s = 0 ? (char *) 0 : (char const *) 0;
16788 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16789 int x[] = {25, 17};
16790 const int *foo = &x[0];
16793 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16794 typedef const int *iptr;
16798 { /* AIX XL C 1.02.0.0 rejects this saying
16799 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16800 struct s { int j; const int *ap[3]; };
16801 struct s *b; b->j = 5;
16803 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16804 const int foo = 10;
16812 rm -f conftest.
$ac_objext
16813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16814 (eval $ac_compile) 2>conftest.er1
16816 grep -v '^ *+' conftest.er1
>conftest.err
16818 cat conftest.err
>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } &&
16821 { ac_try
='test -z "$ac_c_werror_flag"
16822 || test ! -s conftest.err'
16823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824 (eval $ac_try) 2>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); }; } &&
16828 { ac_try
='test -s conftest.$ac_objext'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; }; then
16836 echo "$as_me: failed program was:" >&5
16837 sed 's/^/| /' conftest.
$ac_ext >&5
16841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16843 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16844 echo "${ECHO_T}$ac_cv_c_const" >&6
16845 if test $ac_cv_c_const = no
; then
16847 cat >>confdefs.h
<<\_ACEOF
16853 echo "$as_me:$LINENO: checking for inline" >&5
16854 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16855 if test "${ac_cv_c_inline+set}" = set; then
16856 echo $ECHO_N "(cached) $ECHO_C" >&6
16859 for ac_kw
in inline __inline__ __inline
; do
16860 cat >conftest.
$ac_ext <<_ACEOF
16863 cat confdefs.h
>>conftest.
$ac_ext
16864 cat >>conftest.
$ac_ext <<_ACEOF
16865 /* end confdefs.h. */
16866 #ifndef __cplusplus
16868 static $ac_kw foo_t static_foo () {return 0; }
16869 $ac_kw foo_t foo () {return 0; }
16873 rm -f conftest.
$ac_objext
16874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16875 (eval $ac_compile) 2>conftest.er1
16877 grep -v '^ *+' conftest.er1
>conftest.err
16879 cat conftest.err
>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } &&
16882 { ac_try
='test -z "$ac_c_werror_flag"
16883 || test ! -s conftest.err'
16884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16885 (eval $ac_try) 2>&5
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); }; } &&
16889 { ac_try
='test -s conftest.$ac_objext'
16890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16891 (eval $ac_try) 2>&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); }; }; then
16895 ac_cv_c_inline
=$ac_kw; break
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.
$ac_ext >&5
16901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16905 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16906 echo "${ECHO_T}$ac_cv_c_inline" >&6
16909 case $ac_cv_c_inline in
16912 case $ac_cv_c_inline in
16914 *) ac_val
=$ac_cv_c_inline;;
16916 cat >>confdefs.h
<<_ACEOF
16917 #ifndef __cplusplus
16918 #define inline $ac_val
16925 # ------------------------------ #
16926 # Checks for library functions. #
16927 # ------------------------------ #
16929 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16930 # for constant arguments. Useless!
16931 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16932 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16933 if test "${ac_cv_working_alloca_h+set}" = set; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16936 cat >conftest.
$ac_ext <<_ACEOF
16939 cat confdefs.h
>>conftest.
$ac_ext
16940 cat >>conftest.
$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 #include <alloca.h>
16946 char *p = (char *) alloca (2 * sizeof (int));
16951 rm -f conftest.
$ac_objext conftest
$ac_exeext
16952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16953 (eval $ac_link) 2>conftest.er1
16955 grep -v '^ *+' conftest.er1
>conftest.err
16957 cat conftest.err
>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); } &&
16960 { ac_try
='test -z "$ac_c_werror_flag"
16961 || test ! -s conftest.err'
16962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16963 (eval $ac_try) 2>&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }; } &&
16967 { ac_try
='test -s conftest$ac_exeext'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; }; then
16973 ac_cv_working_alloca_h
=yes
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.
$ac_ext >&5
16978 ac_cv_working_alloca_h
=no
16980 rm -f conftest.err conftest.
$ac_objext \
16981 conftest
$ac_exeext conftest.
$ac_ext
16983 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16984 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16985 if test $ac_cv_working_alloca_h = yes; then
16987 cat >>confdefs.h
<<\_ACEOF
16988 #define HAVE_ALLOCA_H 1
16993 echo "$as_me:$LINENO: checking for alloca" >&5
16994 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16995 if test "${ac_cv_func_alloca_works+set}" = set; then
16996 echo $ECHO_N "(cached) $ECHO_C" >&6
16998 cat >conftest.
$ac_ext <<_ACEOF
17001 cat confdefs.h
>>conftest.
$ac_ext
17002 cat >>conftest.
$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17005 # define alloca __builtin_alloca
17008 # include <malloc.h>
17009 # define alloca _alloca
17012 # include <alloca.h>
17017 # ifndef alloca /* predefined by HP cc +Olibcalls */
17028 char *p = (char *) alloca (1);
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 ac_cv_func_alloca_works
=yes
17057 echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.
$ac_ext >&5
17060 ac_cv_func_alloca_works
=no
17062 rm -f conftest.err conftest.
$ac_objext \
17063 conftest
$ac_exeext conftest.
$ac_ext
17065 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
17066 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
17068 if test $ac_cv_func_alloca_works = yes; then
17070 cat >>confdefs.h
<<\_ACEOF
17071 #define HAVE_ALLOCA 1
17075 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
17076 # that cause trouble. Some versions do not even contain alloca or
17077 # contain a buggy version. If you still want to use their alloca,
17078 # use ar to extract alloca.o from them instead of compiling alloca.c.
17080 ALLOCA
=alloca.
$ac_objext
17082 cat >>confdefs.h
<<\_ACEOF
17087 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
17088 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
17089 if test "${ac_cv_os_cray+set}" = set; then
17090 echo $ECHO_N "(cached) $ECHO_C" >&6
17092 cat >conftest.
$ac_ext <<_ACEOF
17095 cat confdefs.h
>>conftest.
$ac_ext
17096 cat >>conftest.
$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 #if defined(CRAY) && ! defined(CRAY2)
17105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17106 $EGREP "webecray" >/dev
/null
2>&1; then
17114 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
17115 echo "${ECHO_T}$ac_cv_os_cray" >&6
17116 if test $ac_cv_os_cray = yes; then
17117 for ac_func
in _getb67 GETB67 getb67
; do
17118 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17119 echo "$as_me:$LINENO: checking for $ac_func" >&5
17120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17121 if eval "test \"\${$as_ac_var+set}\" = set"; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 cat >conftest.
$ac_ext <<_ACEOF
17127 cat confdefs.h
>>conftest.
$ac_ext
17128 cat >>conftest.
$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17132 #define $ac_func innocuous_$ac_func
17134 /* System header to define __stub macros and hopefully few prototypes,
17135 which can conflict with char $ac_func (); below.
17136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17137 <limits.h> exists even on freestanding compilers. */
17140 # include <limits.h>
17142 # include <assert.h>
17147 /* Override any gcc2 internal prototype to avoid an error. */
17152 /* We use char because int might match the return type of a gcc2
17153 builtin and then its argument prototype would still apply. */
17155 /* The GNU C library defines this for functions which it implements
17156 to always fail with ENOSYS. Some functions are actually named
17157 something starting with __ and the normal name is an alias. */
17158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17161 char (*f) () = $ac_func;
17170 return f != $ac_func;
17175 rm -f conftest.
$ac_objext conftest
$ac_exeext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17177 (eval $ac_link) 2>conftest.er1
17179 grep -v '^ *+' conftest.er1
>conftest.err
17181 cat conftest.err
>&5
17182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183 (exit $ac_status); } &&
17184 { ac_try
='test -z "$ac_c_werror_flag"
17185 || test ! -s conftest.err'
17186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187 (eval $ac_try) 2>&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; } &&
17191 { ac_try
='test -s conftest$ac_exeext'
17192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193 (eval $ac_try) 2>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); }; }; then
17197 eval "$as_ac_var=yes"
17199 echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.
$ac_ext >&5
17202 eval "$as_ac_var=no"
17204 rm -f conftest.err conftest.
$ac_objext \
17205 conftest
$ac_exeext conftest.
$ac_ext
17207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17209 if test `eval echo '${'$as_ac_var'}'` = yes; then
17211 cat >>confdefs.h
<<_ACEOF
17212 #define CRAY_STACKSEG_END $ac_func
17221 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
17222 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
17223 if test "${ac_cv_c_stack_direction+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 if test "$cross_compiling" = yes; then
17227 ac_cv_c_stack_direction
=0
17229 cat >conftest.
$ac_ext <<_ACEOF
17232 cat confdefs.h
>>conftest.
$ac_ext
17233 cat >>conftest.
$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17236 find_stack_direction ()
17238 static char *addr = 0;
17243 return find_stack_direction ();
17246 return (&dummy > addr) ? 1 : -1;
17252 exit (find_stack_direction () < 0);
17255 rm -f conftest
$ac_exeext
17256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17257 (eval $ac_link) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17262 (eval $ac_try) 2>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); }; }; then
17266 ac_cv_c_stack_direction
=1
17268 echo "$as_me: program exited with status $ac_status" >&5
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.
$ac_ext >&5
17272 ( exit $ac_status )
17273 ac_cv_c_stack_direction
=-1
17275 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17278 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
17279 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
17281 cat >>confdefs.h
<<_ACEOF
17282 #define STACK_DIRECTION $ac_cv_c_stack_direction
17290 for ac_header
in stdlib.h unistd.h
17292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17294 echo "$as_me:$LINENO: checking for $ac_header" >&5
17295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17302 # Is the header compilable?
17303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17305 cat >conftest.
$ac_ext <<_ACEOF
17308 cat confdefs.h
>>conftest.
$ac_ext
17309 cat >>conftest.
$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 $ac_includes_default
17312 #include <$ac_header>
17314 rm -f conftest.
$ac_objext
17315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17316 (eval $ac_compile) 2>conftest.er1
17318 grep -v '^ *+' conftest.er1
>conftest.err
17320 cat conftest.err
>&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } &&
17323 { ac_try
='test -z "$ac_c_werror_flag"
17324 || test ! -s conftest.err'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; } &&
17330 { ac_try
='test -s conftest.$ac_objext'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332 (eval $ac_try) 2>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); }; }; then
17336 ac_header_compiler
=yes
17338 echo "$as_me: failed program was:" >&5
17339 sed 's/^/| /' conftest.
$ac_ext >&5
17341 ac_header_compiler
=no
17343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17345 echo "${ECHO_T}$ac_header_compiler" >&6
17347 # Is the header present?
17348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17350 cat >conftest.
$ac_ext <<_ACEOF
17353 cat confdefs.h
>>conftest.
$ac_ext
17354 cat >>conftest.
$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17356 #include <$ac_header>
17358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17361 grep -v '^ *+' conftest.er1
>conftest.err
17363 cat conftest.err
>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } >/dev
/null
; then
17366 if test -s conftest.err
; then
17367 ac_cpp_err
=$ac_c_preproc_warn_flag
17368 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17375 if test -z "$ac_cpp_err"; then
17376 ac_header_preproc
=yes
17378 echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.
$ac_ext >&5
17381 ac_header_preproc
=no
17383 rm -f conftest.err conftest.
$ac_ext
17384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17385 echo "${ECHO_T}$ac_header_preproc" >&6
17387 # So? What about this header?
17388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17394 ac_header_preproc
=yes
17397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17411 ## ------------------------------------------ ##
17412 ## Report this to the AC_PACKAGE_NAME lists. ##
17413 ## ------------------------------------------ ##
17416 sed "s/^/$as_me: WARNING: /" >&2
17419 echo "$as_me:$LINENO: checking for $ac_header" >&5
17420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17422 echo $ECHO_N "(cached) $ECHO_C" >&6
17424 eval "$as_ac_Header=\$ac_header_preproc"
17426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17431 cat >>confdefs.h
<<_ACEOF
17432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17440 for ac_func
in getpagesize
17442 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17443 echo "$as_me:$LINENO: checking for $ac_func" >&5
17444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17445 if eval "test \"\${$as_ac_var+set}\" = set"; then
17446 echo $ECHO_N "(cached) $ECHO_C" >&6
17448 cat >conftest.
$ac_ext <<_ACEOF
17451 cat confdefs.h
>>conftest.
$ac_ext
17452 cat >>conftest.
$ac_ext <<_ACEOF
17453 /* end confdefs.h. */
17454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17456 #define $ac_func innocuous_$ac_func
17458 /* System header to define __stub macros and hopefully few prototypes,
17459 which can conflict with char $ac_func (); below.
17460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17461 <limits.h> exists even on freestanding compilers. */
17464 # include <limits.h>
17466 # include <assert.h>
17471 /* Override any gcc2 internal prototype to avoid an error. */
17476 /* We use char because int might match the return type of a gcc2
17477 builtin and then its argument prototype would still apply. */
17479 /* The GNU C library defines this for functions which it implements
17480 to always fail with ENOSYS. Some functions are actually named
17481 something starting with __ and the normal name is an alias. */
17482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17485 char (*f) () = $ac_func;
17494 return f != $ac_func;
17499 rm -f conftest.
$ac_objext conftest
$ac_exeext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17501 (eval $ac_link) 2>conftest.er1
17503 grep -v '^ *+' conftest.er1
>conftest.err
17505 cat conftest.err
>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try
='test -z "$ac_c_werror_flag"
17509 || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try
='test -s conftest$ac_exeext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 eval "$as_ac_var=yes"
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.
$ac_ext >&5
17526 eval "$as_ac_var=no"
17528 rm -f conftest.err conftest.
$ac_objext \
17529 conftest
$ac_exeext conftest.
$ac_ext
17531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17533 if test `eval echo '${'$as_ac_var'}'` = yes; then
17534 cat >>confdefs.h
<<_ACEOF
17535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17541 echo "$as_me:$LINENO: checking for working mmap" >&5
17542 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
17543 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 if test "$cross_compiling" = yes; then
17547 ac_cv_func_mmap_fixed_mapped
=no
17549 cat >conftest.
$ac_ext <<_ACEOF
17552 cat confdefs.h
>>conftest.
$ac_ext
17553 cat >>conftest.
$ac_ext <<_ACEOF
17554 /* end confdefs.h. */
17555 $ac_includes_default
17556 /* malloc might have been renamed as rpl_malloc. */
17559 /* Thanks to Mike Haertel and Jim Avera for this test.
17560 Here is a matrix of mmap possibilities:
17561 mmap private not fixed
17562 mmap private fixed at somewhere currently unmapped
17563 mmap private fixed at somewhere already mapped
17564 mmap shared not fixed
17565 mmap shared fixed at somewhere currently unmapped
17566 mmap shared fixed at somewhere already mapped
17567 For private mappings, we should verify that changes cannot be read()
17568 back from the file, nor mmap's back from the file at a different
17569 address. (There have been systems where private was not correctly
17570 implemented like the infamous i386 svr4.0, and systems where the
17571 VM page cache was not coherent with the file system buffer cache
17572 like early versions of FreeBSD and possibly contemporary NetBSD.)
17573 For shared mappings, we should conversely verify that changes get
17574 propagated back to all the places they're supposed to be.
17576 Grep wants private fixed already mapped.
17577 The main things grep needs to know about mmap are:
17578 * does it exist and is it safe to write into the mmap'd area
17579 * how to use it (BSD variants) */
17582 #include <sys/mman.h>
17584 #if !STDC_HEADERS && !HAVE_STDLIB_H
17588 /* This mess was copied from the GNU getpagesize.h. */
17589 #if !HAVE_GETPAGESIZE
17590 /* Assume that all systems that can run configure have sys/param.h. */
17591 # if !HAVE_SYS_PARAM_H
17592 # define HAVE_SYS_PARAM_H 1
17595 # ifdef _SC_PAGESIZE
17596 # define getpagesize() sysconf(_SC_PAGESIZE)
17597 # else /* no _SC_PAGESIZE */
17598 # if HAVE_SYS_PARAM_H
17599 # include <sys/param.h>
17600 # ifdef EXEC_PAGESIZE
17601 # define getpagesize() EXEC_PAGESIZE
17602 # else /* no EXEC_PAGESIZE */
17604 # define getpagesize() NBPG * CLSIZE
17607 # endif /* no CLSIZE */
17608 # else /* no NBPG */
17610 # define getpagesize() NBPC
17611 # else /* no NBPC */
17613 # define getpagesize() PAGESIZE
17614 # endif /* PAGESIZE */
17615 # endif /* no NBPC */
17616 # endif /* no NBPG */
17617 # endif /* no EXEC_PAGESIZE */
17618 # else /* no HAVE_SYS_PARAM_H */
17619 # define getpagesize() 8192 /* punt totally */
17620 # endif /* no HAVE_SYS_PARAM_H */
17621 # endif /* no _SC_PAGESIZE */
17623 #endif /* no HAVE_GETPAGESIZE */
17628 char *data, *data2, *data3;
17632 pagesize = getpagesize ();
17634 /* First, make a file with some known garbage in it. */
17635 data = (char *) malloc (pagesize);
17638 for (i = 0; i < pagesize; ++i)
17639 *(data + i) = rand ();
17641 fd = creat ("conftest.mmap", 0600);
17644 if (write (fd, data, pagesize) != pagesize)
17648 /* Next, try to mmap the file at a fixed address which already has
17649 something else allocated at it. If we can, also make sure that
17650 we see the same garbage. */
17651 fd = open ("conftest.mmap", O_RDWR);
17654 data2 = (char *) malloc (2 * pagesize);
17657 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
17658 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
17659 MAP_PRIVATE | MAP_FIXED, fd, 0L))
17661 for (i = 0; i < pagesize; ++i)
17662 if (*(data + i) != *(data2 + i))
17665 /* Finally, make sure that changes to the mapped area do not
17666 percolate back to the file as seen by read(). (This is a bug on
17667 some variants of i386 svr4.0.) */
17668 for (i = 0; i < pagesize; ++i)
17669 *(data2 + i) = *(data2 + i) + 1;
17670 data3 = (char *) malloc (pagesize);
17673 if (read (fd, data3, pagesize) != pagesize)
17675 for (i = 0; i < pagesize; ++i)
17676 if (*(data + i) != *(data3 + i))
17682 rm -f conftest
$ac_exeext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17684 (eval $ac_link) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; }; then
17693 ac_cv_func_mmap_fixed_mapped
=yes
17695 echo "$as_me: program exited with status $ac_status" >&5
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.
$ac_ext >&5
17699 ( exit $ac_status )
17700 ac_cv_func_mmap_fixed_mapped
=no
17702 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17705 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
17706 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
17707 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17709 cat >>confdefs.h
<<\_ACEOF
17710 #define HAVE_MMAP 1
17714 rm -f conftest.mmap
17716 echo "$as_me:$LINENO: checking for pid_t" >&5
17717 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17718 if test "${ac_cv_type_pid_t+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17721 cat >conftest.
$ac_ext <<_ACEOF
17724 cat confdefs.h
>>conftest.
$ac_ext
17725 cat >>conftest.
$ac_ext <<_ACEOF
17726 /* end confdefs.h. */
17727 $ac_includes_default
17733 if (sizeof (pid_t))
17739 rm -f conftest.
$ac_objext
17740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17741 (eval $ac_compile) 2>conftest.er1
17743 grep -v '^ *+' conftest.er1
>conftest.err
17745 cat conftest.err
>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } &&
17748 { ac_try
='test -z "$ac_c_werror_flag"
17749 || test ! -s conftest.err'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; } &&
17755 { ac_try
='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 ac_cv_type_pid_t
=yes
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.
$ac_ext >&5
17766 ac_cv_type_pid_t
=no
17768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17770 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17771 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17772 if test $ac_cv_type_pid_t = yes; then
17776 cat >>confdefs.h
<<_ACEOF
17784 for ac_header
in unistd.h vfork.h
17786 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17788 echo "$as_me:$LINENO: checking for $ac_header" >&5
17789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17796 # Is the header compilable?
17797 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17799 cat >conftest.
$ac_ext <<_ACEOF
17802 cat confdefs.h
>>conftest.
$ac_ext
17803 cat >>conftest.
$ac_ext <<_ACEOF
17804 /* end confdefs.h. */
17805 $ac_includes_default
17806 #include <$ac_header>
17808 rm -f conftest.
$ac_objext
17809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17810 (eval $ac_compile) 2>conftest.er1
17812 grep -v '^ *+' conftest.er1
>conftest.err
17814 cat conftest.err
>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } &&
17817 { ac_try
='test -z "$ac_c_werror_flag"
17818 || test ! -s conftest.err'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; } &&
17824 { ac_try
='test -s conftest.$ac_objext'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; }; then
17830 ac_header_compiler
=yes
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.
$ac_ext >&5
17835 ac_header_compiler
=no
17837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17839 echo "${ECHO_T}$ac_header_compiler" >&6
17841 # Is the header present?
17842 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17843 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17844 cat >conftest.
$ac_ext <<_ACEOF
17847 cat confdefs.h
>>conftest.
$ac_ext
17848 cat >>conftest.
$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17850 #include <$ac_header>
17852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17853 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17855 grep -v '^ *+' conftest.er1
>conftest.err
17857 cat conftest.err
>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } >/dev
/null
; then
17860 if test -s conftest.err
; then
17861 ac_cpp_err
=$ac_c_preproc_warn_flag
17862 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
17869 if test -z "$ac_cpp_err"; then
17870 ac_header_preproc
=yes
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.
$ac_ext >&5
17875 ac_header_preproc
=no
17877 rm -f conftest.err conftest.
$ac_ext
17878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17879 echo "${ECHO_T}$ac_header_preproc" >&6
17881 # So? What about this header?
17882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17884 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17887 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17888 ac_header_preproc
=yes
17891 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17893 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17894 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17895 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17896 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17897 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17898 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17901 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17902 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17905 ## ------------------------------------------ ##
17906 ## Report this to the AC_PACKAGE_NAME lists. ##
17907 ## ------------------------------------------ ##
17910 sed "s/^/$as_me: WARNING: /" >&2
17913 echo "$as_me:$LINENO: checking for $ac_header" >&5
17914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17918 eval "$as_ac_Header=\$ac_header_preproc"
17920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17925 cat >>confdefs.h
<<_ACEOF
17926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17935 for ac_func
in fork vfork
17937 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17938 echo "$as_me:$LINENO: checking for $ac_func" >&5
17939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17940 if eval "test \"\${$as_ac_var+set}\" = set"; then
17941 echo $ECHO_N "(cached) $ECHO_C" >&6
17943 cat >conftest.
$ac_ext <<_ACEOF
17946 cat confdefs.h
>>conftest.
$ac_ext
17947 cat >>conftest.
$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17951 #define $ac_func innocuous_$ac_func
17953 /* System header to define __stub macros and hopefully few prototypes,
17954 which can conflict with char $ac_func (); below.
17955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17956 <limits.h> exists even on freestanding compilers. */
17959 # include <limits.h>
17961 # include <assert.h>
17966 /* Override any gcc2 internal prototype to avoid an error. */
17971 /* We use char because int might match the return type of a gcc2
17972 builtin and then its argument prototype would still apply. */
17974 /* The GNU C library defines this for functions which it implements
17975 to always fail with ENOSYS. Some functions are actually named
17976 something starting with __ and the normal name is an alias. */
17977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17980 char (*f) () = $ac_func;
17989 return f != $ac_func;
17994 rm -f conftest.
$ac_objext conftest
$ac_exeext
17995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17996 (eval $ac_link) 2>conftest.er1
17998 grep -v '^ *+' conftest.er1
>conftest.err
18000 cat conftest.err
>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } &&
18003 { ac_try
='test -z "$ac_c_werror_flag"
18004 || test ! -s conftest.err'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; } &&
18010 { ac_try
='test -s conftest$ac_exeext'
18011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012 (eval $ac_try) 2>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; }; then
18016 eval "$as_ac_var=yes"
18018 echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.
$ac_ext >&5
18021 eval "$as_ac_var=no"
18023 rm -f conftest.err conftest.
$ac_objext \
18024 conftest
$ac_exeext conftest.
$ac_ext
18026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18028 if test `eval echo '${'$as_ac_var'}'` = yes; then
18029 cat >>confdefs.h
<<_ACEOF
18030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18036 if test "x$ac_cv_func_fork" = xyes
; then
18037 echo "$as_me:$LINENO: checking for working fork" >&5
18038 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
18039 if test "${ac_cv_func_fork_works+set}" = set; then
18040 echo $ECHO_N "(cached) $ECHO_C" >&6
18042 if test "$cross_compiling" = yes; then
18043 ac_cv_func_fork_works
=cross
18045 cat >conftest.
$ac_ext <<_ACEOF
18046 /* By Ruediger Kuhlmann. */
18047 #include <sys/types.h>
18049 # include <unistd.h>
18051 /* Some systems only have a dummy stub for fork() */
18059 rm -f conftest
$ac_exeext
18060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18061 (eval $ac_link) 2>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; }; then
18070 ac_cv_func_fork_works
=yes
18072 echo "$as_me: program exited with status $ac_status" >&5
18073 echo "$as_me: failed program was:" >&5
18074 sed 's/^/| /' conftest.
$ac_ext >&5
18076 ( exit $ac_status )
18077 ac_cv_func_fork_works
=no
18079 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18082 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
18083 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
18086 ac_cv_func_fork_works
=$ac_cv_func_fork
18088 if test "x$ac_cv_func_fork_works" = xcross
; then
18090 *-*-amigaos* |
*-*-msdosdjgpp*)
18091 # Override, as these systems have only a dummy fork() stub
18092 ac_cv_func_fork_works
=no
18095 ac_cv_func_fork_works
=yes
18098 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
18099 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
18101 ac_cv_func_vfork_works
=$ac_cv_func_vfork
18102 if test "x$ac_cv_func_vfork" = xyes
; then
18103 echo "$as_me:$LINENO: checking for working vfork" >&5
18104 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
18105 if test "${ac_cv_func_vfork_works+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6
18108 if test "$cross_compiling" = yes; then
18109 ac_cv_func_vfork_works
=cross
18111 cat >conftest.
$ac_ext <<_ACEOF
18114 cat confdefs.h
>>conftest.
$ac_ext
18115 cat >>conftest.
$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18117 /* Thanks to Paul Eggert for this test. */
18119 #include <stdlib.h>
18120 #include <sys/types.h>
18121 #include <sys/stat.h>
18122 #include <sys/wait.h>
18124 # include <unistd.h>
18127 # include <vfork.h>
18129 /* On some sparc systems, changes by the child to local and incoming
18130 argument registers are propagated back to the parent. The compiler
18131 is told about this with #include <vfork.h>, but some compilers
18132 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
18133 static variable whose address is put into a register that is
18134 clobbered by the vfork. */
18137 sparc_address_test (int arg)
18139 sparc_address_test (arg) int arg;
18142 static pid_t child;
18160 pid_t parent = getpid ();
18163 sparc_address_test (0);
18168 /* Here is another test for sparc vfork register problems. This
18169 test uses lots of local variables, at least as many local
18170 variables as main has allocated so far including compiler
18171 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
18172 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
18173 reuse the register of parent for one of the local variables,
18174 since it will think that parent can't possibly be used any more
18175 in this routine. Assigning to the local variable will thus
18176 munge parent in the parent process. */
18178 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
18179 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
18180 /* Convince the compiler that p..p7 are live; otherwise, it might
18181 use the same hardware register for all 8 local variables. */
18182 if (p != p1 || p != p2 || p != p3 || p != p4
18183 || p != p5 || p != p6 || p != p7)
18186 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
18187 from child file descriptors. If the child closes a descriptor
18188 before it execs or exits, this munges the parent's descriptor
18189 as well. Test for this by closing stdout in the child. */
18190 _exit(close(fileno(stdout)) != 0);
18195 while (wait(&status) != child)
18198 /* Was there some problem with vforking? */
18201 /* Did the child fail? (This shouldn't happen.) */
18204 /* Did the vfork/compiler bug occur? */
18205 || parent != getpid()
18207 /* Did the file descriptor bug occur? */
18208 || fstat(fileno(stdout), &st) != 0
18213 rm -f conftest
$ac_exeext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18215 (eval $ac_link) 2>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 ac_cv_func_vfork_works
=yes
18226 echo "$as_me: program exited with status $ac_status" >&5
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.
$ac_ext >&5
18230 ( exit $ac_status )
18231 ac_cv_func_vfork_works
=no
18233 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18236 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
18237 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
18240 if test "x$ac_cv_func_fork_works" = xcross
; then
18241 ac_cv_func_vfork_works
=$ac_cv_func_vfork
18242 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
18243 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
18246 if test "x$ac_cv_func_vfork_works" = xyes
; then
18248 cat >>confdefs.h
<<\_ACEOF
18249 #define HAVE_WORKING_VFORK 1
18254 cat >>confdefs.h
<<\_ACEOF
18259 if test "x$ac_cv_func_fork_works" = xyes
; then
18261 cat >>confdefs.h
<<\_ACEOF
18262 #define HAVE_WORKING_FORK 1
18269 for ac_func
in canonicalize_file_name realpath
18271 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18272 echo "$as_me:$LINENO: checking for $ac_func" >&5
18273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18274 if eval "test \"\${$as_ac_var+set}\" = set"; then
18275 echo $ECHO_N "(cached) $ECHO_C" >&6
18277 cat >conftest.
$ac_ext <<_ACEOF
18280 cat confdefs.h
>>conftest.
$ac_ext
18281 cat >>conftest.
$ac_ext <<_ACEOF
18282 /* end confdefs.h. */
18283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18285 #define $ac_func innocuous_$ac_func
18287 /* System header to define __stub macros and hopefully few prototypes,
18288 which can conflict with char $ac_func (); below.
18289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18290 <limits.h> exists even on freestanding compilers. */
18293 # include <limits.h>
18295 # include <assert.h>
18300 /* Override any gcc2 internal prototype to avoid an error. */
18305 /* We use char because int might match the return type of a gcc2
18306 builtin and then its argument prototype would still apply. */
18308 /* The GNU C library defines this for functions which it implements
18309 to always fail with ENOSYS. Some functions are actually named
18310 something starting with __ and the normal name is an alias. */
18311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18314 char (*f) () = $ac_func;
18323 return f != $ac_func;
18328 rm -f conftest.
$ac_objext conftest
$ac_exeext
18329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18330 (eval $ac_link) 2>conftest.er1
18332 grep -v '^ *+' conftest.er1
>conftest.err
18334 cat conftest.err
>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } &&
18337 { ac_try
='test -z "$ac_c_werror_flag"
18338 || test ! -s conftest.err'
18339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18340 (eval $ac_try) 2>&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); }; } &&
18344 { ac_try
='test -s conftest$ac_exeext'
18345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18346 (eval $ac_try) 2>&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); }; }; then
18350 eval "$as_ac_var=yes"
18352 echo "$as_me: failed program was:" >&5
18353 sed 's/^/| /' conftest.
$ac_ext >&5
18355 eval "$as_ac_var=no"
18357 rm -f conftest.err conftest.
$ac_objext \
18358 conftest
$ac_exeext conftest.
$ac_ext
18360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18362 if test `eval echo '${'$as_ac_var'}'` = yes; then
18363 cat >>confdefs.h
<<_ACEOF
18364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18372 for ac_func
in getuid getgid
18374 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18375 echo "$as_me:$LINENO: checking for $ac_func" >&5
18376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18377 if eval "test \"\${$as_ac_var+set}\" = set"; then
18378 echo $ECHO_N "(cached) $ECHO_C" >&6
18380 cat >conftest.
$ac_ext <<_ACEOF
18383 cat confdefs.h
>>conftest.
$ac_ext
18384 cat >>conftest.
$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18388 #define $ac_func innocuous_$ac_func
18390 /* System header to define __stub macros and hopefully few prototypes,
18391 which can conflict with char $ac_func (); below.
18392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18393 <limits.h> exists even on freestanding compilers. */
18396 # include <limits.h>
18398 # include <assert.h>
18403 /* Override any gcc2 internal prototype to avoid an error. */
18408 /* We use char because int might match the return type of a gcc2
18409 builtin and then its argument prototype would still apply. */
18411 /* The GNU C library defines this for functions which it implements
18412 to always fail with ENOSYS. Some functions are actually named
18413 something starting with __ and the normal name is an alias. */
18414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18417 char (*f) () = $ac_func;
18426 return f != $ac_func;
18431 rm -f conftest.
$ac_objext conftest
$ac_exeext
18432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18433 (eval $ac_link) 2>conftest.er1
18435 grep -v '^ *+' conftest.er1
>conftest.err
18437 cat conftest.err
>&5
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); } &&
18440 { ac_try
='test -z "$ac_c_werror_flag"
18441 || test ! -s conftest.err'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; } &&
18447 { ac_try
='test -s conftest$ac_exeext'
18448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18449 (eval $ac_try) 2>&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); }; }; then
18453 eval "$as_ac_var=yes"
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.
$ac_ext >&5
18458 eval "$as_ac_var=no"
18460 rm -f conftest.err conftest.
$ac_objext \
18461 conftest
$ac_exeext conftest.
$ac_ext
18463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18465 if test `eval echo '${'$as_ac_var'}'` = yes; then
18466 cat >>confdefs.h
<<_ACEOF
18467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18474 for ac_func
in poll
18476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18477 echo "$as_me:$LINENO: checking for $ac_func" >&5
18478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18479 if eval "test \"\${$as_ac_var+set}\" = set"; then
18480 echo $ECHO_N "(cached) $ECHO_C" >&6
18482 cat >conftest.
$ac_ext <<_ACEOF
18485 cat confdefs.h
>>conftest.
$ac_ext
18486 cat >>conftest.
$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18490 #define $ac_func innocuous_$ac_func
18492 /* System header to define __stub macros and hopefully few prototypes,
18493 which can conflict with char $ac_func (); below.
18494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18495 <limits.h> exists even on freestanding compilers. */
18498 # include <limits.h>
18500 # include <assert.h>
18505 /* Override any gcc2 internal prototype to avoid an error. */
18510 /* We use char because int might match the return type of a gcc2
18511 builtin and then its argument prototype would still apply. */
18513 /* The GNU C library defines this for functions which it implements
18514 to always fail with ENOSYS. Some functions are actually named
18515 something starting with __ and the normal name is an alias. */
18516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18519 char (*f) () = $ac_func;
18528 return f != $ac_func;
18533 rm -f conftest.
$ac_objext conftest
$ac_exeext
18534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18535 (eval $ac_link) 2>conftest.er1
18537 grep -v '^ *+' conftest.er1
>conftest.err
18539 cat conftest.err
>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); } &&
18542 { ac_try
='test -z "$ac_c_werror_flag"
18543 || test ! -s conftest.err'
18544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18545 (eval $ac_try) 2>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); }; } &&
18549 { ac_try
='test -s conftest$ac_exeext'
18550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18551 (eval $ac_try) 2>&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); }; }; then
18555 eval "$as_ac_var=yes"
18557 echo "$as_me: failed program was:" >&5
18558 sed 's/^/| /' conftest.
$ac_ext >&5
18560 eval "$as_ac_var=no"
18562 rm -f conftest.err conftest.
$ac_objext \
18563 conftest
$ac_exeext conftest.
$ac_ext
18565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18567 if test `eval echo '${'$as_ac_var'}'` = yes; then
18568 cat >>confdefs.h
<<_ACEOF
18569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18576 for ac_func
in pread64
18578 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18579 echo "$as_me:$LINENO: checking for $ac_func" >&5
18580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18581 if eval "test \"\${$as_ac_var+set}\" = set"; then
18582 echo $ECHO_N "(cached) $ECHO_C" >&6
18584 cat >conftest.
$ac_ext <<_ACEOF
18587 cat confdefs.h
>>conftest.
$ac_ext
18588 cat >>conftest.
$ac_ext <<_ACEOF
18589 /* end confdefs.h. */
18590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18592 #define $ac_func innocuous_$ac_func
18594 /* System header to define __stub macros and hopefully few prototypes,
18595 which can conflict with char $ac_func (); below.
18596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18597 <limits.h> exists even on freestanding compilers. */
18600 # include <limits.h>
18602 # include <assert.h>
18607 /* Override any gcc2 internal prototype to avoid an error. */
18612 /* We use char because int might match the return type of a gcc2
18613 builtin and then its argument prototype would still apply. */
18615 /* The GNU C library defines this for functions which it implements
18616 to always fail with ENOSYS. Some functions are actually named
18617 something starting with __ and the normal name is an alias. */
18618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18621 char (*f) () = $ac_func;
18630 return f != $ac_func;
18635 rm -f conftest.
$ac_objext conftest
$ac_exeext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18637 (eval $ac_link) 2>conftest.er1
18639 grep -v '^ *+' conftest.er1
>conftest.err
18641 cat conftest.err
>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } &&
18644 { ac_try
='test -z "$ac_c_werror_flag"
18645 || test ! -s conftest.err'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; } &&
18651 { ac_try
='test -s conftest$ac_exeext'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18657 eval "$as_ac_var=yes"
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.
$ac_ext >&5
18662 eval "$as_ac_var=no"
18664 rm -f conftest.err conftest.
$ac_objext \
18665 conftest
$ac_exeext conftest.
$ac_ext
18667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18669 if test `eval echo '${'$as_ac_var'}'` = yes; then
18670 cat >>confdefs.h
<<_ACEOF
18671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18678 for ac_func
in sbrk
18680 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18681 echo "$as_me:$LINENO: checking for $ac_func" >&5
18682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18683 if eval "test \"\${$as_ac_var+set}\" = set"; then
18684 echo $ECHO_N "(cached) $ECHO_C" >&6
18686 cat >conftest.
$ac_ext <<_ACEOF
18689 cat confdefs.h
>>conftest.
$ac_ext
18690 cat >>conftest.
$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18694 #define $ac_func innocuous_$ac_func
18696 /* System header to define __stub macros and hopefully few prototypes,
18697 which can conflict with char $ac_func (); below.
18698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18699 <limits.h> exists even on freestanding compilers. */
18702 # include <limits.h>
18704 # include <assert.h>
18709 /* Override any gcc2 internal prototype to avoid an error. */
18714 /* We use char because int might match the return type of a gcc2
18715 builtin and then its argument prototype would still apply. */
18717 /* The GNU C library defines this for functions which it implements
18718 to always fail with ENOSYS. Some functions are actually named
18719 something starting with __ and the normal name is an alias. */
18720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18723 char (*f) () = $ac_func;
18732 return f != $ac_func;
18737 rm -f conftest.
$ac_objext conftest
$ac_exeext
18738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18739 (eval $ac_link) 2>conftest.er1
18741 grep -v '^ *+' conftest.er1
>conftest.err
18743 cat conftest.err
>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } &&
18746 { ac_try
='test -z "$ac_c_werror_flag"
18747 || test ! -s conftest.err'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; } &&
18753 { ac_try
='test -s conftest$ac_exeext'
18754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18755 (eval $ac_try) 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; }; then
18759 eval "$as_ac_var=yes"
18761 echo "$as_me: failed program was:" >&5
18762 sed 's/^/| /' conftest.
$ac_ext >&5
18764 eval "$as_ac_var=no"
18766 rm -f conftest.err conftest.
$ac_objext \
18767 conftest
$ac_exeext conftest.
$ac_ext
18769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18771 if test `eval echo '${'$as_ac_var'}'` = yes; then
18772 cat >>confdefs.h
<<_ACEOF
18773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18781 for ac_func
in setpgid setpgrp
18783 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18784 echo "$as_me:$LINENO: checking for $ac_func" >&5
18785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18786 if eval "test \"\${$as_ac_var+set}\" = set"; then
18787 echo $ECHO_N "(cached) $ECHO_C" >&6
18789 cat >conftest.
$ac_ext <<_ACEOF
18792 cat confdefs.h
>>conftest.
$ac_ext
18793 cat >>conftest.
$ac_ext <<_ACEOF
18794 /* end confdefs.h. */
18795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18797 #define $ac_func innocuous_$ac_func
18799 /* System header to define __stub macros and hopefully few prototypes,
18800 which can conflict with char $ac_func (); below.
18801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18802 <limits.h> exists even on freestanding compilers. */
18805 # include <limits.h>
18807 # include <assert.h>
18812 /* Override any gcc2 internal prototype to avoid an error. */
18817 /* We use char because int might match the return type of a gcc2
18818 builtin and then its argument prototype would still apply. */
18820 /* The GNU C library defines this for functions which it implements
18821 to always fail with ENOSYS. Some functions are actually named
18822 something starting with __ and the normal name is an alias. */
18823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18826 char (*f) () = $ac_func;
18835 return f != $ac_func;
18840 rm -f conftest.
$ac_objext conftest
$ac_exeext
18841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18842 (eval $ac_link) 2>conftest.er1
18844 grep -v '^ *+' conftest.er1
>conftest.err
18846 cat conftest.err
>&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } &&
18849 { ac_try
='test -z "$ac_c_werror_flag"
18850 || test ! -s conftest.err'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; } &&
18856 { ac_try
='test -s conftest$ac_exeext'
18857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18858 (eval $ac_try) 2>&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); }; }; then
18862 eval "$as_ac_var=yes"
18864 echo "$as_me: failed program was:" >&5
18865 sed 's/^/| /' conftest.
$ac_ext >&5
18867 eval "$as_ac_var=no"
18869 rm -f conftest.err conftest.
$ac_objext \
18870 conftest
$ac_exeext conftest.
$ac_ext
18872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18874 if test `eval echo '${'$as_ac_var'}'` = yes; then
18875 cat >>confdefs.h
<<_ACEOF
18876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18885 for ac_func
in sigaction sigprocmask sigsetmask
18887 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18888 echo "$as_me:$LINENO: checking for $ac_func" >&5
18889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18890 if eval "test \"\${$as_ac_var+set}\" = set"; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 cat >conftest.
$ac_ext <<_ACEOF
18896 cat confdefs.h
>>conftest.
$ac_ext
18897 cat >>conftest.
$ac_ext <<_ACEOF
18898 /* end confdefs.h. */
18899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18901 #define $ac_func innocuous_$ac_func
18903 /* System header to define __stub macros and hopefully few prototypes,
18904 which can conflict with char $ac_func (); below.
18905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18906 <limits.h> exists even on freestanding compilers. */
18909 # include <limits.h>
18911 # include <assert.h>
18916 /* Override any gcc2 internal prototype to avoid an error. */
18921 /* We use char because int might match the return type of a gcc2
18922 builtin and then its argument prototype would still apply. */
18924 /* The GNU C library defines this for functions which it implements
18925 to always fail with ENOSYS. Some functions are actually named
18926 something starting with __ and the normal name is an alias. */
18927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18930 char (*f) () = $ac_func;
18939 return f != $ac_func;
18944 rm -f conftest.
$ac_objext conftest
$ac_exeext
18945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18946 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.
$ac_ext >&5
18971 eval "$as_ac_var=no"
18973 rm -f conftest.err conftest.
$ac_objext \
18974 conftest
$ac_exeext conftest.
$ac_ext
18976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18978 if test `eval echo '${'$as_ac_var'}'` = yes; then
18979 cat >>confdefs.h
<<_ACEOF
18980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18987 for ac_func
in socketpair
18989 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18990 echo "$as_me:$LINENO: checking for $ac_func" >&5
18991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18992 if eval "test \"\${$as_ac_var+set}\" = set"; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18995 cat >conftest.
$ac_ext <<_ACEOF
18998 cat confdefs.h
>>conftest.
$ac_ext
18999 cat >>conftest.
$ac_ext <<_ACEOF
19000 /* end confdefs.h. */
19001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19003 #define $ac_func innocuous_$ac_func
19005 /* System header to define __stub macros and hopefully few prototypes,
19006 which can conflict with char $ac_func (); below.
19007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19008 <limits.h> exists even on freestanding compilers. */
19011 # include <limits.h>
19013 # include <assert.h>
19018 /* Override any gcc2 internal prototype to avoid an error. */
19023 /* We use char because int might match the return type of a gcc2
19024 builtin and then its argument prototype would still apply. */
19026 /* The GNU C library defines this for functions which it implements
19027 to always fail with ENOSYS. Some functions are actually named
19028 something starting with __ and the normal name is an alias. */
19029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19032 char (*f) () = $ac_func;
19041 return f != $ac_func;
19046 rm -f conftest.
$ac_objext conftest
$ac_exeext
19047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19048 (eval $ac_link) 2>conftest.er1
19050 grep -v '^ *+' conftest.er1
>conftest.err
19052 cat conftest.err
>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } &&
19055 { ac_try
='test -z "$ac_c_werror_flag"
19056 || test ! -s conftest.err'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; } &&
19062 { ac_try
='test -s conftest$ac_exeext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068 eval "$as_ac_var=yes"
19070 echo "$as_me: failed program was:" >&5
19071 sed 's/^/| /' conftest.
$ac_ext >&5
19073 eval "$as_ac_var=no"
19075 rm -f conftest.err conftest.
$ac_objext \
19076 conftest
$ac_exeext conftest.
$ac_ext
19078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19080 if test `eval echo '${'$as_ac_var'}'` = yes; then
19081 cat >>confdefs.h
<<_ACEOF
19082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19089 for ac_func
in syscall
19091 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19092 echo "$as_me:$LINENO: checking for $ac_func" >&5
19093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19094 if eval "test \"\${$as_ac_var+set}\" = set"; then
19095 echo $ECHO_N "(cached) $ECHO_C" >&6
19097 cat >conftest.
$ac_ext <<_ACEOF
19100 cat confdefs.h
>>conftest.
$ac_ext
19101 cat >>conftest.
$ac_ext <<_ACEOF
19102 /* end confdefs.h. */
19103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19105 #define $ac_func innocuous_$ac_func
19107 /* System header to define __stub macros and hopefully few prototypes,
19108 which can conflict with char $ac_func (); below.
19109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19110 <limits.h> exists even on freestanding compilers. */
19113 # include <limits.h>
19115 # include <assert.h>
19120 /* Override any gcc2 internal prototype to avoid an error. */
19125 /* We use char because int might match the return type of a gcc2
19126 builtin and then its argument prototype would still apply. */
19128 /* The GNU C library defines this for functions which it implements
19129 to always fail with ENOSYS. Some functions are actually named
19130 something starting with __ and the normal name is an alias. */
19131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19134 char (*f) () = $ac_func;
19143 return f != $ac_func;
19148 rm -f conftest.
$ac_objext conftest
$ac_exeext
19149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19150 (eval $ac_link) 2>conftest.er1
19152 grep -v '^ *+' conftest.er1
>conftest.err
19154 cat conftest.err
>&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); } &&
19157 { ac_try
='test -z "$ac_c_werror_flag"
19158 || test ! -s conftest.err'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; } &&
19164 { ac_try
='test -s conftest$ac_exeext'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; }; then
19170 eval "$as_ac_var=yes"
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.
$ac_ext >&5
19175 eval "$as_ac_var=no"
19177 rm -f conftest.err conftest.
$ac_objext \
19178 conftest
$ac_exeext conftest.
$ac_ext
19180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19182 if test `eval echo '${'$as_ac_var'}'` = yes; then
19183 cat >>confdefs.h
<<_ACEOF
19184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19191 for ac_func
in ttrace
19193 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19194 echo "$as_me:$LINENO: checking for $ac_func" >&5
19195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19196 if eval "test \"\${$as_ac_var+set}\" = set"; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 cat >conftest.
$ac_ext <<_ACEOF
19202 cat confdefs.h
>>conftest.
$ac_ext
19203 cat >>conftest.
$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19207 #define $ac_func innocuous_$ac_func
19209 /* System header to define __stub macros and hopefully few prototypes,
19210 which can conflict with char $ac_func (); below.
19211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19212 <limits.h> exists even on freestanding compilers. */
19215 # include <limits.h>
19217 # include <assert.h>
19222 /* Override any gcc2 internal prototype to avoid an error. */
19227 /* We use char because int might match the return type of a gcc2
19228 builtin and then its argument prototype would still apply. */
19230 /* The GNU C library defines this for functions which it implements
19231 to always fail with ENOSYS. Some functions are actually named
19232 something starting with __ and the normal name is an alias. */
19233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19236 char (*f) () = $ac_func;
19245 return f != $ac_func;
19250 rm -f conftest.
$ac_objext conftest
$ac_exeext
19251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19252 (eval $ac_link) 2>conftest.er1
19254 grep -v '^ *+' conftest.er1
>conftest.err
19256 cat conftest.err
>&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } &&
19259 { ac_try
='test -z "$ac_c_werror_flag"
19260 || test ! -s conftest.err'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; } &&
19266 { ac_try
='test -s conftest$ac_exeext'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; }; then
19272 eval "$as_ac_var=yes"
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.
$ac_ext >&5
19277 eval "$as_ac_var=no"
19279 rm -f conftest.err conftest.
$ac_objext \
19280 conftest
$ac_exeext conftest.
$ac_ext
19282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19284 if test `eval echo '${'$as_ac_var'}'` = yes; then
19285 cat >>confdefs.h
<<_ACEOF
19286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19293 for ac_func
in wborder
19295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19296 echo "$as_me:$LINENO: checking for $ac_func" >&5
19297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19298 if eval "test \"\${$as_ac_var+set}\" = set"; then
19299 echo $ECHO_N "(cached) $ECHO_C" >&6
19301 cat >conftest.
$ac_ext <<_ACEOF
19304 cat confdefs.h
>>conftest.
$ac_ext
19305 cat >>conftest.
$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19309 #define $ac_func innocuous_$ac_func
19311 /* System header to define __stub macros and hopefully few prototypes,
19312 which can conflict with char $ac_func (); below.
19313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19314 <limits.h> exists even on freestanding compilers. */
19317 # include <limits.h>
19319 # include <assert.h>
19324 /* Override any gcc2 internal prototype to avoid an error. */
19329 /* We use char because int might match the return type of a gcc2
19330 builtin and then its argument prototype would still apply. */
19332 /* The GNU C library defines this for functions which it implements
19333 to always fail with ENOSYS. Some functions are actually named
19334 something starting with __ and the normal name is an alias. */
19335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19338 char (*f) () = $ac_func;
19347 return f != $ac_func;
19352 rm -f conftest.
$ac_objext conftest
$ac_exeext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19354 (eval $ac_link) 2>conftest.er1
19356 grep -v '^ *+' conftest.er1
>conftest.err
19358 cat conftest.err
>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try
='test -z "$ac_c_werror_flag"
19362 || test ! -s conftest.err'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; } &&
19368 { ac_try
='test -s conftest$ac_exeext'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; }; then
19374 eval "$as_ac_var=yes"
19376 echo "$as_me: failed program was:" >&5
19377 sed 's/^/| /' conftest.
$ac_ext >&5
19379 eval "$as_ac_var=no"
19381 rm -f conftest.err conftest.
$ac_objext \
19382 conftest
$ac_exeext conftest.
$ac_ext
19384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19386 if test `eval echo '${'$as_ac_var'}'` = yes; then
19387 cat >>confdefs.h
<<_ACEOF
19388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19395 # Check the return and argument types of ptrace. No canned test for
19396 # this, so roll our own.
19397 gdb_ptrace_headers
='
19398 #if HAVE_SYS_TYPES_H
19399 # include <sys/types.h>
19401 #if HAVE_SYS_PTRACE_H
19402 # include <sys/ptrace.h>
19405 # include <unistd.h>
19408 # There is no point in checking if we don't have a prototype.
19409 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
19410 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
19411 if test "${ac_cv_have_decl_ptrace+set}" = set; then
19412 echo $ECHO_N "(cached) $ECHO_C" >&6
19414 cat >conftest.
$ac_ext <<_ACEOF
19417 cat confdefs.h
>>conftest.
$ac_ext
19418 cat >>conftest.
$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 $gdb_ptrace_headers
19426 char *p = (char *) ptrace;
19433 rm -f conftest.
$ac_objext
19434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19435 (eval $ac_compile) 2>conftest.er1
19437 grep -v '^ *+' conftest.er1
>conftest.err
19439 cat conftest.err
>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } &&
19442 { ac_try
='test -z "$ac_c_werror_flag"
19443 || test ! -s conftest.err'
19444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445 (eval $ac_try) 2>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); }; } &&
19449 { ac_try
='test -s conftest.$ac_objext'
19450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19451 (eval $ac_try) 2>&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); }; }; then
19455 ac_cv_have_decl_ptrace
=yes
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.
$ac_ext >&5
19460 ac_cv_have_decl_ptrace
=no
19462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19464 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
19465 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
19466 if test $ac_cv_have_decl_ptrace = yes; then
19468 cat >>confdefs.h
<<_ACEOF
19469 #define HAVE_DECL_PTRACE 1
19474 cat >>confdefs.h
<<_ACEOF
19475 #define HAVE_DECL_PTRACE 0
19479 : ${gdb_cv_func_ptrace_ret='int'}
19480 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
19485 # Check return type.
19486 echo "$as_me:$LINENO: checking return type of ptrace" >&5
19487 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
19488 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
19489 echo $ECHO_N "(cached) $ECHO_C" >&6
19491 cat >conftest.
$ac_ext <<_ACEOF
19494 cat confdefs.h
>>conftest.
$ac_ext
19495 cat >>conftest.
$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19497 $gdb_ptrace_headers
19501 extern int ptrace ();
19506 rm -f conftest.
$ac_objext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19508 (eval $ac_compile) 2>conftest.er1
19510 grep -v '^ *+' conftest.er1
>conftest.err
19512 cat conftest.err
>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } &&
19515 { ac_try
='test -z "$ac_c_werror_flag"
19516 || test ! -s conftest.err'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try
='test -s conftest.$ac_objext'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; }; then
19528 gdb_cv_func_ptrace_ret
='int'
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.
$ac_ext >&5
19533 gdb_cv_func_ptrace_ret
='long'
19535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19537 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
19538 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
19540 cat >>confdefs.h
<<_ACEOF
19541 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
19544 # Check argument types.
19545 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
19546 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
19547 if test "${gdb_cv_func_ptrace_args+set}" = set; then
19548 echo $ECHO_N "(cached) $ECHO_C" >&6
19551 for gdb_arg1
in 'int' 'long'; do
19552 for gdb_arg2
in 'pid_t' 'int' 'long'; do
19553 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long'; do
19554 for gdb_arg4
in 'int' 'long'; do
19555 cat >conftest.
$ac_ext <<_ACEOF
19558 cat confdefs.h
>>conftest.
$ac_ext
19559 cat >>conftest.
$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19561 $gdb_ptrace_headers
19566 extern $gdb_cv_func_ptrace_ret
19567 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
19573 rm -f conftest.
$ac_objext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19575 (eval $ac_compile) 2>conftest.er1
19577 grep -v '^ *+' conftest.er1
>conftest.err
19579 cat conftest.err
>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); } &&
19582 { ac_try
='test -z "$ac_c_werror_flag"
19583 || test ! -s conftest.err'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; } &&
19589 { ac_try
='test -s conftest.$ac_objext'
19590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591 (eval $ac_try) 2>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; }; then
19595 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.
$ac_ext >&5
19602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19603 for gdb_arg5
in 'int *' 'int' 'long'; do
19604 cat >conftest.
$ac_ext <<_ACEOF
19607 cat confdefs.h
>>conftest.
$ac_ext
19608 cat >>conftest.
$ac_ext <<_ACEOF
19609 /* end confdefs.h. */
19610 $gdb_ptrace_headers
19615 extern $gdb_cv_func_ptrace_ret
19616 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
19622 rm -f conftest.
$ac_objext
19623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19624 (eval $ac_compile) 2>conftest.er1
19626 grep -v '^ *+' conftest.er1
>conftest.err
19628 cat conftest.err
>&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); } &&
19631 { ac_try
='test -z "$ac_c_werror_flag"
19632 || test ! -s conftest.err'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; } &&
19638 { ac_try
='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19645 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.
$ac_ext >&5
19652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19658 # Provide a safe default value.
19659 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
19662 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
19663 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
19664 ac_save_IFS
=$IFS; IFS
=','
19665 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
19669 cat >>confdefs.h
<<_ACEOF
19670 #define PTRACE_TYPE_ARG3 $3
19673 if test -n "$5"; then
19675 cat >>confdefs.h
<<_ACEOF
19676 #define PTRACE_TYPE_ARG5 $5
19681 if test "$cross_compiling" = no
; then
19682 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
19683 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
19684 if test "${ac_cv_func_setpgrp_void+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 if test "$cross_compiling" = yes; then
19688 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
19689 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
19690 { (exit 1); exit 1; }; }
19692 cat >conftest.
$ac_ext <<_ACEOF
19695 cat confdefs.h
>>conftest.
$ac_ext
19696 cat >>conftest.
$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19699 # include <unistd.h>
19705 /* If this system has a BSD-style setpgrp which takes arguments,
19706 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
19707 exit successfully. */
19708 exit (setpgrp (1,1) == -1 ? 0 : 1);
19713 rm -f conftest
$ac_exeext
19714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19715 (eval $ac_link) 2>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_cv_func_setpgrp_void
=no
19726 echo "$as_me: program exited with status $ac_status" >&5
19727 echo "$as_me: failed program was:" >&5
19728 sed 's/^/| /' conftest.
$ac_ext >&5
19730 ( exit $ac_status )
19731 ac_cv_func_setpgrp_void
=yes
19733 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19736 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
19737 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
19738 if test $ac_cv_func_setpgrp_void = yes; then
19740 cat >>confdefs.h
<<\_ACEOF
19741 #define SETPGRP_VOID 1
19747 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
19748 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
19749 if test "${ac_cv_func_setpgrp_void+set}" = set; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 cat >conftest.
$ac_ext <<_ACEOF
19755 cat confdefs.h
>>conftest.
$ac_ext
19756 cat >>conftest.
$ac_ext <<_ACEOF
19757 /* end confdefs.h. */
19759 #include <unistd.h>
19765 if (setpgrp(1,1) == -1)
19774 rm -f conftest.
$ac_objext
19775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19776 (eval $ac_compile) 2>conftest.er1
19778 grep -v '^ *+' conftest.er1
>conftest.err
19780 cat conftest.err
>&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } &&
19783 { ac_try
='test -z "$ac_c_werror_flag"
19784 || test ! -s conftest.err'
19785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786 (eval $ac_try) 2>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; } &&
19790 { ac_try
='test -s conftest.$ac_objext'
19791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19792 (eval $ac_try) 2>&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); }; }; then
19796 ac_cv_func_setpgrp_void
=no
19798 echo "$as_me: failed program was:" >&5
19799 sed 's/^/| /' conftest.
$ac_ext >&5
19801 ac_cv_func_setpgrp_void
=yes
19803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19805 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
19806 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
19807 if test $ac_cv_func_setpgrp_void = yes; then
19808 cat >>confdefs.h
<<\_ACEOF
19809 #define SETPGRP_VOID 1
19815 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
19816 # since sigsetjmp might only be defined as a macro.
19817 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
19818 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
19819 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19822 cat >conftest.
$ac_ext <<_ACEOF
19825 cat confdefs.h
>>conftest.
$ac_ext
19826 cat >>conftest.
$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19829 #include <setjmp.h>
19834 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
19839 rm -f conftest.
$ac_objext
19840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19841 (eval $ac_compile) 2>conftest.er1
19843 grep -v '^ *+' conftest.er1
>conftest.err
19845 cat conftest.err
>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try
='test -z "$ac_c_werror_flag"
19849 || test ! -s conftest.err'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; } &&
19855 { ac_try
='test -s conftest.$ac_objext'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19861 gdb_cv_func_sigsetjmp
=yes
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.
$ac_ext >&5
19866 gdb_cv_func_sigsetjmp
=no
19868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19870 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
19871 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
19872 if test $gdb_cv_func_sigsetjmp = yes; then
19874 cat >>confdefs.h
<<\_ACEOF
19875 #define HAVE_SIGSETJMP 1
19880 # Assume we'll default to using the included libiberty regex.
19881 gdb_use_included_regex
=yes
19883 # However, if the system regex is GNU regex, then default to *not*
19884 # using the included regex.
19885 echo "$as_me:$LINENO: checking for GNU regex" >&5
19886 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
19887 if test "${gdb_cv_have_gnu_regex+set}" = set; then
19888 echo $ECHO_N "(cached) $ECHO_C" >&6
19890 cat >conftest.
$ac_ext <<_ACEOF
19893 cat confdefs.h
>>conftest.
$ac_ext
19894 cat >>conftest.
$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 #include <gnu-versions.h>
19900 #define REGEX_INTERFACE_VERSION 1
19901 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
19902 # error "Version mismatch"
19908 rm -f conftest.
$ac_objext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910 (eval $ac_compile) 2>conftest.er1
19912 grep -v '^ *+' conftest.er1
>conftest.err
19914 cat conftest.err
>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try
='test -z "$ac_c_werror_flag"
19918 || test ! -s conftest.err'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; } &&
19924 { ac_try
='test -s conftest.$ac_objext'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; }; then
19930 gdb_cv_have_gnu_regex
=yes
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.
$ac_ext >&5
19935 gdb_cv_have_gnu_regex
=no
19937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19939 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
19940 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
19941 if test $gdb_cv_have_gnu_regex = yes; then
19942 gdb_use_included_regex
=no
19946 # Check whether --with-included-regex or --without-included-regex was given.
19947 if test "${with_included_regex+set}" = set; then
19948 withval
="$with_included_regex"
19949 gdb_with_regex
=$withval
19951 gdb_with_regex
=$gdb_use_included_regex
19953 if test "$gdb_with_regex" = yes; then
19955 cat >>confdefs.h
<<\_ACEOF
19956 #define USE_INCLUDED_REGEX 1
19961 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
19962 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
19963 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
19964 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
19965 echo $ECHO_N "(cached) $ECHO_C" >&6
19967 cat >conftest.
$ac_ext <<_ACEOF
19970 cat confdefs.h
>>conftest.
$ac_ext
19971 cat >>conftest.
$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 #include <sys/param.h>
19974 #include <sys/proc.h>
19980 static struct thread ac_aggr;
19981 if (ac_aggr.td_pcb)
19987 rm -f conftest.
$ac_objext
19988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19989 (eval $ac_compile) 2>conftest.er1
19991 grep -v '^ *+' conftest.er1
>conftest.err
19993 cat conftest.err
>&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); } &&
19996 { ac_try
='test -z "$ac_c_werror_flag"
19997 || test ! -s conftest.err'
19998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999 (eval $ac_try) 2>&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); }; } &&
20003 { ac_try
='test -s conftest.$ac_objext'
20004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20005 (eval $ac_try) 2>&5
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); }; }; then
20009 ac_cv_member_struct_thread_td_pcb
=yes
20011 echo "$as_me: failed program was:" >&5
20012 sed 's/^/| /' conftest.
$ac_ext >&5
20014 cat >conftest.
$ac_ext <<_ACEOF
20017 cat confdefs.h
>>conftest.
$ac_ext
20018 cat >>conftest.
$ac_ext <<_ACEOF
20019 /* end confdefs.h. */
20020 #include <sys/param.h>
20021 #include <sys/proc.h>
20027 static struct thread ac_aggr;
20028 if (sizeof ac_aggr.td_pcb)
20034 rm -f conftest.
$ac_objext
20035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20036 (eval $ac_compile) 2>conftest.er1
20038 grep -v '^ *+' conftest.er1
>conftest.err
20040 cat conftest.err
>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } &&
20043 { ac_try
='test -z "$ac_c_werror_flag"
20044 || test ! -s conftest.err'
20045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20046 (eval $ac_try) 2>&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); }; } &&
20050 { ac_try
='test -s conftest.$ac_objext'
20051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052 (eval $ac_try) 2>&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; }; then
20056 ac_cv_member_struct_thread_td_pcb
=yes
20058 echo "$as_me: failed program was:" >&5
20059 sed 's/^/| /' conftest.
$ac_ext >&5
20061 ac_cv_member_struct_thread_td_pcb
=no
20063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20067 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
20068 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
20069 if test $ac_cv_member_struct_thread_td_pcb = yes; then
20071 cat >>confdefs.h
<<_ACEOF
20072 #define HAVE_STRUCT_THREAD_TD_PCB 1
20079 # See if <sys/lwp.h> defines `struct lwp`.
20080 echo "$as_me:$LINENO: checking for struct lwp" >&5
20081 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
20082 if test "${gdb_cv_struct_lwp+set}" = set; then
20083 echo $ECHO_N "(cached) $ECHO_C" >&6
20085 cat >conftest.
$ac_ext <<_ACEOF
20088 cat confdefs.h
>>conftest.
$ac_ext
20089 cat >>conftest.
$ac_ext <<_ACEOF
20090 /* end confdefs.h. */
20091 #include <sys/param.h>
20092 #include <sys/lwp.h>
20101 rm -f conftest.
$ac_objext
20102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20103 (eval $ac_compile) 2>conftest.er1
20105 grep -v '^ *+' conftest.er1
>conftest.err
20107 cat conftest.err
>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } &&
20110 { ac_try
='test -z "$ac_c_werror_flag"
20111 || test ! -s conftest.err'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; } &&
20117 { ac_try
='test -s conftest.$ac_objext'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; }; then
20123 gdb_cv_struct_lwp
=yes
20125 echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.
$ac_ext >&5
20128 gdb_cv_struct_lwp
=no
20130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20132 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
20133 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
20134 if test $gdb_cv_struct_lwp = yes; then
20136 cat >>confdefs.h
<<\_ACEOF
20137 #define HAVE_STRUCT_LWP 1
20142 # See if <machine/reg.h> degines `struct reg'.
20143 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
20144 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
20145 if test "${gdb_cv_struct_reg+set}" = set; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 cat >conftest.
$ac_ext <<_ACEOF
20151 cat confdefs.h
>>conftest.
$ac_ext
20152 cat >>conftest.
$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 #include <sys/types.h>
20155 #include <machine/reg.h>
20164 rm -f conftest.
$ac_objext
20165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20166 (eval $ac_compile) 2>conftest.er1
20168 grep -v '^ *+' conftest.er1
>conftest.err
20170 cat conftest.err
>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } &&
20173 { ac_try
='test -z "$ac_c_werror_flag"
20174 || test ! -s conftest.err'
20175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20176 (eval $ac_try) 2>&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); }; } &&
20180 { ac_try
='test -s conftest.$ac_objext'
20181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20182 (eval $ac_try) 2>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); }; }; then
20186 gdb_cv_struct_reg
=yes
20188 echo "$as_me: failed program was:" >&5
20189 sed 's/^/| /' conftest.
$ac_ext >&5
20191 gdb_cv_struct_reg
=no
20193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20195 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
20196 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
20197 if test $gdb_cv_struct_reg = yes; then
20199 cat >>confdefs.h
<<\_ACEOF
20200 #define HAVE_STRUCT_REG 1
20205 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
20206 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
20207 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
20208 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
20209 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
20210 echo $ECHO_N "(cached) $ECHO_C" >&6
20212 cat >conftest.
$ac_ext <<_ACEOF
20215 cat confdefs.h
>>conftest.
$ac_ext
20216 cat >>conftest.
$ac_ext <<_ACEOF
20217 /* end confdefs.h. */
20218 #include <machine/reg.h>
20223 static struct reg ac_aggr;
20230 rm -f conftest.
$ac_objext
20231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20232 (eval $ac_compile) 2>conftest.er1
20234 grep -v '^ *+' conftest.er1
>conftest.err
20236 cat conftest.err
>&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); } &&
20239 { ac_try
='test -z "$ac_c_werror_flag"
20240 || test ! -s conftest.err'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; } &&
20246 { ac_try
='test -s conftest.$ac_objext'
20247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20248 (eval $ac_try) 2>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); }; }; then
20252 ac_cv_member_struct_reg_r_fs
=yes
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.
$ac_ext >&5
20257 cat >conftest.
$ac_ext <<_ACEOF
20260 cat confdefs.h
>>conftest.
$ac_ext
20261 cat >>conftest.
$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 #include <machine/reg.h>
20268 static struct reg ac_aggr;
20269 if (sizeof ac_aggr.r_fs)
20275 rm -f conftest.
$ac_objext
20276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20277 (eval $ac_compile) 2>conftest.er1
20279 grep -v '^ *+' conftest.er1
>conftest.err
20281 cat conftest.err
>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } &&
20284 { ac_try
='test -z "$ac_c_werror_flag"
20285 || test ! -s conftest.err'
20286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20287 (eval $ac_try) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); }; } &&
20291 { ac_try
='test -s conftest.$ac_objext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 ac_cv_member_struct_reg_r_fs
=yes
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.
$ac_ext >&5
20302 ac_cv_member_struct_reg_r_fs
=no
20304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20308 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
20309 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
20310 if test $ac_cv_member_struct_reg_r_fs = yes; then
20312 cat >>confdefs.h
<<_ACEOF
20313 #define HAVE_STRUCT_REG_R_FS 1
20318 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
20319 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
20320 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
20321 echo $ECHO_N "(cached) $ECHO_C" >&6
20323 cat >conftest.
$ac_ext <<_ACEOF
20326 cat confdefs.h
>>conftest.
$ac_ext
20327 cat >>conftest.
$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 #include <machine/reg.h>
20334 static struct reg ac_aggr;
20341 rm -f conftest.
$ac_objext
20342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20343 (eval $ac_compile) 2>conftest.er1
20345 grep -v '^ *+' conftest.er1
>conftest.err
20347 cat conftest.err
>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); } &&
20350 { ac_try
='test -z "$ac_c_werror_flag"
20351 || test ! -s conftest.err'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; } &&
20357 { ac_try
='test -s conftest.$ac_objext'
20358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359 (eval $ac_try) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; }; then
20363 ac_cv_member_struct_reg_r_gs
=yes
20365 echo "$as_me: failed program was:" >&5
20366 sed 's/^/| /' conftest.
$ac_ext >&5
20368 cat >conftest.
$ac_ext <<_ACEOF
20371 cat confdefs.h
>>conftest.
$ac_ext
20372 cat >>conftest.
$ac_ext <<_ACEOF
20373 /* end confdefs.h. */
20374 #include <machine/reg.h>
20379 static struct reg ac_aggr;
20380 if (sizeof ac_aggr.r_gs)
20386 rm -f conftest.
$ac_objext
20387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20388 (eval $ac_compile) 2>conftest.er1
20390 grep -v '^ *+' conftest.er1
>conftest.err
20392 cat conftest.err
>&5
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); } &&
20395 { ac_try
='test -z "$ac_c_werror_flag"
20396 || test ! -s conftest.err'
20397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20398 (eval $ac_try) 2>&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); }; } &&
20402 { ac_try
='test -s conftest.$ac_objext'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; }; then
20408 ac_cv_member_struct_reg_r_gs
=yes
20410 echo "$as_me: failed program was:" >&5
20411 sed 's/^/| /' conftest.
$ac_ext >&5
20413 ac_cv_member_struct_reg_r_gs
=no
20415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20419 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
20420 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
20421 if test $ac_cv_member_struct_reg_r_gs = yes; then
20423 cat >>confdefs.h
<<_ACEOF
20424 #define HAVE_STRUCT_REG_R_GS 1
20431 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
20432 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
20433 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
20434 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 cat >conftest.
$ac_ext <<_ACEOF
20440 cat confdefs.h
>>conftest.
$ac_ext
20441 cat >>conftest.
$ac_ext <<_ACEOF
20442 /* end confdefs.h. */
20443 #include <sys/ptrace.h>
20452 rm -f conftest.
$ac_objext
20453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20454 (eval $ac_compile) 2>conftest.er1
20456 grep -v '^ *+' conftest.er1
>conftest.err
20458 cat conftest.err
>&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } &&
20461 { ac_try
='test -z "$ac_c_werror_flag"
20462 || test ! -s conftest.err'
20463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20464 (eval $ac_try) 2>&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); }; } &&
20468 { ac_try
='test -s conftest.$ac_objext'
20469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; }; then
20474 gdb_cv_have_ptrace_getregs
=yes
20476 echo "$as_me: failed program was:" >&5
20477 sed 's/^/| /' conftest.
$ac_ext >&5
20479 gdb_cv_have_ptrace_getregs
=no
20481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20484 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
20485 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
20486 if test $gdb_cv_have_ptrace_getregs = yes; then
20488 cat >>confdefs.h
<<\_ACEOF
20489 #define HAVE_PTRACE_GETREGS 1
20494 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
20495 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
20496 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
20497 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
20498 echo $ECHO_N "(cached) $ECHO_C" >&6
20500 cat >conftest.
$ac_ext <<_ACEOF
20503 cat confdefs.h
>>conftest.
$ac_ext
20504 cat >>conftest.
$ac_ext <<_ACEOF
20505 /* end confdefs.h. */
20506 #include <sys/ptrace.h>
20515 rm -f conftest.
$ac_objext
20516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20517 (eval $ac_compile) 2>conftest.er1
20519 grep -v '^ *+' conftest.er1
>conftest.err
20521 cat conftest.err
>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try
='test -z "$ac_c_werror_flag"
20525 || test ! -s conftest.err'
20526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20527 (eval $ac_try) 2>&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); }; } &&
20531 { ac_try
='test -s conftest.$ac_objext'
20532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533 (eval $ac_try) 2>&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); }; }; then
20537 gdb_cv_have_ptrace_getfpxregs
=yes
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.
$ac_ext >&5
20542 gdb_cv_have_ptrace_getfpxregs
=no
20544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20547 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
20548 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
20549 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
20551 cat >>confdefs.h
<<\_ACEOF
20552 #define HAVE_PTRACE_GETFPXREGS 1
20557 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
20558 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
20559 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
20560 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 cat >conftest.
$ac_ext <<_ACEOF
20566 cat confdefs.h
>>conftest.
$ac_ext
20567 cat >>conftest.
$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 #include <sys/types.h>
20570 #include <sys/ptrace.h>
20579 rm -f conftest.
$ac_objext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20581 (eval $ac_compile) 2>conftest.er1
20583 grep -v '^ *+' conftest.er1
>conftest.err
20585 cat conftest.err
>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try
='test -z "$ac_c_werror_flag"
20589 || test ! -s conftest.err'
20590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20591 (eval $ac_try) 2>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; } &&
20595 { ac_try
='test -s conftest.$ac_objext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 gdb_cv_have_pt_getdbregs
=yes
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.
$ac_ext >&5
20606 gdb_cv_have_pt_getdbregs
=no
20608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20611 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
20612 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
20613 if test $gdb_cv_have_pt_getdbregs = yes; then
20615 cat >>confdefs.h
<<\_ACEOF
20616 #define HAVE_PT_GETDBREGS 1
20621 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
20622 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
20623 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
20624 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
20625 echo $ECHO_N "(cached) $ECHO_C" >&6
20627 cat >conftest.
$ac_ext <<_ACEOF
20630 cat confdefs.h
>>conftest.
$ac_ext
20631 cat >>conftest.
$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20633 #include <sys/types.h>
20634 #include <sys/ptrace.h>
20643 rm -f conftest.
$ac_objext
20644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20645 (eval $ac_compile) 2>conftest.er1
20647 grep -v '^ *+' conftest.er1
>conftest.err
20649 cat conftest.err
>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); } &&
20652 { ac_try
='test -z "$ac_c_werror_flag"
20653 || test ! -s conftest.err'
20654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20655 (eval $ac_try) 2>&5
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); }; } &&
20659 { ac_try
='test -s conftest.$ac_objext'
20660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20661 (eval $ac_try) 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; }; then
20665 gdb_cv_have_pt_getxmmregs
=yes
20667 echo "$as_me: failed program was:" >&5
20668 sed 's/^/| /' conftest.
$ac_ext >&5
20670 gdb_cv_have_pt_getxmmregs
=no
20672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20675 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
20676 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
20677 if test $gdb_cv_have_pt_getxmmregs = yes; then
20679 cat >>confdefs.h
<<\_ACEOF
20680 #define HAVE_PT_GETXMMREGS 1
20685 # If we are configured native on GNU/Linux, work around problems with
20687 # Also detect which type of /proc is in use, such as for Unixware or Solaris.
20689 if test "${target}" = "${host}"; then
20691 i
[3456]86-*-linux*)
20693 cat >>confdefs.h
<<\_ACEOF
20694 #define START_INFERIOR_TRAPS_EXPECTED 2
20698 cat >>confdefs.h
<<\_ACEOF
20699 #define sys_quotactl 1
20703 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
20705 cat >>confdefs.h
<<\_ACEOF
20706 #define NEW_PROC_API 1
20710 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9])
20712 cat >>confdefs.h
<<\_ACEOF
20713 #define NEW_PROC_API 1
20718 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
20720 cat >>confdefs.h
<<\_ACEOF
20721 #define _KMEMUSER 1
20728 if test "$ac_cv_header_sys_procfs_h" = yes; then
20729 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
20730 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
20731 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
20732 echo $ECHO_N "(cached) $ECHO_C" >&6
20734 cat >conftest.
$ac_ext <<_ACEOF
20737 cat confdefs.h
>>conftest.
$ac_ext
20738 cat >>conftest.
$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20742 #include <sys/procfs.h>
20751 rm -f conftest.
$ac_objext
20752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20753 (eval $ac_compile) 2>conftest.er1
20755 grep -v '^ *+' conftest.er1
>conftest.err
20757 cat conftest.err
>&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try
='test -z "$ac_c_werror_flag"
20761 || test ! -s conftest.err'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; } &&
20767 { ac_try
='test -s conftest.$ac_objext'
20768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769 (eval $ac_try) 2>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); }; }; then
20773 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
20775 echo "$as_me: failed program was:" >&5
20776 sed 's/^/| /' conftest.
$ac_ext >&5
20778 bfd_cv_have_sys_procfs_type_pstatus_t
=no
20781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20784 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
20786 cat >>confdefs.h
<<\_ACEOF
20787 #define HAVE_PSTATUS_T 1
20791 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
20792 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
20794 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
20795 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
20796 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
20797 echo $ECHO_N "(cached) $ECHO_C" >&6
20799 cat >conftest.
$ac_ext <<_ACEOF
20802 cat confdefs.h
>>conftest.
$ac_ext
20803 cat >>conftest.
$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20807 #include <sys/procfs.h>
20816 rm -f conftest.
$ac_objext
20817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20818 (eval $ac_compile) 2>conftest.er1
20820 grep -v '^ *+' conftest.er1
>conftest.err
20822 cat conftest.err
>&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); } &&
20825 { ac_try
='test -z "$ac_c_werror_flag"
20826 || test ! -s conftest.err'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; } &&
20832 { ac_try
='test -s conftest.$ac_objext'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; }; then
20838 bfd_cv_have_sys_procfs_type_prrun_t
=yes
20840 echo "$as_me: failed program was:" >&5
20841 sed 's/^/| /' conftest.
$ac_ext >&5
20843 bfd_cv_have_sys_procfs_type_prrun_t
=no
20846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20849 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
20851 cat >>confdefs.h
<<\_ACEOF
20852 #define HAVE_PRRUN_T 1
20856 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
20857 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
20859 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
20860 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
20861 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
20862 echo $ECHO_N "(cached) $ECHO_C" >&6
20864 cat >conftest.
$ac_ext <<_ACEOF
20867 cat confdefs.h
>>conftest.
$ac_ext
20868 cat >>conftest.
$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20872 #include <sys/procfs.h>
20881 rm -f conftest.
$ac_objext
20882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20883 (eval $ac_compile) 2>conftest.er1
20885 grep -v '^ *+' conftest.er1
>conftest.err
20887 cat conftest.err
>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
20890 { ac_try
='test -z "$ac_c_werror_flag"
20891 || test ! -s conftest.err'
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; } &&
20897 { ac_try
='test -s conftest.$ac_objext'
20898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20899 (eval $ac_try) 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; }; then
20903 bfd_cv_have_sys_procfs_type_gregset_t
=yes
20905 echo "$as_me: failed program was:" >&5
20906 sed 's/^/| /' conftest.
$ac_ext >&5
20908 bfd_cv_have_sys_procfs_type_gregset_t
=no
20911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20914 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
20916 cat >>confdefs.h
<<\_ACEOF
20917 #define HAVE_GREGSET_T 1
20921 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
20922 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
20924 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
20925 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
20926 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
20927 echo $ECHO_N "(cached) $ECHO_C" >&6
20929 cat >conftest.
$ac_ext <<_ACEOF
20932 cat confdefs.h
>>conftest.
$ac_ext
20933 cat >>conftest.
$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20937 #include <sys/procfs.h>
20946 rm -f conftest.
$ac_objext
20947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20948 (eval $ac_compile) 2>conftest.er1
20950 grep -v '^ *+' conftest.er1
>conftest.err
20952 cat conftest.err
>&5
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); } &&
20955 { ac_try
='test -z "$ac_c_werror_flag"
20956 || test ! -s conftest.err'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; } &&
20962 { ac_try
='test -s conftest.$ac_objext'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; }; then
20968 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.
$ac_ext >&5
20973 bfd_cv_have_sys_procfs_type_fpregset_t
=no
20976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20979 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
20981 cat >>confdefs.h
<<\_ACEOF
20982 #define HAVE_FPREGSET_T 1
20986 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
20987 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
20989 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
20990 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
20991 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
20992 echo $ECHO_N "(cached) $ECHO_C" >&6
20994 cat >conftest.
$ac_ext <<_ACEOF
20997 cat confdefs.h
>>conftest.
$ac_ext
20998 cat >>conftest.
$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21002 #include <sys/procfs.h>
21011 rm -f conftest.
$ac_objext
21012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21013 (eval $ac_compile) 2>conftest.er1
21015 grep -v '^ *+' conftest.er1
>conftest.err
21017 cat conftest.err
>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } &&
21020 { ac_try
='test -z "$ac_c_werror_flag"
21021 || test ! -s conftest.err'
21022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21023 (eval $ac_try) 2>&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); }; } &&
21027 { ac_try
='test -s conftest.$ac_objext'
21028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21029 (eval $ac_try) 2>&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); }; }; then
21033 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
21035 echo "$as_me: failed program was:" >&5
21036 sed 's/^/| /' conftest.
$ac_ext >&5
21038 bfd_cv_have_sys_procfs_type_prgregset_t
=no
21041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21044 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
21046 cat >>confdefs.h
<<\_ACEOF
21047 #define HAVE_PRGREGSET_T 1
21051 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
21052 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
21054 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
21055 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
21056 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
21057 echo $ECHO_N "(cached) $ECHO_C" >&6
21059 cat >conftest.
$ac_ext <<_ACEOF
21062 cat confdefs.h
>>conftest.
$ac_ext
21063 cat >>conftest.
$ac_ext <<_ACEOF
21064 /* end confdefs.h. */
21067 #include <sys/procfs.h>
21076 rm -f conftest.
$ac_objext
21077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21078 (eval $ac_compile) 2>conftest.er1
21080 grep -v '^ *+' conftest.er1
>conftest.err
21082 cat conftest.err
>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } &&
21085 { ac_try
='test -z "$ac_c_werror_flag"
21086 || test ! -s conftest.err'
21087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21088 (eval $ac_try) 2>&5
21090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091 (exit $ac_status); }; } &&
21092 { ac_try
='test -s conftest.$ac_objext'
21093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21094 (eval $ac_try) 2>&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); }; }; then
21098 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
21100 echo "$as_me: failed program was:" >&5
21101 sed 's/^/| /' conftest.
$ac_ext >&5
21103 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
21106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21109 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
21111 cat >>confdefs.h
<<\_ACEOF
21112 #define HAVE_PRFPREGSET_T 1
21116 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
21117 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
21119 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
21120 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
21121 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
21122 echo $ECHO_N "(cached) $ECHO_C" >&6
21124 cat >conftest.
$ac_ext <<_ACEOF
21127 cat confdefs.h
>>conftest.
$ac_ext
21128 cat >>conftest.
$ac_ext <<_ACEOF
21129 /* end confdefs.h. */
21132 #include <sys/procfs.h>
21141 rm -f conftest.
$ac_objext
21142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21143 (eval $ac_compile) 2>conftest.er1
21145 grep -v '^ *+' conftest.er1
>conftest.err
21147 cat conftest.err
>&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); } &&
21150 { ac_try
='test -z "$ac_c_werror_flag"
21151 || test ! -s conftest.err'
21152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21153 (eval $ac_try) 2>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); }; } &&
21157 { ac_try
='test -s conftest.$ac_objext'
21158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159 (eval $ac_try) 2>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; }; then
21163 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
21165 echo "$as_me: failed program was:" >&5
21166 sed 's/^/| /' conftest.
$ac_ext >&5
21168 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
21171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21174 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
21176 cat >>confdefs.h
<<\_ACEOF
21177 #define HAVE_PRGREGSET32_T 1
21181 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
21182 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
21184 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
21185 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
21186 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
21187 echo $ECHO_N "(cached) $ECHO_C" >&6
21189 cat >conftest.
$ac_ext <<_ACEOF
21192 cat confdefs.h
>>conftest.
$ac_ext
21193 cat >>conftest.
$ac_ext <<_ACEOF
21194 /* end confdefs.h. */
21197 #include <sys/procfs.h>
21201 prfpregset32_t avar
21206 rm -f conftest.
$ac_objext
21207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21208 (eval $ac_compile) 2>conftest.er1
21210 grep -v '^ *+' conftest.er1
>conftest.err
21212 cat conftest.err
>&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } &&
21215 { ac_try
='test -z "$ac_c_werror_flag"
21216 || test ! -s conftest.err'
21217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21218 (eval $ac_try) 2>&5
21220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21221 (exit $ac_status); }; } &&
21222 { ac_try
='test -s conftest.$ac_objext'
21223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21224 (eval $ac_try) 2>&5
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); }; }; then
21228 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
21230 echo "$as_me: failed program was:" >&5
21231 sed 's/^/| /' conftest.
$ac_ext >&5
21233 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
21236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21239 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
21241 cat >>confdefs.h
<<\_ACEOF
21242 #define HAVE_PRFPREGSET32_T 1
21246 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
21247 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
21249 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
21250 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
21251 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
21252 echo $ECHO_N "(cached) $ECHO_C" >&6
21254 cat >conftest.
$ac_ext <<_ACEOF
21257 cat confdefs.h
>>conftest.
$ac_ext
21258 cat >>conftest.
$ac_ext <<_ACEOF
21259 /* end confdefs.h. */
21262 #include <sys/procfs.h>
21271 rm -f conftest.
$ac_objext
21272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21273 (eval $ac_compile) 2>conftest.er1
21275 grep -v '^ *+' conftest.er1
>conftest.err
21277 cat conftest.err
>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } &&
21280 { ac_try
='test -z "$ac_c_werror_flag"
21281 || test ! -s conftest.err'
21282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283 (eval $ac_try) 2>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); }; } &&
21287 { ac_try
='test -s conftest.$ac_objext'
21288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289 (eval $ac_try) 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; }; then
21293 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.
$ac_ext >&5
21298 bfd_cv_have_sys_procfs_type_lwpid_t
=no
21301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21304 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
21306 cat >>confdefs.h
<<\_ACEOF
21307 #define HAVE_LWPID_T 1
21311 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
21312 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
21314 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
21315 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
21316 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
21317 echo $ECHO_N "(cached) $ECHO_C" >&6
21319 cat >conftest.
$ac_ext <<_ACEOF
21322 cat confdefs.h
>>conftest.
$ac_ext
21323 cat >>conftest.
$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21327 #include <sys/procfs.h>
21336 rm -f conftest.
$ac_objext
21337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21338 (eval $ac_compile) 2>conftest.er1
21340 grep -v '^ *+' conftest.er1
>conftest.err
21342 cat conftest.err
>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); } &&
21345 { ac_try
='test -z "$ac_c_werror_flag"
21346 || test ! -s conftest.err'
21347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21348 (eval $ac_try) 2>&5
21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351 (exit $ac_status); }; } &&
21352 { ac_try
='test -s conftest.$ac_objext'
21353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21354 (eval $ac_try) 2>&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); }; }; then
21358 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
21360 echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.
$ac_ext >&5
21363 bfd_cv_have_sys_procfs_type_psaddr_t
=no
21366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21369 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
21371 cat >>confdefs.h
<<\_ACEOF
21372 #define HAVE_PSADDR_T 1
21376 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
21377 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
21379 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
21380 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
21381 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 cat >conftest.
$ac_ext <<_ACEOF
21387 cat confdefs.h
>>conftest.
$ac_ext
21388 cat >>conftest.
$ac_ext <<_ACEOF
21389 /* end confdefs.h. */
21392 #include <sys/procfs.h>
21401 rm -f conftest.
$ac_objext
21402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21403 (eval $ac_compile) 2>conftest.er1
21405 grep -v '^ *+' conftest.er1
>conftest.err
21407 cat conftest.err
>&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } &&
21410 { ac_try
='test -z "$ac_c_werror_flag"
21411 || test ! -s conftest.err'
21412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21413 (eval $ac_try) 2>&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; } &&
21417 { ac_try
='test -s conftest.$ac_objext'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; }; then
21423 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
21425 echo "$as_me: failed program was:" >&5
21426 sed 's/^/| /' conftest.
$ac_ext >&5
21428 bfd_cv_have_sys_procfs_type_prsysent_t
=no
21431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21434 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
21436 cat >>confdefs.h
<<\_ACEOF
21437 #define HAVE_PRSYSENT_T 1
21441 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
21442 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
21444 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
21445 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
21446 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
21447 echo $ECHO_N "(cached) $ECHO_C" >&6
21449 cat >conftest.
$ac_ext <<_ACEOF
21452 cat confdefs.h
>>conftest.
$ac_ext
21453 cat >>conftest.
$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21457 #include <sys/procfs.h>
21466 rm -f conftest.
$ac_objext
21467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21468 (eval $ac_compile) 2>conftest.er1
21470 grep -v '^ *+' conftest.er1
>conftest.err
21472 cat conftest.err
>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); } &&
21475 { ac_try
='test -z "$ac_c_werror_flag"
21476 || test ! -s conftest.err'
21477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478 (eval $ac_try) 2>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); }; } &&
21482 { ac_try
='test -s conftest.$ac_objext'
21483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21484 (eval $ac_try) 2>&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); }; }; then
21488 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
21490 echo "$as_me: failed program was:" >&5
21491 sed 's/^/| /' conftest.
$ac_ext >&5
21493 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
21496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21499 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
21501 cat >>confdefs.h
<<\_ACEOF
21502 #define HAVE_PR_SIGSET_T 1
21506 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
21507 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
21509 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
21510 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
21511 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21514 cat >conftest.
$ac_ext <<_ACEOF
21517 cat confdefs.h
>>conftest.
$ac_ext
21518 cat >>conftest.
$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21522 #include <sys/procfs.h>
21526 pr_sigaction64_t avar
21531 rm -f conftest.
$ac_objext
21532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21533 (eval $ac_compile) 2>conftest.er1
21535 grep -v '^ *+' conftest.er1
>conftest.err
21537 cat conftest.err
>&5
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); } &&
21540 { ac_try
='test -z "$ac_c_werror_flag"
21541 || test ! -s conftest.err'
21542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21543 (eval $ac_try) 2>&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); }; } &&
21547 { ac_try
='test -s conftest.$ac_objext'
21548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21549 (eval $ac_try) 2>&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); }; }; then
21553 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
21555 echo "$as_me: failed program was:" >&5
21556 sed 's/^/| /' conftest.
$ac_ext >&5
21558 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
21561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21564 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
21566 cat >>confdefs.h
<<\_ACEOF
21567 #define HAVE_PR_SIGACTION64_T 1
21571 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
21572 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
21574 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
21575 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
21576 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
21577 echo $ECHO_N "(cached) $ECHO_C" >&6
21579 cat >conftest.
$ac_ext <<_ACEOF
21582 cat confdefs.h
>>conftest.
$ac_ext
21583 cat >>conftest.
$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21587 #include <sys/procfs.h>
21591 pr_siginfo64_t avar
21596 rm -f conftest.
$ac_objext
21597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21598 (eval $ac_compile) 2>conftest.er1
21600 grep -v '^ *+' conftest.er1
>conftest.err
21602 cat conftest.err
>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try
='test -z "$ac_c_werror_flag"
21606 || test ! -s conftest.err'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; } &&
21612 { ac_try
='test -s conftest.$ac_objext'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.
$ac_ext >&5
21623 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
21626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21629 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
21631 cat >>confdefs.h
<<\_ACEOF
21632 #define HAVE_PR_SIGINFO64_T 1
21636 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
21637 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
21643 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
21644 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
21645 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
21646 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
21647 echo $ECHO_N "(cached) $ECHO_C" >&6
21649 if test "$cross_compiling" = yes; then
21650 gdb_cv_prfpregset_t_broken
=yes
21652 cat >conftest.
$ac_ext <<_ACEOF
21655 cat confdefs.h
>>conftest.
$ac_ext
21656 cat >>conftest.
$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21658 #include <sys/procfs.h>
21661 if (sizeof (prfpregset_t) == sizeof (void *))
21666 rm -f conftest
$ac_exeext
21667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21668 (eval $ac_link) 2>&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21673 (eval $ac_try) 2>&5
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); }; }; then
21677 gdb_cv_prfpregset_t_broken
=no
21679 echo "$as_me: program exited with status $ac_status" >&5
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.
$ac_ext >&5
21683 ( exit $ac_status )
21684 gdb_cv_prfpregset_t_broken
=yes
21686 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21690 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
21691 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
21692 if test $gdb_cv_prfpregset_t_broken = yes; then
21694 cat >>confdefs.h
<<\_ACEOF
21695 #define PRFPREGSET_T_BROKEN 1
21702 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
21703 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
21704 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
21705 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 cat >conftest.
$ac_ext <<_ACEOF
21710 cat confdefs.h
>>conftest.
$ac_ext
21711 cat >>conftest.
$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 #include <unistd.h>
21714 #include <sys/types.h>
21715 #include <sys/procfs.h>
21722 dummy = ioctl(0, PIOCSET, &dummy);
21728 rm -f conftest.
$ac_objext
21729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21730 (eval $ac_compile) 2>conftest.er1
21732 grep -v '^ *+' conftest.er1
>conftest.err
21734 cat conftest.err
>&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); } &&
21737 { ac_try
='test -z "$ac_c_werror_flag"
21738 || test ! -s conftest.err'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; } &&
21744 { ac_try
='test -s conftest.$ac_objext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21750 gdb_cv_have_procfs_piocset
=yes
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.
$ac_ext >&5
21755 gdb_cv_have_procfs_piocset
=no
21757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21760 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
21761 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
21762 if test $gdb_cv_have_procfs_piocset = yes; then
21764 cat >>confdefs.h
<<\_ACEOF
21765 #define HAVE_PROCFS_PIOCSET 1
21771 if test ${host} = ${target} ; then
21773 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
21774 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
21775 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
21776 echo $ECHO_N "(cached) $ECHO_C" >&6
21778 cat >conftest.
$ac_ext <<_ACEOF
21781 cat confdefs.h
>>conftest.
$ac_ext
21782 cat >>conftest.
$ac_ext <<_ACEOF
21783 /* end confdefs.h. */
21788 struct link_map lm; (void) lm.l_addr;
21793 rm -f conftest.
$ac_objext
21794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21795 (eval $ac_compile) 2>conftest.er1
21797 grep -v '^ *+' conftest.er1
>conftest.err
21799 cat conftest.err
>&5
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); } &&
21802 { ac_try
='test -z "$ac_c_werror_flag"
21803 || test ! -s conftest.err'
21804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21805 (eval $ac_try) 2>&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; } &&
21809 { ac_try
='test -s conftest.$ac_objext'
21810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21811 (eval $ac_try) 2>&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); }; }; then
21815 gdb_cv_have_struct_link_map_with_l_members
=yes
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.
$ac_ext >&5
21820 gdb_cv_have_struct_link_map_with_l_members
=no
21822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21825 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
21826 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
21827 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
21829 cat >>confdefs.h
<<\_ACEOF
21830 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
21836 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
21837 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
21838 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
21839 echo $ECHO_N "(cached) $ECHO_C" >&6
21841 cat >conftest.
$ac_ext <<_ACEOF
21844 cat confdefs.h
>>conftest.
$ac_ext
21845 cat >>conftest.
$ac_ext <<_ACEOF
21846 /* end confdefs.h. */
21847 #include <sys/types.h>
21852 struct link_map lm; (void) lm.lm_addr;
21857 rm -f conftest.
$ac_objext
21858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21859 (eval $ac_compile) 2>conftest.er1
21861 grep -v '^ *+' conftest.er1
>conftest.err
21863 cat conftest.err
>&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } &&
21866 { ac_try
='test -z "$ac_c_werror_flag"
21867 || test ! -s conftest.err'
21868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21869 (eval $ac_try) 2>&5
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); }; } &&
21873 { ac_try
='test -s conftest.$ac_objext'
21874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21875 (eval $ac_try) 2>&5
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); }; }; then
21879 gdb_cv_have_struct_link_map_with_lm_members
=yes
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.
$ac_ext >&5
21884 gdb_cv_have_struct_link_map_with_lm_members
=no
21886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21889 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
21890 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
21891 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
21893 cat >>confdefs.h
<<\_ACEOF
21894 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
21900 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
21901 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
21902 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
21903 echo $ECHO_N "(cached) $ECHO_C" >&6
21905 cat >conftest.
$ac_ext <<_ACEOF
21908 cat confdefs.h
>>conftest.
$ac_ext
21909 cat >>conftest.
$ac_ext <<_ACEOF
21910 /* end confdefs.h. */
21911 #include <sys/types.h>
21912 #ifdef HAVE_NLIST_H
21919 struct so_map lm; (void) lm.som_addr;
21924 rm -f conftest.
$ac_objext
21925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21926 (eval $ac_compile) 2>conftest.er1
21928 grep -v '^ *+' conftest.er1
>conftest.err
21930 cat conftest.err
>&5
21931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21932 (exit $ac_status); } &&
21933 { ac_try
='test -z "$ac_c_werror_flag"
21934 || test ! -s conftest.err'
21935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21936 (eval $ac_try) 2>&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); }; } &&
21940 { ac_try
='test -s conftest.$ac_objext'
21941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21942 (eval $ac_try) 2>&5
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); }; }; then
21946 gdb_cv_have_struct_so_map_with_som_members
=yes
21948 echo "$as_me: failed program was:" >&5
21949 sed 's/^/| /' conftest.
$ac_ext >&5
21951 gdb_cv_have_struct_so_map_with_som_members
=no
21953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21956 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
21957 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
21958 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
21960 cat >>confdefs.h
<<\_ACEOF
21961 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
21967 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
21968 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
21969 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
21970 echo $ECHO_N "(cached) $ECHO_C" >&6
21972 cat >conftest.
$ac_ext <<_ACEOF
21975 cat confdefs.h
>>conftest.
$ac_ext
21976 cat >>conftest.
$ac_ext <<_ACEOF
21977 /* end confdefs.h. */
21979 #include <sys/link.h>
21983 struct link_map32 l;
21988 rm -f conftest.
$ac_objext
21989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21990 (eval $ac_compile) 2>conftest.er1
21992 grep -v '^ *+' conftest.er1
>conftest.err
21994 cat conftest.err
>&5
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); } &&
21997 { ac_try
='test -z "$ac_c_werror_flag"
21998 || test ! -s conftest.err'
21999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22000 (eval $ac_try) 2>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); }; } &&
22004 { ac_try
='test -s conftest.$ac_objext'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; }; then
22010 gdb_cv_have_struct_link_map32
=yes
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.
$ac_ext >&5
22015 gdb_cv_have_struct_link_map32
=no
22017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22020 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
22021 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
22022 if test $gdb_cv_have_struct_link_map32 = yes; then
22024 cat >>confdefs.h
<<\_ACEOF
22025 #define HAVE_STRUCT_LINK_MAP32 1
22029 cat >>confdefs.h
<<\_ACEOF
22030 #define _SYSCALL32 1
22036 # Check if the compiler supports the `long long' type.
22038 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
22039 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
22040 if test "${gdb_cv_c_long_long+set}" = set; then
22041 echo $ECHO_N "(cached) $ECHO_C" >&6
22043 cat >conftest.
$ac_ext <<_ACEOF
22046 cat confdefs.h
>>conftest.
$ac_ext
22047 cat >>conftest.
$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 extern long long foo;
22053 switch (foo & 2) { case 0: return 1; }
22058 rm -f conftest.
$ac_objext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22060 (eval $ac_compile) 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); } &&
22067 { ac_try
='test -z "$ac_c_werror_flag"
22068 || test ! -s conftest.err'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; } &&
22074 { ac_try
='test -s conftest.$ac_objext'
22075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076 (eval $ac_try) 2>&5
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); }; }; then
22080 gdb_cv_c_long_long
=yes
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.
$ac_ext >&5
22085 gdb_cv_c_long_long
=no
22087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22089 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
22090 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
22091 if test $gdb_cv_c_long_long = yes; then
22093 cat >>confdefs.h
<<\_ACEOF
22094 #define CC_HAS_LONG_LONG 1
22099 # Check if the compiler and runtime support printing long longs.
22101 echo "$as_me:$LINENO: checking for long long support in printf" >&5
22102 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
22103 if test "${gdb_cv_printf_has_long_long+set}" = set; then
22104 echo $ECHO_N "(cached) $ECHO_C" >&6
22106 if test "$cross_compiling" = yes; then
22107 gdb_cv_printf_has_long_long
=no
22109 cat >conftest.
$ac_ext <<_ACEOF
22112 cat confdefs.h
>>conftest.
$ac_ext
22113 cat >>conftest.
$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22121 l = (l << 16) + 0x0123;
22122 l = (l << 16) + 0x4567;
22123 l = (l << 16) + 0x89ab;
22124 l = (l << 16) + 0xcdef;
22125 sprintf (buf, "0x%016llx", l);
22126 return (strcmp ("0x0123456789abcdef", buf));
22131 rm -f conftest
$ac_exeext
22132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22133 (eval $ac_link) 2>&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22138 (eval $ac_try) 2>&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); }; }; then
22142 gdb_cv_printf_has_long_long
=yes
22144 echo "$as_me: program exited with status $ac_status" >&5
22145 echo "$as_me: failed program was:" >&5
22146 sed 's/^/| /' conftest.
$ac_ext >&5
22148 ( exit $ac_status )
22149 gdb_cv_printf_has_long_long
=no
22151 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22154 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
22155 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
22156 if test $gdb_cv_printf_has_long_long = yes; then
22158 cat >>confdefs.h
<<\_ACEOF
22159 #define PRINTF_HAS_LONG_LONG 1
22164 # Check if the compiler supports the `long double' type. We can't use
22165 # AC_C_LONG_DOUBLE because that one does additional checks on the
22166 # constants defined in <float.h> that fail on some systems,
22167 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
22169 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
22170 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
22171 if test "${gdb_cv_c_long_double+set}" = set; then
22172 echo $ECHO_N "(cached) $ECHO_C" >&6
22174 cat >conftest.
$ac_ext <<_ACEOF
22177 cat confdefs.h
>>conftest.
$ac_ext
22178 cat >>conftest.
$ac_ext <<_ACEOF
22179 /* end confdefs.h. */
22182 rm -f conftest.
$ac_objext
22183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22184 (eval $ac_compile) 2>conftest.er1
22186 grep -v '^ *+' conftest.er1
>conftest.err
22188 cat conftest.err
>&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } &&
22191 { ac_try
='test -z "$ac_c_werror_flag"
22192 || test ! -s conftest.err'
22193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22194 (eval $ac_try) 2>&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); }; } &&
22198 { ac_try
='test -s conftest.$ac_objext'
22199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200 (eval $ac_try) 2>&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; }; then
22204 gdb_cv_c_long_double
=yes
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.
$ac_ext >&5
22209 gdb_cv_c_long_double
=no
22211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22213 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
22214 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
22215 if test $gdb_cv_c_long_double = yes; then
22217 cat >>confdefs.h
<<\_ACEOF
22218 #define HAVE_LONG_DOUBLE 1
22223 # Check if the compiler and runtime support printing long doubles.
22225 echo "$as_me:$LINENO: checking for long double support in printf" >&5
22226 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
22227 if test "${gdb_cv_printf_has_long_double+set}" = set; then
22228 echo $ECHO_N "(cached) $ECHO_C" >&6
22230 if test "$cross_compiling" = yes; then
22231 gdb_cv_printf_has_long_double
=no
22233 cat >conftest.
$ac_ext <<_ACEOF
22236 cat confdefs.h
>>conftest.
$ac_ext
22237 cat >>conftest.
$ac_ext <<_ACEOF
22238 /* end confdefs.h. */
22239 $ac_includes_default
22244 long double f = 3.141592653;
22245 sprintf (buf, "%Lg", f);
22246 return (strncmp ("3.14159", buf, 7));
22251 rm -f conftest
$ac_exeext
22252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22253 (eval $ac_link) 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22258 (eval $ac_try) 2>&5
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); }; }; then
22262 gdb_cv_printf_has_long_double
=yes
22264 echo "$as_me: program exited with status $ac_status" >&5
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.
$ac_ext >&5
22268 ( exit $ac_status )
22269 gdb_cv_printf_has_long_double
=no
22271 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22274 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
22275 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
22276 if test $gdb_cv_printf_has_long_double = yes; then
22278 cat >>confdefs.h
<<\_ACEOF
22279 #define PRINTF_HAS_LONG_DOUBLE 1
22284 # Check if the compiler and runtime support scanning long doubles.
22286 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
22287 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
22288 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
22289 echo $ECHO_N "(cached) $ECHO_C" >&6
22291 if test "$cross_compiling" = yes; then
22292 gdb_cv_scanf_has_long_double
=no
22294 cat >conftest.
$ac_ext <<_ACEOF
22297 cat confdefs.h
>>conftest.
$ac_ext
22298 cat >>conftest.
$ac_ext <<_ACEOF
22299 /* end confdefs.h. */
22304 char *buf = "3.141592653";
22306 sscanf (buf, "%Lg", &f);
22307 return !(f > 3.14159 && f < 3.14160);
22312 rm -f conftest
$ac_exeext
22313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22314 (eval $ac_link) 2>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319 (eval $ac_try) 2>&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); }; }; then
22323 gdb_cv_scanf_has_long_double
=yes
22325 echo "$as_me: program exited with status $ac_status" >&5
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.
$ac_ext >&5
22329 ( exit $ac_status )
22330 gdb_cv_scanf_has_long_double
=no
22332 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22335 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
22336 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
22337 if test $gdb_cv_scanf_has_long_double = yes; then
22339 cat >>confdefs.h
<<\_ACEOF
22340 #define SCANF_HAS_LONG_DOUBLE 1
22347 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
22348 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
22349 if test "${gdb_cv_bigtoc+set}" = set; then
22350 echo $ECHO_N "(cached) $ECHO_C" >&6
22353 SAVE_LDFLAGS
=$LDFLAGS
22356 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
22357 *) gdb_cv_bigtoc
=-bbigtoc ;;
22360 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
22361 cat >conftest.
$ac_ext <<_ACEOF
22364 cat confdefs.h
>>conftest.
$ac_ext
22365 cat >>conftest.
$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22376 rm -f conftest.
$ac_objext conftest
$ac_exeext
22377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22378 (eval $ac_link) 2>conftest.er1
22380 grep -v '^ *+' conftest.er1
>conftest.err
22382 cat conftest.err
>&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } &&
22385 { ac_try
='test -z "$ac_c_werror_flag"
22386 || test ! -s conftest.err'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; } &&
22392 { ac_try
='test -s conftest$ac_exeext'
22393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394 (eval $ac_try) 2>&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; }; then
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.
$ac_ext >&5
22405 rm -f conftest.err conftest.
$ac_objext \
22406 conftest
$ac_exeext conftest.
$ac_ext
22407 LDFLAGS
="${SAVE_LDFLAGS}"
22410 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
22411 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
22412 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
22418 if test ${build} = ${host} -a ${host} = ${target} ; then
22421 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
22422 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
22423 if test -f /usr
/include
/dce
/cma_config.h
; then
22424 if test "$GCC" = "yes" ; then
22425 echo "$as_me:$LINENO: result: yes" >&5
22426 echo "${ECHO_T}yes" >&6
22428 cat >>confdefs.h
<<\_ACEOF
22429 #define HAVE_HPUX_THREAD_SUPPORT 1
22432 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
22433 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
22435 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
22436 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
22439 echo "$as_me:$LINENO: result: no" >&5
22440 echo "${ECHO_T}no" >&6
22444 # See if thread_db library is around for Solaris thread debugging.
22445 # Note that we must explicitly test for version 1 of the library
22446 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
22448 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
22449 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
22450 if test -f /usr
/lib
/libthread_db.so
.1 ; then
22451 echo "$as_me:$LINENO: result: yes" >&5
22452 echo "${ECHO_T}yes" >&6
22454 cat >>confdefs.h
<<\_ACEOF
22455 #define HAVE_THREAD_DB_LIB 1
22458 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
22459 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
22461 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22462 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
22463 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22464 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 ac_check_lib_save_LIBS
=$LIBS
22468 cat >conftest.
$ac_ext <<_ACEOF
22471 cat confdefs.h
>>conftest.
$ac_ext
22472 cat >>conftest.
$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22475 /* Override any gcc2 internal prototype to avoid an error. */
22479 /* We use char because int might match the return type of a gcc2
22480 builtin and then its argument prototype would still apply. */
22490 rm -f conftest.
$ac_objext conftest
$ac_exeext
22491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22492 (eval $ac_link) 2>conftest.er1
22494 grep -v '^ *+' conftest.er1
>conftest.err
22496 cat conftest.err
>&5
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); } &&
22499 { ac_try
='test -z "$ac_c_werror_flag"
22500 || test ! -s conftest.err'
22501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22502 (eval $ac_try) 2>&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); }; } &&
22506 { ac_try
='test -s conftest$ac_exeext'
22507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508 (eval $ac_try) 2>&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; }; then
22512 ac_cv_lib_dl_dlopen
=yes
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.
$ac_ext >&5
22517 ac_cv_lib_dl_dlopen
=no
22519 rm -f conftest.err conftest.
$ac_objext \
22520 conftest
$ac_exeext conftest.
$ac_ext
22521 LIBS
=$ac_check_lib_save_LIBS
22523 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22524 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
22525 if test $ac_cv_lib_dl_dlopen = yes; then
22526 cat >>confdefs.h
<<_ACEOF
22527 #define HAVE_LIBDL 1
22534 if test "$GCC" = "yes" ; then
22535 # The GNU linker requires the -export-dynamic option to make
22536 # all symbols visible in the dynamic symbol table.
22537 hold_ldflags
=$LDFLAGS
22538 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
22539 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
22540 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
22541 cat >conftest.
$ac_ext <<_ACEOF
22544 cat confdefs.h
>>conftest.
$ac_ext
22545 cat >>conftest.
$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22556 rm -f conftest.
$ac_objext conftest
$ac_exeext
22557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22558 (eval $ac_link) 2>conftest.er1
22560 grep -v '^ *+' conftest.er1
>conftest.err
22562 cat conftest.err
>&5
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); } &&
22565 { ac_try
='test -z "$ac_c_werror_flag"
22566 || test ! -s conftest.err'
22567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22568 (eval $ac_try) 2>&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); }; } &&
22572 { ac_try
='test -s conftest$ac_exeext'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.
$ac_ext >&5
22585 rm -f conftest.err conftest.
$ac_objext \
22586 conftest
$ac_exeext conftest.
$ac_ext
22587 LDFLAGS
=$hold_ldflags
22588 echo "$as_me:$LINENO: result: $found" >&5
22589 echo "${ECHO_T}$found" >&6
22590 if test $found = yes; then
22591 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
22594 # Sun randomly tweaked the prototypes in <proc_service.h>
22596 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
22597 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
22598 if test "${gdb_cv_proc_service_is_old+set}" = set; then
22599 echo $ECHO_N "(cached) $ECHO_C" >&6
22602 cat >conftest.
$ac_ext <<_ACEOF
22605 cat confdefs.h
>>conftest.
$ac_ext
22606 cat >>conftest.
$ac_ext <<_ACEOF
22607 /* end confdefs.h. */
22609 #include <proc_service.h>
22610 ps_err_e ps_pdwrite
22611 (struct ps_prochandle*, psaddr_t, const void*, size_t);
22621 rm -f conftest.
$ac_objext
22622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22623 (eval $ac_compile) 2>conftest.er1
22625 grep -v '^ *+' conftest.er1
>conftest.err
22627 cat conftest.err
>&5
22628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629 (exit $ac_status); } &&
22630 { ac_try
='test -z "$ac_c_werror_flag"
22631 || test ! -s conftest.err'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; } &&
22637 { ac_try
='test -s conftest.$ac_objext'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; }; then
22643 gdb_cv_proc_service_is_old
=no
22645 echo "$as_me: failed program was:" >&5
22646 sed 's/^/| /' conftest.
$ac_ext >&5
22648 gdb_cv_proc_service_is_old
=yes
22650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22654 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
22655 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
22656 if test $gdb_cv_proc_service_is_old = yes; then
22658 cat >>confdefs.h
<<\_ACEOF
22659 #define PROC_SERVICE_IS_OLD 1
22664 echo "$as_me:$LINENO: result: no" >&5
22665 echo "${ECHO_T}no" >&6
22669 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
22670 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
22671 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
22672 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 cat >conftest.
$ac_ext <<_ACEOF
22677 cat confdefs.h
>>conftest.
$ac_ext
22678 cat >>conftest.
$ac_ext <<_ACEOF
22679 /* end confdefs.h. */
22680 #include <sys/pthdebug.h>
22684 #ifndef PTHDB_VERSION_3
22691 rm -f conftest.
$ac_objext
22692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22693 (eval $ac_compile) 2>conftest.er1
22695 grep -v '^ *+' conftest.er1
>conftest.err
22697 cat conftest.err
>&5
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); } &&
22700 { ac_try
='test -z "$ac_c_werror_flag"
22701 || test ! -s conftest.err'
22702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22703 (eval $ac_try) 2>&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); }; } &&
22707 { ac_try
='test -s conftest.$ac_objext'
22708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709 (eval $ac_try) 2>&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); }; }; then
22713 gdb_cv_have_aix_thread_debug
=yes
22715 echo "$as_me: failed program was:" >&5
22716 sed 's/^/| /' conftest.
$ac_ext >&5
22718 gdb_cv_have_aix_thread_debug
=no
22720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22723 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
22724 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
22725 if test $gdb_cv_have_aix_thread_debug = yes; then
22726 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
22727 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
22728 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
22735 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
22736 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
22737 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
22738 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
22739 echo $ECHO_N "(cached) $ECHO_C" >&6
22741 cat >conftest.
$ac_ext <<_ACEOF
22744 cat confdefs.h
>>conftest.
$ac_ext
22745 cat >>conftest.
$ac_ext <<_ACEOF
22746 /* end confdefs.h. */
22747 #include <thread_db.h>
22751 int i = TD_NOTALLOC;
22756 rm -f conftest.
$ac_objext
22757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22758 (eval $ac_compile) 2>conftest.er1
22760 grep -v '^ *+' conftest.er1
>conftest.err
22762 cat conftest.err
>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try
='test -z "$ac_c_werror_flag"
22766 || test ! -s conftest.err'
22767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22768 (eval $ac_try) 2>&5
22770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); }; } &&
22772 { ac_try
='test -s conftest.$ac_objext'
22773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22774 (eval $ac_try) 2>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; }; then
22778 gdb_cv_thread_db_h_has_td_notalloc
=yes
22780 echo "$as_me: failed program was:" >&5
22781 sed 's/^/| /' conftest.
$ac_ext >&5
22783 gdb_cv_thread_db_h_has_td_notalloc
=no
22786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22789 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
22790 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
22792 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
22794 cat >>confdefs.h
<<\_ACEOF
22795 #define THREAD_DB_HAS_TD_NOTALLOC 1
22800 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
22801 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
22802 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
22803 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
22804 echo $ECHO_N "(cached) $ECHO_C" >&6
22806 cat >conftest.
$ac_ext <<_ACEOF
22809 cat confdefs.h
>>conftest.
$ac_ext
22810 cat >>conftest.
$ac_ext <<_ACEOF
22811 /* end confdefs.h. */
22812 #include <sys/syscall.h>
22816 int i = __NR_tkill;
22821 rm -f conftest.
$ac_objext
22822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22823 (eval $ac_compile) 2>conftest.er1
22825 grep -v '^ *+' conftest.er1
>conftest.err
22827 cat conftest.err
>&5
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); } &&
22830 { ac_try
='test -z "$ac_c_werror_flag"
22831 || test ! -s conftest.err'
22832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22833 (eval $ac_try) 2>&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); }; } &&
22837 { ac_try
='test -s conftest.$ac_objext'
22838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22839 (eval $ac_try) 2>&5
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); }; }; then
22843 gdb_cv_sys_syscall_h_has_tkill
=yes
22845 echo "$as_me: failed program was:" >&5
22846 sed 's/^/| /' conftest.
$ac_ext >&5
22848 gdb_cv_sys_syscall_h_has_tkill
=no
22851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22854 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
22855 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
22857 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
22859 cat >>confdefs.h
<<\_ACEOF
22860 #define HAVE_TKILL_SYSCALL 1
22867 # Check whether --with-sysroot or --without-sysroot was given.
22868 if test "${with_sysroot+set}" = set; then
22869 withval
="$with_sysroot"
22871 case ${with_sysroot} in
22872 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
22873 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
22876 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
22878 if test "x$exec_prefix" = xNONE
; then
22879 if test "x$prefix" = xNONE
; then
22880 test_prefix
=/usr
/local
22882 test_prefix
=$prefix
22885 test_prefix
=$exec_prefix
22887 case ${TARGET_SYSTEM_ROOT} in
22888 "${test_prefix}"|
"${test_prefix}/"*|\
22889 '${exec_prefix}'|
'${exec_prefix}/'*)
22890 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
22891 TARGET_SYSTEM_ROOT_DEFINE
="$t"
22897 TARGET_SYSTEM_ROOT
=
22898 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
22904 # Check whether --enable-werror or --disable-werror was given.
22905 if test "${enable_werror+set}" = set; then
22906 enableval
="$enable_werror"
22907 case "${enableval}" in
22908 yes | y
) ERROR_ON_WARNING
="yes" ;;
22909 no | n
) ERROR_ON_WARNING
="no" ;;
22910 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
22911 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
22912 { (exit 1); exit 1; }; } ;;
22916 # Enable -Werror by default when using gcc
22917 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
22918 ERROR_ON_WARNING
=yes
22922 if test "${ERROR_ON_WARNING}" = yes ; then
22923 WERROR_CFLAGS
="-Werror"
22926 # NOTE: Don't add -Wall or -Wunused, they both include
22927 # -Wunused-parameter which reports bogus warnings.
22928 # NOTE: If you add to this list, remember to update
22929 # gdb/doc/gdbint.texinfo.
22930 build_warnings
="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
22931 -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral \
22932 -Wunused-label -Wunused-function -Wno-pointer-sign"
22934 # GCC supports -Wuninitialized only with -O or -On, n != 0.
22935 if test x
${CFLAGS+set} = xset
; then
22936 case "${CFLAGS}" in
22939 build_warnings
="${build_warnings} -Wuninitialized"
22943 build_warnings
="${build_warnings} -Wuninitialized"
22946 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
22947 # -Wunused-function -Wunused-variable -Wunused-value
22948 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
22949 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
22950 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
22951 # -Woverloaded-virtual -Winline -Werror"
22952 # Check whether --enable-build-warnings or --disable-build-warnings was given.
22953 if test "${enable_build_warnings+set}" = set; then
22954 enableval
="$enable_build_warnings"
22955 case "${enableval}" in
22957 no
) build_warnings
="-w";;
22958 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22959 build_warnings
="${build_warnings} ${t}";;
22960 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22961 build_warnings
="${t} ${build_warnings}";;
22962 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
22964 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
22965 echo "Setting compiler warning flags = $build_warnings" 6>&1
22967 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
22968 if test "${enable_gdb_build_warnings+set}" = set; then
22969 enableval
="$enable_gdb_build_warnings"
22970 case "${enableval}" in
22972 no
) build_warnings
="-w";;
22973 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22974 build_warnings
="${build_warnings} ${t}";;
22975 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
22976 build_warnings
="${t} ${build_warnings}";;
22977 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
22979 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
22980 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
22983 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
22985 echo "$as_me:$LINENO: checking compiler warning flags" >&5
22986 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
22987 # Separate out the -Werror flag as some files just cannot be
22988 # compiled with it enabled.
22989 for w
in ${build_warnings}; do
22991 -Werr*) WERROR_CFLAGS
=-Werror ;;
22992 *) # Check that GCC accepts it
22993 saved_CFLAGS
="$CFLAGS"
22994 CFLAGS
="$CFLAGS $w"
22995 cat >conftest.
$ac_ext <<_ACEOF
22998 cat confdefs.h
>>conftest.
$ac_ext
22999 cat >>conftest.
$ac_ext <<_ACEOF
23000 /* end confdefs.h. */
23010 rm -f conftest.
$ac_objext
23011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23012 (eval $ac_compile) 2>conftest.er1
23014 grep -v '^ *+' conftest.er1
>conftest.err
23016 cat conftest.err
>&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } &&
23019 { ac_try
='test -z "$ac_c_werror_flag"
23020 || test ! -s conftest.err'
23021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23022 (eval $ac_try) 2>&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; } &&
23026 { ac_try
='test -s conftest.$ac_objext'
23027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23028 (eval $ac_try) 2>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); }; }; then
23032 WARN_CFLAGS
="${WARN_CFLAGS} $w"
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.
$ac_ext >&5
23038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23039 CFLAGS
="$saved_CFLAGS"
23042 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
23043 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
23048 # In the Cygwin environment, we need some additional flags.
23049 echo "$as_me:$LINENO: checking for cygwin" >&5
23050 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
23051 if test "${gdb_cv_os_cygwin+set}" = set; then
23052 echo $ECHO_N "(cached) $ECHO_C" >&6
23054 cat >conftest.
$ac_ext <<_ACEOF
23057 cat confdefs.h
>>conftest.
$ac_ext
23058 cat >>conftest.
$ac_ext <<_ACEOF
23059 /* end confdefs.h. */
23061 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
23065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23066 $EGREP "lose" >/dev
/null
2>&1; then
23067 gdb_cv_os_cygwin
=yes
23069 gdb_cv_os_cygwin
=no
23074 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
23075 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
23078 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
23080 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
23081 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
23082 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
23086 # libreadline needs libuser32.a in a cygwin environment
23088 if test x
$gdb_cv_os_cygwin = xyes
; then
23089 WIN32LIBS
="-luser32"
23090 case "${target}" in
23091 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
23096 # The ser-tcp.c module requires sockets.
23100 cat >>confdefs.h
<<\_ACEOF
23101 #define USE_WIN32API 1
23104 WIN32LIBS
="$WIN32LIBS -lws2_32"
23109 # Add any host-specific objects to GDB.
23110 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
23112 LIBGUI
="../libgui/src/libgui.a"
23113 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
23131 if test "${enable_gdbtk}" = "yes"; then
23133 # Gdbtk must have an absolute path to srcdir in order to run
23134 # properly when not installed.
23137 GDBTK_SRC_DIR
=`pwd`
23142 # Ok, lets find the tcl configuration
23143 # First, look for one uninstalled.
23144 # the alternative search directory is invoked by --with-tclconfig
23147 if test x
"${no_tcl}" = x
; then
23148 # we reset no_tcl in case something fails here
23151 # Check whether --with-tclconfig or --without-tclconfig was given.
23152 if test "${with_tclconfig+set}" = set; then
23153 withval
="$with_tclconfig"
23154 with_tclconfig
=${withval}
23156 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
23157 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
23158 if test "${ac_cv_c_tclconfig+set}" = set; then
23159 echo $ECHO_N "(cached) $ECHO_C" >&6
23163 # First check to see if --with-tclconfig was specified.
23164 if test x
"${with_tclconfig}" != x
; then
23165 if test -f "${with_tclconfig}/tclConfig.sh" ; then
23166 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
23168 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
23169 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
23170 { (exit 1); exit 1; }; }
23174 # then check for a private Tcl installation
23175 if test x
"${ac_cv_c_tclconfig}" = x
; then
23178 `ls -dr ../tcl[7-9]* 2>/dev/null` \
23180 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
23182 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
23183 if test -f "$i/${configdir}/tclConfig.sh" ; then
23184 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
23189 # check in a few common install locations
23190 if test x
"${ac_cv_c_tclconfig}" = x
; then
23191 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
23192 if test -f "$i/tclConfig.sh" ; then
23193 ac_cv_c_tclconfig
=`(cd $i; pwd)`
23198 # check in a few other private locations
23199 if test x
"${ac_cv_c_tclconfig}" = x
; then
23202 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
23203 if test -f "$i/${configdir}/tclConfig.sh" ; then
23204 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
23212 if test x
"${ac_cv_c_tclconfig}" = x
; then
23213 TCLCONFIG
="# no Tcl configs found"
23214 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
23215 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
23218 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
23219 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
23220 echo "${ECHO_T}found $TCLCONFIG" >&6
23224 if test -z "${no_tcl}"; then
23255 # Ok, lets find the tk configuration
23256 # First, look for one uninstalled.
23257 # the alternative search directory is invoked by --with-tkconfig
23260 if test x
"${no_tk}" = x
; then
23261 # we reset no_tk in case something fails here
23264 # Check whether --with-tkconfig or --without-tkconfig was given.
23265 if test "${with_tkconfig+set}" = set; then
23266 withval
="$with_tkconfig"
23267 with_tkconfig
=${withval}
23269 echo "$as_me:$LINENO: checking for Tk configuration" >&5
23270 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
23271 if test "${ac_cv_c_tkconfig+set}" = set; then
23272 echo $ECHO_N "(cached) $ECHO_C" >&6
23276 # First check to see if --with-tkconfig was specified.
23277 if test x
"${with_tkconfig}" != x
; then
23278 if test -f "${with_tkconfig}/tkConfig.sh" ; then
23279 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
23281 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
23282 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
23283 { (exit 1); exit 1; }; }
23287 # then check for a private Tk library
23288 if test x
"${ac_cv_c_tkconfig}" = x
; then
23291 `ls -dr ../tk[4-9]* 2>/dev/null` \
23293 `ls -dr ../../tk[4-9]* 2>/dev/null` \
23295 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
23296 if test -f "$i/${configdir}/tkConfig.sh" ; then
23297 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
23302 # check in a few common install locations
23303 if test x
"${ac_cv_c_tkconfig}" = x
; then
23304 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
23305 if test -f "$i/tkConfig.sh" ; then
23306 ac_cv_c_tkconfig
=`(cd $i; pwd)`
23311 # check in a few other private locations
23312 if test x
"${ac_cv_c_tkconfig}" = x
; then
23315 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
23316 if test -f "$i/${configdir}/tkConfig.sh" ; then
23317 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
23325 if test x
"${ac_cv_c_tkconfig}" = x
; then
23326 TKCONFIG
="# no Tk configs found"
23327 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
23328 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
23331 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
23332 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
23333 echo "${ECHO_T}found $TKCONFIG" >&6
23339 # now look for Tcl library stuff
23341 tcldir
="../tcl/${configdir}/"
23343 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
23345 # If $no_tk is nonempty, then we can't do Tk, and there is no
23346 # point to doing Tcl.
23347 if test -z "${no_tk}"; then
23349 if test -f "$TKCONFIG" ; then
23367 # Ok, lets find the tcl source trees so we can use the headers
23368 # Warning: transition of version 9 to 10 will break this algorithm
23369 # because 10 sorts before 9. We also look for just tcl. We have to
23370 # be careful that we don't match stuff like tclX by accident.
23371 # the alternative search directory is involked by --with-tclinclude
23375 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
23376 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
23378 # Check whether --with-tclinclude or --without-tclinclude was given.
23379 if test "${with_tclinclude+set}" = set; then
23380 withval
="$with_tclinclude"
23381 with_tclinclude
=${withval}
23383 if test "${ac_cv_c_tclh+set}" = set; then
23384 echo $ECHO_N "(cached) $ECHO_C" >&6
23387 # first check to see if --with-tclinclude was specified
23388 if test x
"${with_tclinclude}" != x
; then
23389 if test -f ${with_tclinclude}/tclInt.h
; then
23390 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
23391 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
23392 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
23394 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
23395 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
23396 { (exit 1); exit 1; }; }
23400 # next check if it came with Tcl configuration file
23401 if test x
"${ac_cv_c_tclconfig}" = x
; then
23402 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
23403 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
23407 # next check in private source directory
23409 # since ls returns lowest version numbers first, reverse its output
23410 if test x
"${ac_cv_c_tclh}" = x
; then
23413 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
23414 ${srcdir}/..
/..
/tcl \
23415 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
23416 ${srcdir}/..
/..
/..
/tcl \
23417 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
23418 if test -f $i/generic
/tclInt.h
; then
23419 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
23424 # finally check in a few common install locations
23426 # since ls returns lowest version numbers first, reverse its output
23427 if test x
"${ac_cv_c_tclh}" = x
; then
23429 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
23430 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
23431 /usr
/local
/src
/tcl \
23432 /usr
/local
/lib
/tcl \
23433 ${prefix}/include
; do
23434 if test -f $i/generic
/tclInt.h
; then
23435 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
23440 # see if one is installed
23441 if test x
"${ac_cv_c_tclh}" = x
; then
23442 if test "${ac_cv_header_tclInt_h+set}" = set; then
23443 echo "$as_me:$LINENO: checking for tclInt.h" >&5
23444 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
23445 if test "${ac_cv_header_tclInt_h+set}" = set; then
23446 echo $ECHO_N "(cached) $ECHO_C" >&6
23448 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
23449 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
23451 # Is the header compilable?
23452 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
23453 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
23454 cat >conftest.
$ac_ext <<_ACEOF
23457 cat confdefs.h
>>conftest.
$ac_ext
23458 cat >>conftest.
$ac_ext <<_ACEOF
23459 /* end confdefs.h. */
23460 $ac_includes_default
23461 #include <tclInt.h>
23463 rm -f conftest.
$ac_objext
23464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23465 (eval $ac_compile) 2>conftest.er1
23467 grep -v '^ *+' conftest.er1
>conftest.err
23469 cat conftest.err
>&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } &&
23472 { ac_try
='test -z "$ac_c_werror_flag"
23473 || test ! -s conftest.err'
23474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23475 (eval $ac_try) 2>&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); }; } &&
23479 { ac_try
='test -s conftest.$ac_objext'
23480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481 (eval $ac_try) 2>&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 ac_header_compiler
=yes
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.
$ac_ext >&5
23490 ac_header_compiler
=no
23492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23493 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23494 echo "${ECHO_T}$ac_header_compiler" >&6
23496 # Is the header present?
23497 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
23498 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
23499 cat >conftest.
$ac_ext <<_ACEOF
23502 cat confdefs.h
>>conftest.
$ac_ext
23503 cat >>conftest.
$ac_ext <<_ACEOF
23504 /* end confdefs.h. */
23505 #include <tclInt.h>
23507 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23508 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23510 grep -v '^ *+' conftest.er1
>conftest.err
23512 cat conftest.err
>&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); } >/dev
/null
; then
23515 if test -s conftest.err
; then
23516 ac_cpp_err
=$ac_c_preproc_warn_flag
23517 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23524 if test -z "$ac_cpp_err"; then
23525 ac_header_preproc
=yes
23527 echo "$as_me: failed program was:" >&5
23528 sed 's/^/| /' conftest.
$ac_ext >&5
23530 ac_header_preproc
=no
23532 rm -f conftest.err conftest.
$ac_ext
23533 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23534 echo "${ECHO_T}$ac_header_preproc" >&6
23536 # So? What about this header?
23537 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23539 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
23540 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23541 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
23542 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
23543 ac_header_preproc
=yes
23546 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
23547 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
23548 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
23549 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
23550 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
23551 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
23552 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
23553 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
23554 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
23555 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
23556 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
23557 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
23560 ## ------------------------------------------ ##
23561 ## Report this to the AC_PACKAGE_NAME lists. ##
23562 ## ------------------------------------------ ##
23565 sed "s/^/$as_me: WARNING: /" >&2
23568 echo "$as_me:$LINENO: checking for tclInt.h" >&5
23569 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
23570 if test "${ac_cv_header_tclInt_h+set}" = set; then
23571 echo $ECHO_N "(cached) $ECHO_C" >&6
23573 ac_cv_header_tclInt_h
=$ac_header_preproc
23575 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
23576 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
23579 if test $ac_cv_header_tclInt_h = yes; then
23580 ac_cv_c_tclh
=installed
23590 if test x
"${ac_cv_c_tclh}" = x
; then
23591 TCLHDIR
="# no Tcl private headers found"
23592 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
23593 echo "$as_me: error: Can't find Tcl private headers" >&2;}
23594 { (exit 1); exit 1; }; }
23596 if test x
"${ac_cv_c_tclh}" != x
; then
23598 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
23599 echo "$as_me:$LINENO: result: is installed" >&5
23600 echo "${ECHO_T}is installed" >&6
23603 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
23604 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
23605 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
23606 TCLHDIR
="-I${ac_cv_c_tclh}"
23614 # Ok, lets find the tk source trees so we can use the headers
23615 # If the directory (presumably symlink) named "tk" exists, use that one
23616 # in preference to any others. Same logic is used when choosing library
23617 # and again with Tcl. The search order is the best place to look first, then in
23618 # decreasing significance. The loop breaks if the trigger file is found.
23619 # Note the gross little conversion here of srcdir by cd'ing to the found
23620 # directory. This converts the path from a relative to an absolute, so
23621 # recursive cache variables for the path will work right. We check all
23622 # the possible paths in one loop rather than many seperate loops to speed
23624 # the alternative search directory is involked by --with-tkinclude
23627 echo "$as_me:$LINENO: checking for Tk private headers" >&5
23628 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
23630 # Check whether --with-tkinclude or --without-tkinclude was given.
23631 if test "${with_tkinclude+set}" = set; then
23632 withval
="$with_tkinclude"
23633 with_tkinclude
=${withval}
23635 if test "${ac_cv_c_tkh+set}" = set; then
23636 echo $ECHO_N "(cached) $ECHO_C" >&6
23639 # first check to see if --with-tkinclude was specified
23640 if test x
"${with_tkinclude}" != x
; then
23641 if test -f ${with_tkinclude}/tk.h
; then
23642 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
23643 elif test -f ${with_tkinclude}/generic
/tk.h
; then
23644 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
23646 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
23647 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
23648 { (exit 1); exit 1; }; }
23652 # next check if it came with Tk configuration file
23653 if test x
"${ac_cv_c_tkconfig}" = x
; then
23654 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
23655 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
23659 # next check in private source directory
23661 # since ls returns lowest version numbers first, reverse its output
23662 if test x
"${ac_cv_c_tkh}" = x
; then
23665 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
23666 ${srcdir}/..
/..
/tk \
23667 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
23668 ${srcdir}/..
/..
/..
/tk \
23669 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
23670 if test -f $i/generic
/tk.h
; then
23671 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
23676 # finally check in a few common install locations
23678 # since ls returns lowest version numbers first, reverse its output
23679 if test x
"${ac_cv_c_tkh}" = x
; then
23681 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
23682 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
23683 /usr
/local
/src
/tk \
23684 /usr
/local
/lib
/tk \
23685 ${prefix}/include
; do
23686 if test -f $i/generic
/tk.h
; then
23687 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
23692 # see if one is installed
23693 if test x
"${ac_cv_c_tkh}" = x
; then
23694 if test "${ac_cv_header_tk_h+set}" = set; then
23695 echo "$as_me:$LINENO: checking for tk.h" >&5
23696 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
23697 if test "${ac_cv_header_tk_h+set}" = set; then
23698 echo $ECHO_N "(cached) $ECHO_C" >&6
23700 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
23701 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
23703 # Is the header compilable?
23704 echo "$as_me:$LINENO: checking tk.h usability" >&5
23705 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
23706 cat >conftest.
$ac_ext <<_ACEOF
23709 cat confdefs.h
>>conftest.
$ac_ext
23710 cat >>conftest.
$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712 $ac_includes_default
23715 rm -f conftest.
$ac_objext
23716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23717 (eval $ac_compile) 2>conftest.er1
23719 grep -v '^ *+' conftest.er1
>conftest.err
23721 cat conftest.err
>&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } &&
23724 { ac_try
='test -z "$ac_c_werror_flag"
23725 || test ! -s conftest.err'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; } &&
23731 { ac_try
='test -s conftest.$ac_objext'
23732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733 (eval $ac_try) 2>&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; }; then
23737 ac_header_compiler
=yes
23739 echo "$as_me: failed program was:" >&5
23740 sed 's/^/| /' conftest.
$ac_ext >&5
23742 ac_header_compiler
=no
23744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23746 echo "${ECHO_T}$ac_header_compiler" >&6
23748 # Is the header present?
23749 echo "$as_me:$LINENO: checking tk.h presence" >&5
23750 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
23751 cat >conftest.
$ac_ext <<_ACEOF
23754 cat confdefs.h
>>conftest.
$ac_ext
23755 cat >>conftest.
$ac_ext <<_ACEOF
23756 /* end confdefs.h. */
23759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23760 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23762 grep -v '^ *+' conftest.er1
>conftest.err
23764 cat conftest.err
>&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } >/dev
/null
; then
23767 if test -s conftest.err
; then
23768 ac_cpp_err
=$ac_c_preproc_warn_flag
23769 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23776 if test -z "$ac_cpp_err"; then
23777 ac_header_preproc
=yes
23779 echo "$as_me: failed program was:" >&5
23780 sed 's/^/| /' conftest.
$ac_ext >&5
23782 ac_header_preproc
=no
23784 rm -f conftest.err conftest.
$ac_ext
23785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23786 echo "${ECHO_T}$ac_header_preproc" >&6
23788 # So? What about this header?
23789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23791 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
23792 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23793 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
23794 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
23795 ac_header_preproc
=yes
23798 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
23799 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
23800 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
23801 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
23802 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
23803 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
23804 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
23805 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
23806 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
23807 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
23808 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
23809 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
23812 ## ------------------------------------------ ##
23813 ## Report this to the AC_PACKAGE_NAME lists. ##
23814 ## ------------------------------------------ ##
23817 sed "s/^/$as_me: WARNING: /" >&2
23820 echo "$as_me:$LINENO: checking for tk.h" >&5
23821 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
23822 if test "${ac_cv_header_tk_h+set}" = set; then
23823 echo $ECHO_N "(cached) $ECHO_C" >&6
23825 ac_cv_header_tk_h
=$ac_header_preproc
23827 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
23828 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
23831 if test $ac_cv_header_tk_h = yes; then
23832 ac_cv_c_tkh
=installed
23842 if test x
"${ac_cv_c_tkh}" != x
; then
23844 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
23845 echo "$as_me:$LINENO: result: is installed" >&5
23846 echo "${ECHO_T}is installed" >&6
23849 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
23850 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
23851 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
23852 TKHDIR
="-I${ac_cv_c_tkh}"
23855 TKHDIR
="# no Tk directory found"
23856 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
23857 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
23864 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
23865 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
23866 if test x
"${ac_cv_c_itclh}" = x
; then
23867 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
23868 if test -f $i/generic
/itcl.h
; then
23869 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
23874 if test x
"${ac_cv_c_itclh}" = x
; then
23875 ITCLHDIR
="# no Itcl private headers found"
23876 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
23877 echo "$as_me: error: Can't find Itcl private headers" >&2;}
23878 { (exit 1); exit 1; }; }
23880 if test x
"${ac_cv_c_itclh}" != x
; then
23881 ITCLHDIR
="-I${ac_cv_c_itclh}"
23883 # should always be here
23884 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
23889 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
23890 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
23891 if test x
"${ac_cv_c_itkh}" = x
; then
23892 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
23893 if test -f $i/generic
/itk.h
; then
23894 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
23899 if test x
"${ac_cv_c_itkh}" = x
; then
23900 ITKHDIR
="# no Itk private headers found"
23901 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
23902 echo "$as_me: error: Can't find Itk private headers" >&2;}
23903 { (exit 1); exit 1; }; }
23905 if test x
"${ac_cv_c_itkh}" != x
; then
23906 ITKHDIR
="-I${ac_cv_c_itkh}"
23908 # should always be here
23909 # ITKLIB="../itcl/itk/unix/libitk.a"
23915 # now look for Tk library stuff
23917 tkdir
="../tk/${configdir}/"
23919 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
23921 # now look for Itcl library stuff
23925 # Ok, lets find the itcl configuration
23926 # First, look for one uninstalled.
23927 # the alternative search directory is invoked by --with-itclconfig
23930 if test x
"${no_itcl}" = x
; then
23931 # we reset no_itcl in case something fails here
23934 # Check whether --with-itclconfig or --without-itclconfig was given.
23935 if test "${with_itclconfig+set}" = set; then
23936 withval
="$with_itclconfig"
23937 with_itclconfig
=${withval}
23939 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
23940 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
23941 if test "${ac_cv_c_itclconfig+set}" = set; then
23942 echo $ECHO_N "(cached) $ECHO_C" >&6
23946 # First check to see if --with-itclconfig was specified.
23947 if test x
"${with_itclconfig}" != x
; then
23948 if test -f "${with_itclconfig}/itclConfig.sh" ; then
23949 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
23951 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
23952 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
23953 { (exit 1); exit 1; }; }
23957 # then check for a private Itcl library
23958 if test x
"${ac_cv_c_itclconfig}" = x
; then
23961 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
23963 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
23965 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
23966 if test -f "$i/itclConfig.sh" ; then
23967 ac_cv_c_itclconfig
=`(cd $i; pwd)`
23972 # check in a few common install locations
23973 if test x
"${ac_cv_c_itclconfig}" = x
; then
23974 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
23975 if test -f "$i/itclConfig.sh" ; then
23976 ac_cv_c_itclconfig
=`(cd $i; pwd)`
23981 # check in a few other private locations
23982 if test x
"${ac_cv_c_itclconfig}" = x
; then
23984 ${srcdir}/..
/itcl
/itcl \
23985 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
23986 if test -f "$i/itclConfig.sh" ; then
23987 ac_cv_c_itclconfig
=`(cd $i; pwd)`
23995 if test x
"${ac_cv_c_itclconfig}" = x
; then
23996 ITCLCONFIG
="# no Itcl configs found"
23997 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
23998 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
24001 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
24002 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
24003 echo "${ECHO_T}found $ITCLCONFIG" >&6
24007 if test -z "${no_itcl}"; then
24009 if test -f "$ITCLCONFIG" ; then
24024 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
24025 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
24029 # now look for Itk library stuff
24032 # Ok, lets find the itk configuration
24033 # First, look for one uninstalled.
24034 # the alternative search directory is invoked by --with-itkconfig
24037 if test x
"${no_itk}" = x
; then
24038 # we reset no_itk in case something fails here
24041 # Check whether --with-itkconfig or --without-itkconfig was given.
24042 if test "${with_itkconfig+set}" = set; then
24043 withval
="$with_itkconfig"
24044 with_itkconfig
=${withval}
24046 echo "$as_me:$LINENO: checking for Itk configuration" >&5
24047 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
24048 if test "${ac_cv_c_itkconfig+set}" = set; then
24049 echo $ECHO_N "(cached) $ECHO_C" >&6
24053 # First check to see if --with-itkconfig was specified.
24054 if test x
"${with_itkconfig}" != x
; then
24055 if test -f "${with_itkconfig}/itkConfig.sh" ; then
24056 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
24058 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
24059 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
24060 { (exit 1); exit 1; }; }
24064 # then check for a private Itk library
24065 if test x
"${ac_cv_c_itkconfig}" = x
; then
24068 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
24070 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
24072 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
24073 if test -f "$i/itkConfig.sh" ; then
24074 ac_cv_c_itkconfig
=`(cd $i; pwd)`
24079 # check in a few common install locations
24080 if test x
"${ac_cv_c_itkconfig}" = x
; then
24081 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
24082 if test -f "$i/itkConfig.sh" ; then
24083 ac_cv_c_itkconfig
=`(cd $i; pwd)`
24088 # check in a few other private locations
24089 if test x
"${ac_cv_c_itkconfig}" = x
; then
24091 ${srcdir}/..
/itcl
/itk \
24092 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
24093 if test -f "$i/itkConfig.sh" ; then
24094 ac_cv_c_itkconfig
=`(cd $i; pwd)`
24102 if test x
"${ac_cv_c_itkconfig}" = x
; then
24103 ITKCONFIG
="# no Itk configs found"
24104 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
24105 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
24108 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
24109 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
24110 echo "${ECHO_T}found $ITKCONFIG" >&6
24115 if test -z "${no_itcl}"; then
24117 if test -f "$ITKCONFIG" ; then
24132 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
24133 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
24136 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
24138 # Include some libraries that Tcl and Tk want.
24139 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
24140 # Yes, the ordering seems wrong here. But it isn't.
24141 # TK_LIBS is the list of libraries that need to be linked
24142 # after Tcl/Tk. Note that this isn't put into LIBS. If it
24143 # were in LIBS then any link tests after this point would
24144 # try to include things like `$(LIBGUI)', which wouldn't work.
24145 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
24147 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
24148 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
24149 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
24150 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
24151 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
24152 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
24153 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
24155 if test x
$gdb_cv_os_cygwin = xyes
; then
24156 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
24157 WIN32LDAPP
="-Wl,--subsystem,console"
24158 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
24165 subdirs
="$subdirs gdbtk"
24182 echo "$as_me:$LINENO: checking for X" >&5
24183 echo $ECHO_N "checking for X... $ECHO_C" >&6
24186 # Check whether --with-x or --without-x was given.
24187 if test "${with_x+set}" = set; then
24191 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24192 if test "x$with_x" = xno
; then
24193 # The user explicitly disabled X.
24196 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24197 # Both variables are already set.
24200 if test "${ac_cv_have_x+set}" = set; then
24201 echo $ECHO_N "(cached) $ECHO_C" >&6
24203 # One or both of the vars are not set, and there is no cached value.
24204 ac_x_includes
=no ac_x_libraries
=no
24205 rm -fr conftest.dir
24206 if mkdir conftest.dir
; then
24208 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24209 cat >Imakefile
<<'_ACEOF'
24211 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24213 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24214 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24215 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24216 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24217 for ac_extension
in a so sl
; do
24218 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24219 test -f $ac_im_libdir/libX11.
$ac_extension; then
24220 ac_im_usrlibdir
=$ac_im_libdir; break
24223 # Screen out bogus values from the imake configuration. They are
24224 # bogus both because they are the default anyway, and because
24225 # using them would break gcc on systems where it needs fixed includes.
24226 case $ac_im_incroot in
24228 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24230 case $ac_im_usrlibdir in
24231 /usr
/lib |
/lib
) ;;
24232 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24236 rm -fr conftest.dir
24239 # Standard set of common directories for X headers.
24240 # Check X11 before X11Rn because it is often a symlink to the current release.
24252 /usr/local/X11/include
24253 /usr/local/X11R6/include
24254 /usr/local/X11R5/include
24255 /usr/local/X11R4/include
24257 /usr/local/include/X11
24258 /usr/local/include/X11R6
24259 /usr/local/include/X11R5
24260 /usr/local/include/X11R4
24264 /usr/XFree86/include/X11
24268 /usr/unsupported/include
24269 /usr/athena/include
24270 /usr/local/x11r5/include
24271 /usr/lpp/Xamples/include
24273 /usr/openwin/include
24274 /usr/openwin/share/include'
24276 if test "$ac_x_includes" = no
; then
24277 # Guess where to find include files, by looking for Intrinsic.h.
24278 # First, try using that file with no special directory specified.
24279 cat >conftest.
$ac_ext <<_ACEOF
24282 cat confdefs.h
>>conftest.
$ac_ext
24283 cat >>conftest.
$ac_ext <<_ACEOF
24284 /* end confdefs.h. */
24285 #include <X11/Intrinsic.h>
24287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24288 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24290 grep -v '^ *+' conftest.er1
>conftest.err
24292 cat conftest.err
>&5
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); } >/dev
/null
; then
24295 if test -s conftest.err
; then
24296 ac_cpp_err
=$ac_c_preproc_warn_flag
24297 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24304 if test -z "$ac_cpp_err"; then
24305 # We can compile using X headers with no special include directory.
24308 echo "$as_me: failed program was:" >&5
24309 sed 's/^/| /' conftest.
$ac_ext >&5
24311 for ac_dir
in $ac_x_header_dirs; do
24312 if test -r "$ac_dir/X11/Intrinsic.h"; then
24313 ac_x_includes
=$ac_dir
24318 rm -f conftest.err conftest.
$ac_ext
24319 fi # $ac_x_includes = no
24321 if test "$ac_x_libraries" = no
; then
24322 # Check for the libraries.
24323 # See if we find them without any special options.
24324 # Don't add to $LIBS permanently.
24327 cat >conftest.
$ac_ext <<_ACEOF
24330 cat confdefs.h
>>conftest.
$ac_ext
24331 cat >>conftest.
$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24333 #include <X11/Intrinsic.h>
24342 rm -f conftest.
$ac_objext conftest
$ac_exeext
24343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24344 (eval $ac_link) 2>conftest.er1
24346 grep -v '^ *+' conftest.er1
>conftest.err
24348 cat conftest.err
>&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); } &&
24351 { ac_try
='test -z "$ac_c_werror_flag"
24352 || test ! -s conftest.err'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; } &&
24358 { ac_try
='test -s conftest$ac_exeext'
24359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24360 (eval $ac_try) 2>&5
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); }; }; then
24365 # We can link X programs with no special library path.
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.
$ac_ext >&5
24372 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24374 # Don't even attempt the hair of trying to link an X program!
24375 for ac_extension
in a so sl
; do
24376 if test -r $ac_dir/libXt.
$ac_extension; then
24377 ac_x_libraries
=$ac_dir
24383 rm -f conftest.err conftest.
$ac_objext \
24384 conftest
$ac_exeext conftest.
$ac_ext
24385 fi # $ac_x_libraries = no
24387 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
24388 # Didn't find X anywhere. Cache the known absence of X.
24389 ac_cv_have_x
="have_x=no"
24391 # Record where we found X for the cache.
24392 ac_cv_have_x
="have_x=yes \
24393 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24398 eval "$ac_cv_have_x"
24401 if test "$have_x" != yes; then
24402 echo "$as_me:$LINENO: result: $have_x" >&5
24403 echo "${ECHO_T}$have_x" >&6
24406 # If each of the values was on the command line, it overrides each guess.
24407 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24408 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24409 # Update the cache value to reflect the command line values.
24410 ac_cv_have_x
="have_x=yes \
24411 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24412 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24413 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24417 # Check whether we should enable the TUI, but only do so if we really
24419 if test x
"$enable_tui" = xyes
; then
24420 if test -d $srcdir/tui
; then
24421 if test "$ac_cv_search_waddstr" != no
; then
24422 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
24423 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
24424 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
24425 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
24426 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
24427 CONFIG_ALL
="${CONFIG_ALL} all-tui"
24428 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
24429 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
24430 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
24432 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
24433 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
24438 # Unlike the sim directory, whether a simulator is linked is controlled by
24439 # presence of a SIM= and a SIM_OBS= definition in the target '.mt' file.
24440 # This code just checks for a few cases where we'd like to ignore those
24441 # definitions, even when they're present in the '.mt' file. These cases
24442 # are when --disable-sim is specified, or if the simulator directory is
24443 # not part of the source tree.
24445 # Check whether --enable-sim or --disable-sim was given.
24446 if test "${enable_sim+set}" = set; then
24447 enableval
="$enable_sim"
24448 echo "enable_sim = $enable_sim";
24449 echo "enableval = ${enableval}";
24450 case "${enableval}" in
24451 yes) ignore_sim
=false
;;
24452 no
) ignore_sim
=true
;;
24453 *) ignore_sim
=false
;;
24459 if test ! -d "${srcdir}/../sim"; then
24463 if test "${ignore_sim}" = "true"; then
24465 IGNORE_SIM_OBS
="SIM_OBS="
24470 cat >>confdefs.h
<<\_ACEOF
24489 # List of host floatformats.
24491 cat >>confdefs.h
<<_ACEOF
24492 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
24496 cat >>confdefs.h
<<_ACEOF
24497 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
24501 cat >>confdefs.h
<<_ACEOF
24502 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
24506 # target_subdir is used by the testsuite to find the target libraries.
24508 if test "${host}" != "${target}"; then
24509 target_subdir
="${target_alias}/"
24514 if test "${target}" = "${host}"; then
24515 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
24516 if test ! -f ${host_makefile_frag}; then
24517 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
24518 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
24519 { (exit 1); exit 1; }; }
24521 frags
="$frags $host_makefile_frag"
24523 host_makefile_frag
=/dev
/null
24526 target_makefile_frag
=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
24527 if test ! -f ${target_makefile_frag}; then
24528 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support target ${target}\"" >&5
24529 echo "$as_me: error: \"*** Gdb does not support target ${target}\"" >&2;}
24530 { (exit 1); exit 1; }; }
24532 frags
="$frags $target_makefile_frag"
24539 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
24540 ' ${host_makefile_frag}`
24542 targetfile
=`sed -n '
24543 s/DEPRECATED_TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
24544 ' ${target_makefile_frag}`
24546 if test "${target}" = "${host}"; then
24547 # We pick this up from the host configuration file (.mh) because we
24548 # do not have a native configuration Makefile fragment.
24549 nativefile
=`sed -n '
24550 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
24551 ' ${host_makefile_frag}`
24555 if test x
"${gdb_osabi}" != x
; then
24557 cat >>confdefs.h
<<_ACEOF
24558 #define GDB_OSABI_DEFAULT $gdb_osabi
24563 # Enable multi-ice-gdb-server.
24564 # Check whether --enable-multi-ice or --disable-multi-ice was given.
24565 if test "${enable_multi_ice+set}" = set; then
24566 enableval
="$enable_multi_ice"
24570 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
24571 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
24572 { (exit 1); exit 1; }; } ;;
24575 if test "x$enable_multi_ice" = xyes
; then
24578 subdirs
="$subdirs multi-ice"
24582 # We only build gdbserver automatically if host and target are the same.
24583 if test "x$target" = "x$host"; then
24584 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
24585 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
24586 if test "x$build_gdbserver" = xyes
; then
24587 echo "$as_me:$LINENO: result: yes" >&5
24588 echo "${ECHO_T}yes" >&6
24591 subdirs
="$subdirs gdbserver"
24594 echo "$as_me:$LINENO: result: no" >&5
24595 echo "${ECHO_T}no" >&6
24599 # If hostfile (XM_FILE) and/or targetfile (DEPRECATED_TM_FILE) and/or
24600 # nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
24601 # to an empty version.
24608 if test "${hostfile}" != ""; then
24610 case "${hostfile}" in
24611 xm-
*.h
) GDB_XM_FILE
="config/${gdb_host_cpu}/${hostfile}" ;;
24612 * ) GDB_XM_FILE
="${hostfile}"
24614 files
="${files} ${GDB_XM_FILE}"
24615 links
="${links} xm.h"
24617 cat >>confdefs.h
<<_ACEOF
24618 #define GDB_XM_FILE "${GDB_XM_FILE}"
24626 if test "${targetfile}" != ""; then
24628 case "${targetfile}" in
24629 tm-
*.h
) GDB_TM_FILE
="config/${gdb_target_cpu}/${targetfile}" ;;
24630 * ) GDB_TM_FILE
="${targetfile}"
24632 files
="${files} ${GDB_TM_FILE}"
24633 links
="${links} tm.h"
24635 cat >>confdefs.h
<<_ACEOF
24636 #define GDB_TM_FILE "${GDB_TM_FILE}"
24644 if test "${nativefile}" != ""; then
24646 case "${nativefile}" in
24647 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
24648 * ) GDB_NM_FILE
="${nativefile}"
24650 files
="${files} ${GDB_NM_FILE}"
24651 links
="${links} nm.h"
24653 cat >>confdefs.h
<<_ACEOF
24654 #define GDB_NM_FILE "${GDB_NM_FILE}"
24660 ac_sources
="$files"
24662 while test -n "$ac_sources"; do
24663 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
24664 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
24665 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
24667 ac_config_links
="$ac_config_links $ac_config_links_1"
24674 cat >>confdefs.h
<<\_ACEOF
24675 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
24682 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
24683 if test "${with_libiconv_prefix+set}" = set; then
24684 withval
="$with_libiconv_prefix"
24686 for dir
in `echo "$withval" | tr : ' '`; do
24687 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
24688 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
24693 echo "$as_me:$LINENO: checking for iconv" >&5
24694 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
24695 if test "${am_cv_func_iconv+set}" = set; then
24696 echo $ECHO_N "(cached) $ECHO_C" >&6
24699 am_cv_func_iconv
="no, consider installing GNU libiconv"
24701 cat >conftest.
$ac_ext <<_ACEOF
24704 cat confdefs.h
>>conftest.
$ac_ext
24705 cat >>conftest.
$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24707 #include <stdlib.h>
24712 iconv_t cd = iconv_open("","");
24713 iconv(cd,NULL,NULL,NULL,NULL);
24719 rm -f conftest.
$ac_objext conftest
$ac_exeext
24720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24721 (eval $ac_link) 2>conftest.er1
24723 grep -v '^ *+' conftest.er1
>conftest.err
24725 cat conftest.err
>&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } &&
24728 { ac_try
='test -z "$ac_c_werror_flag"
24729 || test ! -s conftest.err'
24730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731 (eval $ac_try) 2>&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; } &&
24735 { ac_try
='test -s conftest$ac_exeext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 am_cv_func_iconv
=yes
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.
$ac_ext >&5
24747 rm -f conftest.err conftest.
$ac_objext \
24748 conftest
$ac_exeext conftest.
$ac_ext
24749 if test "$am_cv_func_iconv" != yes; then
24750 am_save_LIBS
="$LIBS"
24751 LIBS
="$LIBS -liconv"
24752 cat >conftest.
$ac_ext <<_ACEOF
24755 cat confdefs.h
>>conftest.
$ac_ext
24756 cat >>conftest.
$ac_ext <<_ACEOF
24757 /* end confdefs.h. */
24758 #include <stdlib.h>
24763 iconv_t cd = iconv_open("","");
24764 iconv(cd,NULL,NULL,NULL,NULL);
24770 rm -f conftest.
$ac_objext conftest
$ac_exeext
24771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24772 (eval $ac_link) 2>conftest.er1
24774 grep -v '^ *+' conftest.er1
>conftest.err
24776 cat conftest.err
>&5
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); } &&
24779 { ac_try
='test -z "$ac_c_werror_flag"
24780 || test ! -s conftest.err'
24781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24782 (eval $ac_try) 2>&5
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); }; } &&
24786 { ac_try
='test -s conftest$ac_exeext'
24787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24788 (eval $ac_try) 2>&5
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); }; }; then
24792 am_cv_lib_iconv
=yes
24793 am_cv_func_iconv
=yes
24795 echo "$as_me: failed program was:" >&5
24796 sed 's/^/| /' conftest.
$ac_ext >&5
24799 rm -f conftest.err conftest.
$ac_objext \
24800 conftest
$ac_exeext conftest.
$ac_ext
24801 LIBS
="$am_save_LIBS"
24805 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
24806 echo "${ECHO_T}$am_cv_func_iconv" >&6
24807 if test "$am_cv_func_iconv" = yes; then
24809 cat >>confdefs.h
<<\_ACEOF
24810 #define HAVE_ICONV 1
24813 echo "$as_me:$LINENO: checking for iconv declaration" >&5
24814 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
24815 if test "${am_cv_proto_iconv+set}" = set; then
24816 echo $ECHO_N "(cached) $ECHO_C" >&6
24819 cat >conftest.
$ac_ext <<_ACEOF
24822 cat confdefs.h
>>conftest.
$ac_ext
24823 cat >>conftest.
$ac_ext <<_ACEOF
24824 /* end confdefs.h. */
24826 #include <stdlib.h>
24832 #if defined(__STDC__) || defined(__cplusplus)
24833 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
24846 rm -f conftest.
$ac_objext
24847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24848 (eval $ac_compile) 2>conftest.er1
24850 grep -v '^ *+' conftest.er1
>conftest.err
24852 cat conftest.err
>&5
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); } &&
24855 { ac_try
='test -z "$ac_c_werror_flag"
24856 || test ! -s conftest.err'
24857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24858 (eval $ac_try) 2>&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); }; } &&
24862 { ac_try
='test -s conftest.$ac_objext'
24863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24864 (eval $ac_try) 2>&5
24866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); }; }; then
24868 am_cv_proto_iconv_arg1
=""
24870 echo "$as_me: failed program was:" >&5
24871 sed 's/^/| /' conftest.
$ac_ext >&5
24873 am_cv_proto_iconv_arg1
="const"
24875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24876 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);"
24879 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
24880 echo "$as_me:$LINENO: result: ${ac_t:-
24881 }$am_cv_proto_iconv" >&5
24882 echo "${ECHO_T}${ac_t:-
24883 }$am_cv_proto_iconv" >&6
24885 cat >>confdefs.h
<<_ACEOF
24886 #define ICONV_CONST $am_cv_proto_iconv_arg1
24891 if test "$am_cv_lib_iconv" = yes; then
24897 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in"
24898 ac_config_commands
="$ac_config_commands default"
24899 cat >confcache
<<\_ACEOF
24900 # This file is a shell script that caches the results of configure
24901 # tests run on this system so they can be shared between configure
24902 # scripts and configure runs, see configure's option --config-cache.
24903 # It is not useful on other systems. If it contains results you don't
24904 # want to keep, you may remove or edit it.
24906 # config.status only pays attention to the cache file if you give it
24907 # the --recheck option to rerun configure.
24909 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24910 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24911 # following values.
24915 # The following way of writing the cache mishandles newlines in values,
24916 # but we know of no workaround that is simple, portable, and efficient.
24917 # So, don't put newlines in cache variables' values.
24918 # Ultrix sh set writes to stderr and can't be redirected directly,
24919 # and sets the high bit in the cache file unless we assign to the vars.
24922 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24924 # `set' does not quote correctly, so add quotes (double-quote
24925 # substitution turns \\\\ into \\, and sed turns \\ into \).
24928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24931 # `set' quotes correctly as required by POSIX, so do not add quotes.
24933 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24940 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24942 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24944 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
24945 if test -w $cache_file; then
24946 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24947 cat confcache
>$cache_file
24949 echo "not updating unwritable cache $cache_file"
24954 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24955 # Let make expand exec_prefix.
24956 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24958 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24959 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24960 # trailing colons and then remove the whole line if VPATH becomes empty
24961 # (actually we leave an empty line to preserve line numbers).
24962 if test "x$srcdir" = x.
; then
24963 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24964 s/:*\$(srcdir):*/:/;
24965 s/:*\${srcdir}:*/:/;
24967 s/^\([^=]*=[ ]*\):*/\1/;
24973 DEFS
=-DHAVE_CONFIG_H
24977 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24978 # 1. Remove the extension, and $U if already installed.
24979 ac_i
=`echo "$ac_i" |
24980 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
24982 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
24983 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
24985 LIBOBJS
=$ac_libobjs
24987 LTLIBOBJS
=$ac_ltlibobjs
24990 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24991 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24992 Usually this means the macro was only invoked conditionally." >&5
24993 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24994 Usually this means the macro was only invoked conditionally." >&2;}
24995 { (exit 1); exit 1; }; }
24998 : ${CONFIG_STATUS=./config.status}
24999 ac_clean_files_save
=$ac_clean_files
25000 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25001 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25002 echo "$as_me: creating $CONFIG_STATUS" >&6;}
25003 cat >$CONFIG_STATUS <<_ACEOF
25005 # Generated by $as_me.
25006 # Run this file to recreate the current configuration.
25007 # Compiler output produced by configure, useful for debugging
25008 # configure, is in config.log if it exists.
25011 ac_cs_recheck=false
25013 SHELL=\${CONFIG_SHELL-$SHELL}
25016 cat >>$CONFIG_STATUS <<\_ACEOF
25017 ## --------------------- ##
25018 ## M4sh Initialization. ##
25019 ## --------------------- ##
25021 # Be Bourne compatible
25022 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25025 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25026 # is contrary to our usage. Disable this feature.
25027 alias -g '${1+"$@"}'='"$@"'
25028 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25031 DUALCASE
=1; export DUALCASE
# for MKS sh
25033 # Support unset when possible.
25034 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
25041 # Work around bugs in pre-3.0 UWIN ksh.
25042 $as_unset ENV MAIL MAILPATH
25049 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
25050 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
25051 LC_TELEPHONE LC_TIME
25053 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25054 eval $as_var=C
; export $as_var
25060 # Required to use basename.
25061 if expr a
: '\(a\)' >/dev
/null
2>&1; then
25067 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
25068 as_basename
=basename
25074 # Name of the executable.
25075 as_me
=`$as_basename "$0" ||
25076 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25077 X"$0" : 'X\(//\)$' \| \
25078 X"$0" : 'X\(/\)$' \| \
25079 . : '\(.\)' 2>/dev/null ||
25081 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
25082 /^X\/\(\/\/\)$/{ s//\1/; q; }
25083 /^X\/\(\/\).*/{ s//\1/; q; }
25087 # PATH needs CR, and LINENO needs CR and PATH.
25088 # Avoid depending upon Character Ranges.
25089 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25090 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25091 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25092 as_cr_digits
='0123456789'
25093 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25095 # The user is always right.
25096 if test "${PATH_SEPARATOR+set}" != set; then
25097 echo "#! /bin/sh" >conf$$.sh
25098 echo "exit 0" >>conf$$.sh
25100 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
25109 as_lineno_1
=$LINENO
25110 as_lineno_2
=$LINENO
25111 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
25112 test "x$as_lineno_1" != "x$as_lineno_2" &&
25113 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
25114 # Find who we are. Look in the path if we contain no path at all
25117 *[\\/]* ) as_myself
=$0 ;;
25118 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25119 for as_dir
in $PATH
25122 test -z "$as_dir" && as_dir
=.
25123 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
25128 # We did not find ourselves, most probably we were run as `sh COMMAND'
25129 # in which case we are not to be found in the path.
25130 if test "x$as_myself" = x
; then
25133 if test ! -f "$as_myself"; then
25134 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
25135 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
25136 { (exit 1); exit 1; }; }
25138 case $CONFIG_SHELL in
25140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25141 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
25144 test -z "$as_dir" && as_dir
=.
25145 for as_base
in sh bash ksh sh5
; do
25148 if ("$as_dir/$as_base" -c '
25149 as_lineno_1=$LINENO
25150 as_lineno_2=$LINENO
25151 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25152 test "x$as_lineno_1" != "x$as_lineno_2" &&
25153 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
25154 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
25155 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
25156 CONFIG_SHELL
=$as_dir/$as_base
25157 export CONFIG_SHELL
25158 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
25166 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25167 # uniformly replaced by the line number. The first 'sed' inserts a
25168 # line-number line before each line; the second 'sed' does the real
25169 # work. The second script uses 'N' to pair each line-number line
25170 # with the numbered line, and appends trailing '-' during
25171 # substitution so that $LINENO is not a special case at line end.
25172 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25173 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
25174 sed '=' <$as_myself |
25179 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
25182 s,^['$as_cr_digits']*\n,,
25183 ' >$as_me.lineno
&&
25184 chmod +x
$as_me.lineno ||
25185 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
25186 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
25187 { (exit 1); exit 1; }; }
25189 # Don't try to exec as it changes $[0], causing all sort of problems
25190 # (the dirname of $[0] is not the place where we might find the
25191 # original and so on. Autoconf is especially sensible to this).
25193 # Exit status is that of the last command.
25198 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
25199 *c
*,-n*) ECHO_N
= ECHO_C
='
25201 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
25202 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
25205 if expr a
: '\(a\)' >/dev
/null
2>&1; then
25211 rm -f conf$$ conf$$.exe conf$$.
file
25213 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25214 # We could just check for DJGPP; but this test a) works b) is more generic
25215 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
25216 if test -f conf$$.exe
; then
25217 # Don't use ln at all; we don't have any links
25222 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25227 rm -f conf$$ conf$$.exe conf$$.
file
25229 if mkdir
-p .
2>/dev
/null
; then
25232 test -d .
/-p && rmdir .
/-p
25236 as_executable_p
="test -f"
25238 # Sed expression to map a string onto a valid CPP name.
25239 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25241 # Sed expression to map a string onto a valid variable name.
25242 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25246 # We need space, tab and new line, in precisely that order.
25256 # Open the log real soon, to keep \$[0] and so on meaningful, and to
25257 # report actual input values of CONFIG_FILES etc. instead of their
25258 # values after options handling. Logging --version etc. is OK.
25262 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25263 ## Running $as_me. ##
25268 This file was extended by $as_me, which was
25269 generated by GNU Autoconf 2.59. Invocation command line was
25271 CONFIG_FILES = $CONFIG_FILES
25272 CONFIG_HEADERS = $CONFIG_HEADERS
25273 CONFIG_LINKS = $CONFIG_LINKS
25274 CONFIG_COMMANDS = $CONFIG_COMMANDS
25278 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
25282 # Files that config.status was made for.
25283 if test -n "$ac_config_files"; then
25284 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
25287 if test -n "$ac_config_headers"; then
25288 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
25291 if test -n "$ac_config_links"; then
25292 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
25295 if test -n "$ac_config_commands"; then
25296 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
25299 cat >>$CONFIG_STATUS <<\_ACEOF
25302 \`$as_me' instantiates files from templates according to the
25303 current configuration.
25305 Usage: $0 [OPTIONS] [FILE]...
25307 -h, --help print this help, then exit
25308 -V, --version print version number, then exit
25309 -q, --quiet do not print progress messages
25310 -d, --debug don't remove temporary files
25311 --recheck update $as_me by reconfiguring in the same conditions
25312 --file=FILE[:TEMPLATE]
25313 instantiate the configuration file FILE
25314 --header=FILE[:TEMPLATE]
25315 instantiate the configuration header FILE
25317 Configuration files:
25320 Configuration headers:
25323 Configuration links:
25326 Configuration commands:
25329 Report bugs to <bug-autoconf@gnu.org>."
25332 cat >>$CONFIG_STATUS <<_ACEOF
25335 configured by $0, generated by GNU Autoconf 2.59,
25336 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
25338 Copyright (C) 2003 Free Software Foundation, Inc.
25339 This config.status script is free software; the Free Software Foundation
25340 gives unlimited permission to copy, distribute and modify it."
25345 cat >>$CONFIG_STATUS <<\_ACEOF
25346 # If no file are specified by the user, then we need to provide default
25347 # value. By we need to know if files were specified by the user.
25353 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
25354 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
25362 *) # This is not an option, so the user has probably given explicit
25365 ac_need_defaults
=false
;;
25369 # Handling of the options.
25371 cat >>$CONFIG_STATUS <<\_ACEOF
25372 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25374 --version |
--vers* |
-V )
25375 echo "$ac_cs_version"; exit 0 ;;
25377 # Conflict between --help and --header
25378 { { echo "$as_me:$LINENO: error: ambiguous option: $1
25379 Try \`$0 --help' for more information." >&5
25380 echo "$as_me: error: ambiguous option: $1
25381 Try \`$0 --help' for more information." >&2;}
25382 { (exit 1); exit 1; }; };;
25383 --help |
--hel |
-h )
25384 echo "$ac_cs_usage"; exit 0 ;;
25385 --debug |
--d* |
-d )
25387 --file |
--fil |
--fi |
--f )
25389 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
25390 ac_need_defaults
=false
;;
25391 --header |
--heade |
--head |
--hea )
25393 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
25394 ac_need_defaults
=false
;;
25395 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25396 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25399 # This is an error.
25400 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
25401 Try \`$0 --help' for more information." >&5
25402 echo "$as_me: error: unrecognized option: $1
25403 Try \`$0 --help' for more information." >&2;}
25404 { (exit 1); exit 1; }; } ;;
25406 *) ac_config_targets
="$ac_config_targets $1" ;;
25412 ac_configure_extra_args
=
25414 if $ac_cs_silent; then
25416 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25420 cat >>$CONFIG_STATUS <<_ACEOF
25421 if \$ac_cs_recheck; then
25422 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25423 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25428 cat >>$CONFIG_STATUS <<_ACEOF
25430 # INIT-COMMANDS section.
25436 acx_cv_header_stdint="$acx_cv_header_stdint"
25437 acx_cv_type_int8_t="$acx_cv_type_int8_t"
25438 acx_cv_type_int16_t="$acx_cv_type_int16_t"
25439 acx_cv_type_int32_t="$acx_cv_type_int32_t"
25440 acx_cv_type_int64_t="$acx_cv_type_int64_t"
25441 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
25442 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
25443 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
25444 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
25445 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
25446 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
25447 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
25448 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
25449 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
25452 gdb_host_cpu=$gdb_host_cpu
25453 gdb_target_cpu=$gdb_target_cpu
25454 nativefile=$nativefile
25461 cat >>$CONFIG_STATUS <<\_ACEOF
25462 for ac_config_target
in $ac_config_targets
25464 case "$ac_config_target" in
25465 # Handling of arguments.
25466 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25467 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
25468 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
25469 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
25470 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
25471 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
25472 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25473 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25474 { (exit 1); exit 1; }; };;
25478 # If the user did not use the arguments to specify the items to instantiate,
25479 # then the envvar interface is used. Set only those that are not.
25480 # We use the long form for the default assignment because of an extremely
25481 # bizarre bug on SunOS 4.1.3.
25482 if $ac_need_defaults; then
25483 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25484 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25485 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
25486 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25489 # Have a temporary directory for convenience. Make it in the build tree
25490 # simply because there is no reason to put it here, and in addition,
25491 # creating and moving files from /tmp can sometimes cause problems.
25492 # Create a temporary directory, and hook for its removal unless debugging.
25495 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
25496 trap '{ (exit 1); exit 1; }' 1 2 13 15
25499 # Create a (secure) tmp directory for tmp files.
25502 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
25503 test -n "$tmp" && test -d "$tmp"
25506 tmp
=.
/confstat$$
-$RANDOM
25507 (umask 077 && mkdir
$tmp)
25510 echo "$me: cannot create a temporary directory in ." >&2
25511 { (exit 1); exit 1; }
25516 cat >>$CONFIG_STATUS <<_ACEOF
25519 # CONFIG_FILES section.
25522 # No need to generate the scripts if there are no CONFIG_FILES.
25523 # This happens for instance when ./config.status config.h
25524 if test -n "\$CONFIG_FILES"; then
25525 # Protect against being on the right side of a sed subst in config.status.
25526 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25527 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25528 s,@SHELL@,$SHELL,;t t
25529 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25530 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25531 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25532 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25533 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25534 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25535 s,@exec_prefix@,$exec_prefix,;t t
25536 s,@prefix@,$prefix,;t t
25537 s,@program_transform_name@,$program_transform_name,;t t
25538 s,@bindir@,$bindir,;t t
25539 s,@sbindir@,$sbindir,;t t
25540 s,@libexecdir@,$libexecdir,;t t
25541 s,@datadir@,$datadir,;t t
25542 s,@sysconfdir@,$sysconfdir,;t t
25543 s,@sharedstatedir@,$sharedstatedir,;t t
25544 s,@localstatedir@,$localstatedir,;t t
25545 s,@libdir@,$libdir,;t t
25546 s,@includedir@,$includedir,;t t
25547 s,@oldincludedir@,$oldincludedir,;t t
25548 s,@infodir@,$infodir,;t t
25549 s,@mandir@,$mandir,;t t
25550 s,@build_alias@,$build_alias,;t t
25551 s,@host_alias@,$host_alias,;t t
25552 s,@target_alias@,$target_alias,;t t
25553 s,@DEFS@,$DEFS,;t t
25554 s,@ECHO_C@,$ECHO_C,;t t
25555 s,@ECHO_N@,$ECHO_N,;t t
25556 s,@ECHO_T@,$ECHO_T,;t t
25557 s,@LIBS@,$LIBS,;t t
25558 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25559 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25560 s,@MAINT@,$MAINT,;t t
25562 s,@CFLAGS@,$CFLAGS,;t t
25563 s,@LDFLAGS@,$LDFLAGS,;t t
25564 s,@CPPFLAGS@,$CPPFLAGS,;t t
25565 s,@ac_ct_CC@,$ac_ct_CC,;t t
25566 s,@EXEEXT@,$EXEEXT,;t t
25567 s,@OBJEXT@,$OBJEXT,;t t
25569 s,@EGREP@,$EGREP,;t t
25570 s,@build@,$build,;t t
25571 s,@build_cpu@,$build_cpu,;t t
25572 s,@build_vendor@,$build_vendor,;t t
25573 s,@build_os@,$build_os,;t t
25574 s,@host@,$host,;t t
25575 s,@host_cpu@,$host_cpu,;t t
25576 s,@host_vendor@,$host_vendor,;t t
25577 s,@host_os@,$host_os,;t t
25578 s,@target@,$target,;t t
25579 s,@target_cpu@,$target_cpu,;t t
25580 s,@target_vendor@,$target_vendor,;t t
25581 s,@target_os@,$target_os,;t t
25582 s,@SET_MAKE@,$SET_MAKE,;t t
25583 s,@RANLIB@,$RANLIB,;t t
25584 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25585 s,@ALLOCA@,$ALLOCA,;t t
25586 s,@USE_NLS@,$USE_NLS,;t t
25587 s,@MSGFMT@,$MSGFMT,;t t
25588 s,@GMSGFMT@,$GMSGFMT,;t t
25589 s,@XGETTEXT@,$XGETTEXT,;t t
25590 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
25591 s,@CATALOGS@,$CATALOGS,;t t
25592 s,@CATOBJEXT@,$CATOBJEXT,;t t
25593 s,@DATADIRNAME@,$DATADIRNAME,;t t
25594 s,@GMOFILES@,$GMOFILES,;t t
25595 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
25596 s,@INTLDEPS@,$INTLDEPS,;t t
25597 s,@INTLLIBS@,$INTLLIBS,;t t
25598 s,@INTLOBJS@,$INTLOBJS,;t t
25599 s,@POFILES@,$POFILES,;t t
25600 s,@POSUB@,$POSUB,;t t
25601 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
25602 s,@GT_NO@,$GT_NO,;t t
25603 s,@GT_YES@,$GT_YES,;t t
25604 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
25606 s,@localedir@,$localedir,;t t
25607 s,@PACKAGE@,$PACKAGE,;t t
25608 s,@subdirs@,$subdirs,;t t
25610 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25611 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25612 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25613 s,@LN_S@,$LN_S,;t t
25614 s,@YACC@,$YACC,;t t
25616 s,@ac_ct_AR@,$ac_ct_AR,;t t
25617 s,@DLLTOOL@,$DLLTOOL,;t t
25618 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
25619 s,@WINDRES@,$WINDRES,;t t
25620 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
25622 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
25623 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
25624 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
25625 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
25626 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
25627 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
25628 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
25629 s,@WIN32LIBS@,$WIN32LIBS,;t t
25630 s,@LIBGUI@,$LIBGUI,;t t
25631 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
25632 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
25633 s,@TCL_VERSION@,$TCL_VERSION,;t t
25634 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
25635 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
25636 s,@TCL_CC@,$TCL_CC,;t t
25637 s,@TCL_DEFS@,$TCL_DEFS,;t t
25638 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
25639 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
25640 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
25641 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
25642 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
25643 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
25644 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
25645 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
25646 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
25647 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
25648 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
25649 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
25650 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
25651 s,@TK_VERSION@,$TK_VERSION,;t t
25652 s,@TK_DEFS@,$TK_DEFS,;t t
25653 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
25654 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
25655 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
25656 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
25657 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
25658 s,@TCLHDIR@,$TCLHDIR,;t t
25659 s,@TKHDIR@,$TKHDIR,;t t
25660 s,@ITCLHDIR@,$ITCLHDIR,;t t
25661 s,@ITKHDIR@,$ITKHDIR,;t t
25662 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
25663 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
25664 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
25665 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
25666 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
25667 s,@ITK_VERSION@,$ITK_VERSION,;t t
25668 s,@ITK_DEFS@,$ITK_DEFS,;t t
25669 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
25670 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
25671 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
25672 s,@X_CFLAGS@,$X_CFLAGS,;t t
25673 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
25674 s,@X_LIBS@,$X_LIBS,;t t
25675 s,@TCL_DEPS@,$TCL_DEPS,;t t
25676 s,@TK_DEPS@,$TK_DEPS,;t t
25677 s,@ITCLLIB@,$ITCLLIB,;t t
25678 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
25679 s,@ITKLIB@,$ITKLIB,;t t
25680 s,@ITK_DEPS@,$ITK_DEPS,;t t
25681 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
25682 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
25683 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
25684 s,@IGNORE_SIM@,$IGNORE_SIM,;t t
25685 s,@IGNORE_SIM_OBS@,$IGNORE_SIM_OBS,;t t
25686 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
25687 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
25688 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
25689 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
25690 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
25691 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
25692 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
25693 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
25694 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
25695 s,@target_subdir@,$target_subdir,;t t
25696 s,@frags@,$frags,;t t
25697 s,@xm_h@,$xm_h,;t t
25698 s,@tm_h@,$tm_h,;t t
25699 s,@nm_h@,$nm_h,;t t
25700 s,@LIBICONV@,$LIBICONV,;t t
25701 s,@LIBOBJS@,$LIBOBJS,;t t
25702 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25703 /@host_makefile_frag@/r $host_makefile_frag
25704 s,@host_makefile_frag@,,;t t
25705 /@target_makefile_frag@/r $target_makefile_frag
25706 s,@target_makefile_frag@,,;t t
25711 cat >>$CONFIG_STATUS <<\_ACEOF
25712 # Split the substitutions into bite-sized pieces for seds with
25713 # small command number limits, like on Digital OSF/1 and HP-UX.
25714 ac_max_sed_lines
=48
25715 ac_sed_frag
=1 # Number of current file.
25716 ac_beg
=1 # First line for current file.
25717 ac_end
=$ac_max_sed_lines # Line after last line for current file.
25720 while $ac_more_lines; do
25721 if test $ac_beg -gt 1; then
25722 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
25724 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
25726 if test ! -s $tmp/subs.frag
; then
25727 ac_more_lines
=false
25729 # The purpose of the label and of the branching condition is to
25730 # speed up the sed processing (if there are no `@' at all, there
25731 # is no need to browse any of the substitutions).
25732 # These are the two extra sed commands mentioned above.
25734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
25735 if test -z "$ac_sed_cmds"; then
25736 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
25738 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25740 ac_sed_frag
=`expr $ac_sed_frag + 1`
25742 ac_end
=`expr $ac_end + $ac_max_sed_lines`
25745 if test -z "$ac_sed_cmds"; then
25748 fi # test -n "$CONFIG_FILES"
25751 cat >>$CONFIG_STATUS <<\_ACEOF
25752 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
25753 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25755 - |
*:- |
*:-:* ) # input from stdin
25757 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25758 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25759 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25760 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25761 * ) ac_file_in
=$ac_file.
in ;;
25764 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25765 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
25766 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25767 X"$ac_file" : 'X\(//\)[^/]' \| \
25768 X"$ac_file" : 'X\(//\)$' \| \
25769 X"$ac_file" : 'X\(/\)' \| \
25770 . : '\(.\)' 2>/dev/null ||
25772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25773 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25774 /^X\(\/\/\)$/{ s//\1/; q; }
25775 /^X\(\/\).*/{ s//\1/; q; }
25777 { if $as_mkdir_p; then
25782 while test ! -d "$as_dir"; do
25783 as_dirs
="$as_dir $as_dirs"
25784 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
25785 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25786 X"$as_dir" : 'X\(//\)[^/]' \| \
25787 X"$as_dir" : 'X\(//\)$' \| \
25788 X"$as_dir" : 'X\(/\)' \| \
25789 . : '\(.\)' 2>/dev/null ||
25791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25792 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25793 /^X\(\/\/\)$/{ s//\1/; q; }
25794 /^X\(\/\).*/{ s//\1/; q; }
25797 test ! -n "$as_dirs" || mkdir
$as_dirs
25798 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25799 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25800 { (exit 1); exit 1; }; }; }
25804 if test "$ac_dir" != .
; then
25805 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25806 # A "../" for each directory in $ac_dir_suffix.
25807 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25809 ac_dir_suffix
= ac_top_builddir
=
25813 .
) # No --srcdir option. We are building in place.
25815 if test -z "$ac_top_builddir"; then
25818 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
25820 [\\/]* | ?
:[\\/]* ) # Absolute path.
25821 ac_srcdir
=$srcdir$ac_dir_suffix;
25822 ac_top_srcdir
=$srcdir ;;
25823 *) # Relative path.
25824 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
25825 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
25828 # Do not use `cd foo && pwd` to compute absolute paths, because
25829 # the directories may not exist.
25831 .
) ac_abs_builddir
="$ac_dir";;
25834 .
) ac_abs_builddir
=`pwd`;;
25835 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
25836 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
25839 case $ac_abs_builddir in
25840 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25842 case ${ac_top_builddir}.
in
25843 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
25844 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
25845 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
25848 case $ac_abs_builddir in
25849 .
) ac_abs_srcdir
=$ac_srcdir;;
25852 .
) ac_abs_srcdir
=$ac_abs_builddir;;
25853 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
25854 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
25857 case $ac_abs_builddir in
25858 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
25860 case $ac_top_srcdir in
25861 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
25862 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
25863 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
25869 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25870 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
25873 if test x
"$ac_file" != x-
; then
25874 { echo "$as_me:$LINENO: creating $ac_file" >&5
25875 echo "$as_me: creating $ac_file" >&6;}
25878 # Let's still pretend it is `configure' which instantiates (i.e., don't
25879 # use $as_me), people would be surprised to read:
25880 # /* config.h. Generated by config.status. */
25881 if test x
"$ac_file" = x-
; then
25884 configure_input
="$ac_file. "
25886 configure_input
=$configure_input"Generated from `echo $ac_file_in |
25887 sed 's,.*/,,'` by configure."
25889 # First look for the input files in the build tree, otherwise in the
25891 ac_file_inputs
=`IFS=:
25892 for f in $ac_file_in; do
25894 -) echo $tmp/stdin ;;
25896 # Absolute (can't be DOS-style, as IFS=:)
25897 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25898 echo "$as_me: error: cannot find input file: $f" >&2;}
25899 { (exit 1); exit 1; }; }
25902 if test -f "$f"; then
25905 elif test -f "$srcdir/$f"; then
25910 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25911 echo "$as_me: error: cannot find input file: $f" >&2;}
25912 { (exit 1); exit 1; }; }
25915 done` ||
{ (exit 1); exit 1; }
25917 cat >>$CONFIG_STATUS <<_ACEOF
25921 cat >>$CONFIG_STATUS <<\_ACEOF
25923 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25924 s
,@configure_input@
,$configure_input,;t t
25925 s
,@srcdir@
,$ac_srcdir,;t t
25926 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
25927 s
,@top_srcdir@
,$ac_top_srcdir,;t t
25928 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
25929 s
,@builddir@
,$ac_builddir,;t t
25930 s
,@abs_builddir@
,$ac_abs_builddir,;t t
25931 s
,@top_builddir@
,$ac_top_builddir,;t t
25932 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
25933 s
,@INSTALL@
,$ac_INSTALL,;t t
25934 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25936 if test x"$ac_file" != x-; then
25937 mv $tmp/out $ac_file
25945 cat >>$CONFIG_STATUS <<\_ACEOF
25948 # CONFIG_HEADER section.
25951 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
25952 # NAME is the cpp macro being defined and VALUE is the value it is being given.
25954 # ac_d sets the value in "#define NAME VALUE" lines.
25955 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25956 ac_dB
='[ ].*$,\1#\2'
25959 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25960 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25961 ac_uB
='$,\1#\2define\3'
25965 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
25966 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25968 - |
*:- |
*:-:* ) # input from stdin
25970 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25971 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25972 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
25973 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
25974 * ) ac_file_in
=$ac_file.
in ;;
25977 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
25978 echo "$as_me: creating $ac_file" >&6;}
25980 # First look for the input files in the build tree, otherwise in the
25982 ac_file_inputs
=`IFS=:
25983 for f in $ac_file_in; do
25985 -) echo $tmp/stdin ;;
25987 # Absolute (can't be DOS-style, as IFS=:)
25988 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25989 echo "$as_me: error: cannot find input file: $f" >&2;}
25990 { (exit 1); exit 1; }; }
25991 # Do quote $f, to prevent DOS paths from being IFS'd.
25994 if test -f "$f"; then
25997 elif test -f "$srcdir/$f"; then
26002 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26003 echo "$as_me: error: cannot find input file: $f" >&2;}
26004 { (exit 1); exit 1; }; }
26007 done` ||
{ (exit 1); exit 1; }
26008 # Remove the trailing spaces.
26009 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
26013 # Transform confdefs.h into two sed scripts, `conftest.defines' and
26014 # `conftest.undefs', that substitutes the proper values into
26015 # config.h.in to produce config.h. The first handles `#define'
26016 # templates, and the second `#undef' templates.
26017 # And first: Protect against being on the right side of a sed subst in
26018 # config.status. Protect against being in an unquoted here document
26019 # in config.status.
26020 rm -f conftest.defines conftest.undefs
26021 # Using a here document instead of a string reduces the quoting nightmare.
26022 # Putting comments in sed scripts is not portable.
26024 # `end' is used to avoid that the second main sed command (meant for
26025 # 0-ary CPP macros) applies to n-ary macro definitions.
26026 # See the Autoconf documentation for `clear'.
26027 cat >confdef2sed.
sed <<\_ACEOF
26032 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
26034 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26037 # If some macros were called several times there might be several times
26038 # the same #defines, which is useless. Nevertheless, we may not want to
26039 # sort them, since we want the *last* AC-DEFINE to be honored.
26040 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26041 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26042 rm -f confdef2sed.sed
26044 # This sed command replaces #undef with comments. This is necessary, for
26045 # example, in the case of _POSIX_SOURCE, which is predefined and required
26046 # on some systems where configure will not decide to define it.
26047 cat >>conftest.undefs <<\_ACEOF
26048 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
26051 # Break up conftest.defines because some shells have a limit on the size
26052 # of here documents, and old seds have small limits too (100 cmds).
26053 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26054 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26055 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26056 echo ' :' >>$CONFIG_STATUS
26057 rm -f conftest.tail
26058 while grep . conftest.defines >/dev/null
26060 # Write a limited-size here document to $tmp/defines.sed.
26061 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26062 # Speed up: don't consider the non `#define' lines.
26063 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
26064 # Work around the forget-to-reset-the-flag bug.
26065 echo 't clr' >>$CONFIG_STATUS
26066 echo ': clr' >>$CONFIG_STATUS
26067 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
26069 sed -f $tmp/defines.sed $tmp/in >$tmp/out
26071 mv $tmp/out $tmp/in
26073 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
26074 rm -f conftest.defines
26075 mv conftest.
tail conftest.defines
26077 rm -f conftest.defines
26078 echo ' fi # grep' >>$CONFIG_STATUS
26079 echo >>$CONFIG_STATUS
26081 # Break up conftest.undefs because some shells have a limit on the size
26082 # of here documents, and old seds have small limits too (100 cmds).
26083 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
26084 rm -f conftest.
tail
26085 while grep . conftest.undefs
>/dev
/null
26087 # Write a limited-size here document to $tmp/undefs.sed.
26088 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26089 # Speed up: don't consider the non
`#undef'
26090 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
26091 # Work around the forget-to-reset-the-flag bug.
26092 echo 't clr' >>$CONFIG_STATUS
26093 echo ': clr' >>$CONFIG_STATUS
26094 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26096 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26098 mv $tmp/out $tmp/in
26100 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26101 rm -f conftest.undefs
26102 mv conftest.tail conftest.undefs
26104 rm -f conftest.undefs
26106 cat >>$CONFIG_STATUS <<\_ACEOF
26107 # Let's still pretend it is `configure
' which instantiates (i.e., don't
26108 # use $as_me), people would be surprised to read:
26109 # /* config.h. Generated by config.status. */
26110 if test x
"$ac_file" = x-
; then
26111 echo "/* Generated by configure. */" >$tmp/config.h
26113 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
26115 cat $tmp/in >>$tmp/config.h
26117 if test x
"$ac_file" != x-
; then
26118 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
26119 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26120 echo "$as_me: $ac_file is unchanged" >&6;}
26122 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
26123 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26124 X"$ac_file" : 'X\(//\)[^/]' \| \
26125 X"$ac_file" : 'X\(//\)$' \| \
26126 X"$ac_file" : 'X\(/\)' \| \
26127 . : '\(.\)' 2>/dev/null ||
26129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26130 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26131 /^X\(\/\/\)$/{ s//\1/; q; }
26132 /^X\(\/\).*/{ s//\1/; q; }
26134 { if $as_mkdir_p; then
26139 while test ! -d "$as_dir"; do
26140 as_dirs
="$as_dir $as_dirs"
26141 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26143 X"$as_dir" : 'X\(//\)[^/]' \| \
26144 X"$as_dir" : 'X\(//\)$' \| \
26145 X"$as_dir" : 'X\(/\)' \| \
26146 . : '\(.\)' 2>/dev/null ||
26148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26150 /^X\(\/\/\)$/{ s//\1/; q; }
26151 /^X\(\/\).*/{ s//\1/; q; }
26154 test ! -n "$as_dirs" || mkdir
$as_dirs
26155 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26156 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26157 { (exit 1); exit 1; }; }; }
26160 mv $tmp/config.h
$ac_file
26164 rm -f $tmp/config.h
26168 cat >>$CONFIG_STATUS <<\_ACEOF
26171 # CONFIG_LINKS section.
26174 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
26175 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
26176 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26178 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
26179 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
26181 if test ! -r $srcdir/$ac_source; then
26182 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
26183 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
26184 { (exit 1); exit 1; }; }
26188 # Make relative symlinks.
26189 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
26190 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26191 X"$ac_dest" : 'X\(//\)[^/]' \| \
26192 X"$ac_dest" : 'X\(//\)$' \| \
26193 X"$ac_dest" : 'X\(/\)' \| \
26194 . : '\(.\)' 2>/dev/null ||
26196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26197 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26198 /^X\(\/\/\)$/{ s//\1/; q; }
26199 /^X\(\/\).*/{ s//\1/; q; }
26201 { if $as_mkdir_p; then
26202 mkdir
-p "$ac_dest_dir"
26204 as_dir
="$ac_dest_dir"
26206 while test ! -d "$as_dir"; do
26207 as_dirs
="$as_dir $as_dirs"
26208 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26209 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26210 X"$as_dir" : 'X\(//\)[^/]' \| \
26211 X"$as_dir" : 'X\(//\)$' \| \
26212 X"$as_dir" : 'X\(/\)' \| \
26213 . : '\(.\)' 2>/dev/null ||
26215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26216 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26217 /^X\(\/\/\)$/{ s//\1/; q; }
26218 /^X\(\/\).*/{ s//\1/; q; }
26221 test ! -n "$as_dirs" || mkdir
$as_dirs
26222 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
26223 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
26224 { (exit 1); exit 1; }; }; }
26228 if test "$ac_dest_dir" != .
; then
26229 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
26230 # A "../" for each directory in $ac_dir_suffix.
26231 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26233 ac_dir_suffix
= ac_top_builddir
=
26237 .
) # No --srcdir option. We are building in place.
26239 if test -z "$ac_top_builddir"; then
26242 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26244 [\\/]* | ?
:[\\/]* ) # Absolute path.
26245 ac_srcdir
=$srcdir$ac_dir_suffix;
26246 ac_top_srcdir
=$srcdir ;;
26247 *) # Relative path.
26248 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26249 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26252 # Do not use `cd foo && pwd` to compute absolute paths, because
26253 # the directories may not exist.
26255 .
) ac_abs_builddir
="$ac_dest_dir";;
26257 case "$ac_dest_dir" in
26258 .
) ac_abs_builddir
=`pwd`;;
26259 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
26260 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
26263 case $ac_abs_builddir in
26264 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26266 case ${ac_top_builddir}.
in
26267 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
26268 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26269 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
26272 case $ac_abs_builddir in
26273 .
) ac_abs_srcdir
=$ac_srcdir;;
26276 .
) ac_abs_srcdir
=$ac_abs_builddir;;
26277 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
26278 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
26281 case $ac_abs_builddir in
26282 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
26284 case $ac_top_srcdir in
26285 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
26286 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
26287 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
26293 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
26294 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
26297 # Try a symlink, then a hard link, then a copy.
26298 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
26299 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
26300 cp -p $srcdir/$ac_source $ac_dest ||
26301 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
26302 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
26303 { (exit 1); exit 1; }; }
26306 cat >>$CONFIG_STATUS <<\_ACEOF
26309 # CONFIG_COMMANDS section.
26311 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
26312 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
26313 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26314 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
26315 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26316 X"$ac_dest" : 'X\(//\)[^/]' \| \
26317 X"$ac_dest" : 'X\(//\)$' \| \
26318 X"$ac_dest" : 'X\(/\)' \| \
26319 . : '\(.\)' 2>/dev/null ||
26321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26322 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26323 /^X\(\/\/\)$/{ s//\1/; q; }
26324 /^X\(\/\).*/{ s//\1/; q; }
26326 { if $as_mkdir_p; then
26331 while test ! -d "$as_dir"; do
26332 as_dirs
="$as_dir $as_dirs"
26333 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26335 X"$as_dir" : 'X\(//\)[^/]' \| \
26336 X"$as_dir" : 'X\(//\)$' \| \
26337 X"$as_dir" : 'X\(/\)' \| \
26338 . : '\(.\)' 2>/dev/null ||
26340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26341 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26342 /^X\(\/\/\)$/{ s//\1/; q; }
26343 /^X\(\/\).*/{ s//\1/; q; }
26346 test ! -n "$as_dirs" || mkdir
$as_dirs
26347 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26348 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26349 { (exit 1); exit 1; }; }; }
26353 if test "$ac_dir" != .
; then
26354 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26355 # A "../" for each directory in $ac_dir_suffix.
26356 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26358 ac_dir_suffix
= ac_top_builddir
=
26362 .
) # No --srcdir option. We are building in place.
26364 if test -z "$ac_top_builddir"; then
26367 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26369 [\\/]* | ?
:[\\/]* ) # Absolute path.
26370 ac_srcdir
=$srcdir$ac_dir_suffix;
26371 ac_top_srcdir
=$srcdir ;;
26372 *) # Relative path.
26373 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26374 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26377 # Do not use `cd foo && pwd` to compute absolute paths, because
26378 # the directories may not exist.
26380 .
) ac_abs_builddir
="$ac_dir";;
26383 .
) ac_abs_builddir
=`pwd`;;
26384 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
26385 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
26388 case $ac_abs_builddir in
26389 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26391 case ${ac_top_builddir}.
in
26392 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
26393 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26394 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
26397 case $ac_abs_builddir in
26398 .
) ac_abs_srcdir
=$ac_srcdir;;
26401 .
) ac_abs_srcdir
=$ac_abs_builddir;;
26402 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
26403 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
26406 case $ac_abs_builddir in
26407 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
26409 case $ac_top_srcdir in
26410 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
26411 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
26412 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
26417 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
26418 echo "$as_me: executing $ac_dest commands" >&6;}
26421 if test "$GCC" = yes; then
26422 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
26424 echo "/* generated for $CC */" > tmp-stdint.h
26427 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26429 #ifndef GCC_GENERATED_STDINT_H
26430 #define GCC_GENERATED_STDINT_H 1
26432 #include <sys/types.h>
26435 if test "$acx_cv_header_stdint" != stdint.h
; then
26436 echo "#include <stddef.h>" >> tmp-stdint.h
26438 if test "$acx_cv_header_stdint" != stddef.h
; then
26439 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
26442 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26443 /* glibc uses these symbols as guards to prevent redefinitions. */
26444 #ifdef __int8_t_defined
26449 #ifdef __uint32_t_defined
26455 # ----------------- done header, emit basic int types -------------
26456 if test "$acx_cv_header_stdint" = stddef.h
; then
26457 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26461 typedef unsigned $acx_cv_type_int8_t uint8_t;
26466 typedef unsigned $acx_cv_type_int16_t uint16_t;
26471 typedef unsigned $acx_cv_type_int32_t uint32_t;
26476 typedef $acx_cv_type_int8_t int8_t;
26481 typedef $acx_cv_type_int16_t int16_t;
26486 typedef $acx_cv_type_int32_t int32_t;
26489 elif test "$ac_cv_type_u_int32_t" = yes; then
26490 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26492 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
26505 typedef u_int8_t uint8_t;
26510 typedef u_int16_t uint16_t;
26515 typedef u_int32_t uint32_t;
26519 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26521 /* Some systems have guard macros to prevent redefinitions, define them. */
26543 # ------------- done basic int types, emit int64_t types ------------
26544 if test "$ac_cv_type_uint64_t" = yes; then
26545 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26547 /* system headers have good uint64_t and int64_t */
26555 elif test "$ac_cv_type_u_int64_t" = yes; then
26556 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26558 /* system headers have an u_int64_t (and int64_t) */
26564 typedef u_int64_t uint64_t;
26567 elif test -n "$acx_cv_type_int64_t"; then
26568 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26570 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
26573 typedef $acx_cv_type_int64_t int64_t;
26577 typedef unsigned $acx_cv_type_int64_t uint64_t;
26581 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26583 /* some common heuristics for int64_t, using compiler-specific tests */
26584 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
26587 typedef long long int64_t;
26591 typedef unsigned long long uint64_t;
26594 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
26595 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
26596 does not implement __extension__. But that compiler doesn't define
26598 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
26599 # define __extension__
26604 __extension__ typedef long long int64_t;
26608 __extension__ typedef unsigned long long uint64_t;
26611 #elif !defined __STRICT_ANSI__
26612 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
26616 typedef __int64 int64_t;
26620 typedef unsigned __int64 uint64_t;
26622 # endif /* compiler */
26624 #endif /* ANSI version */
26628 # ------------- done int64_t types, emit intptr types ------------
26629 if test "$ac_cv_type_uintptr_t" != yes; then
26630 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26632 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
26633 typedef u$acx_cv_type_intptr_t uintptr_t;
26634 typedef $acx_cv_type_intptr_t intptr_t;
26638 # ------------- done intptr types, emit int_least types ------------
26639 if test "$ac_cv_type_int_least32_t" != yes; then
26640 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26642 /* Define int_least types */
26643 typedef int8_t int_least8_t;
26644 typedef int16_t int_least16_t;
26645 typedef int32_t int_least32_t;
26647 typedef int64_t int_least64_t;
26650 typedef uint8_t uint_least8_t;
26651 typedef uint16_t uint_least16_t;
26652 typedef uint32_t uint_least32_t;
26654 typedef uint64_t uint_least64_t;
26659 # ------------- done intptr types, emit int_fast types ------------
26660 if test "$ac_cv_type_int_fast32_t" != yes; then
26661 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26663 /* Define int_fast types. short is often slow */
26664 typedef int8_t int_fast8_t;
26665 typedef int int_fast16_t;
26666 typedef int32_t int_fast32_t;
26668 typedef int64_t int_fast64_t;
26671 typedef uint8_t uint_fast8_t;
26672 typedef unsigned int uint_fast16_t;
26673 typedef uint32_t uint_fast32_t;
26675 typedef uint64_t uint_fast64_t;
26680 if test "$ac_cv_type_uintmax_t" != yes; then
26681 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26683 /* Define intmax based on what we found */
26685 typedef int64_t intmax_t;
26687 typedef long intmax_t;
26690 typedef uint64_t uintmax_t;
26692 typedef unsigned long uintmax_t;
26697 sed 's/^ *//' >> tmp-stdint.h
<<EOF
26699 #endif /* GCC_GENERATED_STDINT_H */
26702 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
26705 mv -f tmp-stdint.h gdb_stdint.h
26711 sed -e '/^DEPRECATED_TM_FILE[ ]*=/s,^DEPRECATED_TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
26712 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
26713 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
26714 mv -f Makefile.tmp Makefile
26717 case x
$CONFIG_HEADERS in
26718 xconfig.h
:config.
in)
26726 cat >>$CONFIG_STATUS <<\_ACEOF
26728 { (exit 0); exit 0; }
26730 chmod +x
$CONFIG_STATUS
26731 ac_clean_files
=$ac_clean_files_save
26734 # configure is writing to config.log, and then calls config.status.
26735 # config.status does its own redirection, appending to config.log.
26736 # Unfortunately, on DOS this fails, as config.log is still kept open
26737 # by configure, so config.status won't be able to write to it; its
26738 # output is simply discarded. So we exec the FD to /dev/null,
26739 # effectively closing config.log, so it can be properly (re)opened and
26740 # appended to by config.status. When coming back to configure, we
26741 # need to make the FD available again.
26742 if test "$no_create" != yes; then
26744 ac_config_status_args
=
26745 test "$silent" = yes &&
26746 ac_config_status_args
="$ac_config_status_args --quiet"
26748 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26750 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26751 # would make configure fail if this is the last instruction.
26752 $ac_cs_success ||
{ (exit 1); exit 1; }
26756 # CONFIG_SUBDIRS section.
26758 if test "$no_recursion" != yes; then
26760 # Remove --cache-file and --srcdir arguments so they do not pile up.
26761 ac_sub_configure_args
=
26763 for ac_arg
in $ac_configure_args; do
26764 if test -n "$ac_prev"; then
26769 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
26770 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
26771 ac_prev
=cache_file
;;
26772 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
26773 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
26776 --config-cache |
-C)
26778 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
26780 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
26782 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
26784 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
26786 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
26790 # Always prepend --prefix to ensure using the same prefix
26791 # in subdir configurations.
26792 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
26795 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
26797 # Do not complain, so a configure script can configure whichever
26798 # parts of a large source tree are present.
26799 test -d $srcdir/$ac_dir ||
continue
26801 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
26802 echo "$as_me: configuring in $ac_dir" >&6;}
26803 { if $as_mkdir_p; then
26808 while test ! -d "$as_dir"; do
26809 as_dirs
="$as_dir $as_dirs"
26810 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
26811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26812 X"$as_dir" : 'X\(//\)[^/]' \| \
26813 X"$as_dir" : 'X\(//\)$' \| \
26814 X"$as_dir" : 'X\(/\)' \| \
26815 . : '\(.\)' 2>/dev/null ||
26817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26818 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26819 /^X\(\/\/\)$/{ s//\1/; q; }
26820 /^X\(\/\).*/{ s//\1/; q; }
26823 test ! -n "$as_dirs" || mkdir
$as_dirs
26824 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26825 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26826 { (exit 1); exit 1; }; }; }
26830 if test "$ac_dir" != .
; then
26831 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26832 # A "../" for each directory in $ac_dir_suffix.
26833 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26835 ac_dir_suffix
= ac_top_builddir
=
26839 .
) # No --srcdir option. We are building in place.
26841 if test -z "$ac_top_builddir"; then
26844 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
26846 [\\/]* | ?
:[\\/]* ) # Absolute path.
26847 ac_srcdir
=$srcdir$ac_dir_suffix;
26848 ac_top_srcdir
=$srcdir ;;
26849 *) # Relative path.
26850 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
26851 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
26854 # Do not use `cd foo && pwd` to compute absolute paths, because
26855 # the directories may not exist.
26857 .
) ac_abs_builddir
="$ac_dir";;
26860 .
) ac_abs_builddir
=`pwd`;;
26861 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
26862 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
26865 case $ac_abs_builddir in
26866 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26868 case ${ac_top_builddir}.
in
26869 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
26870 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
26871 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
26874 case $ac_abs_builddir in
26875 .
) ac_abs_srcdir
=$ac_srcdir;;
26878 .
) ac_abs_srcdir
=$ac_abs_builddir;;
26879 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
26880 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
26883 case $ac_abs_builddir in
26884 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
26886 case $ac_top_srcdir in
26887 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
26888 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
26889 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
26896 # Check for guested configure; otherwise get Cygnus style configure.
26897 if test -f $ac_srcdir/configure.gnu
; then
26898 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
26899 elif test -f $ac_srcdir/configure
; then
26900 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
26901 elif test -f $ac_srcdir/configure.
in; then
26902 ac_sub_configure
=$ac_configure
26904 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
26905 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
26909 # The recursion is here.
26910 if test -n "$ac_sub_configure"; then
26911 # Make the cache file name correct relative to the subdirectory.
26912 case $cache_file in
26913 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
26914 *) # Relative path.
26915 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
26918 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
26919 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
26920 # The eval makes quoting arguments work.
26921 eval $ac_sub_configure $ac_sub_configure_args \
26922 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
26923 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
26924 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
26925 { (exit 1); exit 1; }; }