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>
313 ac_subdirs_all
="$ac_subdirs_all doc testsuite"
314 ac_subdirs_all
="$ac_subdirs_all gdbtk"
315 ac_subdirs_all
="$ac_subdirs_all multi-ice"
316 ac_subdirs_all
="$ac_subdirs_all gdbserver"
317 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 RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT localedir GL_COND_LIBTOOL_TRUE GL_COND_LIBTOOL_FALSE GNULIB_MEMMEM GNULIB_MEMPCPY GNULIB_MEMRCHR GNULIB_STPCPY GNULIB_STPNCPY GNULIB_STRCHRNUL GNULIB_STRDUP GNULIB_STRNDUP GNULIB_STRNLEN GNULIB_STRPBRK GNULIB_STRSEP GNULIB_STRSTR GNULIB_STRCASESTR GNULIB_STRTOK_R GNULIB_MBSLEN GNULIB_MBSNLEN GNULIB_MBSCHR GNULIB_MBSRCHR GNULIB_MBSSTR GNULIB_MBSCASECMP GNULIB_MBSNCASECMP GNULIB_MBSPCASECMP GNULIB_MBSCASESTR GNULIB_MBSCSPN GNULIB_MBSPBRK GNULIB_MBSSPN GNULIB_MBSSEP GNULIB_MBSTOK_R GNULIB_STRERROR GNULIB_STRSIGNAL HAVE_DECL_MEMMEM HAVE_MEMPCPY HAVE_DECL_MEMRCHR HAVE_STPCPY HAVE_STPNCPY HAVE_STRCHRNUL HAVE_DECL_STRDUP HAVE_STRNDUP HAVE_DECL_STRNDUP HAVE_DECL_STRNLEN HAVE_STRPBRK HAVE_STRSEP HAVE_STRCASESTR HAVE_DECL_STRTOK_R HAVE_DECL_STRERROR HAVE_DECL_STRSIGNAL REPLACE_STRERROR REPLACE_STRSIGNAL REPLACE_MEMMEM REPLACE_STRCASESTR REPLACE_STRSTR HAVE_LONG_LONG_INT HAVE_UNSIGNED_LONG_LONG_INT HAVE_INTTYPES_H HAVE_SYS_TYPES_H INCLUDE_NEXT NEXT_STDINT_H HAVE_STDINT_H HAVE_SYS_INTTYPES_H HAVE_SYS_BITYPES_H BITSIZEOF_PTRDIFF_T BITSIZEOF_SIG_ATOMIC_T BITSIZEOF_SIZE_T BITSIZEOF_WCHAR_T BITSIZEOF_WINT_T HAVE_SIGNED_SIG_ATOMIC_T HAVE_SIGNED_WCHAR_T HAVE_SIGNED_WINT_T PTRDIFF_T_SUFFIX SIG_ATOMIC_T_SUFFIX SIZE_T_SUFFIX WCHAR_T_SUFFIX WINT_T_SUFFIX STDINT_H NEXT_STRING_H GNULIB_WCWIDTH HAVE_DECL_WCWIDTH REPLACE_WCWIDTH WCHAR_H HAVE_WCHAR_H NEXT_WCHAR_H LIBGNU_LIBDEPS LIBGNU_LTLIBDEPS PACKAGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE subdirs TARGET_OBS LN_S YACC AR ac_ct_AR DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES MIG ac_ct_MIG READLINE READLINE_DEPS READLINE_CFLAGS HAVE_LIBEXPAT LIBEXPAT LTLIBEXPAT ALLOCA CONFIG_LDFLAGS TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS WERROR_CFLAGS SER_HARDWIRE WIN32LIBS LIBGUI GUI_CFLAGS_X WIN32LDAPP TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_CC TCL_DEFS TCL_SHLIB_CFLAGS TCL_SHLIB_LD TCL_SHLIB_LD_LIBS TCL_SHLIB_SUFFIX TCL_DL_LIBS TCL_LD_FLAGS TCL_LD_SEARCH_FLAGS TCL_CC_SEARCH_FLAGS TCL_COMPAT_OBJS TCL_RANLIB TCL_BUILD_LIB_SPEC TCL_LIB_SPEC TCL_LIB_VERSIONS_OK TK_VERSION TK_DEFS TK_BUILD_INCLUDES TK_XINCLUDES TK_XLIBSW TK_BUILD_LIB_SPEC TK_LIB_SPEC TCLHDIR TKHDIR ITCLHDIR ITKHDIR ITCL_VERSION ITCL_DEFS ITCL_BUILD_INCLUDES ITCL_BUILD_LIB_SPEC ITCL_LIB_SPEC ITK_VERSION ITK_DEFS ITK_BUILD_INCLUDES ITK_BUILD_LIB_SPEC ITK_LIB_SPEC X_CFLAGS X_LDFLAGS X_LIBS TCL_DEPS TK_DEPS ITCLLIB ITCL_DEPS ITKLIB ITK_DEPS GDBTKLIBS GDBTK_CFLAGS GDBTK_SRC_DIR SIM SIM_OBS ENABLE_CFLAGS PROFILE_CFLAGS CONFIG_OBS CONFIG_DEPS CONFIG_SRCS CONFIG_ALL CONFIG_CLEAN CONFIG_INSTALL CONFIG_UNINSTALL target_subdir frags nm_h LIBICONV LIBOBJS LTLIBOBJS gl_LIBOBJS gl_LTLIBOBJS gltests_LIBOBJS gltests_LTLIBOBJS'
318 ac_subst_files
='host_makefile_frag'
320 # Initialize some variables set by options.
322 ac_init_version
=false
323 # The variables have the same names as the options, with
324 # dashes changed to underlines.
332 program_transform_name
=s
,x
,x
,
340 # Installation directory options.
341 # These are left unexpanded so users can "make install exec_prefix=/foo"
342 # and all the variables that are supposed to be based on exec_prefix
343 # by default will actually change.
344 # Use braces instead of parens because sh, perl, etc. also accept them.
345 bindir
='${exec_prefix}/bin'
346 sbindir
='${exec_prefix}/sbin'
347 libexecdir
='${exec_prefix}/libexec'
348 datadir
='${prefix}/share'
349 sysconfdir
='${prefix}/etc'
350 sharedstatedir
='${prefix}/com'
351 localstatedir
='${prefix}/var'
352 libdir
='${exec_prefix}/lib'
353 includedir
='${prefix}/include'
354 oldincludedir
='/usr/include'
355 infodir
='${prefix}/info'
356 mandir
='${prefix}/man'
361 # If the previous option needs an argument, assign it.
362 if test -n "$ac_prev"; then
363 eval "$ac_prev=\$ac_option"
368 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
370 # Accept the important Cygnus configure options, so we can diagnose typos.
374 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
376 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
379 -build |
--build |
--buil |
--bui |
--bu)
380 ac_prev
=build_alias
;;
381 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
382 build_alias
=$ac_optarg ;;
384 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
385 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
386 ac_prev
=cache_file
;;
387 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
388 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
389 cache_file
=$ac_optarg ;;
392 cache_file
=config.cache
;;
394 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
396 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
398 datadir
=$ac_optarg ;;
400 -disable-* |
--disable-*)
401 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
407 eval "enable_$ac_feature=no" ;;
409 -enable-* |
--enable-*)
410 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
411 # Reject names that are not valid shell variable names.
412 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
413 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
414 { (exit 1); exit 1; }; }
415 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
417 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
420 eval "enable_$ac_feature='$ac_optarg'" ;;
422 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
423 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
424 |
--exec |
--exe |
--ex)
425 ac_prev
=exec_prefix
;;
426 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
427 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
428 |
--exec=* |
--exe=* |
--ex=*)
429 exec_prefix
=$ac_optarg ;;
431 -gas |
--gas |
--ga |
--g)
432 # Obsolete; use --with-gas.
435 -help |
--help |
--hel |
--he |
-h)
437 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
438 ac_init_help
=recursive
;;
439 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
440 ac_init_help
=short
;;
442 -host |
--host |
--hos |
--ho)
443 ac_prev
=host_alias
;;
444 -host=* |
--host=* |
--hos=* |
--ho=*)
445 host_alias
=$ac_optarg ;;
447 -includedir |
--includedir |
--includedi |
--included |
--include \
448 |
--includ |
--inclu |
--incl |
--inc)
449 ac_prev
=includedir
;;
450 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
451 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
452 includedir
=$ac_optarg ;;
454 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
456 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
457 infodir
=$ac_optarg ;;
459 -libdir |
--libdir |
--libdi |
--libd)
461 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
464 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
465 |
--libexe |
--libex |
--libe)
466 ac_prev
=libexecdir
;;
467 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
468 |
--libexe=* |
--libex=* |
--libe=*)
469 libexecdir
=$ac_optarg ;;
471 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
472 |
--localstate |
--localstat |
--localsta |
--localst \
473 |
--locals |
--local |
--loca |
--loc |
--lo)
474 ac_prev
=localstatedir
;;
475 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
476 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
477 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
478 localstatedir
=$ac_optarg ;;
480 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
482 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
486 # Obsolete; use --without-fp.
489 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
490 |
--no-cr |
--no-c |
-n)
493 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
494 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
497 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
498 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
499 |
--oldin |
--oldi |
--old |
--ol |
--o)
500 ac_prev
=oldincludedir
;;
501 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
502 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
503 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
504 oldincludedir
=$ac_optarg ;;
506 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
508 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
511 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
512 |
--program-pre |
--program-pr |
--program-p)
513 ac_prev
=program_prefix
;;
514 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
515 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
516 program_prefix
=$ac_optarg ;;
518 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
519 |
--program-suf |
--program-su |
--program-s)
520 ac_prev
=program_suffix
;;
521 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
522 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
523 program_suffix
=$ac_optarg ;;
525 -program-transform-name |
--program-transform-name \
526 |
--program-transform-nam |
--program-transform-na \
527 |
--program-transform-n |
--program-transform- \
528 |
--program-transform |
--program-transfor \
529 |
--program-transfo |
--program-transf \
530 |
--program-trans |
--program-tran \
531 |
--progr-tra |
--program-tr |
--program-t)
532 ac_prev
=program_transform_name
;;
533 -program-transform-name=* |
--program-transform-name=* \
534 |
--program-transform-nam=* |
--program-transform-na=* \
535 |
--program-transform-n=* |
--program-transform-=* \
536 |
--program-transform=* |
--program-transfor=* \
537 |
--program-transfo=* |
--program-transf=* \
538 |
--program-trans=* |
--program-tran=* \
539 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
540 program_transform_name
=$ac_optarg ;;
542 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
543 |
-silent |
--silent |
--silen |
--sile |
--sil)
546 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
548 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
550 sbindir
=$ac_optarg ;;
552 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
553 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
554 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
556 ac_prev
=sharedstatedir
;;
557 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
558 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
559 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
561 sharedstatedir
=$ac_optarg ;;
563 -site |
--site |
--sit)
565 -site=* |
--site=* |
--sit=*)
568 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
570 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
573 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
574 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
575 ac_prev
=sysconfdir
;;
576 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
577 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
578 sysconfdir
=$ac_optarg ;;
580 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
581 ac_prev
=target_alias
;;
582 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
583 target_alias
=$ac_optarg ;;
585 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
588 -version |
--version |
--versio |
--versi |
--vers |
-V)
592 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
593 # Reject names that are not valid shell variable names.
594 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
595 { echo "$as_me: error: invalid package name: $ac_package" >&2
596 { (exit 1); exit 1; }; }
597 ac_package
=`echo $ac_package| sed 's/-/_/g'`
599 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
602 eval "with_$ac_package='$ac_optarg'" ;;
604 -without-* |
--without-*)
605 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
606 # Reject names that are not valid shell variable names.
607 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
608 { echo "$as_me: error: invalid package name: $ac_package" >&2
609 { (exit 1); exit 1; }; }
610 ac_package
=`echo $ac_package | sed 's/-/_/g'`
611 eval "with_$ac_package=no" ;;
614 # Obsolete; use --with-x.
617 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
618 |
--x-incl |
--x-inc |
--x-in |
--x-i)
619 ac_prev
=x_includes
;;
620 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
621 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
622 x_includes
=$ac_optarg ;;
624 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
625 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
626 ac_prev
=x_libraries
;;
627 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
628 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
629 x_libraries
=$ac_optarg ;;
631 -*) { echo "$as_me: error: unrecognized option: $ac_option
632 Try \`$0 --help' for more information." >&2
633 { (exit 1); exit 1; }; }
637 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
638 # Reject names that are not valid shell variable names.
639 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
640 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
641 { (exit 1); exit 1; }; }
642 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
643 eval "$ac_envvar='$ac_optarg'"
647 # FIXME: should be removed in autoconf 3.0.
648 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
649 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
650 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
651 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
657 if test -n "$ac_prev"; then
658 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
659 { echo "$as_me: error: missing argument to $ac_option" >&2
660 { (exit 1); exit 1; }; }
663 # Be sure to have absolute paths.
664 for ac_var
in exec_prefix prefix
666 eval ac_val
=$
`echo $ac_var`
668 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
669 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
670 { (exit 1); exit 1; }; };;
674 # Be sure to have absolute paths.
675 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
676 localstatedir libdir includedir oldincludedir infodir mandir
678 eval ac_val
=$
`echo $ac_var`
680 [\\/$
]* | ?
:[\\/]* ) ;;
681 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
682 { (exit 1); exit 1; }; };;
686 # There might be people who depend on the old broken behavior: `$host'
687 # used to hold the argument of --host etc.
688 # FIXME: To remove some day.
693 # FIXME: To remove some day.
694 if test "x$host_alias" != x
; then
695 if test "x$build_alias" = x
; then
696 cross_compiling
=maybe
697 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
698 If a cross compiler is detected then cross compile mode will be used." >&2
699 elif test "x$build_alias" != "x$host_alias"; then
705 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
707 test "$silent" = yes && exec 6>/dev
/null
710 # Find the source files, if location was not specified.
711 if test -z "$srcdir"; then
712 ac_srcdir_defaulted
=yes
713 # Try the directory containing this script, then its parent.
714 ac_confdir
=`(dirname "$0") 2>/dev/null ||
715 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
716 X"$0" : 'X\(//\)[^/]' \| \
717 X"$0" : 'X\(//\)$' \| \
718 X"$0" : 'X\(/\)' \| \
719 . : '\(.\)' 2>/dev/null ||
721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
723 /^X\(\/\/\)$/{ s//\1/; q; }
724 /^X\(\/\).*/{ s//\1/; q; }
727 if test ! -r $srcdir/$ac_unique_file; then
731 ac_srcdir_defaulted
=no
733 if test ! -r $srcdir/$ac_unique_file; then
734 if test "$ac_srcdir_defaulted" = yes; then
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
736 { (exit 1); exit 1; }; }
738 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
739 { (exit 1); exit 1; }; }
742 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
743 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
744 { (exit 1); exit 1; }; }
745 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
746 ac_env_build_alias_set
=${build_alias+set}
747 ac_env_build_alias_value
=$build_alias
748 ac_cv_env_build_alias_set
=${build_alias+set}
749 ac_cv_env_build_alias_value
=$build_alias
750 ac_env_host_alias_set
=${host_alias+set}
751 ac_env_host_alias_value
=$host_alias
752 ac_cv_env_host_alias_set
=${host_alias+set}
753 ac_cv_env_host_alias_value
=$host_alias
754 ac_env_target_alias_set
=${target_alias+set}
755 ac_env_target_alias_value
=$target_alias
756 ac_cv_env_target_alias_set
=${target_alias+set}
757 ac_cv_env_target_alias_value
=$target_alias
758 ac_env_CC_set
=${CC+set}
760 ac_cv_env_CC_set
=${CC+set}
761 ac_cv_env_CC_value
=$CC
762 ac_env_CFLAGS_set
=${CFLAGS+set}
763 ac_env_CFLAGS_value
=$CFLAGS
764 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
765 ac_cv_env_CFLAGS_value
=$CFLAGS
766 ac_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_env_LDFLAGS_value
=$LDFLAGS
768 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
769 ac_cv_env_LDFLAGS_value
=$LDFLAGS
770 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
773 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
774 ac_env_CPP_set
=${CPP+set}
775 ac_env_CPP_value
=$CPP
776 ac_cv_env_CPP_set
=${CPP+set}
777 ac_cv_env_CPP_value
=$CPP
780 # Report the --help message.
782 if test "$ac_init_help" = "long"; then
783 # Omit some internal or obsolete options to make the list less imposing.
784 # This message is too long to be a string in the A/UX 3.1 sh.
786 \`configure' configures this package to adapt to many kinds of systems.
788 Usage: $0 [OPTION]... [VAR=VALUE]...
790 To assign environment variables (e.g., CC, CFLAGS...), specify them as
791 VAR=VALUE. See below for descriptions of some of the useful variables.
793 Defaults for the options are specified in brackets.
796 -h, --help display this help and exit
797 --help=short display options specific to this package
798 --help=recursive display the short help of all the included packages
799 -V, --version display version information and exit
800 -q, --quiet, --silent do not print \`checking...' messages
801 --cache-file=FILE cache test results in FILE [disabled]
802 -C, --config-cache alias for \`--cache-file=config.cache'
803 -n, --no-create do not create output files
804 --srcdir=DIR find the sources in DIR [configure dir or \`..']
809 Installation directories:
810 --prefix=PREFIX install architecture-independent files in PREFIX
812 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
815 By default, \`make install' will install all the files in
816 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
817 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
818 for instance \`--prefix=\$HOME'.
820 For better control, use the options below.
822 Fine tuning of the installation directories:
823 --bindir=DIR user executables [EPREFIX/bin]
824 --sbindir=DIR system admin executables [EPREFIX/sbin]
825 --libexecdir=DIR program executables [EPREFIX/libexec]
826 --datadir=DIR read-only architecture-independent data [PREFIX/share]
827 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
828 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
829 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
830 --libdir=DIR object code libraries [EPREFIX/lib]
831 --includedir=DIR C header files [PREFIX/include]
832 --oldincludedir=DIR C header files for non-gcc [/usr/include]
833 --infodir=DIR info documentation [PREFIX/info]
834 --mandir=DIR man documentation [PREFIX/man]
840 --program-prefix=PREFIX prepend PREFIX to installed program names
841 --program-suffix=SUFFIX append SUFFIX to installed program names
842 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
845 --x-includes=DIR X include files are
in DIR
846 --x-libraries=DIR X library files are
in DIR
849 --build=BUILD configure
for building on BUILD
[guessed
]
850 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
851 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
855 if test -n "$ac_init_help"; then
860 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
861 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
862 --enable-maintainer-mode enable make rules and dependencies not useful
863 (and sometimes confusing
) to the casual installer
864 --disable-dependency-tracking speeds up one-time build
865 --enable-dependency-tracking do not reject slow dependency extractors
866 --enable-targets alternative target configurations
867 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
868 --disable-gdbcli disable command-line interface
(CLI
)
869 --disable-gdbmi disable machine-interface
(MI
)
870 --enable-tui enable full-screen terminal user interface
(TUI
)
871 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
872 --enable-profiling enable profiling of GDB
873 --disable-rpath do not hardcode runtime library paths
874 --enable-werror treat compile warnings as errors
875 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
876 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
877 --enable-sim Link gdb with simulator
878 --enable-multi-ice build the multi-ice-gdb-server
881 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
882 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
883 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
884 --with-libunwind Use libunwind frame unwinding support
885 --with-system-readline use installed readline library
886 --with-expat include expat support
(auto
/yes
/no
)
887 --with-gnu-ld assume the C compiler uses GNU ld default
=no
888 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
889 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
890 --without-included-regex don't use included regex
; this is the default
891 on systems with version
2 of the GNU C library
892 (use with caution on other system
)
893 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
894 --with-tclconfig=DIR Directory containing tcl configuration
(tclConfig.sh
)
895 --with-tkconfig=DIR Directory containing tk configuration
(tkConfig.sh
)
896 --with-tclinclude=DIR Directory where tcl private headers are
897 --with-tkinclude=DIR Directory where tk private headers are
898 --with-itclconfig Directory containing itcl configuration
(itclConfig.sh
)
899 --with-itkconfig Directory containing itk configuration
(itkConfig.sh
)
900 --with-x use the X Window System
901 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
903 Some influential environment variables
:
904 CC C compiler
command
905 CFLAGS C compiler flags
906 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
907 nonstandard directory
<lib dir
>
908 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
909 headers
in a nonstandard directory
<include dir
>
912 Use these variables to override the choices made by
`configure' or to help
913 it to find libraries and programs with nonstandard names/locations.
918 if test "$ac_init_help" = "recursive"; then
919 # If there are subdirs, report their specific --help.
921 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
922 test -d $ac_dir || continue
925 if test "$ac_dir" != .; then
926 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
927 # A "../" for each directory in $ac_dir_suffix.
928 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
930 ac_dir_suffix= ac_top_builddir=
934 .) # No --srcdir option. We are building in place.
936 if test -z "$ac_top_builddir"; then
939 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
941 [\\/]* | ?:[\\/]* ) # Absolute path.
942 ac_srcdir=$srcdir$ac_dir_suffix;
943 ac_top_srcdir=$srcdir ;;
945 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
946 ac_top_srcdir=$ac_top_builddir$srcdir ;;
949 # Do not use `cd foo
&& pwd` to compute absolute paths, because
950 # the directories may not exist.
952 .) ac_abs_builddir="$ac_dir";;
955 .) ac_abs_builddir=`pwd`;;
956 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
957 *) ac_abs_builddir=`pwd`/"$ac_dir";;
960 case $ac_abs_builddir in
961 .) ac_abs_top_builddir=${ac_top_builddir}.;;
963 case ${ac_top_builddir}. in
964 .) ac_abs_top_builddir=$ac_abs_builddir;;
965 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
966 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
969 case $ac_abs_builddir in
970 .) ac_abs_srcdir=$ac_srcdir;;
973 .) ac_abs_srcdir=$ac_abs_builddir;;
974 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
975 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
978 case $ac_abs_builddir in
979 .) ac_abs_top_srcdir=$ac_top_srcdir;;
981 case $ac_top_srcdir in
982 .) ac_abs_top_srcdir=$ac_abs_builddir;;
983 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
984 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
989 # Check for guested configure; otherwise get Cygnus style configure.
990 if test -f $ac_srcdir/configure.gnu; then
992 $SHELL $ac_srcdir/configure.gnu --help=recursive
993 elif test -f $ac_srcdir/configure; then
995 $SHELL $ac_srcdir/configure --help=recursive
996 elif test -f $ac_srcdir/configure.ac ||
997 test -f $ac_srcdir/configure.in; then
1001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1007 test -n "$ac_init_help" && exit 0
1008 if $ac_init_version; then
1011 Copyright (C) 2003 Free Software Foundation, Inc.
1012 This configure script is free software; the Free Software Foundation
1013 gives unlimited permission to copy, distribute and modify it.
1019 This file contains any messages produced by compilers while
1020 running configure, to aid debugging if configure makes a mistake.
1022 It was created by $as_me, which was
1023 generated by GNU Autoconf 2.59. Invocation command line was
1034 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1035 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1036 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1037 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1038 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1040 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1041 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1043 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1044 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1045 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1046 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1047 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1048 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1049 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1057 test -z "$as_dir" && as_dir=.
1058 echo "PATH: $as_dir"
1073 # Keep a trace of the command line.
1074 # Strip out --no-create and --no-recursion so they do not pile up.
1075 # Strip out --silent because we don't want to record it for future runs.
1076 # Also quote any args containing shell meta-characters.
1077 # Make two passes to allow for proper duplicate-argument suppression.
1082 ac_must_keep_next=false
1088 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090 | -silent | --silent | --silen | --sile | --sil)
1092 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1093 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1096 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1098 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1099 if test $ac_must_keep_next = true; then
1100 ac_must_keep_next=false # Got value, back to normal.
1103 *=* | --config-cache | -C | -disable-* | --disable-* \
1104 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1105 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1106 | -with-* | --with-* | -without-* | --without-* | --x)
1107 case "$ac_configure_args0 " in
1108 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1111 -* ) ac_must_keep_next=true ;;
1114 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1115 # Get rid of the leading space.
1121 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1122 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1124 # When interrupted or exit'd, cleanup temporary files, and complete
1125 # config.log. We remove comments because anyway the quotes in there
1126 # would cause problems or look ugly.
1127 # WARNING: Be sure not to use single quotes in there, as some shells,
1128 # such as our DU 5.0 friend, will then `close
' the trap.
1129 trap 'exit_status
=$?
1130 # Save into config.log some information that might help in debugging.
1135 ## ---------------- ##
1136 ## Cache variables. ##
1137 ## ---------------- ##
1140 # The following way of writing the cache mishandles newlines in values,
1143 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1146 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1151 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1158 ## ----------------- ##
1159 ## Output variables. ##
1160 ## ----------------- ##
1163 for ac_var
in $ac_subst_vars
1165 eval ac_val
=$
`echo $ac_var`
1166 echo "$ac_var='"'"'$ac_val'"'"'"
1170 if test -n "$ac_subst_files"; then
1177 for ac_var
in $ac_subst_files
1179 eval ac_val
=$
`echo $ac_var`
1180 echo "$ac_var='"'"'$ac_val'"'"'"
1185 if test -s confdefs.h
; then
1192 sed "/^$/d" confdefs.h |
sort
1195 test "$ac_signal" != 0 &&
1196 echo "$as_me: caught signal $ac_signal"
1197 echo "$as_me: exit $exit_status"
1199 rm -f core
*.core
&&
1200 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1203 for ac_signal in 1 2 13 15; do
1204 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1208 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1209 rm -rf conftest* confdefs.h
1210 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1213 # Predefined preprocessor variables.
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_NAME "$PACKAGE_NAME"
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_STRING "$PACKAGE_STRING"
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1240 # Let the site file select an alternate cache file if it wants to.
1241 # Prefer explicitly selected file to automatically selected ones.
1242 if test -z "$CONFIG_SITE"; then
1243 if test "x$prefix" != xNONE; then
1244 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1246 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1249 for ac_site_file in $CONFIG_SITE; do
1250 if test -r "$ac_site_file"; then
1251 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1252 echo "$as_me: loading site script $ac_site_file" >&6;}
1253 sed 's
/^
/|
/' "$ac_site_file" >&5
1258 if test -r "$cache_file"; then
1259 # Some versions of bash will fail to source /dev/null (special
1260 # files actually), so we avoid doing that.
1261 if test -f "$cache_file"; then
1262 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1263 echo "$as_me: loading cache $cache_file" >&6;}
1265 [\\/]* | ?:[\\/]* ) . $cache_file;;
1266 *) . ./$cache_file;;
1270 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1271 echo "$as_me: creating cache $cache_file" >&6;}
1275 # Check that the precious variables saved in the cache have kept the same
1277 ac_cache_corrupted=false
1278 for ac_var in `(set) 2>&1 |
1279 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1280 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1281 eval ac_new_set=\$ac_env_${ac_var}_set
1282 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1283 eval ac_new_val="\$ac_env_${ac_var}_value"
1284 case $ac_old_set,$ac_new_set in
1286 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1287 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1288 ac_cache_corrupted=: ;;
1290 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1291 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1292 ac_cache_corrupted=: ;;
1295 if test "x$ac_old_val" != "x$ac_new_val"; then
1296 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1297 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1298 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1299 echo "$as_me: former value: $ac_old_val" >&2;}
1300 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1301 echo "$as_me: current value: $ac_new_val" >&2;}
1302 ac_cache_corrupted=:
1305 # Pass precious variables to config.status.
1306 if test "$ac_new_set" = set; then
1308 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1309 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1310 *) ac_arg=$ac_var=$ac_new_val ;;
1312 case " $ac_configure_args " in
1313 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1314 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1318 if $ac_cache_corrupted; then
1319 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1320 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1321 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1322 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1323 { (exit 1); exit 1; }; }
1327 ac_cpp='$CPP $CPPFLAGS'
1328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1329 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1333 gl_header_list="$gl_header_list stdint.h"
1334 gl_header_list="$gl_header_list wchar.h"
1335 gl_header_list="$gl_header_list string.h"
1353 ac_config_headers="$ac_config_headers config.h:config.in"
1355 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1356 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1357 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1358 if test "${enable_maintainer_mode+set}" = set; then
1359 enableval="$enable_maintainer_mode"
1360 USE_MAINTAINER_MODE=$enableval
1362 USE_MAINTAINER_MODE=no
1364 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1365 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1368 if test $USE_MAINTAINER_MODE = yes; then
1369 MAINTAINER_MODE_TRUE=
1370 MAINTAINER_MODE_FALSE='#'
1372 MAINTAINER_MODE_TRUE
='#'
1373 MAINTAINER_MODE_FALSE
=
1376 MAINT
=$MAINTAINER_MODE_TRUE
1381 ac_cpp
='$CPP $CPPFLAGS'
1382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1385 if test -n "$ac_tool_prefix"; then
1386 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1387 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1388 echo "$as_me:$LINENO: checking for $ac_word" >&5
1389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1390 if test "${ac_cv_prog_CC+set}" = set; then
1391 echo $ECHO_N "(cached) $ECHO_C" >&6
1393 if test -n "$CC"; then
1394 ac_cv_prog_CC
="$CC" # Let the user override the test.
1396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1400 test -z "$as_dir" && as_dir
=.
1401 for ac_exec_ext
in '' $ac_executable_extensions; do
1402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1403 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1413 if test -n "$CC"; then
1414 echo "$as_me:$LINENO: result: $CC" >&5
1415 echo "${ECHO_T}$CC" >&6
1417 echo "$as_me:$LINENO: result: no" >&5
1418 echo "${ECHO_T}no" >&6
1422 if test -z "$ac_cv_prog_CC"; then
1424 # Extract the first word of "gcc", so it can be a program name with args.
1425 set dummy gcc
; ac_word
=$2
1426 echo "$as_me:$LINENO: checking for $ac_word" >&5
1427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1429 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 if test -n "$ac_ct_CC"; then
1432 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1438 test -z "$as_dir" && as_dir
=.
1439 for ac_exec_ext
in '' $ac_executable_extensions; do
1440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1441 ac_cv_prog_ac_ct_CC
="gcc"
1442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1450 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1451 if test -n "$ac_ct_CC"; then
1452 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1453 echo "${ECHO_T}$ac_ct_CC" >&6
1455 echo "$as_me:$LINENO: result: no" >&5
1456 echo "${ECHO_T}no" >&6
1464 if test -z "$CC"; then
1465 if test -n "$ac_tool_prefix"; then
1466 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1467 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1468 echo "$as_me:$LINENO: checking for $ac_word" >&5
1469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470 if test "${ac_cv_prog_CC+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 if test -n "$CC"; then
1474 ac_cv_prog_CC
="$CC" # Let the user override the test.
1476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1480 test -z "$as_dir" && as_dir
=.
1481 for ac_exec_ext
in '' $ac_executable_extensions; do
1482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1483 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1493 if test -n "$CC"; then
1494 echo "$as_me:$LINENO: result: $CC" >&5
1495 echo "${ECHO_T}$CC" >&6
1497 echo "$as_me:$LINENO: result: no" >&5
1498 echo "${ECHO_T}no" >&6
1502 if test -z "$ac_cv_prog_CC"; then
1504 # Extract the first word of "cc", so it can be a program name with args.
1505 set dummy cc
; ac_word
=$2
1506 echo "$as_me:$LINENO: checking for $ac_word" >&5
1507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1508 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 if test -n "$ac_ct_CC"; then
1512 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1518 test -z "$as_dir" && as_dir
=.
1519 for ac_exec_ext
in '' $ac_executable_extensions; do
1520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1521 ac_cv_prog_ac_ct_CC
="cc"
1522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1530 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1531 if test -n "$ac_ct_CC"; then
1532 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1533 echo "${ECHO_T}$ac_ct_CC" >&6
1535 echo "$as_me:$LINENO: result: no" >&5
1536 echo "${ECHO_T}no" >&6
1545 if test -z "$CC"; then
1546 # Extract the first word of "cc", so it can be a program name with args.
1547 set dummy cc
; ac_word
=$2
1548 echo "$as_me:$LINENO: checking for $ac_word" >&5
1549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1550 if test "${ac_cv_prog_CC+set}" = set; then
1551 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 if test -n "$CC"; then
1554 ac_cv_prog_CC
="$CC" # Let the user override the test.
1557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1561 test -z "$as_dir" && as_dir
=.
1562 for ac_exec_ext
in '' $ac_executable_extensions; do
1563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1564 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1565 ac_prog_rejected
=yes
1569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575 if test $ac_prog_rejected = yes; then
1576 # We found a bogon in the path, so make sure we never use it.
1577 set dummy
$ac_cv_prog_CC
1579 if test $# != 0; then
1580 # We chose a different compiler from the bogus one.
1581 # However, it has the same basename, so the bogon will be chosen
1582 # first if we set CC to just the basename; use the full file name.
1584 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1590 if test -n "$CC"; then
1591 echo "$as_me:$LINENO: result: $CC" >&5
1592 echo "${ECHO_T}$CC" >&6
1594 echo "$as_me:$LINENO: result: no" >&5
1595 echo "${ECHO_T}no" >&6
1599 if test -z "$CC"; then
1600 if test -n "$ac_tool_prefix"; then
1603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1604 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1605 echo "$as_me:$LINENO: checking for $ac_word" >&5
1606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1607 if test "${ac_cv_prog_CC+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1610 if test -n "$CC"; then
1611 ac_cv_prog_CC
="$CC" # Let the user override the test.
1613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1617 test -z "$as_dir" && as_dir
=.
1618 for ac_exec_ext
in '' $ac_executable_extensions; do
1619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1620 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630 if test -n "$CC"; then
1631 echo "$as_me:$LINENO: result: $CC" >&5
1632 echo "${ECHO_T}$CC" >&6
1634 echo "$as_me:$LINENO: result: no" >&5
1635 echo "${ECHO_T}no" >&6
1638 test -n "$CC" && break
1641 if test -z "$CC"; then
1645 # Extract the first word of "$ac_prog", so it can be a program name with args.
1646 set dummy
$ac_prog; ac_word
=$2
1647 echo "$as_me:$LINENO: checking for $ac_word" >&5
1648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1649 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1650 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 if test -n "$ac_ct_CC"; then
1653 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1659 test -z "$as_dir" && as_dir
=.
1660 for ac_exec_ext
in '' $ac_executable_extensions; do
1661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1662 ac_cv_prog_ac_ct_CC
="$ac_prog"
1663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1671 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1672 if test -n "$ac_ct_CC"; then
1673 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1674 echo "${ECHO_T}$ac_ct_CC" >&6
1676 echo "$as_me:$LINENO: result: no" >&5
1677 echo "${ECHO_T}no" >&6
1680 test -n "$ac_ct_CC" && break
1689 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1690 See \`config.log' for more details." >&5
1691 echo "$as_me: error: no acceptable C compiler found in \$PATH
1692 See \`config.log' for more details." >&2;}
1693 { (exit 1); exit 1; }; }
1695 # Provide some information about the compiler.
1696 echo "$as_me:$LINENO:" \
1697 "checking for C compiler version" >&5
1698 ac_compiler
=`set X $ac_compile; echo $2`
1699 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1700 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1703 (exit $ac_status); }
1704 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1705 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1708 (exit $ac_status); }
1709 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1710 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713 (exit $ac_status); }
1715 cat >conftest.
$ac_ext <<_ACEOF
1718 cat confdefs.h
>>conftest.
$ac_ext
1719 cat >>conftest.
$ac_ext <<_ACEOF
1720 /* end confdefs.h. */
1730 ac_clean_files_save
=$ac_clean_files
1731 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1732 # Try to create an executable without -o first, disregard a.out.
1733 # It will help us diagnose broken compilers, and finding out an intuition
1735 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1736 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1737 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1738 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1739 (eval $ac_link_default) 2>&5
1741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1742 (exit $ac_status); }; then
1743 # Find the output, starting from the most likely. This scheme is
1744 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1747 # Be careful to initialize this variable, since it used to be cached.
1748 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1750 # b.out is created by i960 compilers.
1751 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1753 test -f "$ac_file" ||
continue
1755 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1758 # This is the source file.
1761 # We found the default executable, but exeext='' is most
1765 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1766 # FIXME: I believe we export ac_cv_exeext for Libtool,
1767 # but it would be cool to find out if it's true. Does anybody
1768 # maintain Libtool? --akim.
1776 echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.
$ac_ext >&5
1779 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1780 See \`config.log' for more details." >&5
1781 echo "$as_me: error: C compiler cannot create executables
1782 See \`config.log' for more details." >&2;}
1783 { (exit 77); exit 77; }; }
1786 ac_exeext
=$ac_cv_exeext
1787 echo "$as_me:$LINENO: result: $ac_file" >&5
1788 echo "${ECHO_T}$ac_file" >&6
1790 # Check the compiler produces executables we can run. If not, either
1791 # the compiler is broken, or we cross compile.
1792 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1793 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1794 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1795 # If not cross compiling, check that we can run a simple program.
1796 if test "$cross_compiling" != yes; then
1797 if { ac_try
='./$ac_file'
1798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1802 (exit $ac_status); }; }; then
1805 if test "$cross_compiling" = maybe
; then
1808 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1809 If you meant to cross compile, use \`--host'.
1810 See \`config.log' for more details." >&5
1811 echo "$as_me: error: cannot run C compiled programs.
1812 If you meant to cross compile, use \`--host'.
1813 See \`config.log' for more details." >&2;}
1814 { (exit 1); exit 1; }; }
1818 echo "$as_me:$LINENO: result: yes" >&5
1819 echo "${ECHO_T}yes" >&6
1821 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1822 ac_clean_files
=$ac_clean_files_save
1823 # Check the compiler produces executables we can run. If not, either
1824 # the compiler is broken, or we cross compile.
1825 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1826 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1827 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1828 echo "${ECHO_T}$cross_compiling" >&6
1830 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1831 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1833 (eval $ac_link) 2>&5
1835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1836 (exit $ac_status); }; then
1837 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1838 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1839 # work properly (i.e., refer to `conftest.exe'), while it won't with
1841 for ac_file
in conftest.exe conftest conftest.
*; do
1842 test -f "$ac_file" ||
continue
1844 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1845 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1852 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1853 See \`config.log' for more details." >&5
1854 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1855 See \`config.log' for more details." >&2;}
1856 { (exit 1); exit 1; }; }
1859 rm -f conftest
$ac_cv_exeext
1860 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1861 echo "${ECHO_T}$ac_cv_exeext" >&6
1863 rm -f conftest.
$ac_ext
1864 EXEEXT
=$ac_cv_exeext
1866 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1867 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1868 if test "${ac_cv_objext+set}" = set; then
1869 echo $ECHO_N "(cached) $ECHO_C" >&6
1871 cat >conftest.
$ac_ext <<_ACEOF
1874 cat confdefs.h
>>conftest.
$ac_ext
1875 cat >>conftest.
$ac_ext <<_ACEOF
1876 /* end confdefs.h. */
1886 rm -f conftest.o conftest.obj
1887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1888 (eval $ac_compile) 2>&5
1890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1891 (exit $ac_status); }; then
1892 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1894 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1895 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1900 echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.
$ac_ext >&5
1903 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1904 See \`config.log' for more details." >&5
1905 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1906 See \`config.log' for more details." >&2;}
1907 { (exit 1); exit 1; }; }
1910 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1912 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1913 echo "${ECHO_T}$ac_cv_objext" >&6
1914 OBJEXT
=$ac_cv_objext
1916 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1917 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1918 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 cat >conftest.
$ac_ext <<_ACEOF
1924 cat confdefs.h
>>conftest.
$ac_ext
1925 cat >>conftest.
$ac_ext <<_ACEOF
1926 /* end confdefs.h. */
1939 rm -f conftest.
$ac_objext
1940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1941 (eval $ac_compile) 2>conftest.er1
1943 grep -v '^ *+' conftest.er1
>conftest.err
1945 cat conftest.err
>&5
1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 (exit $ac_status); } &&
1948 { ac_try
='test -z "$ac_c_werror_flag"
1949 || test ! -s conftest.err'
1950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954 (exit $ac_status); }; } &&
1955 { ac_try
='test -s conftest.$ac_objext'
1956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1960 (exit $ac_status); }; }; then
1963 echo "$as_me: failed program was:" >&5
1964 sed 's/^/| /' conftest.
$ac_ext >&5
1968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1969 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1972 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1973 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1974 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1975 ac_test_CFLAGS
=${CFLAGS+set}
1976 ac_save_CFLAGS
=$CFLAGS
1978 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1979 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1980 if test "${ac_cv_prog_cc_g+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 cat >conftest.
$ac_ext <<_ACEOF
1986 cat confdefs.h
>>conftest.
$ac_ext
1987 cat >>conftest.
$ac_ext <<_ACEOF
1988 /* end confdefs.h. */
1998 rm -f conftest.
$ac_objext
1999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2000 (eval $ac_compile) 2>conftest.er1
2002 grep -v '^ *+' conftest.er1
>conftest.err
2004 cat conftest.err
>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); } &&
2007 { ac_try
='test -z "$ac_c_werror_flag"
2008 || test ! -s conftest.err'
2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }; } &&
2014 { ac_try
='test -s conftest.$ac_objext'
2015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); }; }; then
2022 echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.
$ac_ext >&5
2027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2029 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2031 if test "$ac_test_CFLAGS" = set; then
2032 CFLAGS
=$ac_save_CFLAGS
2033 elif test $ac_cv_prog_cc_g = yes; then
2034 if test "$GCC" = yes; then
2040 if test "$GCC" = yes; then
2046 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2047 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2048 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 ac_cv_prog_cc_stdc
=no
2053 cat >conftest.
$ac_ext <<_ACEOF
2056 cat confdefs.h
>>conftest.
$ac_ext
2057 cat >>conftest.
$ac_ext <<_ACEOF
2058 /* end confdefs.h. */
2061 #include <sys/types.h>
2062 #include <sys/stat.h>
2063 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2064 struct buf { int x; };
2065 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2066 static char *e (p, i)
2072 static char *f (char * (*g) (char **, int), char **p, ...)
2077 s = g (p, va_arg (v,int));
2082 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2083 function prototypes and stuff, but not '\xHH' hex character constants.
2084 These don't provoke an error unfortunately, instead are silently treated
2085 as 'x'. The following induces an error, until -std1 is added to get
2086 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2087 array size at least. It's necessary to write '\x00'==0 to get something
2088 that's true only with -std1. */
2089 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2091 int test (int i, double x);
2092 struct s1 {int (*f) (int a);};
2093 struct s2 {int (*f) (double a);};
2094 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2100 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2105 # Don't try gcc -ansi; that turns off useful extensions and
2106 # breaks some systems' header files.
2107 # AIX -qlanglvl=ansi
2108 # Ultrix and OSF/1 -std1
2109 # HP-UX 10.20 and later -Ae
2110 # HP-UX older versions -Aa -D_HPUX_SOURCE
2111 # SVR4 -Xc -D__EXTENSIONS__
2112 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2114 CC
="$ac_save_CC $ac_arg"
2115 rm -f conftest.
$ac_objext
2116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2117 (eval $ac_compile) 2>conftest.er1
2119 grep -v '^ *+' conftest.er1
>conftest.err
2121 cat conftest.err
>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); } &&
2124 { ac_try
='test -z "$ac_c_werror_flag"
2125 || test ! -s conftest.err'
2126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }; } &&
2131 { ac_try
='test -s conftest.$ac_objext'
2132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }; }; then
2137 ac_cv_prog_cc_stdc
=$ac_arg
2140 echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.
$ac_ext >&5
2144 rm -f conftest.err conftest.
$ac_objext
2146 rm -f conftest.
$ac_ext conftest.
$ac_objext
2151 case "x$ac_cv_prog_cc_stdc" in
2153 echo "$as_me:$LINENO: result: none needed" >&5
2154 echo "${ECHO_T}none needed" >&6 ;;
2156 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2157 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2158 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2161 # Some people use a C++ compiler to compile C. Since we use `exit',
2162 # in C++ we need to declare it. In case someone uses the same compiler
2163 # for both compiling C and C++ we need to have the C++ compiler decide
2164 # the declaration of exit, since it's the most demanding environment.
2165 cat >conftest.
$ac_ext <<_ACEOF
2170 rm -f conftest.
$ac_objext
2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2172 (eval $ac_compile) 2>conftest.er1
2174 grep -v '^ *+' conftest.er1
>conftest.err
2176 cat conftest.err
>&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); } &&
2179 { ac_try
='test -z "$ac_c_werror_flag"
2180 || test ! -s conftest.err'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; } &&
2186 { ac_try
='test -s conftest.$ac_objext'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2192 for ac_declaration
in \
2194 'extern "C" void std::exit (int) throw (); using std::exit;' \
2195 'extern "C" void std::exit (int); using std::exit;' \
2196 'extern "C" void exit (int) throw ();' \
2197 'extern "C" void exit (int);' \
2200 cat >conftest.
$ac_ext <<_ACEOF
2203 cat confdefs.h
>>conftest.
$ac_ext
2204 cat >>conftest.
$ac_ext <<_ACEOF
2205 /* end confdefs.h. */
2216 rm -f conftest.
$ac_objext
2217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2218 (eval $ac_compile) 2>conftest.er1
2220 grep -v '^ *+' conftest.er1
>conftest.err
2222 cat conftest.err
>&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); } &&
2225 { ac_try
='test -z "$ac_c_werror_flag"
2226 || test ! -s conftest.err'
2227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }; } &&
2232 { ac_try
='test -s conftest.$ac_objext'
2233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; }; then
2240 echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.
$ac_ext >&5
2245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2246 cat >conftest.
$ac_ext <<_ACEOF
2249 cat confdefs.h
>>conftest.
$ac_ext
2250 cat >>conftest.
$ac_ext <<_ACEOF
2251 /* end confdefs.h. */
2261 rm -f conftest.
$ac_objext
2262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263 (eval $ac_compile) 2>conftest.er1
2265 grep -v '^ *+' conftest.er1
>conftest.err
2267 cat conftest.err
>&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); } &&
2270 { ac_try
='test -z "$ac_c_werror_flag"
2271 || test ! -s conftest.err'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; } &&
2277 { ac_try
='test -s conftest.$ac_objext'
2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; }; then
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.
$ac_ext >&5
2289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2292 if test -n "$ac_declaration"; then
2293 echo '#ifdef __cplusplus' >>confdefs.h
2294 echo $ac_declaration >>confdefs.h
2295 echo '#endif' >>confdefs.h
2299 echo "$as_me: failed program was:" >&5
2300 sed 's/^/| /' conftest.
$ac_ext >&5
2303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2305 ac_cpp
='$CPP $CPPFLAGS'
2306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2311 cat >>confdefs.h
<<\_ACEOF
2312 #define _GNU_SOURCE 1
2318 ac_cpp
='$CPP $CPPFLAGS'
2319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2322 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2323 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2324 # On Suns, sometimes $CPP names a directory.
2325 if test -n "$CPP" && test -d "$CPP"; then
2328 if test -z "$CPP"; then
2329 if test "${ac_cv_prog_CPP+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2332 # Double quotes because CPP needs to be expanded
2333 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2336 for ac_c_preproc_warn_flag
in '' yes
2338 # Use a header file that comes with gcc, so configuring glibc
2339 # with a fresh cross-compiler works.
2340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2341 # <limits.h> exists even on freestanding compilers.
2342 # On the NeXT, cc -E runs the code through the compiler's parser,
2343 # not just through cpp. "Syntax error" is here to catch this case.
2344 cat >conftest.
$ac_ext <<_ACEOF
2347 cat confdefs.h
>>conftest.
$ac_ext
2348 cat >>conftest.
$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2351 # include <limits.h>
2353 # include <assert.h>
2357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2360 grep -v '^ *+' conftest.er1
>conftest.err
2362 cat conftest.err
>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); } >/dev
/null
; then
2365 if test -s conftest.err
; then
2366 ac_cpp_err
=$ac_c_preproc_warn_flag
2367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2374 if test -z "$ac_cpp_err"; then
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.
$ac_ext >&5
2380 # Broken: fails on valid input.
2383 rm -f conftest.err conftest.
$ac_ext
2385 # OK, works on sane cases. Now check whether non-existent headers
2386 # can be detected and how.
2387 cat >conftest.
$ac_ext <<_ACEOF
2390 cat confdefs.h
>>conftest.
$ac_ext
2391 cat >>conftest.
$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2393 #include <ac_nonexistent.h>
2395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2396 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2398 grep -v '^ *+' conftest.er1
>conftest.err
2400 cat conftest.err
>&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); } >/dev
/null
; then
2403 if test -s conftest.err
; then
2404 ac_cpp_err
=$ac_c_preproc_warn_flag
2405 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2412 if test -z "$ac_cpp_err"; then
2413 # Broken: success on invalid input.
2416 echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.
$ac_ext >&5
2419 # Passes both tests.
2423 rm -f conftest.err conftest.
$ac_ext
2426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2427 rm -f conftest.err conftest.
$ac_ext
2428 if $ac_preproc_ok; then
2440 echo "$as_me:$LINENO: result: $CPP" >&5
2441 echo "${ECHO_T}$CPP" >&6
2443 for ac_c_preproc_warn_flag
in '' yes
2445 # Use a header file that comes with gcc, so configuring glibc
2446 # with a fresh cross-compiler works.
2447 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2448 # <limits.h> exists even on freestanding compilers.
2449 # On the NeXT, cc -E runs the code through the compiler's parser,
2450 # not just through cpp. "Syntax error" is here to catch this case.
2451 cat >conftest.
$ac_ext <<_ACEOF
2454 cat confdefs.h
>>conftest.
$ac_ext
2455 cat >>conftest.
$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2458 # include <limits.h>
2460 # include <assert.h>
2464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2465 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2467 grep -v '^ *+' conftest.er1
>conftest.err
2469 cat conftest.err
>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } >/dev
/null
; then
2472 if test -s conftest.err
; then
2473 ac_cpp_err
=$ac_c_preproc_warn_flag
2474 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2481 if test -z "$ac_cpp_err"; then
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.
$ac_ext >&5
2487 # Broken: fails on valid input.
2490 rm -f conftest.err conftest.
$ac_ext
2492 # OK, works on sane cases. Now check whether non-existent headers
2493 # can be detected and how.
2494 cat >conftest.
$ac_ext <<_ACEOF
2497 cat confdefs.h
>>conftest.
$ac_ext
2498 cat >>conftest.
$ac_ext <<_ACEOF
2499 /* end confdefs.h. */
2500 #include <ac_nonexistent.h>
2502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2505 grep -v '^ *+' conftest.er1
>conftest.err
2507 cat conftest.err
>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); } >/dev
/null
; then
2510 if test -s conftest.err
; then
2511 ac_cpp_err
=$ac_c_preproc_warn_flag
2512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2519 if test -z "$ac_cpp_err"; then
2520 # Broken: success on invalid input.
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2526 # Passes both tests.
2530 rm -f conftest.err conftest.
$ac_ext
2533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2534 rm -f conftest.err conftest.
$ac_ext
2535 if $ac_preproc_ok; then
2538 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2539 See \`config.log' for more details." >&5
2540 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2541 See \`config.log' for more details." >&2;}
2542 { (exit 1); exit 1; }; }
2546 ac_cpp
='$CPP $CPPFLAGS'
2547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2552 echo "$as_me:$LINENO: checking for egrep" >&5
2553 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2554 if test "${ac_cv_prog_egrep+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2558 then ac_cv_prog_egrep
='grep -E'
2559 else ac_cv_prog_egrep
='egrep'
2562 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2563 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2564 EGREP
=$ac_cv_prog_egrep
2568 echo "$as_me:$LINENO: checking for AIX" >&5
2569 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2570 cat >conftest.
$ac_ext <<_ACEOF
2573 cat confdefs.h
>>conftest.
$ac_ext
2574 cat >>conftest.
$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2582 $EGREP "yes" >/dev
/null
2>&1; then
2583 echo "$as_me:$LINENO: result: yes" >&5
2584 echo "${ECHO_T}yes" >&6
2585 cat >>confdefs.h
<<\_ACEOF
2586 #define _ALL_SOURCE 1
2590 echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2596 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2597 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2598 if test "${ac_cv_search_strerror+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 ac_func_search_save_LIBS
=$LIBS
2602 ac_cv_search_strerror
=no
2603 cat >conftest.
$ac_ext <<_ACEOF
2606 cat confdefs.h
>>conftest.
$ac_ext
2607 cat >>conftest.
$ac_ext <<_ACEOF
2608 /* end confdefs.h. */
2610 /* Override any gcc2 internal prototype to avoid an error. */
2614 /* We use char because int might match the return type of a gcc2
2615 builtin and then its argument prototype would still apply. */
2625 rm -f conftest.
$ac_objext conftest
$ac_exeext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2627 (eval $ac_link) 2>conftest.er1
2629 grep -v '^ *+' conftest.er1
>conftest.err
2631 cat conftest.err
>&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try
='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try
='test -s conftest$ac_exeext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_cv_search_strerror
="none required"
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.
$ac_ext >&5
2653 rm -f conftest.err conftest.
$ac_objext \
2654 conftest
$ac_exeext conftest.
$ac_ext
2655 if test "$ac_cv_search_strerror" = no
; then
2656 for ac_lib
in cposix
; do
2657 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2658 cat >conftest.
$ac_ext <<_ACEOF
2661 cat confdefs.h
>>conftest.
$ac_ext
2662 cat >>conftest.
$ac_ext <<_ACEOF
2663 /* end confdefs.h. */
2665 /* Override any gcc2 internal prototype to avoid an error. */
2669 /* We use char because int might match the return type of a gcc2
2670 builtin and then its argument prototype would still apply. */
2680 rm -f conftest.
$ac_objext conftest
$ac_exeext
2681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2682 (eval $ac_link) 2>conftest.er1
2684 grep -v '^ *+' conftest.er1
>conftest.err
2686 cat conftest.err
>&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); } &&
2689 { ac_try
='test -z "$ac_c_werror_flag"
2690 || test ! -s conftest.err'
2691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; } &&
2696 { ac_try
='test -s conftest$ac_exeext'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; }; then
2702 ac_cv_search_strerror
="-l$ac_lib"
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.
$ac_ext >&5
2709 rm -f conftest.err conftest.
$ac_objext \
2710 conftest
$ac_exeext conftest.
$ac_ext
2713 LIBS
=$ac_func_search_save_LIBS
2715 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2716 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2717 if test "$ac_cv_search_strerror" != no
; then
2718 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2722 if test -n "$ac_tool_prefix"; then
2723 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2724 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2725 echo "$as_me:$LINENO: checking for $ac_word" >&5
2726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2727 if test "${ac_cv_prog_RANLIB+set}" = set; then
2728 echo $ECHO_N "(cached) $ECHO_C" >&6
2730 if test -n "$RANLIB"; then
2731 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2737 test -z "$as_dir" && as_dir
=.
2738 for ac_exec_ext
in '' $ac_executable_extensions; do
2739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 RANLIB
=$ac_cv_prog_RANLIB
2750 if test -n "$RANLIB"; then
2751 echo "$as_me:$LINENO: result: $RANLIB" >&5
2752 echo "${ECHO_T}$RANLIB" >&6
2754 echo "$as_me:$LINENO: result: no" >&5
2755 echo "${ECHO_T}no" >&6
2759 if test -z "$ac_cv_prog_RANLIB"; then
2760 ac_ct_RANLIB
=$RANLIB
2761 # Extract the first word of "ranlib", so it can be a program name with args.
2762 set dummy ranlib
; ac_word
=$2
2763 echo "$as_me:$LINENO: checking for $ac_word" >&5
2764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2765 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2768 if test -n "$ac_ct_RANLIB"; then
2769 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir
=.
2776 for ac_exec_ext
in '' $ac_executable_extensions; do
2777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2785 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2788 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2789 if test -n "$ac_ct_RANLIB"; then
2790 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2791 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2793 echo "$as_me:$LINENO: result: no" >&5
2794 echo "${ECHO_T}no" >&6
2797 RANLIB
=$ac_ct_RANLIB
2799 RANLIB
="$ac_cv_prog_RANLIB"
2802 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2803 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2804 if test "${ac_cv_header_stdc+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 cat >conftest.
$ac_ext <<_ACEOF
2810 cat confdefs.h
>>conftest.
$ac_ext
2811 cat >>conftest.
$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2826 rm -f conftest.
$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828 (eval $ac_compile) 2>conftest.er1
2830 grep -v '^ *+' conftest.er1
>conftest.err
2832 cat conftest.err
>&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try
='test -z "$ac_c_werror_flag"
2836 || test ! -s conftest.err'
2837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }; } &&
2842 { ac_try
='test -s conftest.$ac_objext'
2843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2848 ac_cv_header_stdc
=yes
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.
$ac_ext >&5
2853 ac_cv_header_stdc
=no
2855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2857 if test $ac_cv_header_stdc = yes; then
2858 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2859 cat >conftest.
$ac_ext <<_ACEOF
2862 cat confdefs.h
>>conftest.
$ac_ext
2863 cat >>conftest.
$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2869 $EGREP "memchr" >/dev
/null
2>&1; then
2872 ac_cv_header_stdc
=no
2878 if test $ac_cv_header_stdc = yes; then
2879 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2880 cat >conftest.
$ac_ext <<_ACEOF
2883 cat confdefs.h
>>conftest.
$ac_ext
2884 cat >>conftest.
$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2890 $EGREP "free" >/dev
/null
2>&1; then
2893 ac_cv_header_stdc
=no
2899 if test $ac_cv_header_stdc = yes; then
2900 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2901 if test "$cross_compiling" = yes; then
2904 cat >conftest.
$ac_ext <<_ACEOF
2907 cat confdefs.h
>>conftest.
$ac_ext
2908 cat >>conftest.
$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2911 #if ((' ' & 0x0FF) == 0x020)
2912 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2913 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2915 # define ISLOWER(c) \
2916 (('a' <= (c) && (c) <= 'i') \
2917 || ('j' <= (c) && (c) <= 'r') \
2918 || ('s' <= (c) && (c) <= 'z'))
2919 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2922 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2927 for (i = 0; i < 256; i++)
2928 if (XOR (islower (i), ISLOWER (i))
2929 || toupper (i) != TOUPPER (i))
2934 rm -f conftest
$ac_exeext
2935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2936 (eval $ac_link) 2>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); }; }; then
2947 echo "$as_me: program exited with status $ac_status" >&5
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.
$ac_ext >&5
2952 ac_cv_header_stdc
=no
2954 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2958 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2959 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2960 if test $ac_cv_header_stdc = yes; then
2962 cat >>confdefs.h
<<\_ACEOF
2963 #define STDC_HEADERS 1
2968 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2978 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2979 inttypes.h stdint.h unistd.h
2981 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2982 echo "$as_me:$LINENO: checking for $ac_header" >&5
2983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 cat >conftest.
$ac_ext <<_ACEOF
2990 cat confdefs.h
>>conftest.
$ac_ext
2991 cat >>conftest.
$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
2993 $ac_includes_default
2995 #include <$ac_header>
2997 rm -f conftest.
$ac_objext
2998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2999 (eval $ac_compile) 2>conftest.er1
3001 grep -v '^ *+' conftest.er1
>conftest.err
3003 cat conftest.err
>&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); } &&
3006 { ac_try
='test -z "$ac_c_werror_flag"
3007 || test ! -s conftest.err'
3008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }; } &&
3013 { ac_try
='test -s conftest.$ac_objext'
3014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); }; }; then
3019 eval "$as_ac_Header=yes"
3021 echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.
$ac_ext >&5
3024 eval "$as_ac_Header=no"
3026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3031 cat >>confdefs.h
<<_ACEOF
3032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3041 if test "${ac_cv_header_minix_config_h+set}" = set; then
3042 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3043 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3044 if test "${ac_cv_header_minix_config_h+set}" = set; then
3045 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3048 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3050 # Is the header compilable?
3051 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3052 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3053 cat >conftest.
$ac_ext <<_ACEOF
3056 cat confdefs.h
>>conftest.
$ac_ext
3057 cat >>conftest.
$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3059 $ac_includes_default
3060 #include <minix/config.h>
3062 rm -f conftest.
$ac_objext
3063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3064 (eval $ac_compile) 2>conftest.er1
3066 grep -v '^ *+' conftest.er1
>conftest.err
3068 cat conftest.err
>&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); } &&
3071 { ac_try
='test -z "$ac_c_werror_flag"
3072 || test ! -s conftest.err'
3073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }; } &&
3078 { ac_try
='test -s conftest.$ac_objext'
3079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); }; }; then
3084 ac_header_compiler
=yes
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.
$ac_ext >&5
3089 ac_header_compiler
=no
3091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3093 echo "${ECHO_T}$ac_header_compiler" >&6
3095 # Is the header present?
3096 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3097 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3098 cat >conftest.
$ac_ext <<_ACEOF
3101 cat confdefs.h
>>conftest.
$ac_ext
3102 cat >>conftest.
$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3104 #include <minix/config.h>
3106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3107 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3109 grep -v '^ *+' conftest.er1
>conftest.err
3111 cat conftest.err
>&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); } >/dev
/null
; then
3114 if test -s conftest.err
; then
3115 ac_cpp_err
=$ac_c_preproc_warn_flag
3116 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3123 if test -z "$ac_cpp_err"; then
3124 ac_header_preproc
=yes
3126 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.
$ac_ext >&5
3129 ac_header_preproc
=no
3131 rm -f conftest.err conftest.
$ac_ext
3132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3133 echo "${ECHO_T}$ac_header_preproc" >&6
3135 # So? What about this header?
3136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3138 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3139 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3140 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3141 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3142 ac_header_preproc
=yes
3145 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3146 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3147 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3148 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3149 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3150 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3151 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3152 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3153 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3154 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3155 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3156 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3159 ## ------------------------------------------ ##
3160 ## Report this to the AC_PACKAGE_NAME lists. ##
3161 ## ------------------------------------------ ##
3164 sed "s/^/$as_me: WARNING: /" >&2
3167 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3168 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3169 if test "${ac_cv_header_minix_config_h+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 ac_cv_header_minix_config_h
=$ac_header_preproc
3174 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3175 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3178 if test $ac_cv_header_minix_config_h = yes; then
3185 if test "$MINIX" = yes; then
3187 cat >>confdefs.h
<<\_ACEOF
3188 #define _POSIX_SOURCE 1
3192 cat >>confdefs.h
<<\_ACEOF
3193 #define _POSIX_1_SOURCE 2
3197 cat >>confdefs.h
<<\_ACEOF
3205 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3206 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
3207 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 cat >conftest.
$ac_ext <<_ACEOF
3213 cat confdefs.h
>>conftest.
$ac_ext
3214 cat >>conftest.
$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3217 # define __EXTENSIONS__ 1
3218 $ac_includes_default
3227 rm -f conftest.
$ac_objext
3228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3229 (eval $ac_compile) 2>conftest.er1
3231 grep -v '^ *+' conftest.er1
>conftest.err
3233 cat conftest.err
>&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); } &&
3236 { ac_try
='test -z "$ac_c_werror_flag"
3237 || test ! -s conftest.err'
3238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); }; } &&
3243 { ac_try
='test -s conftest.$ac_objext'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; }; then
3249 ac_cv_safe_to_define___extensions__
=yes
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.
$ac_ext >&5
3254 ac_cv_safe_to_define___extensions__
=no
3256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3258 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3259 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
3260 test $ac_cv_safe_to_define___extensions__ = yes &&
3261 cat >>confdefs.h
<<\_ACEOF
3262 #define __EXTENSIONS__ 1
3265 cat >>confdefs.h
<<\_ACEOF
3266 #define _ALL_SOURCE 1
3269 cat >>confdefs.h
<<\_ACEOF
3270 #define _GNU_SOURCE 1
3273 cat >>confdefs.h
<<\_ACEOF
3274 #define _POSIX_PTHREAD_SEMANTICS 1
3277 cat >>confdefs.h
<<\_ACEOF
3278 #define _TANDEM_SOURCE 1
3290 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3291 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3292 if test "${am_cv_prog_cc_stdc+set}" = set; then
3293 echo $ECHO_N "(cached) $ECHO_C" >&6
3295 am_cv_prog_cc_stdc
=no
3297 # Don't try gcc -ansi; that turns off useful extensions and
3298 # breaks some systems' header files.
3299 # AIX -qlanglvl=ansi
3300 # Ultrix and OSF/1 -std1
3301 # HP-UX 10.20 and later -Ae
3302 # HP-UX older versions -Aa -D_HPUX_SOURCE
3303 # SVR4 -Xc -D__EXTENSIONS__
3304 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3306 CC
="$ac_save_CC $ac_arg"
3307 cat >conftest.
$ac_ext <<_ACEOF
3310 cat confdefs.h
>>conftest.
$ac_ext
3311 cat >>conftest.
$ac_ext <<_ACEOF
3312 /* end confdefs.h. */
3315 #include <sys/types.h>
3316 #include <sys/stat.h>
3317 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3318 struct buf { int x; };
3319 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3320 static char *e (p, i)
3326 static char *f (char * (*g) (char **, int), char **p, ...)
3331 s = g (p, va_arg (v,int));
3335 int test (int i, double x);
3336 struct s1 {int (*f) (int a);};
3337 struct s2 {int (*f) (double a);};
3338 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3346 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3352 rm -f conftest.
$ac_objext
3353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3354 (eval $ac_compile) 2>conftest.er1
3356 grep -v '^ *+' conftest.er1
>conftest.err
3358 cat conftest.err
>&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } &&
3361 { ac_try
='test -z "$ac_c_werror_flag"
3362 || test ! -s conftest.err'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; } &&
3368 { ac_try
='test -s conftest.$ac_objext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3374 am_cv_prog_cc_stdc
="$ac_arg"; break
3376 echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.
$ac_ext >&5
3380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3386 if test -z "$am_cv_prog_cc_stdc"; then
3387 echo "$as_me:$LINENO: result: none needed" >&5
3388 echo "${ECHO_T}none needed" >&6
3390 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3391 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3393 case "x$am_cv_prog_cc_stdc" in
3395 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
3400 for ac_dir
in ..
$srcdir/..
; do
3401 if test -f $ac_dir/install-sh
; then
3403 ac_install_sh
="$ac_aux_dir/install-sh -c"
3405 elif test -f $ac_dir/install.sh
; then
3407 ac_install_sh
="$ac_aux_dir/install.sh -c"
3409 elif test -f $ac_dir/shtool
; then
3411 ac_install_sh
="$ac_aux_dir/shtool install -c"
3415 if test -z "$ac_aux_dir"; then
3416 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
3417 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
3418 { (exit 1); exit 1; }; }
3420 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
3421 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
3422 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3424 # Make sure we can run config.sub.
3425 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3426 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3427 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3428 { (exit 1); exit 1; }; }
3430 echo "$as_me:$LINENO: checking build system type" >&5
3431 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3432 if test "${ac_cv_build+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 ac_cv_build_alias
=$build_alias
3436 test -z "$ac_cv_build_alias" &&
3437 ac_cv_build_alias
=`$ac_config_guess`
3438 test -z "$ac_cv_build_alias" &&
3439 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3440 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3441 { (exit 1); exit 1; }; }
3442 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3443 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3444 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3445 { (exit 1); exit 1; }; }
3448 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3449 echo "${ECHO_T}$ac_cv_build" >&6
3451 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3452 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3453 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3456 echo "$as_me:$LINENO: checking host system type" >&5
3457 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3458 if test "${ac_cv_host+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 ac_cv_host_alias
=$host_alias
3462 test -z "$ac_cv_host_alias" &&
3463 ac_cv_host_alias
=$ac_cv_build_alias
3464 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3465 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3466 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3467 { (exit 1); exit 1; }; }
3470 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3471 echo "${ECHO_T}$ac_cv_host" >&6
3473 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3474 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3475 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3478 echo "$as_me:$LINENO: checking target system type" >&5
3479 echo $ECHO_N "checking target system type... $ECHO_C" >&6
3480 if test "${ac_cv_target+set}" = set; then
3481 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 ac_cv_target_alias
=$target_alias
3484 test "x$ac_cv_target_alias" = "x" &&
3485 ac_cv_target_alias
=$ac_cv_host_alias
3486 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
3487 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
3488 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
3489 { (exit 1); exit 1; }; }
3492 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3493 echo "${ECHO_T}$ac_cv_target" >&6
3494 target
=$ac_cv_target
3495 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3496 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3497 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3500 # The aliases save the names the user supplied, while $host etc.
3501 # will get canonicalized.
3502 test -n "$target_alias" &&
3503 test "$program_prefix$program_suffix$program_transform_name" = \
3505 program_prefix
=${target_alias}-
3518 # If we haven't got the data from the intl directory,
3519 # assume NLS is disabled.
3528 if test -f ..
/intl
/config.intl
; then
3529 . ..
/intl
/config.intl
3531 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3532 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3533 if test x
"$USE_NLS" != xyes
; then
3534 echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6
3537 echo "$as_me:$LINENO: result: yes" >&5
3538 echo "${ECHO_T}yes" >&6
3540 cat >>confdefs.h
<<\_ACEOF
3541 #define ENABLE_NLS 1
3545 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3546 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3547 # Look for .po and .gmo files in the source directory.
3550 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3551 # If there aren't any .gmo files the shell will give us the
3552 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3554 case "$cat" in *\
**)
3557 # The quadruple backslash is collapsed to a double backslash
3558 # by the backticks, then collapsed again by the double quotes,
3559 # leaving us with one backslash in the sed expression (right
3560 # before the dot that mustn't act as a wildcard).
3561 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3562 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3563 # The user is allowed to set LINGUAS to a list of languages to
3564 # install catalogs for. If it's empty that means "all of them."
3565 if test "x$LINGUAS" = x
; then
3566 CATALOGS
="$CATALOGS $cat"
3567 XLINGUAS
="$XLINGUAS $lang"
3569 case "$LINGUAS" in *$lang*)
3570 CATALOGS
="$CATALOGS $cat"
3571 XLINGUAS
="$XLINGUAS $lang"
3577 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3578 echo "${ECHO_T}$LINGUAS" >&6
3591 localedir
='${datadir}/locale'
3594 if test x
"$USE_NLS" = xyes
; then
3595 CONFIG_ALL
="$CONFIG_ALL all-po"
3596 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3597 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3598 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3614 GNULIB_STRCASESTR
=0;
3621 GNULIB_MBSCASECMP
=0;
3622 GNULIB_MBSNCASECMP
=0;
3623 GNULIB_MBSPCASECMP
=0;
3624 GNULIB_MBSCASESTR
=0;
3634 HAVE_DECL_MEMRCHR
=1;
3640 HAVE_DECL_STRNDUP
=1;
3641 HAVE_DECL_STRNLEN
=1;
3645 HAVE_DECL_STRTOK_R
=1;
3646 HAVE_DECL_STRERROR
=1;
3647 HAVE_DECL_STRSIGNAL
=1;
3649 REPLACE_STRSIGNAL
=0;
3651 REPLACE_STRCASESTR
=0;
3655 echo "$as_me:$LINENO: checking whether memmem is declared" >&5
3656 echo $ECHO_N "checking whether memmem is declared... $ECHO_C" >&6
3657 if test "${ac_cv_have_decl_memmem+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 cat >conftest.
$ac_ext <<_ACEOF
3663 cat confdefs.h
>>conftest.
$ac_ext
3664 cat >>conftest.
$ac_ext <<_ACEOF
3665 /* end confdefs.h. */
3666 $ac_includes_default
3671 char *p = (char *) memmem;
3678 rm -f conftest.
$ac_objext
3679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3680 (eval $ac_compile) 2>conftest.er1
3682 grep -v '^ *+' conftest.er1
>conftest.err
3684 cat conftest.err
>&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } &&
3687 { ac_try
='test -z "$ac_c_werror_flag"
3688 || test ! -s conftest.err'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; } &&
3694 { ac_try
='test -s conftest.$ac_objext'
3695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }; }; then
3700 ac_cv_have_decl_memmem
=yes
3702 echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.
$ac_ext >&5
3705 ac_cv_have_decl_memmem
=no
3707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3709 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memmem" >&5
3710 echo "${ECHO_T}$ac_cv_have_decl_memmem" >&6
3711 if test $ac_cv_have_decl_memmem = yes; then
3713 cat >>confdefs.h
<<_ACEOF
3714 #define HAVE_DECL_MEMMEM 1
3719 cat >>confdefs.h
<<_ACEOF
3720 #define HAVE_DECL_MEMMEM 0
3740 for ac_func
in memmem
3742 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3743 echo "$as_me:$LINENO: checking for $ac_func" >&5
3744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3745 if eval "test \"\${$as_ac_var+set}\" = set"; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 cat >conftest.
$ac_ext <<_ACEOF
3751 cat confdefs.h
>>conftest.
$ac_ext
3752 cat >>conftest.
$ac_ext <<_ACEOF
3753 /* end confdefs.h. */
3754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3756 #define $ac_func innocuous_$ac_func
3758 /* System header to define __stub macros and hopefully few prototypes,
3759 which can conflict with char $ac_func (); below.
3760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3761 <limits.h> exists even on freestanding compilers. */
3764 # include <limits.h>
3766 # include <assert.h>
3771 /* Override any gcc2 internal prototype to avoid an error. */
3776 /* We use char because int might match the return type of a gcc2
3777 builtin and then its argument prototype would still apply. */
3779 /* The GNU C library defines this for functions which it implements
3780 to always fail with ENOSYS. Some functions are actually named
3781 something starting with __ and the normal name is an alias. */
3782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3785 char (*f) () = $ac_func;
3794 return f != $ac_func;
3799 rm -f conftest.
$ac_objext conftest
$ac_exeext
3800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3801 (eval $ac_link) 2>conftest.er1
3803 grep -v '^ *+' conftest.er1
>conftest.err
3805 cat conftest.err
>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } &&
3808 { ac_try
='test -z "$ac_c_werror_flag"
3809 || test ! -s conftest.err'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; } &&
3815 { ac_try
='test -s conftest$ac_exeext'
3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); }; }; then
3821 eval "$as_ac_var=yes"
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.
$ac_ext >&5
3826 eval "$as_ac_var=no"
3828 rm -f conftest.err conftest.
$ac_objext \
3829 conftest
$ac_exeext conftest.
$ac_ext
3831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3833 if test `eval echo '${'$as_ac_var'}'` = yes; then
3834 cat >>confdefs.h
<<_ACEOF
3835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3840 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
3853 if test $ac_cv_have_decl_memmem = no
; then
3859 echo "$as_me:$LINENO: checking for long long int" >&5
3860 echo $ECHO_N "checking for long long int... $ECHO_C" >&6
3861 if test "${ac_cv_type_long_long_int+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 cat >conftest.
$ac_ext <<_ACEOF
3868 cat confdefs.h
>>conftest.
$ac_ext
3869 cat >>conftest.
$ac_ext <<_ACEOF
3870 /* end confdefs.h. */
3871 /* For now, do not test the preprocessor; as of 2007 there are too many
3872 implementations with broken preprocessors. Perhaps this can
3873 be revisited in 2012. In the meantime, code should not expect
3874 #if to work with literals wider than 32 bits. */
3875 /* Test literals. */
3876 long long int ll = 9223372036854775807ll;
3877 long long int nll = -9223372036854775807LL;
3878 unsigned long long int ull = 18446744073709551615ULL;
3879 /* Test constant expressions. */
3880 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
3882 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
3888 /* Test availability of runtime routines for shift and division. */
3889 long long int llmax = 9223372036854775807ll;
3890 unsigned long long int ullmax = 18446744073709551615ull;
3891 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
3892 | (llmax / ll) | (llmax % ll)
3893 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
3894 | (ullmax / ull) | (ullmax % ull));
3900 rm -f conftest.
$ac_objext conftest
$ac_exeext
3901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3902 (eval $ac_link) 2>conftest.er1
3904 grep -v '^ *+' conftest.er1
>conftest.err
3906 cat conftest.err
>&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } &&
3909 { ac_try
='test -z "$ac_c_werror_flag"
3910 || test ! -s conftest.err'
3911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); }; } &&
3916 { ac_try
='test -s conftest$ac_exeext'
3917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; }; then
3922 if test "$cross_compiling" = yes; then
3923 ac_cv_type_long_long_int
=yes
3925 cat >conftest.
$ac_ext <<_ACEOF
3928 cat confdefs.h
>>conftest.
$ac_ext
3929 cat >>conftest.
$ac_ext <<_ACEOF
3930 /* end confdefs.h. */
3934 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
3935 # define LLONG_MAX (HALF - 1 + HALF)
3940 long long int n = 1;
3944 long long int m = n << i;
3947 if (LLONG_MAX / 2 < m)
3955 rm -f conftest
$ac_exeext
3956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3957 (eval $ac_link) 2>&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); }; }; then
3966 ac_cv_type_long_long_int
=yes
3968 echo "$as_me: program exited with status $ac_status" >&5
3969 echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.
$ac_ext >&5
3973 ac_cv_type_long_long_int
=no
3975 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.
$ac_ext >&5
3981 ac_cv_type_long_long_int
=no
3983 rm -f conftest.err conftest.
$ac_objext \
3984 conftest
$ac_exeext conftest.
$ac_ext
3986 echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
3987 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
3988 if test $ac_cv_type_long_long_int = yes; then
3990 cat >>confdefs.h
<<\_ACEOF
3991 #define HAVE_LONG_LONG_INT 1
3997 echo "$as_me:$LINENO: checking for unsigned long long int" >&5
3998 echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6
3999 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 cat >conftest.
$ac_ext <<_ACEOF
4006 cat confdefs.h
>>conftest.
$ac_ext
4007 cat >>conftest.
$ac_ext <<_ACEOF
4008 /* end confdefs.h. */
4009 /* For now, do not test the preprocessor; as of 2007 there are too many
4010 implementations with broken preprocessors. Perhaps this can
4011 be revisited in 2012. In the meantime, code should not expect
4012 #if to work with literals wider than 32 bits. */
4013 /* Test literals. */
4014 long long int ll = 9223372036854775807ll;
4015 long long int nll = -9223372036854775807LL;
4016 unsigned long long int ull = 18446744073709551615ULL;
4017 /* Test constant expressions. */
4018 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4020 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4026 /* Test availability of runtime routines for shift and division. */
4027 long long int llmax = 9223372036854775807ll;
4028 unsigned long long int ullmax = 18446744073709551615ull;
4029 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4030 | (llmax / ll) | (llmax % ll)
4031 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4032 | (ullmax / ull) | (ullmax % ull));
4038 rm -f conftest.
$ac_objext conftest
$ac_exeext
4039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4040 (eval $ac_link) 2>conftest.er1
4042 grep -v '^ *+' conftest.er1
>conftest.err
4044 cat conftest.err
>&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } &&
4047 { ac_try
='test -z "$ac_c_werror_flag"
4048 || test ! -s conftest.err'
4049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); }; } &&
4054 { ac_try
='test -s conftest$ac_exeext'
4055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); }; }; then
4060 ac_cv_type_unsigned_long_long_int
=yes
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.
$ac_ext >&5
4065 ac_cv_type_unsigned_long_long_int
=no
4067 rm -f conftest.err conftest.
$ac_objext \
4068 conftest
$ac_exeext conftest.
$ac_ext
4070 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
4071 echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6
4072 if test $ac_cv_type_unsigned_long_long_int = yes; then
4074 cat >>confdefs.h
<<\_ACEOF
4075 #define HAVE_UNSIGNED_LONG_LONG_INT 1
4082 echo "$as_me:$LINENO: checking whether the preprocessor supports include_next" >&5
4083 echo $ECHO_N "checking whether the preprocessor supports include_next... $ECHO_C" >&6
4084 if test "${gl_cv_have_include_next+set}" = set; then
4085 echo $ECHO_N "(cached) $ECHO_C" >&6
4087 rm -rf conftestd1 conftestd2
4088 mkdir conftestd1 conftestd2
4089 cat <<EOF > conftestd1/conftest.h
4090 #define DEFINED_IN_CONFTESTD1
4091 #include_next <conftest.h>
4092 #ifdef DEFINED_IN_CONFTESTD2
4095 #error "include_next doesn't work"
4098 cat <<EOF > conftestd2/conftest.h
4099 #ifndef DEFINED_IN_CONFTESTD1
4100 #error "include_next test doesn't work"
4102 #define DEFINED_IN_CONFTESTD2
4104 save_CPPFLAGS
="$CPPFLAGS"
4105 CPPFLAGS
="$CPPFLAGS -Iconftestd1 -Iconftestd2"
4106 cat >conftest.
$ac_ext <<_ACEOF
4107 #include <conftest.h>
4109 rm -f conftest.
$ac_objext
4110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4111 (eval $ac_compile) 2>conftest.er1
4113 grep -v '^ *+' conftest.er1
>conftest.err
4115 cat conftest.err
>&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } &&
4118 { ac_try
='test -z "$ac_c_werror_flag"
4119 || test ! -s conftest.err'
4120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 (exit $ac_status); }; } &&
4125 { ac_try
='test -s conftest.$ac_objext'
4126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); }; }; then
4131 gl_cv_have_include_next
=yes
4133 echo "$as_me: failed program was:" >&5
4134 sed 's/^/| /' conftest.
$ac_ext >&5
4136 gl_cv_have_include_next
=no
4138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4139 CPPFLAGS
="$save_CPPFLAGS"
4140 rm -rf conftestd1 conftestd2
4143 echo "$as_me:$LINENO: result: $gl_cv_have_include_next" >&5
4144 echo "${ECHO_T}$gl_cv_have_include_next" >&6
4145 if test $gl_cv_have_include_next = yes; then
4148 cat >>confdefs.h
<<\_ACEOF
4149 #define HAVE_INCLUDE_NEXT 1
4153 INCLUDE_NEXT
=include_next
4155 INCLUDE_NEXT
=include
4164 for ac_header
in $gl_header_list
4166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4168 echo "$as_me:$LINENO: checking for $ac_header" >&5
4169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4176 # Is the header compilable?
4177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4179 cat >conftest.
$ac_ext <<_ACEOF
4182 cat confdefs.h
>>conftest.
$ac_ext
4183 cat >>conftest.
$ac_ext <<_ACEOF
4184 /* end confdefs.h. */
4185 $ac_includes_default
4186 #include <$ac_header>
4188 rm -f conftest.
$ac_objext
4189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4190 (eval $ac_compile) 2>conftest.er1
4192 grep -v '^ *+' conftest.er1
>conftest.err
4194 cat conftest.err
>&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } &&
4197 { ac_try
='test -z "$ac_c_werror_flag"
4198 || test ! -s conftest.err'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; } &&
4204 { ac_try
='test -s conftest.$ac_objext'
4205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); }; }; then
4210 ac_header_compiler
=yes
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.
$ac_ext >&5
4215 ac_header_compiler
=no
4217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4219 echo "${ECHO_T}$ac_header_compiler" >&6
4221 # Is the header present?
4222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4224 cat >conftest.
$ac_ext <<_ACEOF
4227 cat confdefs.h
>>conftest.
$ac_ext
4228 cat >>conftest.
$ac_ext <<_ACEOF
4229 /* end confdefs.h. */
4230 #include <$ac_header>
4232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4235 grep -v '^ *+' conftest.er1
>conftest.err
4237 cat conftest.err
>&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } >/dev
/null
; then
4240 if test -s conftest.err
; then
4241 ac_cpp_err
=$ac_c_preproc_warn_flag
4242 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4249 if test -z "$ac_cpp_err"; then
4250 ac_header_preproc
=yes
4252 echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.
$ac_ext >&5
4255 ac_header_preproc
=no
4257 rm -f conftest.err conftest.
$ac_ext
4258 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4259 echo "${ECHO_T}$ac_header_preproc" >&6
4261 # So? What about this header?
4262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4264 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4265 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4267 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4268 ac_header_preproc
=yes
4271 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4272 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4273 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4274 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4275 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4276 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4277 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4278 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4280 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4281 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4282 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4285 ## ------------------------------------------ ##
4286 ## Report this to the AC_PACKAGE_NAME lists. ##
4287 ## ------------------------------------------ ##
4290 sed "s/^/$as_me: WARNING: /" >&2
4293 echo "$as_me:$LINENO: checking for $ac_header" >&5
4294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 eval "$as_ac_Header=\$ac_header_preproc"
4300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4305 cat >>confdefs.h
<<_ACEOF
4306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4324 echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
4325 echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6
4326 if test "${ac_cv_c_restrict+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 # The order here caters to the fact that C++ does not require restrict.
4331 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
4332 cat >conftest.
$ac_ext <<_ACEOF
4335 cat confdefs.h
>>conftest.
$ac_ext
4336 cat >>conftest.
$ac_ext <<_ACEOF
4337 /* end confdefs.h. */
4338 typedef int * int_ptr;
4339 int foo (int_ptr $ac_kw ip) {
4353 rm -f conftest.
$ac_objext
4354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4355 (eval $ac_compile) 2>conftest.er1
4357 grep -v '^ *+' conftest.er1
>conftest.err
4359 cat conftest.err
>&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } &&
4362 { ac_try
='test -z "$ac_c_werror_flag"
4363 || test ! -s conftest.err'
4364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); }; } &&
4369 { ac_try
='test -s conftest.$ac_objext'
4370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4375 ac_cv_c_restrict
=$ac_kw
4377 echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.
$ac_ext >&5
4381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4382 test "$ac_cv_c_restrict" != no
&& break
4386 echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5
4387 echo "${ECHO_T}$ac_cv_c_restrict" >&6
4390 case $ac_cv_c_restrict in
4392 no
) cat >>confdefs.h
<<\_ACEOF
4396 *) cat >>confdefs.h
<<_ACEOF
4397 #define restrict $ac_cv_c_restrict
4422 if test $gl_cv_have_include_next = yes; then
4423 gl_cv_next_string_h
='<'string.h
'>'
4425 echo "$as_me:$LINENO: checking absolute name of <string.h>" >&5
4426 echo $ECHO_N "checking absolute name of <string.h>... $ECHO_C" >&6
4427 if test "${gl_cv_next_string_h+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 if test $ac_cv_header_string_h = yes; then
4432 cat >conftest.
$ac_ext <<_ACEOF
4435 cat confdefs.h
>>conftest.
$ac_ext
4436 cat >>conftest.
$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4441 gl_cv_next_string_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4442 sed -n '\#/string.h#{
4443 s#.*"\(.*/string.h\)".*#\1#
4449 gl_cv_next_string_h
='<'string.h
'>'
4453 echo "$as_me:$LINENO: result: $gl_cv_next_string_h" >&5
4454 echo "${ECHO_T}$gl_cv_next_string_h" >&6
4456 NEXT_STRING_H
=$gl_cv_next_string_h
4463 HAVE_DECL_WCWIDTH
=1;
4472 GL_COND_LIBTOOL_TRUE
=
4473 GL_COND_LIBTOOL_FALSE
='#'
4475 GL_COND_LIBTOOL_TRUE
='#'
4476 GL_COND_LIBTOOL_FALSE
=
4479 gl_cond_libtool
=false
4485 gl_source_base
='gnulib'
4495 for ac_func
in memchr
4497 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4498 echo "$as_me:$LINENO: checking for $ac_func" >&5
4499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4500 if eval "test \"\${$as_ac_var+set}\" = set"; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 cat >conftest.
$ac_ext <<_ACEOF
4506 cat confdefs.h
>>conftest.
$ac_ext
4507 cat >>conftest.
$ac_ext <<_ACEOF
4508 /* end confdefs.h. */
4509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4511 #define $ac_func innocuous_$ac_func
4513 /* System header to define __stub macros and hopefully few prototypes,
4514 which can conflict with char $ac_func (); below.
4515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4516 <limits.h> exists even on freestanding compilers. */
4519 # include <limits.h>
4521 # include <assert.h>
4526 /* Override any gcc2 internal prototype to avoid an error. */
4531 /* We use char because int might match the return type of a gcc2
4532 builtin and then its argument prototype would still apply. */
4534 /* The GNU C library defines this for functions which it implements
4535 to always fail with ENOSYS. Some functions are actually named
4536 something starting with __ and the normal name is an alias. */
4537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4540 char (*f) () = $ac_func;
4549 return f != $ac_func;
4554 rm -f conftest.
$ac_objext conftest
$ac_exeext
4555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4556 (eval $ac_link) 2>conftest.er1
4558 grep -v '^ *+' conftest.er1
>conftest.err
4560 cat conftest.err
>&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } &&
4563 { ac_try
='test -z "$ac_c_werror_flag"
4564 || test ! -s conftest.err'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; } &&
4570 { ac_try
='test -s conftest$ac_exeext'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; }; then
4576 eval "$as_ac_var=yes"
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.
$ac_ext >&5
4581 eval "$as_ac_var=no"
4583 rm -f conftest.err conftest.
$ac_objext \
4584 conftest
$ac_exeext conftest.
$ac_ext
4586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4588 if test `eval echo '${'$as_ac_var'}'` = yes; then
4589 cat >>confdefs.h
<<_ACEOF
4590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4595 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
4601 if test $ac_cv_func_memchr = no
; then
4604 for ac_header
in bp-sym.h
4606 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4608 echo "$as_me:$LINENO: checking for $ac_header" >&5
4609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4616 # Is the header compilable?
4617 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4618 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4619 cat >conftest.
$ac_ext <<_ACEOF
4622 cat confdefs.h
>>conftest.
$ac_ext
4623 cat >>conftest.
$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 $ac_includes_default
4626 #include <$ac_header>
4628 rm -f conftest.
$ac_objext
4629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4630 (eval $ac_compile) 2>conftest.er1
4632 grep -v '^ *+' conftest.er1
>conftest.err
4634 cat conftest.err
>&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); } &&
4637 { ac_try
='test -z "$ac_c_werror_flag"
4638 || test ! -s conftest.err'
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); }; } &&
4644 { ac_try
='test -s conftest.$ac_objext'
4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); }; }; then
4650 ac_header_compiler
=yes
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.
$ac_ext >&5
4655 ac_header_compiler
=no
4657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4659 echo "${ECHO_T}$ac_header_compiler" >&6
4661 # Is the header present?
4662 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4663 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4664 cat >conftest.
$ac_ext <<_ACEOF
4667 cat confdefs.h
>>conftest.
$ac_ext
4668 cat >>conftest.
$ac_ext <<_ACEOF
4669 /* end confdefs.h. */
4670 #include <$ac_header>
4672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4675 grep -v '^ *+' conftest.er1
>conftest.err
4677 cat conftest.err
>&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } >/dev
/null
; then
4680 if test -s conftest.err
; then
4681 ac_cpp_err
=$ac_c_preproc_warn_flag
4682 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4689 if test -z "$ac_cpp_err"; then
4690 ac_header_preproc
=yes
4692 echo "$as_me: failed program was:" >&5
4693 sed 's/^/| /' conftest.
$ac_ext >&5
4695 ac_header_preproc
=no
4697 rm -f conftest.err conftest.
$ac_ext
4698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4699 echo "${ECHO_T}$ac_header_preproc" >&6
4701 # So? What about this header?
4702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4704 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4705 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4707 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4708 ac_header_preproc
=yes
4711 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4712 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4713 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4714 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4715 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4716 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4717 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4718 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4720 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4721 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4722 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4725 ## ------------------------------------------ ##
4726 ## Report this to the AC_PACKAGE_NAME lists. ##
4727 ## ------------------------------------------ ##
4730 sed "s/^/$as_me: WARNING: /" >&2
4733 echo "$as_me:$LINENO: checking for $ac_header" >&5
4734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4736 echo $ECHO_N "(cached) $ECHO_C" >&6
4738 eval "$as_ac_Header=\$ac_header_preproc"
4740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4745 cat >>confdefs.h
<<_ACEOF
4746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4757 echo "$as_me:$LINENO: checking for working memcmp" >&5
4758 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4759 if test "${ac_cv_func_memcmp_working+set}" = set; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 if test "$cross_compiling" = yes; then
4763 ac_cv_func_memcmp_working
=no
4765 cat >conftest.
$ac_ext <<_ACEOF
4768 cat confdefs.h
>>conftest.
$ac_ext
4769 cat >>conftest.
$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4771 $ac_includes_default
4776 /* Some versions of memcmp are not 8-bit clean. */
4777 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4778 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4781 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4782 or more and with at least one buffer not starting on a 4-byte boundary.
4783 William Lewis provided this test program. */
4788 for (i = 0; i < 4; i++)
4792 strcpy (a, "--------01111111");
4793 strcpy (b, "--------10000000");
4794 if (memcmp (a, b, 16) >= 0)
4804 rm -f conftest
$ac_exeext
4805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4806 (eval $ac_link) 2>&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); }; }; then
4815 ac_cv_func_memcmp_working
=yes
4817 echo "$as_me: program exited with status $ac_status" >&5
4818 echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.
$ac_ext >&5
4822 ac_cv_func_memcmp_working
=no
4824 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4827 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4828 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4829 test $ac_cv_func_memcmp_working = no
&&
4836 gl_LIBOBJS
="$gl_LIBOBJS memcmp.$ac_objext"
4839 if test $ac_cv_func_memcmp_working = no
; then
4841 cat >>confdefs.h
<<\_ACEOF
4842 #define memcmp rpl_memcmp
4850 if test $ac_cv_have_decl_memmem = yes; then
4851 echo "$as_me:$LINENO: checking whether memmem works in linear time" >&5
4852 echo $ECHO_N "checking whether memmem works in linear time... $ECHO_C" >&6
4853 if test "${gl_cv_func_memmem_works+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4856 if test "$cross_compiling" = yes; then
4857 gl_cv_func_memmem_works
="guessing no"
4859 cat >conftest.
$ac_ext <<_ACEOF
4862 cat confdefs.h
>>conftest.
$ac_ext
4863 cat >>conftest.
$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4866 #include <string.h> /* for memmem */
4867 #include <stdlib.h> /* for malloc */
4868 #include <unistd.h> /* for alarm */
4874 char *haystack = (char *) malloc (2 * m + 1);
4875 char *needle = (char *) malloc (m + 1);
4877 /* Failure to compile this test due to missing alarm is okay,
4878 since all such platforms (mingw) also lack memmem. */
4880 /* Check for quadratic performance. */
4881 if (haystack && needle)
4883 memset (haystack, 'A', 2 * m);
4884 haystack[2 * m] = 'B';
4885 memset (needle, 'A', m);
4887 result = memmem (haystack, 2 * m + 1, needle, m + 1);
4889 /* Check for empty needle behavior. */
4890 return !result || !memmem ("a", 1, 0, 0);
4895 rm -f conftest
$ac_exeext
4896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4897 (eval $ac_link) 2>&5
4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; }; then
4906 gl_cv_func_memmem_works
=yes
4908 echo "$as_me: program exited with status $ac_status" >&5
4909 echo "$as_me: failed program was:" >&5
4910 sed 's/^/| /' conftest.
$ac_ext >&5
4913 gl_cv_func_memmem_works
=no
4915 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4918 echo "$as_me:$LINENO: result: $gl_cv_func_memmem_works" >&5
4919 echo "${ECHO_T}$gl_cv_func_memmem_works" >&6
4920 if test "$gl_cv_func_memmem_works" != yes; then
4929 gl_LIBOBJS
="$gl_LIBOBJS memmem.$ac_objext"
4946 for ac_func
in memmem
4948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4949 echo "$as_me:$LINENO: checking for $ac_func" >&5
4950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4951 if eval "test \"\${$as_ac_var+set}\" = set"; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 cat >conftest.
$ac_ext <<_ACEOF
4957 cat confdefs.h
>>conftest.
$ac_ext
4958 cat >>conftest.
$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4962 #define $ac_func innocuous_$ac_func
4964 /* System header to define __stub macros and hopefully few prototypes,
4965 which can conflict with char $ac_func (); below.
4966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4967 <limits.h> exists even on freestanding compilers. */
4970 # include <limits.h>
4972 # include <assert.h>
4977 /* Override any gcc2 internal prototype to avoid an error. */
4982 /* We use char because int might match the return type of a gcc2
4983 builtin and then its argument prototype would still apply. */
4985 /* The GNU C library defines this for functions which it implements
4986 to always fail with ENOSYS. Some functions are actually named
4987 something starting with __ and the normal name is an alias. */
4988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4991 char (*f) () = $ac_func;
5000 return f != $ac_func;
5005 rm -f conftest.
$ac_objext conftest
$ac_exeext
5006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5007 (eval $ac_link) 2>conftest.er1
5009 grep -v '^ *+' conftest.er1
>conftest.err
5011 cat conftest.err
>&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); } &&
5014 { ac_try
='test -z "$ac_c_werror_flag"
5015 || test ! -s conftest.err'
5016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); }; } &&
5021 { ac_try
='test -s conftest$ac_exeext'
5022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }; }; then
5027 eval "$as_ac_var=yes"
5029 echo "$as_me: failed program was:" >&5
5030 sed 's/^/| /' conftest.
$ac_ext >&5
5032 eval "$as_ac_var=no"
5034 rm -f conftest.err conftest.
$ac_objext \
5035 conftest
$ac_exeext conftest.
$ac_ext
5037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5039 if test `eval echo '${'$as_ac_var'}'` = yes; then
5040 cat >>confdefs.h
<<_ACEOF
5041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5046 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
5059 if test $ac_cv_have_decl_memmem = no
; then
5071 if test $ac_cv_type_long_long_int = yes; then
5072 HAVE_LONG_LONG_INT
=1
5074 HAVE_LONG_LONG_INT
=0
5078 if test $ac_cv_type_unsigned_long_long_int = yes; then
5079 HAVE_UNSIGNED_LONG_LONG_INT
=1
5081 HAVE_UNSIGNED_LONG_LONG_INT
=0
5085 if test $ac_cv_header_inttypes_h = yes; then
5092 if test $ac_cv_header_sys_types_h = yes; then
5110 if test $gl_cv_have_include_next = yes; then
5111 gl_cv_next_stdint_h
='<'stdint.h
'>'
5113 echo "$as_me:$LINENO: checking absolute name of <stdint.h>" >&5
5114 echo $ECHO_N "checking absolute name of <stdint.h>... $ECHO_C" >&6
5115 if test "${gl_cv_next_stdint_h+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5119 if test $ac_cv_header_stdint_h = yes; then
5120 cat >conftest.
$ac_ext <<_ACEOF
5123 cat confdefs.h
>>conftest.
$ac_ext
5124 cat >>conftest.
$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5129 gl_cv_next_stdint_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5130 sed -n '\#/stdint.h#{
5131 s#.*"\(.*/stdint.h\)".*#\1#
5137 gl_cv_next_stdint_h
='<'stdint.h
'>'
5141 echo "$as_me:$LINENO: result: $gl_cv_next_stdint_h" >&5
5142 echo "${ECHO_T}$gl_cv_next_stdint_h" >&6
5144 NEXT_STDINT_H
=$gl_cv_next_stdint_h
5148 if test $ac_cv_header_stdint_h = yes; then
5155 if test $ac_cv_header_stdint_h = yes; then
5156 echo "$as_me:$LINENO: checking whether stdint.h conforms to C99" >&5
5157 echo $ECHO_N "checking whether stdint.h conforms to C99... $ECHO_C" >&6
5158 if test "${gl_cv_header_working_stdint_h+set}" = set; then
5159 echo $ECHO_N "(cached) $ECHO_C" >&6
5161 gl_cv_header_working_stdint_h
=no
5162 cat >conftest.
$ac_ext <<_ACEOF
5166 cat confdefs.h
>>conftest.
$ac_ext
5167 cat >>conftest.
$ac_ext <<_ACEOF
5168 /* end confdefs.h. */
5170 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
5171 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
5172 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
5174 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
5175 #if !(defined WCHAR_MIN && defined WCHAR_MAX)
5176 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
5180 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5181 included before <wchar.h>. */
5192 int8_t a1 = INT8_MAX;
5193 int8_t a1min = INT8_MIN;
5196 int16_t a2 = INT16_MAX;
5197 int16_t a2min = INT16_MIN;
5200 int32_t a3 = INT32_MAX;
5201 int32_t a3min = INT32_MIN;
5204 int64_t a4 = INT64_MAX;
5205 int64_t a4min = INT64_MIN;
5208 uint8_t b1 = UINT8_MAX;
5210 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
5213 uint16_t b2 = UINT16_MAX;
5216 uint32_t b3 = UINT32_MAX;
5219 uint64_t b4 = UINT64_MAX;
5221 int_least8_t c1 = INT8_C (0x7f);
5222 int_least8_t c1max = INT_LEAST8_MAX;
5223 int_least8_t c1min = INT_LEAST8_MIN;
5224 int_least16_t c2 = INT16_C (0x7fff);
5225 int_least16_t c2max = INT_LEAST16_MAX;
5226 int_least16_t c2min = INT_LEAST16_MIN;
5227 int_least32_t c3 = INT32_C (0x7fffffff);
5228 int_least32_t c3max = INT_LEAST32_MAX;
5229 int_least32_t c3min = INT_LEAST32_MIN;
5230 int_least64_t c4 = INT64_C (0x7fffffffffffffff);
5231 int_least64_t c4max = INT_LEAST64_MAX;
5232 int_least64_t c4min = INT_LEAST64_MIN;
5233 uint_least8_t d1 = UINT8_C (0xff);
5234 uint_least8_t d1max = UINT_LEAST8_MAX;
5235 uint_least16_t d2 = UINT16_C (0xffff);
5236 uint_least16_t d2max = UINT_LEAST16_MAX;
5237 uint_least32_t d3 = UINT32_C (0xffffffff);
5238 uint_least32_t d3max = UINT_LEAST32_MAX;
5239 uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
5240 uint_least64_t d4max = UINT_LEAST64_MAX;
5241 int_fast8_t e1 = INT_FAST8_MAX;
5242 int_fast8_t e1min = INT_FAST8_MIN;
5243 int_fast16_t e2 = INT_FAST16_MAX;
5244 int_fast16_t e2min = INT_FAST16_MIN;
5245 int_fast32_t e3 = INT_FAST32_MAX;
5246 int_fast32_t e3min = INT_FAST32_MIN;
5247 int_fast64_t e4 = INT_FAST64_MAX;
5248 int_fast64_t e4min = INT_FAST64_MIN;
5249 uint_fast8_t f1 = UINT_FAST8_MAX;
5250 uint_fast16_t f2 = UINT_FAST16_MAX;
5251 uint_fast32_t f3 = UINT_FAST32_MAX;
5252 uint_fast64_t f4 = UINT_FAST64_MAX;
5254 intptr_t g = INTPTR_MAX;
5255 intptr_t gmin = INTPTR_MIN;
5258 uintptr_t h = UINTPTR_MAX;
5260 intmax_t i = INTMAX_MAX;
5261 uintmax_t j = UINTMAX_MAX;
5263 #include <limits.h> /* for CHAR_BIT */
5264 #define TYPE_MINIMUM(t) \
5265 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))
5266 #define TYPE_MAXIMUM(t) \
5267 ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
5270 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
5271 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
5273 /* Detect bug in FreeBSD 6.0 / ia64. */
5274 int check_SIG_ATOMIC:
5275 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
5276 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
5278 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
5280 WCHAR_MIN == TYPE_MINIMUM (wchar_t)
5281 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
5283 /* Detect bug in mingw. */
5285 WINT_MIN == TYPE_MINIMUM (wint_t)
5286 && WINT_MAX == TYPE_MAXIMUM (wint_t)
5289 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
5291 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
5293 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
5295 /* Detect bugs in OpenBSD 3.9 stdint.h. */
5297 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
5300 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
5303 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
5306 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
5308 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
5309 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
5310 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
5311 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
5312 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
5313 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
5314 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
5315 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
5316 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
5317 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
5318 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
5329 rm -f conftest.
$ac_objext
5330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5331 (eval $ac_compile) 2>conftest.er1
5333 grep -v '^ *+' conftest.er1
>conftest.err
5335 cat conftest.err
>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } &&
5338 { ac_try
='test -z "$ac_c_werror_flag"
5339 || test ! -s conftest.err'
5340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); }; } &&
5345 { ac_try
='test -s conftest.$ac_objext'
5346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); }; }; then
5351 gl_cv_header_working_stdint_h
=yes
5353 echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.
$ac_ext >&5
5357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5359 echo "$as_me:$LINENO: result: $gl_cv_header_working_stdint_h" >&5
5360 echo "${ECHO_T}$gl_cv_header_working_stdint_h" >&6
5362 if test "$gl_cv_header_working_stdint_h" = yes; then
5367 for ac_header
in sys
/inttypes.h sys
/bitypes.h
5369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5371 echo "$as_me:$LINENO: checking for $ac_header" >&5
5372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5374 echo $ECHO_N "(cached) $ECHO_C" >&6
5376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5379 # Is the header compilable?
5380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5382 cat >conftest.
$ac_ext <<_ACEOF
5385 cat confdefs.h
>>conftest.
$ac_ext
5386 cat >>conftest.
$ac_ext <<_ACEOF
5387 /* end confdefs.h. */
5388 $ac_includes_default
5389 #include <$ac_header>
5391 rm -f conftest.
$ac_objext
5392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5393 (eval $ac_compile) 2>conftest.er1
5395 grep -v '^ *+' conftest.er1
>conftest.err
5397 cat conftest.err
>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); } &&
5400 { ac_try
='test -z "$ac_c_werror_flag"
5401 || test ! -s conftest.err'
5402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); }; } &&
5407 { ac_try
='test -s conftest.$ac_objext'
5408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); }; }; then
5413 ac_header_compiler
=yes
5415 echo "$as_me: failed program was:" >&5
5416 sed 's/^/| /' conftest.
$ac_ext >&5
5418 ac_header_compiler
=no
5420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5422 echo "${ECHO_T}$ac_header_compiler" >&6
5424 # Is the header present?
5425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5427 cat >conftest.
$ac_ext <<_ACEOF
5430 cat confdefs.h
>>conftest.
$ac_ext
5431 cat >>conftest.
$ac_ext <<_ACEOF
5432 /* end confdefs.h. */
5433 #include <$ac_header>
5435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5438 grep -v '^ *+' conftest.er1
>conftest.err
5440 cat conftest.err
>&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); } >/dev
/null
; then
5443 if test -s conftest.err
; then
5444 ac_cpp_err
=$ac_c_preproc_warn_flag
5445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5452 if test -z "$ac_cpp_err"; then
5453 ac_header_preproc
=yes
5455 echo "$as_me: failed program was:" >&5
5456 sed 's/^/| /' conftest.
$ac_ext >&5
5458 ac_header_preproc
=no
5460 rm -f conftest.err conftest.
$ac_ext
5461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5462 echo "${ECHO_T}$ac_header_preproc" >&6
5464 # So? What about this header?
5465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5471 ac_header_preproc
=yes
5474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5488 ## ------------------------------------------ ##
5489 ## Report this to the AC_PACKAGE_NAME lists. ##
5490 ## ------------------------------------------ ##
5493 sed "s/^/$as_me: WARNING: /" >&2
5496 echo "$as_me:$LINENO: checking for $ac_header" >&5
5497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5499 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 eval "$as_ac_Header=\$ac_header_preproc"
5503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5508 cat >>confdefs.h
<<_ACEOF
5509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5516 if test $ac_cv_header_sys_inttypes_h = yes; then
5517 HAVE_SYS_INTTYPES_H
=1
5519 HAVE_SYS_INTTYPES_H
=0
5522 if test $ac_cv_header_sys_bitypes_h = yes; then
5523 HAVE_SYS_BITYPES_H
=1
5525 HAVE_SYS_BITYPES_H
=0
5545 for gltype
in ptrdiff_t sig_atomic_t size_t wchar_t wint_t
; do
5546 echo "$as_me:$LINENO: checking for bit size of $gltype" >&5
5547 echo $ECHO_N "checking for bit size of $gltype... $ECHO_C" >&6
5548 if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\" = set"; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 if test "$cross_compiling" = yes; then
5552 # Depending upon the size, compute the lo and hi bounds.
5553 cat >conftest.
$ac_ext <<_ACEOF
5556 cat confdefs.h
>>conftest.
$ac_ext
5557 cat >>conftest.
$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5560 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5561 included before <wchar.h>. */
5574 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= 0)];
5581 rm -f conftest.
$ac_objext
5582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5583 (eval $ac_compile) 2>conftest.er1
5585 grep -v '^ *+' conftest.er1
>conftest.err
5587 cat conftest.err
>&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } &&
5590 { ac_try
='test -z "$ac_c_werror_flag"
5591 || test ! -s conftest.err'
5592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); }; } &&
5597 { ac_try
='test -s conftest.$ac_objext'
5598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); }; }; then
5605 cat >conftest.
$ac_ext <<_ACEOF
5608 cat confdefs.h
>>conftest.
$ac_ext
5609 cat >>conftest.
$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5612 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5613 included before <wchar.h>. */
5626 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)];
5633 rm -f conftest.
$ac_objext
5634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5635 (eval $ac_compile) 2>conftest.er1
5637 grep -v '^ *+' conftest.er1
>conftest.err
5639 cat conftest.err
>&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } &&
5642 { ac_try
='test -z "$ac_c_werror_flag"
5643 || test ! -s conftest.err'
5644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); }; } &&
5649 { ac_try
='test -s conftest.$ac_objext'
5650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; }; then
5655 ac_hi
=$ac_mid; break
5657 echo "$as_me: failed program was:" >&5
5658 sed 's/^/| /' conftest.
$ac_ext >&5
5660 ac_lo
=`expr $ac_mid + 1`
5661 if test $ac_lo -le $ac_mid; then
5665 ac_mid
=`expr 2 '*' $ac_mid + 1`
5667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5670 echo "$as_me: failed program was:" >&5
5671 sed 's/^/| /' conftest.
$ac_ext >&5
5673 cat >conftest.
$ac_ext <<_ACEOF
5676 cat confdefs.h
>>conftest.
$ac_ext
5677 cat >>conftest.
$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5680 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5681 included before <wchar.h>. */
5694 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) < 0)];
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
5725 cat >conftest.
$ac_ext <<_ACEOF
5728 cat confdefs.h
>>conftest.
$ac_ext
5729 cat >>conftest.
$ac_ext <<_ACEOF
5730 /* end confdefs.h. */
5732 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5733 included before <wchar.h>. */
5746 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= $ac_mid)];
5753 rm -f conftest.
$ac_objext
5754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5755 (eval $ac_compile) 2>conftest.er1
5757 grep -v '^ *+' conftest.er1
>conftest.err
5759 cat conftest.err
>&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); } &&
5762 { ac_try
='test -z "$ac_c_werror_flag"
5763 || test ! -s conftest.err'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; } &&
5769 { ac_try
='test -s conftest.$ac_objext'
5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; }; then
5775 ac_lo
=$ac_mid; break
5777 echo "$as_me: failed program was:" >&5
5778 sed 's/^/| /' conftest.
$ac_ext >&5
5780 ac_hi
=`expr '(' $ac_mid ')' - 1`
5781 if test $ac_mid -le $ac_hi; then
5785 ac_mid
=`expr 2 '*' $ac_mid`
5787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.
$ac_ext >&5
5795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5798 # Binary search between lo and hi bounds.
5799 while test "x$ac_lo" != "x$ac_hi"; do
5800 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5801 cat >conftest.
$ac_ext <<_ACEOF
5804 cat confdefs.h
>>conftest.
$ac_ext
5805 cat >>conftest.
$ac_ext <<_ACEOF
5806 /* end confdefs.h. */
5808 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5809 included before <wchar.h>. */
5822 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)];
5829 rm -f conftest.
$ac_objext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5831 (eval $ac_compile) 2>conftest.er1
5833 grep -v '^ *+' conftest.er1
>conftest.err
5835 cat conftest.err
>&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } &&
5838 { ac_try
='test -z "$ac_c_werror_flag"
5839 || test ! -s conftest.err'
5840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); }; } &&
5845 { ac_try
='test -s conftest.$ac_objext'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; }; then
5853 echo "$as_me: failed program was:" >&5
5854 sed 's/^/| /' conftest.
$ac_ext >&5
5856 ac_lo
=`expr '(' $ac_mid ')' + 1`
5858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5862 '') result
=unknown
;;
5865 if test "$cross_compiling" = yes; then
5866 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5867 See \`config.log' for more details." >&5
5868 echo "$as_me: error: cannot run test program while cross compiling
5869 See \`config.log' for more details." >&2;}
5870 { (exit 1); exit 1; }; }
5872 cat >conftest.
$ac_ext <<_ACEOF
5875 cat confdefs.h
>>conftest.
$ac_ext
5876 cat >>conftest.
$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5879 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5880 included before <wchar.h>. */
5890 long longval () { return sizeof ($gltype) * CHAR_BIT; }
5891 unsigned long ulongval () { return sizeof ($gltype) * CHAR_BIT; }
5898 FILE *f = fopen ("conftest.val", "w");
5901 if ((sizeof ($gltype) * CHAR_BIT) < 0)
5903 long i = longval ();
5904 if (i != (sizeof ($gltype) * CHAR_BIT))
5906 fprintf (f, "%ld\n", i);
5910 unsigned long i = ulongval ();
5911 if (i != (sizeof ($gltype) * CHAR_BIT))
5913 fprintf (f, "%lu\n", i);
5915 exit (ferror (f) || fclose (f) != 0);
5921 rm -f conftest
$ac_exeext
5922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5923 (eval $ac_link) 2>&5
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); }; }; then
5932 result
=`cat conftest.val`
5934 echo "$as_me: program exited with status $ac_status" >&5
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.
$ac_ext >&5
5941 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5945 eval gl_cv_bitsizeof_
${gltype}=\
$result
5948 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_bitsizeof_${gltype}'}'`" >&5
5949 echo "${ECHO_T}`eval echo '${'gl_cv_bitsizeof_${gltype}'}'`" >&6
5950 eval result
=\
$gl_cv_bitsizeof_${gltype}
5951 if test $result = unknown
; then
5954 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
5955 cat >>confdefs.h
<<_ACEOF
5956 #define BITSIZEOF_${GLTYPE} $result
5959 eval BITSIZEOF_
${GLTYPE}=\
$result
5968 for gltype
in sig_atomic_t wchar_t wint_t
; do
5969 echo "$as_me:$LINENO: checking whether $gltype is signed" >&5
5970 echo $ECHO_N "checking whether $gltype is signed... $ECHO_C" >&6
5971 if eval "test \"\${gl_cv_type_${gltype}_signed+set}\" = set"; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 cat >conftest.
$ac_ext <<_ACEOF
5977 cat confdefs.h
>>conftest.
$ac_ext
5978 cat >>conftest.
$ac_ext <<_ACEOF
5979 /* end confdefs.h. */
5981 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5982 included before <wchar.h>. */
5991 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
6000 rm -f conftest.
$ac_objext
6001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6002 (eval $ac_compile) 2>conftest.er1
6004 grep -v '^ *+' conftest.er1
>conftest.err
6006 cat conftest.err
>&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); } &&
6009 { ac_try
='test -z "$ac_c_werror_flag"
6010 || test ! -s conftest.err'
6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; } &&
6016 { ac_try
='test -s conftest.$ac_objext'
6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; }; then
6024 echo "$as_me: failed program was:" >&5
6025 sed 's/^/| /' conftest.
$ac_ext >&5
6029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 eval gl_cv_type_
${gltype}_signed
=\
$result
6033 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_type_${gltype}_signed'}'`" >&5
6034 echo "${ECHO_T}`eval echo '${'gl_cv_type_${gltype}_signed'}'`" >&6
6035 eval result
=\
$gl_cv_type_${gltype}_signed
6036 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6037 if test "$result" = yes; then
6038 cat >>confdefs.h
<<_ACEOF
6039 #define HAVE_SIGNED_${GLTYPE} 1
6042 eval HAVE_SIGNED_
${GLTYPE}=1
6044 eval HAVE_SIGNED_
${GLTYPE}=0
6049 gl_cv_type_ptrdiff_t_signed
=yes
6050 gl_cv_type_size_t_signed
=no
6058 for gltype
in ptrdiff_t sig_atomic_t size_t wchar_t wint_t
; do
6059 echo "$as_me:$LINENO: checking for $gltype integer literal suffix" >&5
6060 echo $ECHO_N "checking for $gltype integer literal suffix... $ECHO_C" >&6
6061 if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\" = set"; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6
6064 eval gl_cv_type_
${gltype}_suffix
=no
6065 eval result
=\
$gl_cv_type_${gltype}_signed
6066 if test "$result" = yes; then
6071 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
6074 l
) gltype1
='long int';;
6075 ll
) gltype1
='long long int';;
6076 i64
) gltype1
='__int64';;
6077 u
) gltype1
='unsigned int';;
6078 ul
) gltype1
='unsigned long int';;
6079 ull
) gltype1
='unsigned long long int';;
6080 ui64
)gltype1
='unsigned __int64';;
6082 cat >conftest.
$ac_ext <<_ACEOF
6085 cat confdefs.h
>>conftest.
$ac_ext
6086 cat >>conftest.
$ac_ext <<_ACEOF
6087 /* end confdefs.h. */
6089 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
6090 included before <wchar.h>. */
6100 extern $gltype1 foo;
6109 rm -f conftest.
$ac_objext
6110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6111 (eval $ac_compile) 2>conftest.er1
6113 grep -v '^ *+' conftest.er1
>conftest.err
6115 cat conftest.err
>&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } &&
6118 { ac_try
='test -z "$ac_c_werror_flag"
6119 || test ! -s conftest.err'
6120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124 (exit $ac_status); }; } &&
6125 { ac_try
='test -s conftest.$ac_objext'
6126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6130 (exit $ac_status); }; }; then
6131 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
6133 echo "$as_me: failed program was:" >&5
6134 sed 's/^/| /' conftest.
$ac_ext >&5
6137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6138 eval result
=\
$gl_cv_type_${gltype}_suffix
6139 test "$result" != no
&& break
6142 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_type_${gltype}_suffix'}'`" >&5
6143 echo "${ECHO_T}`eval echo '${'gl_cv_type_${gltype}_suffix'}'`" >&6
6144 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6145 eval result
=\
$gl_cv_type_${gltype}_suffix
6146 test "$result" = no
&& result
=
6147 eval ${GLTYPE}_SUFFIX
=\
$result
6148 cat >>confdefs.h
<<_ACEOF
6149 #define ${GLTYPE}_SUFFIX $result
6165 echo "$as_me:$LINENO: checking whether <wchar.h> is standalone" >&5
6166 echo $ECHO_N "checking whether <wchar.h> is standalone... $ECHO_C" >&6
6167 if test "${gl_cv_header_wchar_h_standalone+set}" = set; then
6168 echo $ECHO_N "(cached) $ECHO_C" >&6
6170 cat >conftest.
$ac_ext <<_ACEOF
6174 rm -f conftest.
$ac_objext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6176 (eval $ac_compile) 2>conftest.er1
6178 grep -v '^ *+' conftest.er1
>conftest.err
6180 cat conftest.err
>&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try
='test -z "$ac_c_werror_flag"
6184 || test ! -s conftest.err'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try
='test -s conftest.$ac_objext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6196 gl_cv_header_wchar_h_standalone
=yes
6198 echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.
$ac_ext >&5
6201 gl_cv_header_wchar_h_standalone
=no
6203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6205 echo "$as_me:$LINENO: result: $gl_cv_header_wchar_h_standalone" >&5
6206 echo "${ECHO_T}$gl_cv_header_wchar_h_standalone" >&6
6207 if test $gl_cv_header_wchar_h_standalone != yes; then
6218 if test $ac_cv_header_wchar_h = yes; then
6235 if test $gl_cv_have_include_next = yes; then
6236 gl_cv_next_wchar_h
='<'wchar.h
'>'
6238 echo "$as_me:$LINENO: checking absolute name of <wchar.h>" >&5
6239 echo $ECHO_N "checking absolute name of <wchar.h>... $ECHO_C" >&6
6240 if test "${gl_cv_next_wchar_h+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 if test $ac_cv_header_wchar_h = yes; then
6245 cat >conftest.
$ac_ext <<_ACEOF
6248 cat confdefs.h
>>conftest.
$ac_ext
6249 cat >>conftest.
$ac_ext <<_ACEOF
6250 /* end confdefs.h. */
6254 gl_cv_next_wchar_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6255 sed -n '\#/wchar.h#{
6256 s#.*"\(.*/wchar.h\)".*#\1#
6262 gl_cv_next_wchar_h
='<'wchar.h
'>'
6266 echo "$as_me:$LINENO: result: $gl_cv_next_wchar_h" >&5
6267 echo "${ECHO_T}$gl_cv_next_wchar_h" >&6
6269 NEXT_WCHAR_H
=$gl_cv_next_wchar_h
6283 gl_source_base
='tests'
6288 LIBGNU_LIBDEPS
="$gl_libdeps"
6290 LIBGNU_LTLIBDEPS
="$gl_ltlibdeps"
6296 cat >>confdefs.h
<<_ACEOF
6297 #define PACKAGE "$PACKAGE"
6302 # GDB does not use automake, but gnulib does. This line lets us
6303 # generate its Makefile.in.
6304 am__api_version
="1.9"
6305 # Find a good install program. We prefer a C program (faster),
6306 # so one script is as good as another. But avoid the broken or
6307 # incompatible versions:
6308 # SysV /etc/install, /usr/sbin/install
6309 # SunOS /usr/etc/install
6310 # IRIX /sbin/install
6312 # AmigaOS /C/install, which installs bootblocks on floppy discs
6313 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6314 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6315 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6316 # OS/2's system install, which has a completely different semantic
6317 # ./install, which can be erroneously created by make from ./install.sh.
6318 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6319 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6320 if test -z "$INSTALL"; then
6321 if test "${ac_cv_path_install+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir
=.
6329 # Account for people who put trailing slashes in PATH elements.
6331 .
/ | .
// |
/cC
/* | \
6332 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6333 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6336 # OSF1 and SCO ODT 3.0 have their own names for install.
6337 # Don't use installbsd from OSF since it installs stuff as root
6339 for ac_prog
in ginstall scoinst
install; do
6340 for ac_exec_ext
in '' $ac_executable_extensions; do
6341 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6342 if test $ac_prog = install &&
6343 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6344 # AIX install. It has an incompatible calling convention.
6346 elif test $ac_prog = install &&
6347 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6348 # program-specific install script used by HP pwplus--don't use.
6351 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6363 if test "${ac_cv_path_install+set}" = set; then
6364 INSTALL
=$ac_cv_path_install
6366 # As a last resort, use the slow shell script. We don't cache a
6367 # path for INSTALL within a source directory, because that will
6368 # break other packages using the cache if that directory is
6369 # removed, or if the path is relative.
6370 INSTALL
=$ac_install_sh
6373 echo "$as_me:$LINENO: result: $INSTALL" >&5
6374 echo "${ECHO_T}$INSTALL" >&6
6376 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6377 # It thinks the first close brace ends the variable substitution.
6378 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6380 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6382 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6384 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
6385 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
6388 echo timestamp
> conftest.
file
6389 # Do `set' in a subshell so we don't clobber the current shell's
6390 # arguments. Must try -L first in case configure is actually a
6391 # symlink; some systems play weird games with the mod time of symlinks
6392 # (eg FreeBSD returns the mod time of the symlink's containing
6395 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
6396 if test "$*" = "X"; then
6398 set X
`ls -t $srcdir/configure conftest.file`
6401 if test "$*" != "X $srcdir/configure conftest.file" \
6402 && test "$*" != "X conftest.file $srcdir/configure"; then
6404 # If neither matched, then we have a broken ls. This can happen
6405 # if, for instance, CONFIG_SHELL is bash and it inherits a
6406 # broken ls alias from the environment. This has actually
6407 # happened. Such a system could not be considered "sane".
6408 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
6409 alias in your environment" >&5
6410 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
6411 alias in your environment" >&2;}
6412 { (exit 1); exit 1; }; }
6415 test "$2" = conftest.
file
6421 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
6422 Check your system clock" >&5
6423 echo "$as_me: error: newly created file is older than distributed files!
6424 Check your system clock" >&2;}
6425 { (exit 1); exit 1; }; }
6427 echo "$as_me:$LINENO: result: yes" >&5
6428 echo "${ECHO_T}yes" >&6
6429 test "$program_prefix" != NONE
&&
6430 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
6431 # Use a double $ so make ignores it.
6432 test "$program_suffix" != NONE
&&
6433 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
6434 # Double any \ or $. echo might interpret backslashes.
6435 # By default was `s,x,x', remove it if useless.
6436 cat <<\_ACEOF
>conftest.
sed
6437 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
6439 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
6442 # expand $ac_aux_dir to an absolute path
6443 am_aux_dir
=`cd $ac_aux_dir && pwd`
6445 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
6446 # Use eval to expand $SHELL
6447 if eval "$MISSING --run true"; then
6448 am_missing_run
="$MISSING --run "
6451 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
6452 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
6455 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
6456 # We used to keeping the `.' as first argument, in order to
6457 # allow $(mkdir_p) to be used without argument. As in
6458 # $(mkdir_p) $(somedir)
6459 # where $(somedir) is conditionally defined. However this is wrong
6461 # 1. if the package is installed by a user who cannot write `.'
6462 # make install will fail,
6463 # 2. the above comment should most certainly read
6464 # $(mkdir_p) $(DESTDIR)$(somedir)
6465 # so it does not work when $(somedir) is undefined and
6466 # $(DESTDIR) is not.
6467 # To support the latter case, we have to write
6468 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
6469 # so the `.' trick is pointless.
6470 mkdir_p
='mkdir -p --'
6472 # On NextStep and OpenStep, the `mkdir' command does not
6473 # recognize any option. It will interpret all options as
6474 # directories to create, and then abort because `.' already
6476 for d
in .
/-p .
/--version;
6478 test -d $d && rmdir $d
6480 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
6481 if test -f "$ac_aux_dir/mkinstalldirs"; then
6482 mkdir_p
='$(mkinstalldirs)'
6484 mkdir_p
='$(install_sh) -d'
6488 for ac_prog
in gawk mawk nawk
awk
6490 # Extract the first word of "$ac_prog", so it can be a program name with args.
6491 set dummy
$ac_prog; ac_word
=$2
6492 echo "$as_me:$LINENO: checking for $ac_word" >&5
6493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6494 if test "${ac_cv_prog_AWK+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 if test -n "$AWK"; then
6498 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6504 test -z "$as_dir" && as_dir
=.
6505 for ac_exec_ext
in '' $ac_executable_extensions; do
6506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6507 ac_cv_prog_AWK
="$ac_prog"
6508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 if test -n "$AWK"; then
6518 echo "$as_me:$LINENO: result: $AWK" >&5
6519 echo "${ECHO_T}$AWK" >&6
6521 echo "$as_me:$LINENO: result: no" >&5
6522 echo "${ECHO_T}no" >&6
6525 test -n "$AWK" && break
6528 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6529 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6530 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
6531 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 cat >conftest.
make <<\_ACEOF
6536 @
echo 'ac_maketemp="$(MAKE)"'
6538 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6539 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6540 if test -n "$ac_maketemp"; then
6541 eval ac_cv_prog_make_
${ac_make}_set
=yes
6543 eval ac_cv_prog_make_
${ac_make}_set
=no
6547 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6548 echo "$as_me:$LINENO: result: yes" >&5
6549 echo "${ECHO_T}yes" >&6
6552 echo "$as_me:$LINENO: result: no" >&5
6553 echo "${ECHO_T}no" >&6
6554 SET_MAKE
="MAKE=${MAKE-make}"
6557 rm -rf .tst
2>/dev
/null
6558 mkdir .tst
2>/dev
/null
6559 if test -d .tst
; then
6564 rmdir .tst
2>/dev
/null
6566 DEPDIR
="${am__leading_dot}deps"
6568 ac_config_commands
="$ac_config_commands depfiles"
6571 am_make
=${MAKE-make}
6572 cat > confinc
<< 'END'
6577 # If we don't find an include directive, just comment out the code.
6578 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
6579 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
6583 # First try GNU make style include.
6584 echo "include confinc" > confmf
6585 # We grep out `Entering directory' and `Leaving directory'
6586 # messages which can occur if `w' ends up in MAKEFLAGS.
6587 # In particular we don't look at `^make:' because GNU make might
6588 # be invoked under some other name (usually "gmake"), in which
6589 # case it prints its new name instead of `make'.
6590 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
6595 # Now try BSD make style include.
6596 if test "$am__include" = "#"; then
6597 echo '.include "confinc"' > confmf
6598 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
6599 am__include
=.include
6606 echo "$as_me:$LINENO: result: $_am_result" >&5
6607 echo "${ECHO_T}$_am_result" >&6
6608 rm -f confinc confmf
6610 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
6611 if test "${enable_dependency_tracking+set}" = set; then
6612 enableval
="$enable_dependency_tracking"
6615 if test "x$enable_dependency_tracking" != xno
; then
6616 am_depcomp
="$ac_aux_dir/depcomp"
6621 if test "x$enable_dependency_tracking" != xno; then
6631 # test to see if srcdir already configured
6632 if test "`cd $srcdir && pwd`" != "`pwd`" &&
6633 test -f $srcdir/config.status
; then
6634 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
6635 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
6636 { (exit 1); exit 1; }; }
6639 # test whether we have cygpath
6640 if test -z "$CYGPATH_W"; then
6641 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
6642 CYGPATH_W
='cygpath -w'
6649 # Define the identity of the package.
6651 VERSION
=UNUSED-VERSION
6654 # Some tools Automake needs.
6656 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6659 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
6662 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6665 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
6668 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
6670 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
6672 # Installed binaries are usually stripped using `strip' when the user
6673 # run `make install-strip'. However `strip' might not be the right
6674 # tool to use in cross-compilation environments, therefore Automake
6675 # will honor the `STRIP' environment variable to overrule this program.
6676 if test "$cross_compiling" != no
; then
6677 if test -n "$ac_tool_prefix"; then
6678 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6679 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6680 echo "$as_me:$LINENO: checking for $ac_word" >&5
6681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6682 if test "${ac_cv_prog_STRIP+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 if test -n "$STRIP"; then
6686 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6692 test -z "$as_dir" && as_dir
=.
6693 for ac_exec_ext
in '' $ac_executable_extensions; do
6694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6695 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 STRIP
=$ac_cv_prog_STRIP
6705 if test -n "$STRIP"; then
6706 echo "$as_me:$LINENO: result: $STRIP" >&5
6707 echo "${ECHO_T}$STRIP" >&6
6709 echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6
6714 if test -z "$ac_cv_prog_STRIP"; then
6716 # Extract the first word of "strip", so it can be a program name with args.
6717 set dummy strip
; ac_word
=$2
6718 echo "$as_me:$LINENO: checking for $ac_word" >&5
6719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6720 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6
6723 if test -n "$ac_ct_STRIP"; then
6724 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6730 test -z "$as_dir" && as_dir
=.
6731 for ac_exec_ext
in '' $ac_executable_extensions; do
6732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6733 ac_cv_prog_ac_ct_STRIP
="strip"
6734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6743 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6744 if test -n "$ac_ct_STRIP"; then
6745 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6746 echo "${ECHO_T}$ac_ct_STRIP" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6754 STRIP
="$ac_cv_prog_STRIP"
6758 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
6760 # We need awk for the "check" target. The system "awk" is bad on
6762 # Always define AMTAR for backward compatibility.
6764 AMTAR
=${AMTAR-"${am_missing_run}tar"}
6766 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
6771 depcc
="$CC" am_compiler_list
=
6773 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6774 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6775 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6776 echo $ECHO_N "(cached) $ECHO_C" >&6
6778 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6779 # We make a subdir and do the tests there. Otherwise we can end up
6780 # making bogus files that we don't know about and never remove. For
6781 # instance it was reported that on HP-UX the gcc test will end up
6782 # making a dummy file named `D' -- because `-MD' means `put the output
6785 # Copy depcomp to subdir because otherwise we won't find it if we're
6786 # using a relative directory.
6787 cp "$am_depcomp" conftest.dir
6789 # We will build objects and dependencies in a subdirectory because
6790 # it helps to detect inapplicable dependency modes. For instance
6791 # both Tru64's cc and ICC support -MD to output dependencies as a
6792 # side effect of compilation, but ICC will put the dependencies in
6793 # the current directory while Tru64 will put them in the object
6797 am_cv_CC_dependencies_compiler_type
=none
6798 if test "$am_compiler_list" = ""; then
6799 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6801 for depmode
in $am_compiler_list; do
6802 # Setup a source with many dependencies, because some compilers
6803 # like to wrap large dependency lists on column 80 (with \), and
6804 # we should not choose a depcomp mode which is confused by this.
6806 # We need to recreate these files for each test, as the compiler may
6807 # overwrite some of them when testing with obscure command lines.
6808 # This happens at least with the AIX C compiler.
6810 for i
in 1 2 3 4 5 6; do
6811 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6812 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6813 # Solaris 8's {/usr,}/bin/sh.
6814 touch sub
/conftst
$i.h
6816 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6820 # after this tag, mechanisms are not by side-effect, so they'll
6821 # only be used when explicitly requested
6822 if test "x$enable_dependency_tracking" = xyes
; then
6830 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6831 # mode. It turns out that the SunPro C++ compiler does not properly
6832 # handle `-M -o', and we need to detect this.
6833 if depmode
=$depmode \
6834 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6835 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6836 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6837 >/dev
/null
2>conftest.err
&&
6838 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6839 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6840 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6841 # icc doesn't choke on unknown options, it will just issue warnings
6842 # or remarks (even with -Werror). So we grep stderr for any message
6843 # that says an option was ignored or not supported.
6844 # When given -MP, icc 7.0 and 7.1 complain thusly:
6845 # icc: Command line warning: ignoring option '-M'; no argument required
6846 # The diagnosis changed in icc 8.0:
6847 # icc: Command line remark: option '-MP' not supported
6848 if (grep 'ignoring option' conftest.err ||
6849 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6850 am_cv_CC_dependencies_compiler_type
=$depmode
6859 am_cv_CC_dependencies_compiler_type
=none
6863 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
6864 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
6865 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
6870 test "x$enable_dependency_tracking" != xno \
6871 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
6873 am__fastdepCC_FALSE
='#'
6875 am__fastdepCC_TRUE
='#'
6876 am__fastdepCC_FALSE
=
6882 debugdir
=${libdir}/debug
6885 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
6886 if test "${with_separate_debug_dir+set}" = set; then
6887 withval
="$with_separate_debug_dir"
6888 debugdir
="${withval}"
6892 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
6893 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6894 ac_define_dir
=`eval echo $debugdir`
6895 ac_define_dir
=`eval echo $ac_define_dir`
6897 cat >>confdefs.h
<<_ACEOF
6898 #define DEBUGDIR "$ac_define_dir"
6902 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
6904 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
6905 if test "x$prefix" = xNONE
; then
6906 test_prefix
=/usr
/local
6911 test_prefix
=$exec_prefix
6914 "${test_prefix}"|
"${test_prefix}/"*|\
6915 '${exec_prefix}'|
'${exec_prefix}/'*)
6917 cat >>confdefs.h
<<\_ACEOF
6918 #define DEBUGDIR_RELOCATABLE 1
6926 subdirs
="$subdirs doc testsuite"
6929 # Check whether to support alternative target configurations
6930 # Check whether --enable-targets or --disable-targets was given.
6931 if test "${enable_targets+set}" = set; then
6932 enableval
="$enable_targets"
6933 case "${enableval}" in
6934 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
6935 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
6936 { (exit 1); exit 1; }; }
6938 no
) enable_targets
= ;;
6939 *) enable_targets
=$enableval ;;
6943 # Check whether to enable 64-bit support on 32-bit hosts
6944 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
6945 if test "${enable_64_bit_bfd+set}" = set; then
6946 enableval
="$enable_64_bit_bfd"
6947 case "${enableval}" in
6950 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
6951 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
6952 { (exit 1); exit 1; }; } ;;
6957 # Provide defaults for some variables set by the per-host and per-target
6959 gdb_host_obs
=posix-hdep.o
6961 if test "${target}" = "${host}"; then
6967 .
$srcdir/configure.
host
6969 # Accumulate some settings from configure.tgt over all enabled targets
6974 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
6976 if test "$targ_alias" = "all"; then
6979 # Canonicalize the secondary target names.
6980 result
=`$ac_config_sub $targ_alias 2>/dev/null`
6981 if test -n "$result"; then
6987 .
${srcdir}/configure.tgt
6989 # Target-specific object files
6990 for i
in ${gdb_target_obs}; do
6991 case " $TARGET_OBS " in
6994 TARGET_OBS
="$TARGET_OBS ${i}"
6999 # Check whether this target needs 64-bit CORE_ADDR
7000 if test x
${want64} = xfalse
; then
7001 .
${srcdir}/..
/bfd
/config.bfd
7006 if test x
${all_targets} = xtrue
; then
7008 # We want all 64-bit targets if we either:
7009 # - run on a 64-bit host or
7010 # - already require 64-bit support for some other target or
7011 # - the --enable-64-bit-bfd option was supplied
7012 # Otherwise we only support all 32-bit targets.
7014 # NOTE: This test must be in sync with the corresponding
7017 if test x
${want64} = xfalse
; then
7018 echo "$as_me:$LINENO: checking for long" >&5
7019 echo $ECHO_N "checking for long... $ECHO_C" >&6
7020 if test "${ac_cv_type_long+set}" = set; then
7021 echo $ECHO_N "(cached) $ECHO_C" >&6
7023 cat >conftest.
$ac_ext <<_ACEOF
7026 cat confdefs.h
>>conftest.
$ac_ext
7027 cat >>conftest.
$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7029 $ac_includes_default
7041 rm -f conftest.
$ac_objext
7042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7043 (eval $ac_compile) 2>conftest.er1
7045 grep -v '^ *+' conftest.er1
>conftest.err
7047 cat conftest.err
>&5
7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); } &&
7050 { ac_try
='test -z "$ac_c_werror_flag"
7051 || test ! -s conftest.err'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; } &&
7057 { ac_try
='test -s conftest.$ac_objext'
7058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); }; }; then
7065 echo "$as_me: failed program was:" >&5
7066 sed 's/^/| /' conftest.
$ac_ext >&5
7070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7072 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7073 echo "${ECHO_T}$ac_cv_type_long" >&6
7075 echo "$as_me:$LINENO: checking size of long" >&5
7076 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7077 if test "${ac_cv_sizeof_long+set}" = set; then
7078 echo $ECHO_N "(cached) $ECHO_C" >&6
7080 if test "$ac_cv_type_long" = yes; then
7081 # The cast to unsigned long works around a bug in the HP C Compiler
7082 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7083 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7084 # This bug is HP SR number 8606223364.
7085 if test "$cross_compiling" = yes; then
7086 # Depending upon the size, compute the lo and hi bounds.
7087 cat >conftest.
$ac_ext <<_ACEOF
7090 cat confdefs.h
>>conftest.
$ac_ext
7091 cat >>conftest.
$ac_ext <<_ACEOF
7092 /* end confdefs.h. */
7093 $ac_includes_default
7097 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7104 rm -f conftest.
$ac_objext
7105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7106 (eval $ac_compile) 2>conftest.er1
7108 grep -v '^ *+' conftest.er1
>conftest.err
7110 cat conftest.err
>&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); } &&
7113 { ac_try
='test -z "$ac_c_werror_flag"
7114 || test ! -s conftest.err'
7115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); }; } &&
7120 { ac_try
='test -s conftest.$ac_objext'
7121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); }; }; then
7128 cat >conftest.
$ac_ext <<_ACEOF
7131 cat confdefs.h
>>conftest.
$ac_ext
7132 cat >>conftest.
$ac_ext <<_ACEOF
7133 /* end confdefs.h. */
7134 $ac_includes_default
7138 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7145 rm -f conftest.
$ac_objext
7146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7147 (eval $ac_compile) 2>conftest.er1
7149 grep -v '^ *+' conftest.er1
>conftest.err
7151 cat conftest.err
>&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } &&
7154 { ac_try
='test -z "$ac_c_werror_flag"
7155 || test ! -s conftest.err'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; } &&
7161 { ac_try
='test -s conftest.$ac_objext'
7162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); }; }; then
7167 ac_hi
=$ac_mid; break
7169 echo "$as_me: failed program was:" >&5
7170 sed 's/^/| /' conftest.
$ac_ext >&5
7172 ac_lo
=`expr $ac_mid + 1`
7173 if test $ac_lo -le $ac_mid; then
7177 ac_mid
=`expr 2 '*' $ac_mid + 1`
7179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7182 echo "$as_me: failed program was:" >&5
7183 sed 's/^/| /' conftest.
$ac_ext >&5
7185 cat >conftest.
$ac_ext <<_ACEOF
7188 cat confdefs.h
>>conftest.
$ac_ext
7189 cat >>conftest.
$ac_ext <<_ACEOF
7190 /* end confdefs.h. */
7191 $ac_includes_default
7195 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7202 rm -f conftest.
$ac_objext
7203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7204 (eval $ac_compile) 2>conftest.er1
7206 grep -v '^ *+' conftest.er1
>conftest.err
7208 cat conftest.err
>&5
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); } &&
7211 { ac_try
='test -z "$ac_c_werror_flag"
7212 || test ! -s conftest.err'
7213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); }; } &&
7218 { ac_try
='test -s conftest.$ac_objext'
7219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223 (exit $ac_status); }; }; then
7226 cat >conftest.
$ac_ext <<_ACEOF
7229 cat confdefs.h
>>conftest.
$ac_ext
7230 cat >>conftest.
$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7232 $ac_includes_default
7236 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7243 rm -f conftest.
$ac_objext
7244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7245 (eval $ac_compile) 2>conftest.er1
7247 grep -v '^ *+' conftest.er1
>conftest.err
7249 cat conftest.err
>&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); } &&
7252 { ac_try
='test -z "$ac_c_werror_flag"
7253 || test ! -s conftest.err'
7254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; } &&
7259 { ac_try
='test -s conftest.$ac_objext'
7260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; }; then
7265 ac_lo
=$ac_mid; break
7267 echo "$as_me: failed program was:" >&5
7268 sed 's/^/| /' conftest.
$ac_ext >&5
7270 ac_hi
=`expr '(' $ac_mid ')' - 1`
7271 if test $ac_mid -le $ac_hi; then
7275 ac_mid
=`expr 2 '*' $ac_mid`
7277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7280 echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.
$ac_ext >&5
7285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7288 # Binary search between lo and hi bounds.
7289 while test "x$ac_lo" != "x$ac_hi"; do
7290 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7291 cat >conftest.
$ac_ext <<_ACEOF
7294 cat confdefs.h
>>conftest.
$ac_ext
7295 cat >>conftest.
$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7297 $ac_includes_default
7301 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7308 rm -f conftest.
$ac_objext
7309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7310 (eval $ac_compile) 2>conftest.er1
7312 grep -v '^ *+' conftest.er1
>conftest.err
7314 cat conftest.err
>&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } &&
7317 { ac_try
='test -z "$ac_c_werror_flag"
7318 || test ! -s conftest.err'
7319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); }; } &&
7324 { ac_try
='test -s conftest.$ac_objext'
7325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); }; }; then
7332 echo "$as_me: failed program was:" >&5
7333 sed 's/^/| /' conftest.
$ac_ext >&5
7335 ac_lo
=`expr '(' $ac_mid ')' + 1`
7337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7340 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7341 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7342 See \`config.log' for more details." >&5
7343 echo "$as_me: error: cannot compute sizeof (long), 77
7344 See \`config.log' for more details." >&2;}
7345 { (exit 1); exit 1; }; } ;;
7348 if test "$cross_compiling" = yes; then
7349 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7350 See \`config.log' for more details." >&5
7351 echo "$as_me: error: cannot run test program while cross compiling
7352 See \`config.log' for more details." >&2;}
7353 { (exit 1); exit 1; }; }
7355 cat >conftest.
$ac_ext <<_ACEOF
7358 cat confdefs.h
>>conftest.
$ac_ext
7359 cat >>conftest.
$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 $ac_includes_default
7362 long longval () { return (long) (sizeof (long)); }
7363 unsigned long ulongval () { return (long) (sizeof (long)); }
7370 FILE *f = fopen ("conftest.val", "w");
7373 if (((long) (sizeof (long))) < 0)
7375 long i = longval ();
7376 if (i != ((long) (sizeof (long))))
7378 fprintf (f, "%ld\n", i);
7382 unsigned long i = ulongval ();
7383 if (i != ((long) (sizeof (long))))
7385 fprintf (f, "%lu\n", i);
7387 exit (ferror (f) || fclose (f) != 0);
7393 rm -f conftest
$ac_exeext
7394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7395 (eval $ac_link) 2>&5
7397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); }; }; then
7404 ac_cv_sizeof_long
=`cat conftest.val`
7406 echo "$as_me: program exited with status $ac_status" >&5
7407 echo "$as_me: failed program was:" >&5
7408 sed 's/^/| /' conftest.
$ac_ext >&5
7411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7412 See \`config.log' for more details." >&5
7413 echo "$as_me: error: cannot compute sizeof (long), 77
7414 See \`config.log' for more details." >&2;}
7415 { (exit 1); exit 1; }; }
7417 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7425 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7426 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7427 cat >>confdefs.h
<<_ACEOF
7428 #define SIZEOF_LONG $ac_cv_sizeof_long
7432 if test "x${ac_cv_sizeof_long}" = "x8"; then
7436 if test x
${want64} = xtrue
; then
7437 TARGET_OBS
='$(ALL_TARGET_OBS) $(ALL_64_TARGET_OBS)'
7439 TARGET_OBS
='$(ALL_TARGET_OBS)'
7445 # For other settings, only the main target counts.
7449 targ
=$target; .
${srcdir}/configure.tgt
7451 # Fetch the default architecture and default target vector from BFD.
7452 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
7454 # We only want the first architecture, so strip off the others if
7455 # there is more than one.
7456 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
7458 if test "x$targ_archs" != x
; then
7460 cat >>confdefs.h
<<_ACEOF
7461 #define DEFAULT_BFD_ARCH $targ_archs
7465 if test "x$targ_defvec" != x
; then
7467 cat >>confdefs.h
<<_ACEOF
7468 #define DEFAULT_BFD_VEC $targ_defvec
7473 # The CLI cannot be disabled yet, but may be in the future.
7476 # Check whether --enable-gdbcli or --disable-gdbcli was given.
7477 if test "${enable_gdbcli+set}" = set; then
7478 enableval
="$enable_gdbcli"
7483 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
7484 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
7485 { (exit 1); exit 1; }; } ;;
7487 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
7488 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
7489 { (exit 1); exit 1; }; } ;;
7494 if test x
"$enable_gdbcli" = xyes
; then
7495 if test -d $srcdir/cli
; then
7496 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
7497 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
7498 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
7499 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
7504 # Check whether --enable-gdbmi or --disable-gdbmi was given.
7505 if test "${enable_gdbmi+set}" = set; then
7506 enableval
="$enable_gdbmi"
7511 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
7512 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
7513 { (exit 1); exit 1; }; } ;;
7518 if test x
"$enable_gdbmi" = xyes
; then
7519 if test -d $srcdir/mi
; then
7520 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
7521 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
7522 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
7523 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
7528 # Check whether --enable-tui or --disable-tui was given.
7529 if test "${enable_tui+set}" = set; then
7530 enableval
="$enable_tui"
7535 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
7536 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
7537 { (exit 1); exit 1; }; } ;;
7544 # Check whether --enable-gdbtk or --disable-gdbtk was given.
7545 if test "${enable_gdbtk+set}" = set; then
7546 enableval
="$enable_gdbtk"
7551 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
7552 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
7553 { (exit 1); exit 1; }; } ;;
7556 if test -d $srcdir/gdbtk
-a -d $srcdir/..
/itcl
; then
7562 # We unconditionally disable gdbtk tests on selected platforms.
7565 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
7566 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
7570 # Libunwind support.
7572 # Check whether --with-libunwind or --without-libunwind was given.
7573 if test "${with_libunwind+set}" = set; then
7574 withval
="$with_libunwind"
7575 case "${withval}" in
7576 yes) enable_libunwind
=yes ;;
7577 no
) enable_libunwind
=no
;;
7578 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
7579 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
7580 { (exit 1); exit 1; }; } ;;
7585 for ac_header
in libunwind.h
7587 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7589 echo "$as_me:$LINENO: checking for $ac_header" >&5
7590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6
7594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7597 # Is the header compilable?
7598 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7599 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7600 cat >conftest.
$ac_ext <<_ACEOF
7603 cat confdefs.h
>>conftest.
$ac_ext
7604 cat >>conftest.
$ac_ext <<_ACEOF
7605 /* end confdefs.h. */
7606 $ac_includes_default
7607 #include <$ac_header>
7609 rm -f conftest.
$ac_objext
7610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7611 (eval $ac_compile) 2>conftest.er1
7613 grep -v '^ *+' conftest.er1
>conftest.err
7615 cat conftest.err
>&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); } &&
7618 { ac_try
='test -z "$ac_c_werror_flag"
7619 || test ! -s conftest.err'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; } &&
7625 { ac_try
='test -s conftest.$ac_objext'
7626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); }; }; then
7631 ac_header_compiler
=yes
7633 echo "$as_me: failed program was:" >&5
7634 sed 's/^/| /' conftest.
$ac_ext >&5
7636 ac_header_compiler
=no
7638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7640 echo "${ECHO_T}$ac_header_compiler" >&6
7642 # Is the header present?
7643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7645 cat >conftest.
$ac_ext <<_ACEOF
7648 cat confdefs.h
>>conftest.
$ac_ext
7649 cat >>conftest.
$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 #include <$ac_header>
7653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7656 grep -v '^ *+' conftest.er1
>conftest.err
7658 cat conftest.err
>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); } >/dev
/null
; then
7661 if test -s conftest.err
; then
7662 ac_cpp_err
=$ac_c_preproc_warn_flag
7663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7670 if test -z "$ac_cpp_err"; then
7671 ac_header_preproc
=yes
7673 echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.
$ac_ext >&5
7676 ac_header_preproc
=no
7678 rm -f conftest.err conftest.
$ac_ext
7679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7680 echo "${ECHO_T}$ac_header_preproc" >&6
7682 # So? What about this header?
7683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7688 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7689 ac_header_preproc
=yes
7692 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7694 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7695 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7696 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7697 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7698 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7699 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7702 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7703 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7706 ## ------------------------------------------ ##
7707 ## Report this to the AC_PACKAGE_NAME lists. ##
7708 ## ------------------------------------------ ##
7711 sed "s/^/$as_me: WARNING: /" >&2
7714 echo "$as_me:$LINENO: checking for $ac_header" >&5
7715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 eval "$as_ac_Header=\$ac_header_preproc"
7721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7726 cat >>confdefs.h
<<_ACEOF
7727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7735 for ac_header
in libunwind-ia64.h
7737 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7739 echo "$as_me:$LINENO: checking for $ac_header" >&5
7740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7742 echo $ECHO_N "(cached) $ECHO_C" >&6
7744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7747 # Is the header compilable?
7748 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7749 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7750 cat >conftest.
$ac_ext <<_ACEOF
7753 cat confdefs.h
>>conftest.
$ac_ext
7754 cat >>conftest.
$ac_ext <<_ACEOF
7755 /* end confdefs.h. */
7756 $ac_includes_default
7757 #include <$ac_header>
7759 rm -f conftest.
$ac_objext
7760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7761 (eval $ac_compile) 2>conftest.er1
7763 grep -v '^ *+' conftest.er1
>conftest.err
7765 cat conftest.err
>&5
7766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767 (exit $ac_status); } &&
7768 { ac_try
='test -z "$ac_c_werror_flag"
7769 || test ! -s conftest.err'
7770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); }; } &&
7775 { ac_try
='test -s conftest.$ac_objext'
7776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); }; }; then
7781 ac_header_compiler
=yes
7783 echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.
$ac_ext >&5
7786 ac_header_compiler
=no
7788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7790 echo "${ECHO_T}$ac_header_compiler" >&6
7792 # Is the header present?
7793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7795 cat >conftest.
$ac_ext <<_ACEOF
7798 cat confdefs.h
>>conftest.
$ac_ext
7799 cat >>conftest.
$ac_ext <<_ACEOF
7800 /* end confdefs.h. */
7801 #include <$ac_header>
7803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7806 grep -v '^ *+' conftest.er1
>conftest.err
7808 cat conftest.err
>&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } >/dev
/null
; then
7811 if test -s conftest.err
; then
7812 ac_cpp_err
=$ac_c_preproc_warn_flag
7813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7820 if test -z "$ac_cpp_err"; then
7821 ac_header_preproc
=yes
7823 echo "$as_me: failed program was:" >&5
7824 sed 's/^/| /' conftest.
$ac_ext >&5
7826 ac_header_preproc
=no
7828 rm -f conftest.err conftest.
$ac_ext
7829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7830 echo "${ECHO_T}$ac_header_preproc" >&6
7832 # So? What about this header?
7833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7839 ac_header_preproc
=yes
7842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7856 ## ------------------------------------------ ##
7857 ## Report this to the AC_PACKAGE_NAME lists. ##
7858 ## ------------------------------------------ ##
7861 sed "s/^/$as_me: WARNING: /" >&2
7864 echo "$as_me:$LINENO: checking for $ac_header" >&5
7865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 eval "$as_ac_Header=\$ac_header_preproc"
7871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7876 cat >>confdefs.h
<<_ACEOF
7877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7884 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
7885 enable_libunwind
=yes;
7890 if test x
"$enable_libunwind" = xyes
; then
7892 for ac_header
in libunwind.h
7894 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7896 echo "$as_me:$LINENO: checking for $ac_header" >&5
7897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7904 # Is the header compilable?
7905 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7907 cat >conftest.
$ac_ext <<_ACEOF
7910 cat confdefs.h
>>conftest.
$ac_ext
7911 cat >>conftest.
$ac_ext <<_ACEOF
7912 /* end confdefs.h. */
7913 $ac_includes_default
7914 #include <$ac_header>
7916 rm -f conftest.
$ac_objext
7917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7918 (eval $ac_compile) 2>conftest.er1
7920 grep -v '^ *+' conftest.er1
>conftest.err
7922 cat conftest.err
>&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); } &&
7925 { ac_try
='test -z "$ac_c_werror_flag"
7926 || test ! -s conftest.err'
7927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); }; } &&
7932 { ac_try
='test -s conftest.$ac_objext'
7933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); }; }; then
7938 ac_header_compiler
=yes
7940 echo "$as_me: failed program was:" >&5
7941 sed 's/^/| /' conftest.
$ac_ext >&5
7943 ac_header_compiler
=no
7945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7946 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7947 echo "${ECHO_T}$ac_header_compiler" >&6
7949 # Is the header present?
7950 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7952 cat >conftest.
$ac_ext <<_ACEOF
7955 cat confdefs.h
>>conftest.
$ac_ext
7956 cat >>conftest.
$ac_ext <<_ACEOF
7957 /* end confdefs.h. */
7958 #include <$ac_header>
7960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7961 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7963 grep -v '^ *+' conftest.er1
>conftest.err
7965 cat conftest.err
>&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); } >/dev
/null
; then
7968 if test -s conftest.err
; then
7969 ac_cpp_err
=$ac_c_preproc_warn_flag
7970 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7977 if test -z "$ac_cpp_err"; then
7978 ac_header_preproc
=yes
7980 echo "$as_me: failed program was:" >&5
7981 sed 's/^/| /' conftest.
$ac_ext >&5
7983 ac_header_preproc
=no
7985 rm -f conftest.err conftest.
$ac_ext
7986 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7987 echo "${ECHO_T}$ac_header_preproc" >&6
7989 # So? What about this header?
7990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7992 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7993 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7995 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7996 ac_header_preproc
=yes
7999 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8001 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8003 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8004 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8005 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8006 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8008 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8009 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8010 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8013 ## ------------------------------------------ ##
8014 ## Report this to the AC_PACKAGE_NAME lists. ##
8015 ## ------------------------------------------ ##
8018 sed "s/^/$as_me: WARNING: /" >&2
8021 echo "$as_me:$LINENO: checking for $ac_header" >&5
8022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8024 echo $ECHO_N "(cached) $ECHO_C" >&6
8026 eval "$as_ac_Header=\$ac_header_preproc"
8028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8033 cat >>confdefs.h
<<_ACEOF
8034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8042 for ac_header
in libunwind-ia64.h
8044 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8046 echo "$as_me:$LINENO: checking for $ac_header" >&5
8047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8054 # Is the header compilable?
8055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8057 cat >conftest.
$ac_ext <<_ACEOF
8060 cat confdefs.h
>>conftest.
$ac_ext
8061 cat >>conftest.
$ac_ext <<_ACEOF
8062 /* end confdefs.h. */
8063 $ac_includes_default
8064 #include <$ac_header>
8066 rm -f conftest.
$ac_objext
8067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8068 (eval $ac_compile) 2>conftest.er1
8070 grep -v '^ *+' conftest.er1
>conftest.err
8072 cat conftest.err
>&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); } &&
8075 { ac_try
='test -z "$ac_c_werror_flag"
8076 || test ! -s conftest.err'
8077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); }; } &&
8082 { ac_try
='test -s conftest.$ac_objext'
8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); }; }; then
8088 ac_header_compiler
=yes
8090 echo "$as_me: failed program was:" >&5
8091 sed 's/^/| /' conftest.
$ac_ext >&5
8093 ac_header_compiler
=no
8095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8097 echo "${ECHO_T}$ac_header_compiler" >&6
8099 # Is the header present?
8100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8102 cat >conftest.
$ac_ext <<_ACEOF
8105 cat confdefs.h
>>conftest.
$ac_ext
8106 cat >>conftest.
$ac_ext <<_ACEOF
8107 /* end confdefs.h. */
8108 #include <$ac_header>
8110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8113 grep -v '^ *+' conftest.er1
>conftest.err
8115 cat conftest.err
>&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); } >/dev
/null
; then
8118 if test -s conftest.err
; then
8119 ac_cpp_err
=$ac_c_preproc_warn_flag
8120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8127 if test -z "$ac_cpp_err"; then
8128 ac_header_preproc
=yes
8130 echo "$as_me: failed program was:" >&5
8131 sed 's/^/| /' conftest.
$ac_ext >&5
8133 ac_header_preproc
=no
8135 rm -f conftest.err conftest.
$ac_ext
8136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8137 echo "${ECHO_T}$ac_header_preproc" >&6
8139 # So? What about this header?
8140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8146 ac_header_preproc
=yes
8149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8163 ## ------------------------------------------ ##
8164 ## Report this to the AC_PACKAGE_NAME lists. ##
8165 ## ------------------------------------------ ##
8168 sed "s/^/$as_me: WARNING: /" >&2
8171 echo "$as_me:$LINENO: checking for $ac_header" >&5
8172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 eval "$as_ac_Header=\$ac_header_preproc"
8178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8183 cat >>confdefs.h
<<_ACEOF
8184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8192 cat >>confdefs.h
<<\_ACEOF
8193 #define HAVE_LIBUNWIND 1
8196 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
8197 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
8198 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
8201 # Profiling support.
8202 # Check whether --enable-profiling or --disable-profiling was given.
8203 if test "${enable_profiling+set}" = set; then
8204 enableval
="$enable_profiling"
8209 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
8210 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
8211 { (exit 1); exit 1; }; } ;;
8219 for ac_func
in monstartup _mcleanup
8221 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8222 echo "$as_me:$LINENO: checking for $ac_func" >&5
8223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8224 if eval "test \"\${$as_ac_var+set}\" = set"; then
8225 echo $ECHO_N "(cached) $ECHO_C" >&6
8227 cat >conftest.
$ac_ext <<_ACEOF
8230 cat confdefs.h
>>conftest.
$ac_ext
8231 cat >>conftest.
$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8235 #define $ac_func innocuous_$ac_func
8237 /* System header to define __stub macros and hopefully few prototypes,
8238 which can conflict with char $ac_func (); below.
8239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8240 <limits.h> exists even on freestanding compilers. */
8243 # include <limits.h>
8245 # include <assert.h>
8250 /* Override any gcc2 internal prototype to avoid an error. */
8255 /* We use char because int might match the return type of a gcc2
8256 builtin and then its argument prototype would still apply. */
8258 /* The GNU C library defines this for functions which it implements
8259 to always fail with ENOSYS. Some functions are actually named
8260 something starting with __ and the normal name is an alias. */
8261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8264 char (*f) () = $ac_func;
8273 return f != $ac_func;
8278 rm -f conftest.
$ac_objext conftest
$ac_exeext
8279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8280 (eval $ac_link) 2>conftest.er1
8282 grep -v '^ *+' conftest.er1
>conftest.err
8284 cat conftest.err
>&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); } &&
8287 { ac_try
='test -z "$ac_c_werror_flag"
8288 || test ! -s conftest.err'
8289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); }; } &&
8294 { ac_try
='test -s conftest$ac_exeext'
8295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); }; }; then
8300 eval "$as_ac_var=yes"
8302 echo "$as_me: failed program was:" >&5
8303 sed 's/^/| /' conftest.
$ac_ext >&5
8305 eval "$as_ac_var=no"
8307 rm -f conftest.err conftest.
$ac_objext \
8308 conftest
$ac_exeext conftest.
$ac_ext
8310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8312 if test `eval echo '${'$as_ac_var'}'` = yes; then
8313 cat >>confdefs.h
<<_ACEOF
8314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8320 echo "$as_me:$LINENO: checking for _etext" >&5
8321 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
8322 if test "${ac_cv_var__etext+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8325 cat >conftest.
$ac_ext <<_ACEOF
8328 cat confdefs.h
>>conftest.
$ac_ext
8329 cat >>conftest.
$ac_ext <<_ACEOF
8330 /* end confdefs.h. */
8342 rm -f conftest.
$ac_objext conftest
$ac_exeext
8343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8344 (eval $ac_link) 2>conftest.er1
8346 grep -v '^ *+' conftest.er1
>conftest.err
8348 cat conftest.err
>&5
8349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 (exit $ac_status); } &&
8351 { ac_try
='test -z "$ac_c_werror_flag"
8352 || test ! -s conftest.err'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; } &&
8358 { ac_try
='test -s conftest$ac_exeext'
8359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); }; }; then
8364 ac_cv_var__etext
=yes
8366 echo "$as_me: failed program was:" >&5
8367 sed 's/^/| /' conftest.
$ac_ext >&5
8371 rm -f conftest.err conftest.
$ac_objext \
8372 conftest
$ac_exeext conftest.
$ac_ext
8374 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
8375 echo "${ECHO_T}$ac_cv_var__etext" >&6
8376 if test $ac_cv_var__etext = yes; then
8378 cat >>confdefs.h
<<\_ACEOF
8379 #define HAVE__ETEXT 1
8383 echo "$as_me:$LINENO: checking for etext" >&5
8384 echo $ECHO_N "checking for etext... $ECHO_C" >&6
8385 if test "${ac_cv_var_etext+set}" = set; then
8386 echo $ECHO_N "(cached) $ECHO_C" >&6
8388 cat >conftest.
$ac_ext <<_ACEOF
8391 cat confdefs.h
>>conftest.
$ac_ext
8392 cat >>conftest.
$ac_ext <<_ACEOF
8393 /* end confdefs.h. */
8405 rm -f conftest.
$ac_objext conftest
$ac_exeext
8406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8407 (eval $ac_link) 2>conftest.er1
8409 grep -v '^ *+' conftest.er1
>conftest.err
8411 cat conftest.err
>&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); } &&
8414 { ac_try
='test -z "$ac_c_werror_flag"
8415 || test ! -s conftest.err'
8416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); }; } &&
8421 { ac_try
='test -s conftest$ac_exeext'
8422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); }; }; then
8429 echo "$as_me: failed program was:" >&5
8430 sed 's/^/| /' conftest.
$ac_ext >&5
8434 rm -f conftest.err conftest.
$ac_objext \
8435 conftest
$ac_exeext conftest.
$ac_ext
8437 echo "$as_me:$LINENO: result: $ac_cv_var_etext" >&5
8438 echo "${ECHO_T}$ac_cv_var_etext" >&6
8439 if test $ac_cv_var_etext = yes; then
8441 cat >>confdefs.h
<<\_ACEOF
8442 #define HAVE_ETEXT 1
8446 if test "$enable_profiling" = yes ; then
8447 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
8448 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
8449 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
8450 { (exit 1); exit 1; }; }
8453 OLD_CFLAGS
="$CFLAGS"
8454 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
8456 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
8457 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
8458 if test "${ac_cv_cc_supports_pg+set}" = set; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8461 cat >conftest.
$ac_ext <<_ACEOF
8464 cat confdefs.h
>>conftest.
$ac_ext
8465 cat >>conftest.
$ac_ext <<_ACEOF
8466 /* end confdefs.h. */
8476 rm -f conftest.
$ac_objext
8477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8478 (eval $ac_compile) 2>conftest.er1
8480 grep -v '^ *+' conftest.er1
>conftest.err
8482 cat conftest.err
>&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); } &&
8485 { ac_try
='test -z "$ac_c_werror_flag"
8486 || test ! -s conftest.err'
8487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); }; } &&
8492 { ac_try
='test -s conftest.$ac_objext'
8493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); }; }; then
8498 ac_cv_cc_supports_pg
=yes
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.
$ac_ext >&5
8503 ac_cv_cc_supports_pg
=no
8505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8507 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
8508 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
8510 if test $ac_cv_cc_supports_pg = no
; then
8511 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
8512 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
8513 { (exit 1); exit 1; }; }
8516 CFLAGS
="$OLD_CFLAGS"
8519 # --------------------- #
8520 # Checks for programs. #
8521 # --------------------- #
8523 for ac_prog
in gawk mawk nawk
awk
8525 # Extract the first word of "$ac_prog", so it can be a program name with args.
8526 set dummy
$ac_prog; ac_word
=$2
8527 echo "$as_me:$LINENO: checking for $ac_word" >&5
8528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8529 if test "${ac_cv_prog_AWK+set}" = set; then
8530 echo $ECHO_N "(cached) $ECHO_C" >&6
8532 if test -n "$AWK"; then
8533 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
8535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8539 test -z "$as_dir" && as_dir
=.
8540 for ac_exec_ext
in '' $ac_executable_extensions; do
8541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8542 ac_cv_prog_AWK
="$ac_prog"
8543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8552 if test -n "$AWK"; then
8553 echo "$as_me:$LINENO: result: $AWK" >&5
8554 echo "${ECHO_T}$AWK" >&6
8556 echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6
8560 test -n "$AWK" && break
8563 # Find a good install program. We prefer a C program (faster),
8564 # so one script is as good as another. But avoid the broken or
8565 # incompatible versions:
8566 # SysV /etc/install, /usr/sbin/install
8567 # SunOS /usr/etc/install
8568 # IRIX /sbin/install
8570 # AmigaOS /C/install, which installs bootblocks on floppy discs
8571 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8572 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8573 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8574 # OS/2's system install, which has a completely different semantic
8575 # ./install, which can be erroneously created by make from ./install.sh.
8576 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8577 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8578 if test -z "$INSTALL"; then
8579 if test "${ac_cv_path_install+set}" = set; then
8580 echo $ECHO_N "(cached) $ECHO_C" >&6
8582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8586 test -z "$as_dir" && as_dir
=.
8587 # Account for people who put trailing slashes in PATH elements.
8589 .
/ | .
// |
/cC
/* | \
8590 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8591 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8594 # OSF1 and SCO ODT 3.0 have their own names for install.
8595 # Don't use installbsd from OSF since it installs stuff as root
8597 for ac_prog
in ginstall scoinst
install; do
8598 for ac_exec_ext
in '' $ac_executable_extensions; do
8599 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8600 if test $ac_prog = install &&
8601 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8602 # AIX install. It has an incompatible calling convention.
8604 elif test $ac_prog = install &&
8605 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8606 # program-specific install script used by HP pwplus--don't use.
8609 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8621 if test "${ac_cv_path_install+set}" = set; then
8622 INSTALL
=$ac_cv_path_install
8624 # As a last resort, use the slow shell script. We don't cache a
8625 # path for INSTALL within a source directory, because that will
8626 # break other packages using the cache if that directory is
8627 # removed, or if the path is relative.
8628 INSTALL
=$ac_install_sh
8631 echo "$as_me:$LINENO: result: $INSTALL" >&5
8632 echo "${ECHO_T}$INSTALL" >&6
8634 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8635 # It thinks the first close brace ends the variable substitution.
8636 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8638 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8640 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8642 echo "$as_me:$LINENO: checking whether ln -s works" >&5
8643 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8645 if test "$LN_S" = "ln -s"; then
8646 echo "$as_me:$LINENO: result: yes" >&5
8647 echo "${ECHO_T}yes" >&6
8649 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8650 echo "${ECHO_T}no, using $LN_S" >&6
8653 if test -n "$ac_tool_prefix"; then
8654 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8655 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8656 echo "$as_me:$LINENO: checking for $ac_word" >&5
8657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8658 if test "${ac_cv_prog_RANLIB+set}" = set; then
8659 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 if test -n "$RANLIB"; then
8662 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8668 test -z "$as_dir" && as_dir
=.
8669 for ac_exec_ext
in '' $ac_executable_extensions; do
8670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8671 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8680 RANLIB
=$ac_cv_prog_RANLIB
8681 if test -n "$RANLIB"; then
8682 echo "$as_me:$LINENO: result: $RANLIB" >&5
8683 echo "${ECHO_T}$RANLIB" >&6
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8690 if test -z "$ac_cv_prog_RANLIB"; then
8691 ac_ct_RANLIB
=$RANLIB
8692 # Extract the first word of "ranlib", so it can be a program name with args.
8693 set dummy ranlib
; ac_word
=$2
8694 echo "$as_me:$LINENO: checking for $ac_word" >&5
8695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8696 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 if test -n "$ac_ct_RANLIB"; then
8700 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8706 test -z "$as_dir" && as_dir
=.
8707 for ac_exec_ext
in '' $ac_executable_extensions; do
8708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8709 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8716 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
8719 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8720 if test -n "$ac_ct_RANLIB"; then
8721 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8722 echo "${ECHO_T}$ac_ct_RANLIB" >&6
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8728 RANLIB
=$ac_ct_RANLIB
8730 RANLIB
="$ac_cv_prog_RANLIB"
8733 for ac_prog
in 'bison -y' byacc
8735 # Extract the first word of "$ac_prog", so it can be a program name with args.
8736 set dummy
$ac_prog; ac_word
=$2
8737 echo "$as_me:$LINENO: checking for $ac_word" >&5
8738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8739 if test "${ac_cv_prog_YACC+set}" = set; then
8740 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 if test -n "$YACC"; then
8743 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8749 test -z "$as_dir" && as_dir
=.
8750 for ac_exec_ext
in '' $ac_executable_extensions; do
8751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8752 ac_cv_prog_YACC
="$ac_prog"
8753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8761 YACC
=$ac_cv_prog_YACC
8762 if test -n "$YACC"; then
8763 echo "$as_me:$LINENO: result: $YACC" >&5
8764 echo "${ECHO_T}$YACC" >&6
8766 echo "$as_me:$LINENO: result: no" >&5
8767 echo "${ECHO_T}no" >&6
8770 test -n "$YACC" && break
8772 test -n "$YACC" || YACC
="yacc"
8775 if test -n "$ac_tool_prefix"; then
8776 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8777 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8778 echo "$as_me:$LINENO: checking for $ac_word" >&5
8779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8780 if test "${ac_cv_prog_AR+set}" = set; then
8781 echo $ECHO_N "(cached) $ECHO_C" >&6
8783 if test -n "$AR"; then
8784 ac_cv_prog_AR
="$AR" # Let the user override the test.
8786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8790 test -z "$as_dir" && as_dir
=.
8791 for ac_exec_ext
in '' $ac_executable_extensions; do
8792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8793 ac_cv_prog_AR
="${ac_tool_prefix}ar"
8794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8803 if test -n "$AR"; then
8804 echo "$as_me:$LINENO: result: $AR" >&5
8805 echo "${ECHO_T}$AR" >&6
8807 echo "$as_me:$LINENO: result: no" >&5
8808 echo "${ECHO_T}no" >&6
8812 if test -z "$ac_cv_prog_AR"; then
8814 # Extract the first word of "ar", so it can be a program name with args.
8815 set dummy
ar; ac_word
=$2
8816 echo "$as_me:$LINENO: checking for $ac_word" >&5
8817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8818 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 if test -n "$ac_ct_AR"; then
8822 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
8824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8828 test -z "$as_dir" && as_dir
=.
8829 for ac_exec_ext
in '' $ac_executable_extensions; do
8830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8831 ac_cv_prog_ac_ct_AR
="ar"
8832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8840 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
8841 if test -n "$ac_ct_AR"; then
8842 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8843 echo "${ECHO_T}$ac_ct_AR" >&6
8845 echo "$as_me:$LINENO: result: no" >&5
8846 echo "${ECHO_T}no" >&6
8854 if test -n "$ac_tool_prefix"; then
8855 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8856 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
8857 echo "$as_me:$LINENO: checking for $ac_word" >&5
8858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8859 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8862 if test -n "$DLLTOOL"; then
8863 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
8865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8869 test -z "$as_dir" && as_dir
=.
8870 for ac_exec_ext
in '' $ac_executable_extensions; do
8871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8872 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
8873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8881 DLLTOOL
=$ac_cv_prog_DLLTOOL
8882 if test -n "$DLLTOOL"; then
8883 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8884 echo "${ECHO_T}$DLLTOOL" >&6
8886 echo "$as_me:$LINENO: result: no" >&5
8887 echo "${ECHO_T}no" >&6
8891 if test -z "$ac_cv_prog_DLLTOOL"; then
8892 ac_ct_DLLTOOL
=$DLLTOOL
8893 # Extract the first word of "dlltool", so it can be a program name with args.
8894 set dummy dlltool
; ac_word
=$2
8895 echo "$as_me:$LINENO: checking for $ac_word" >&5
8896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8897 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8898 echo $ECHO_N "(cached) $ECHO_C" >&6
8900 if test -n "$ac_ct_DLLTOOL"; then
8901 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
8903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8907 test -z "$as_dir" && as_dir
=.
8908 for ac_exec_ext
in '' $ac_executable_extensions; do
8909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8910 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
8911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8919 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
8920 if test -n "$ac_ct_DLLTOOL"; then
8921 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8922 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
8924 echo "$as_me:$LINENO: result: no" >&5
8925 echo "${ECHO_T}no" >&6
8928 DLLTOOL
=$ac_ct_DLLTOOL
8930 DLLTOOL
="$ac_cv_prog_DLLTOOL"
8933 if test -n "$ac_tool_prefix"; then
8934 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8935 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
8936 echo "$as_me:$LINENO: checking for $ac_word" >&5
8937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8938 if test "${ac_cv_prog_WINDRES+set}" = set; then
8939 echo $ECHO_N "(cached) $ECHO_C" >&6
8941 if test -n "$WINDRES"; then
8942 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
8944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir
=.
8949 for ac_exec_ext
in '' $ac_executable_extensions; do
8950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8951 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
8952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8960 WINDRES
=$ac_cv_prog_WINDRES
8961 if test -n "$WINDRES"; then
8962 echo "$as_me:$LINENO: result: $WINDRES" >&5
8963 echo "${ECHO_T}$WINDRES" >&6
8965 echo "$as_me:$LINENO: result: no" >&5
8966 echo "${ECHO_T}no" >&6
8970 if test -z "$ac_cv_prog_WINDRES"; then
8971 ac_ct_WINDRES
=$WINDRES
8972 # Extract the first word of "windres", so it can be a program name with args.
8973 set dummy windres
; ac_word
=$2
8974 echo "$as_me:$LINENO: checking for $ac_word" >&5
8975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8976 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
8977 echo $ECHO_N "(cached) $ECHO_C" >&6
8979 if test -n "$ac_ct_WINDRES"; then
8980 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
8982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8986 test -z "$as_dir" && as_dir
=.
8987 for ac_exec_ext
in '' $ac_executable_extensions; do
8988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8989 ac_cv_prog_ac_ct_WINDRES
="windres"
8990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8998 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
8999 if test -n "$ac_ct_WINDRES"; then
9000 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
9001 echo "${ECHO_T}$ac_ct_WINDRES" >&6
9003 echo "$as_me:$LINENO: result: no" >&5
9004 echo "${ECHO_T}no" >&6
9007 WINDRES
=$ac_ct_WINDRES
9009 WINDRES
="$ac_cv_prog_WINDRES"
9013 # Needed for GNU/Hurd.
9014 if test -n "$ac_tool_prefix"; then
9015 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
9016 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
9017 echo "$as_me:$LINENO: checking for $ac_word" >&5
9018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9019 if test "${ac_cv_prog_MIG+set}" = set; then
9020 echo $ECHO_N "(cached) $ECHO_C" >&6
9022 if test -n "$MIG"; then
9023 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
9025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9029 test -z "$as_dir" && as_dir
=.
9030 for ac_exec_ext
in '' $ac_executable_extensions; do
9031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9032 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
9033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9042 if test -n "$MIG"; then
9043 echo "$as_me:$LINENO: result: $MIG" >&5
9044 echo "${ECHO_T}$MIG" >&6
9046 echo "$as_me:$LINENO: result: no" >&5
9047 echo "${ECHO_T}no" >&6
9051 if test -z "$ac_cv_prog_MIG"; then
9053 # Extract the first word of "mig", so it can be a program name with args.
9054 set dummy mig
; ac_word
=$2
9055 echo "$as_me:$LINENO: checking for $ac_word" >&5
9056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9057 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
9058 echo $ECHO_N "(cached) $ECHO_C" >&6
9060 if test -n "$ac_ct_MIG"; then
9061 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
9063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9067 test -z "$as_dir" && as_dir
=.
9068 for ac_exec_ext
in '' $ac_executable_extensions; do
9069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9070 ac_cv_prog_ac_ct_MIG
="mig"
9071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9079 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
9080 if test -n "$ac_ct_MIG"; then
9081 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
9082 echo "${ECHO_T}$ac_ct_MIG" >&6
9084 echo "$as_me:$LINENO: result: no" >&5
9085 echo "${ECHO_T}no" >&6
9090 MIG
="$ac_cv_prog_MIG"
9094 # ---------------------- #
9095 # Checks for libraries. #
9096 # ---------------------- #
9098 # We might need to link with -lm; most simulators need it.
9100 echo "$as_me:$LINENO: checking for main in -lm" >&5
9101 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
9102 if test "${ac_cv_lib_m_main+set}" = set; then
9103 echo $ECHO_N "(cached) $ECHO_C" >&6
9105 ac_check_lib_save_LIBS
=$LIBS
9107 cat >conftest.
$ac_ext <<_ACEOF
9110 cat confdefs.h
>>conftest.
$ac_ext
9111 cat >>conftest.
$ac_ext <<_ACEOF
9112 /* end confdefs.h. */
9123 rm -f conftest.
$ac_objext conftest
$ac_exeext
9124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9125 (eval $ac_link) 2>conftest.er1
9127 grep -v '^ *+' conftest.er1
>conftest.err
9129 cat conftest.err
>&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } &&
9132 { ac_try
='test -z "$ac_c_werror_flag"
9133 || test ! -s conftest.err'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; } &&
9139 { ac_try
='test -s conftest$ac_exeext'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; }; then
9145 ac_cv_lib_m_main
=yes
9147 echo "$as_me: failed program was:" >&5
9148 sed 's/^/| /' conftest.
$ac_ext >&5
9152 rm -f conftest.err conftest.
$ac_objext \
9153 conftest
$ac_exeext conftest.
$ac_ext
9154 LIBS
=$ac_check_lib_save_LIBS
9156 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
9157 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
9158 if test $ac_cv_lib_m_main = yes; then
9159 cat >>confdefs.h
<<_ACEOF
9168 # We need to link with -lw to get `wctype' on Solaris before Solaris
9169 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
9170 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
9171 # is known to have this problem). Therefore we avoid libw if we can.
9172 echo "$as_me:$LINENO: checking for wctype" >&5
9173 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
9174 if test "${ac_cv_func_wctype+set}" = set; then
9175 echo $ECHO_N "(cached) $ECHO_C" >&6
9177 cat >conftest.
$ac_ext <<_ACEOF
9180 cat confdefs.h
>>conftest.
$ac_ext
9181 cat >>conftest.
$ac_ext <<_ACEOF
9182 /* end confdefs.h. */
9183 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
9184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9185 #define wctype innocuous_wctype
9187 /* System header to define __stub macros and hopefully few prototypes,
9188 which can conflict with char wctype (); below.
9189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9190 <limits.h> exists even on freestanding compilers. */
9193 # include <limits.h>
9195 # include <assert.h>
9200 /* Override any gcc2 internal prototype to avoid an error. */
9205 /* We use char because int might match the return type of a gcc2
9206 builtin and then its argument prototype would still apply. */
9208 /* The GNU C library defines this for functions which it implements
9209 to always fail with ENOSYS. Some functions are actually named
9210 something starting with __ and the normal name is an alias. */
9211 #if defined (__stub_wctype) || defined (__stub___wctype)
9214 char (*f) () = wctype;
9228 rm -f conftest.
$ac_objext conftest
$ac_exeext
9229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9230 (eval $ac_link) 2>conftest.er1
9232 grep -v '^ *+' conftest.er1
>conftest.err
9234 cat conftest.err
>&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } &&
9237 { ac_try
='test -z "$ac_c_werror_flag"
9238 || test ! -s conftest.err'
9239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243 (exit $ac_status); }; } &&
9244 { ac_try
='test -s conftest$ac_exeext'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; }; then
9250 ac_cv_func_wctype
=yes
9252 echo "$as_me: failed program was:" >&5
9253 sed 's/^/| /' conftest.
$ac_ext >&5
9255 ac_cv_func_wctype
=no
9257 rm -f conftest.err conftest.
$ac_objext \
9258 conftest
$ac_exeext conftest.
$ac_ext
9260 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
9261 echo "${ECHO_T}$ac_cv_func_wctype" >&6
9262 if test $ac_cv_func_wctype = yes; then
9266 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
9267 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
9268 if test "${ac_cv_lib_w_wctype+set}" = set; then
9269 echo $ECHO_N "(cached) $ECHO_C" >&6
9271 ac_check_lib_save_LIBS
=$LIBS
9273 cat >conftest.
$ac_ext <<_ACEOF
9276 cat confdefs.h
>>conftest.
$ac_ext
9277 cat >>conftest.
$ac_ext <<_ACEOF
9278 /* end confdefs.h. */
9280 /* Override any gcc2 internal prototype to avoid an error. */
9284 /* We use char because int might match the return type of a gcc2
9285 builtin and then its argument prototype would still apply. */
9295 rm -f conftest.
$ac_objext conftest
$ac_exeext
9296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9297 (eval $ac_link) 2>conftest.er1
9299 grep -v '^ *+' conftest.er1
>conftest.err
9301 cat conftest.err
>&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } &&
9304 { ac_try
='test -z "$ac_c_werror_flag"
9305 || test ! -s conftest.err'
9306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); }; } &&
9311 { ac_try
='test -s conftest$ac_exeext'
9312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); }; }; then
9317 ac_cv_lib_w_wctype
=yes
9319 echo "$as_me: failed program was:" >&5
9320 sed 's/^/| /' conftest.
$ac_ext >&5
9322 ac_cv_lib_w_wctype
=no
9324 rm -f conftest.err conftest.
$ac_objext \
9325 conftest
$ac_exeext conftest.
$ac_ext
9326 LIBS
=$ac_check_lib_save_LIBS
9328 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
9329 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
9330 if test $ac_cv_lib_w_wctype = yes; then
9331 cat >>confdefs.h
<<_ACEOF
9342 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
9343 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
9344 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
9345 if test "${ac_cv_search_gethostbyname+set}" = set; then
9346 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 ac_func_search_save_LIBS
=$LIBS
9349 ac_cv_search_gethostbyname
=no
9350 cat >conftest.
$ac_ext <<_ACEOF
9353 cat confdefs.h
>>conftest.
$ac_ext
9354 cat >>conftest.
$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9357 /* Override any gcc2 internal prototype to avoid an error. */
9361 /* We use char because int might match the return type of a gcc2
9362 builtin and then its argument prototype would still apply. */
9363 char gethostbyname ();
9372 rm -f conftest.
$ac_objext conftest
$ac_exeext
9373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9374 (eval $ac_link) 2>conftest.er1
9376 grep -v '^ *+' conftest.er1
>conftest.err
9378 cat conftest.err
>&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } &&
9381 { ac_try
='test -z "$ac_c_werror_flag"
9382 || test ! -s conftest.err'
9383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); }; } &&
9388 { ac_try
='test -s conftest$ac_exeext'
9389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); }; }; then
9394 ac_cv_search_gethostbyname
="none required"
9396 echo "$as_me: failed program was:" >&5
9397 sed 's/^/| /' conftest.
$ac_ext >&5
9400 rm -f conftest.err conftest.
$ac_objext \
9401 conftest
$ac_exeext conftest.
$ac_ext
9402 if test "$ac_cv_search_gethostbyname" = no
; then
9403 for ac_lib
in nsl
; do
9404 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9405 cat >conftest.
$ac_ext <<_ACEOF
9408 cat confdefs.h
>>conftest.
$ac_ext
9409 cat >>conftest.
$ac_ext <<_ACEOF
9410 /* end confdefs.h. */
9412 /* Override any gcc2 internal prototype to avoid an error. */
9416 /* We use char because int might match the return type of a gcc2
9417 builtin and then its argument prototype would still apply. */
9418 char gethostbyname ();
9427 rm -f conftest.
$ac_objext conftest
$ac_exeext
9428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9429 (eval $ac_link) 2>conftest.er1
9431 grep -v '^ *+' conftest.er1
>conftest.err
9433 cat conftest.err
>&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); } &&
9436 { ac_try
='test -z "$ac_c_werror_flag"
9437 || test ! -s conftest.err'
9438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); }; } &&
9443 { ac_try
='test -s conftest$ac_exeext'
9444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); }; }; then
9449 ac_cv_search_gethostbyname
="-l$ac_lib"
9452 echo "$as_me: failed program was:" >&5
9453 sed 's/^/| /' conftest.
$ac_ext >&5
9456 rm -f conftest.err conftest.
$ac_objext \
9457 conftest
$ac_exeext conftest.
$ac_ext
9460 LIBS
=$ac_func_search_save_LIBS
9462 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
9463 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
9464 if test "$ac_cv_search_gethostbyname" != no
; then
9465 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
9470 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
9471 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
9472 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
9473 if test "${ac_cv_search_socketpair+set}" = set; then
9474 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 ac_func_search_save_LIBS
=$LIBS
9477 ac_cv_search_socketpair
=no
9478 cat >conftest.
$ac_ext <<_ACEOF
9481 cat confdefs.h
>>conftest.
$ac_ext
9482 cat >>conftest.
$ac_ext <<_ACEOF
9483 /* end confdefs.h. */
9485 /* Override any gcc2 internal prototype to avoid an error. */
9489 /* We use char because int might match the return type of a gcc2
9490 builtin and then its argument prototype would still apply. */
9500 rm -f conftest.
$ac_objext conftest
$ac_exeext
9501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9502 (eval $ac_link) 2>conftest.er1
9504 grep -v '^ *+' conftest.er1
>conftest.err
9506 cat conftest.err
>&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); } &&
9509 { ac_try
='test -z "$ac_c_werror_flag"
9510 || test ! -s conftest.err'
9511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 (exit $ac_status); }; } &&
9516 { ac_try
='test -s conftest$ac_exeext'
9517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); }; }; then
9522 ac_cv_search_socketpair
="none required"
9524 echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.
$ac_ext >&5
9528 rm -f conftest.err conftest.
$ac_objext \
9529 conftest
$ac_exeext conftest.
$ac_ext
9530 if test "$ac_cv_search_socketpair" = no
; then
9531 for ac_lib
in socket
; do
9532 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9533 cat >conftest.
$ac_ext <<_ACEOF
9536 cat confdefs.h
>>conftest.
$ac_ext
9537 cat >>conftest.
$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9540 /* Override any gcc2 internal prototype to avoid an error. */
9544 /* We use char because int might match the return type of a gcc2
9545 builtin and then its argument prototype would still apply. */
9555 rm -f conftest.
$ac_objext conftest
$ac_exeext
9556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9557 (eval $ac_link) 2>conftest.er1
9559 grep -v '^ *+' conftest.er1
>conftest.err
9561 cat conftest.err
>&5
9562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563 (exit $ac_status); } &&
9564 { ac_try
='test -z "$ac_c_werror_flag"
9565 || test ! -s conftest.err'
9566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); }; } &&
9571 { ac_try
='test -s conftest$ac_exeext'
9572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 (exit $ac_status); }; }; then
9577 ac_cv_search_socketpair
="-l$ac_lib"
9580 echo "$as_me: failed program was:" >&5
9581 sed 's/^/| /' conftest.
$ac_ext >&5
9584 rm -f conftest.err conftest.
$ac_objext \
9585 conftest
$ac_exeext conftest.
$ac_ext
9588 LIBS
=$ac_func_search_save_LIBS
9590 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
9591 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
9592 if test "$ac_cv_search_socketpair" != no
; then
9593 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
9598 # For the TUI, we need enhanced curses functionality.
9600 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
9601 # curses library because the latter might not provide all the
9602 # functionality we need. However, this leads to problems on systems
9603 # where the linker searches /usr/local/lib, but the compiler doesn't
9604 # search /usr/local/include, if ncurses is installed in /usr/local. A
9605 # default installation of ncurses on alpha*-dec-osf* will lead to such
9607 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
9608 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
9609 if test "${ac_cv_search_waddstr+set}" = set; then
9610 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 ac_func_search_save_LIBS
=$LIBS
9613 ac_cv_search_waddstr
=no
9614 cat >conftest.
$ac_ext <<_ACEOF
9617 cat confdefs.h
>>conftest.
$ac_ext
9618 cat >>conftest.
$ac_ext <<_ACEOF
9619 /* end confdefs.h. */
9621 /* Override any gcc2 internal prototype to avoid an error. */
9625 /* We use char because int might match the return type of a gcc2
9626 builtin and then its argument prototype would still apply. */
9636 rm -f conftest.
$ac_objext conftest
$ac_exeext
9637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9638 (eval $ac_link) 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); } &&
9645 { ac_try
='test -z "$ac_c_werror_flag"
9646 || test ! -s conftest.err'
9647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); }; } &&
9652 { ac_try
='test -s conftest$ac_exeext'
9653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); }; }; then
9658 ac_cv_search_waddstr
="none required"
9660 echo "$as_me: failed program was:" >&5
9661 sed 's/^/| /' conftest.
$ac_ext >&5
9664 rm -f conftest.err conftest.
$ac_objext \
9665 conftest
$ac_exeext conftest.
$ac_ext
9666 if test "$ac_cv_search_waddstr" = no
; then
9667 for ac_lib
in ncurses cursesX curses
; do
9668 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9669 cat >conftest.
$ac_ext <<_ACEOF
9672 cat confdefs.h
>>conftest.
$ac_ext
9673 cat >>conftest.
$ac_ext <<_ACEOF
9674 /* end confdefs.h. */
9676 /* Override any gcc2 internal prototype to avoid an error. */
9680 /* We use char because int might match the return type of a gcc2
9681 builtin and then its argument prototype would still apply. */
9691 rm -f conftest.
$ac_objext conftest
$ac_exeext
9692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9693 (eval $ac_link) 2>conftest.er1
9695 grep -v '^ *+' conftest.er1
>conftest.err
9697 cat conftest.err
>&5
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); } &&
9700 { ac_try
='test -z "$ac_c_werror_flag"
9701 || test ! -s conftest.err'
9702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); }; } &&
9707 { ac_try
='test -s conftest$ac_exeext'
9708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 (exit $ac_status); }; }; then
9713 ac_cv_search_waddstr
="-l$ac_lib"
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.
$ac_ext >&5
9720 rm -f conftest.err conftest.
$ac_objext \
9721 conftest
$ac_exeext conftest.
$ac_ext
9724 LIBS
=$ac_func_search_save_LIBS
9726 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
9727 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
9728 if test "$ac_cv_search_waddstr" != no
; then
9729 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
9734 # On HP/UX we may need libxpdl for dlgetmodinfo (used by solib-pa64.c).
9735 echo "$as_me:$LINENO: checking for library containing dlgetmodinfo" >&5
9736 echo $ECHO_N "checking for library containing dlgetmodinfo... $ECHO_C" >&6
9737 if test "${ac_cv_search_dlgetmodinfo+set}" = set; then
9738 echo $ECHO_N "(cached) $ECHO_C" >&6
9740 ac_func_search_save_LIBS
=$LIBS
9741 ac_cv_search_dlgetmodinfo
=no
9742 cat >conftest.
$ac_ext <<_ACEOF
9745 cat confdefs.h
>>conftest.
$ac_ext
9746 cat >>conftest.
$ac_ext <<_ACEOF
9747 /* end confdefs.h. */
9749 /* Override any gcc2 internal prototype to avoid an error. */
9753 /* We use char because int might match the return type of a gcc2
9754 builtin and then its argument prototype would still apply. */
9755 char dlgetmodinfo ();
9764 rm -f conftest.
$ac_objext conftest
$ac_exeext
9765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9766 (eval $ac_link) 2>conftest.er1
9768 grep -v '^ *+' conftest.er1
>conftest.err
9770 cat conftest.err
>&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); } &&
9773 { ac_try
='test -z "$ac_c_werror_flag"
9774 || test ! -s conftest.err'
9775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); }; } &&
9780 { ac_try
='test -s conftest$ac_exeext'
9781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; }; then
9786 ac_cv_search_dlgetmodinfo
="none required"
9788 echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.
$ac_ext >&5
9792 rm -f conftest.err conftest.
$ac_objext \
9793 conftest
$ac_exeext conftest.
$ac_ext
9794 if test "$ac_cv_search_dlgetmodinfo" = no
; then
9795 for ac_lib
in dl xpdl
; do
9796 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9797 cat >conftest.
$ac_ext <<_ACEOF
9800 cat confdefs.h
>>conftest.
$ac_ext
9801 cat >>conftest.
$ac_ext <<_ACEOF
9802 /* end confdefs.h. */
9804 /* Override any gcc2 internal prototype to avoid an error. */
9808 /* We use char because int might match the return type of a gcc2
9809 builtin and then its argument prototype would still apply. */
9810 char dlgetmodinfo ();
9819 rm -f conftest.
$ac_objext conftest
$ac_exeext
9820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9821 (eval $ac_link) 2>conftest.er1
9823 grep -v '^ *+' conftest.er1
>conftest.err
9825 cat conftest.err
>&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); } &&
9828 { ac_try
='test -z "$ac_c_werror_flag"
9829 || test ! -s conftest.err'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; } &&
9835 { ac_try
='test -s conftest$ac_exeext'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; }; then
9841 ac_cv_search_dlgetmodinfo
="-l$ac_lib"
9844 echo "$as_me: failed program was:" >&5
9845 sed 's/^/| /' conftest.
$ac_ext >&5
9848 rm -f conftest.err conftest.
$ac_objext \
9849 conftest
$ac_exeext conftest.
$ac_ext
9852 LIBS
=$ac_func_search_save_LIBS
9854 echo "$as_me:$LINENO: result: $ac_cv_search_dlgetmodinfo" >&5
9855 echo "${ECHO_T}$ac_cv_search_dlgetmodinfo" >&6
9856 if test "$ac_cv_search_dlgetmodinfo" != no
; then
9857 test "$ac_cv_search_dlgetmodinfo" = "none required" || LIBS
="$ac_cv_search_dlgetmodinfo $LIBS"
9862 # Since GDB uses Readline, we need termcap functionality. In many
9863 # cases this will be provided by the curses library, but some systems
9864 # have a seperate termcap library, or no curses library at all.
9868 if test -d $srcdir/libtermcap
; then
9869 LIBS
="../libtermcap/libtermcap.a $LIBS"
9870 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
9873 ac_cv_search_tgetent
="none required"
9876 ac_cv_search_tgetent
="none required"
9877 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
9881 # These are the libraries checked by Readline.
9882 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
9883 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
9884 if test "${ac_cv_search_tgetent+set}" = set; then
9885 echo $ECHO_N "(cached) $ECHO_C" >&6
9887 ac_func_search_save_LIBS
=$LIBS
9888 ac_cv_search_tgetent
=no
9889 cat >conftest.
$ac_ext <<_ACEOF
9892 cat confdefs.h
>>conftest.
$ac_ext
9893 cat >>conftest.
$ac_ext <<_ACEOF
9894 /* end confdefs.h. */
9896 /* Override any gcc2 internal prototype to avoid an error. */
9900 /* We use char because int might match the return type of a gcc2
9901 builtin and then its argument prototype would still apply. */
9911 rm -f conftest.
$ac_objext conftest
$ac_exeext
9912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9913 (eval $ac_link) 2>conftest.er1
9915 grep -v '^ *+' conftest.er1
>conftest.err
9917 cat conftest.err
>&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); } &&
9920 { ac_try
='test -z "$ac_c_werror_flag"
9921 || test ! -s conftest.err'
9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); }; } &&
9927 { ac_try
='test -s conftest$ac_exeext'
9928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); }; }; then
9933 ac_cv_search_tgetent
="none required"
9935 echo "$as_me: failed program was:" >&5
9936 sed 's/^/| /' conftest.
$ac_ext >&5
9939 rm -f conftest.err conftest.
$ac_objext \
9940 conftest
$ac_exeext conftest.
$ac_ext
9941 if test "$ac_cv_search_tgetent" = no
; then
9942 for ac_lib
in termcap tinfo curses ncurses
; do
9943 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9944 cat >conftest.
$ac_ext <<_ACEOF
9947 cat confdefs.h
>>conftest.
$ac_ext
9948 cat >>conftest.
$ac_ext <<_ACEOF
9949 /* end confdefs.h. */
9951 /* Override any gcc2 internal prototype to avoid an error. */
9955 /* We use char because int might match the return type of a gcc2
9956 builtin and then its argument prototype would still apply. */
9966 rm -f conftest.
$ac_objext conftest
$ac_exeext
9967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9968 (eval $ac_link) 2>conftest.er1
9970 grep -v '^ *+' conftest.er1
>conftest.err
9972 cat conftest.err
>&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); } &&
9975 { ac_try
='test -z "$ac_c_werror_flag"
9976 || test ! -s conftest.err'
9977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); }; } &&
9982 { ac_try
='test -s conftest$ac_exeext'
9983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); }; }; then
9988 ac_cv_search_tgetent
="-l$ac_lib"
9991 echo "$as_me: failed program was:" >&5
9992 sed 's/^/| /' conftest.
$ac_ext >&5
9995 rm -f conftest.err conftest.
$ac_objext \
9996 conftest
$ac_exeext conftest.
$ac_ext
9999 LIBS
=$ac_func_search_save_LIBS
10001 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
10002 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
10003 if test "$ac_cv_search_tgetent" != no
; then
10004 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
10009 if test "$ac_cv_search_tgetent" = no
; then
10010 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
10011 echo "$as_me: error: no termcap library found" >&2;}
10012 { (exit 1); exit 1; }; }
10016 # Check whether --with-system-readline or --without-system-readline was given.
10017 if test "${with_system_readline+set}" = set; then
10018 withval
="$with_system_readline"
10022 if test "$with_system_readline" = yes; then
10023 READLINE
=-lreadline
10027 READLINE
='$(READLINE_DIR)/libreadline.a'
10028 READLINE_DEPS
='$(READLINE)'
10029 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
10036 # Check whether --with-expat or --without-expat was given.
10037 if test "${with_expat+set}" = set; then
10038 withval
="$with_expat"
10043 echo "$as_me:$LINENO: checking whether to use expat" >&5
10044 echo $ECHO_N "checking whether to use expat... $ECHO_C" >&6
10045 echo "$as_me:$LINENO: result: $with_expat" >&5
10046 echo "${ECHO_T}$with_expat" >&6
10048 if test "${with_expat}" = no
; then
10049 { echo "$as_me:$LINENO: WARNING: expat support disabled; some features may be unavailable." >&5
10050 echo "$as_me: WARNING: expat support disabled; some features may be unavailable." >&2;}
10054 if test "X$prefix" = "XNONE"; then
10055 acl_final_prefix
="$ac_default_prefix"
10057 acl_final_prefix
="$prefix"
10059 if test "X$exec_prefix" = "XNONE"; then
10060 acl_final_exec_prefix
='${prefix}'
10062 acl_final_exec_prefix
="$exec_prefix"
10064 acl_save_prefix
="$prefix"
10065 prefix
="$acl_final_prefix"
10066 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10067 prefix
="$acl_save_prefix"
10070 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10071 if test "${with_gnu_ld+set}" = set; then
10072 withval
="$with_gnu_ld"
10073 test "$withval" = no || with_gnu_ld
=yes
10077 # Prepare PATH_SEPARATOR.
10078 # The user is always right.
10079 if test "${PATH_SEPARATOR+set}" != set; then
10080 echo "#! /bin/sh" >conf$$.sh
10081 echo "exit 0" >>conf$$.sh
10083 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10091 if test "$GCC" = yes; then
10092 # Check if gcc -print-prog-name=ld gives a path.
10093 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10094 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10097 # gcc leaves a trailing carriage return which upsets mingw
10098 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10100 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10103 # Accept absolute paths.
10104 [\\/]* |
[A-Za-z
]:[\\/]*)
10105 re_direlt
='/[^/][^/]*/\.\./'
10106 # Canonicalize the path of ld
10107 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10108 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10109 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10111 test -z "$LD" && LD
="$ac_prog"
10114 # If it fails, then pretend we aren't using GCC.
10118 # If it is relative, then search for the first ld in PATH.
10119 with_gnu_ld
=unknown
10122 elif test "$with_gnu_ld" = yes; then
10123 echo "$as_me:$LINENO: checking for GNU ld" >&5
10124 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10126 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10127 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10129 if test "${acl_cv_path_LD+set}" = set; then
10130 echo $ECHO_N "(cached) $ECHO_C" >&6
10132 if test -z "$LD"; then
10133 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10134 for ac_dir
in $PATH; do
10135 test -z "$ac_dir" && ac_dir
=.
10136 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10137 acl_cv_path_LD
="$ac_dir/$ac_prog"
10138 # Check to see if the program is GNU ld. I'd rather use --version,
10139 # but apparently some GNU ld's only accept -v.
10140 # Break only if it was the GNU/non-GNU ld that we prefer.
10141 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10142 test "$with_gnu_ld" != no
&& break
10144 test "$with_gnu_ld" != yes && break
10150 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10154 LD
="$acl_cv_path_LD"
10155 if test -n "$LD"; then
10156 echo "$as_me:$LINENO: result: $LD" >&5
10157 echo "${ECHO_T}$LD" >&6
10159 echo "$as_me:$LINENO: result: no" >&5
10160 echo "${ECHO_T}no" >&6
10162 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10163 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10164 { (exit 1); exit 1; }; }
10165 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10166 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10167 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
10170 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10171 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10172 acl_cv_prog_gnu_ld
=yes
10174 acl_cv_prog_gnu_ld
=no
10177 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10178 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10179 with_gnu_ld
=$acl_cv_prog_gnu_ld
10183 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10184 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10185 if test "${acl_cv_rpath+set}" = set; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10190 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10192 rm -f .
/conftest.sh
10196 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10197 echo "${ECHO_T}$acl_cv_rpath" >&6
10199 libext
="$acl_cv_libext"
10200 shlibext
="$acl_cv_shlibext"
10201 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10202 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10203 hardcode_direct
="$acl_cv_hardcode_direct"
10204 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10205 # Check whether --enable-rpath or --disable-rpath was given.
10206 if test "${enable_rpath+set}" = set; then
10207 enableval
="$enable_rpath"
10223 acl_save_prefix
="$prefix"
10224 prefix
="$acl_final_prefix"
10225 acl_save_exec_prefix
="$exec_prefix"
10226 exec_prefix
="$acl_final_exec_prefix"
10228 eval additional_includedir
=\"$includedir\"
10229 eval additional_libdir
=\"$libdir\"
10231 exec_prefix
="$acl_save_exec_prefix"
10232 prefix
="$acl_save_prefix"
10235 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
10236 if test "${with_libexpat_prefix+set}" = set; then
10237 withval
="$with_libexpat_prefix"
10239 if test "X$withval" = "Xno"; then
10242 if test "X$withval" = "X"; then
10244 acl_save_prefix
="$prefix"
10245 prefix
="$acl_final_prefix"
10246 acl_save_exec_prefix
="$exec_prefix"
10247 exec_prefix
="$acl_final_exec_prefix"
10249 eval additional_includedir
=\"$includedir\"
10250 eval additional_libdir
=\"$libdir\"
10252 exec_prefix
="$acl_save_exec_prefix"
10253 prefix
="$acl_save_prefix"
10256 additional_includedir
="$withval/include"
10257 additional_libdir
="$withval/lib"
10267 names_already_handled
=
10268 names_next_round
='expat '
10269 while test -n "$names_next_round"; do
10270 names_this_round
="$names_next_round"
10272 for name
in $names_this_round; do
10274 for n
in $names_already_handled; do
10275 if test "$n" = "$name"; then
10276 already_handled
=yes
10280 if test -z "$already_handled"; then
10281 names_already_handled
="$names_already_handled $name"
10282 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10283 eval value
=\"\
$HAVE_LIB$uppername\"
10284 if test -n "$value"; then
10285 if test "$value" = yes; then
10286 eval value
=\"\
$LIB$uppername\"
10287 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
10288 eval value
=\"\
$LTLIB$uppername\"
10289 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
10298 if test $use_additional = yes; then
10299 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10300 found_dir
="$additional_libdir"
10301 found_so
="$additional_libdir/lib$name.$shlibext"
10302 if test -f "$additional_libdir/lib$name.la"; then
10303 found_la
="$additional_libdir/lib$name.la"
10306 if test -f "$additional_libdir/lib$name.$libext"; then
10307 found_dir
="$additional_libdir"
10308 found_a
="$additional_libdir/lib$name.$libext"
10309 if test -f "$additional_libdir/lib$name.la"; then
10310 found_la
="$additional_libdir/lib$name.la"
10315 if test "X$found_dir" = "X"; then
10316 for x
in $LDFLAGS $LTLIBEXPAT; do
10318 acl_save_prefix
="$prefix"
10319 prefix
="$acl_final_prefix"
10320 acl_save_exec_prefix
="$exec_prefix"
10321 exec_prefix
="$acl_final_exec_prefix"
10323 exec_prefix
="$acl_save_exec_prefix"
10324 prefix
="$acl_save_prefix"
10328 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10329 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10331 found_so
="$dir/lib$name.$shlibext"
10332 if test -f "$dir/lib$name.la"; then
10333 found_la
="$dir/lib$name.la"
10336 if test -f "$dir/lib$name.$libext"; then
10338 found_a
="$dir/lib$name.$libext"
10339 if test -f "$dir/lib$name.la"; then
10340 found_la
="$dir/lib$name.la"
10346 if test "X$found_dir" != "X"; then
10351 if test "X$found_dir" != "X"; then
10352 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
10353 if test "X$found_so" != "X"; then
10354 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10355 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10358 for x
in $ltrpathdirs; do
10359 if test "X$x" = "X$found_dir"; then
10364 if test -z "$haveit"; then
10365 ltrpathdirs
="$ltrpathdirs $found_dir"
10367 if test "$hardcode_direct" = yes; then
10368 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10370 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10371 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10373 for x
in $rpathdirs; do
10374 if test "X$x" = "X$found_dir"; then
10379 if test -z "$haveit"; then
10380 rpathdirs
="$rpathdirs $found_dir"
10384 for x
in $LDFLAGS $LIBEXPAT; do
10386 acl_save_prefix
="$prefix"
10387 prefix
="$acl_final_prefix"
10388 acl_save_exec_prefix
="$exec_prefix"
10389 exec_prefix
="$acl_final_exec_prefix"
10391 exec_prefix
="$acl_save_exec_prefix"
10392 prefix
="$acl_save_prefix"
10394 if test "X$x" = "X-L$found_dir"; then
10399 if test -z "$haveit"; then
10400 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
10402 if test "$hardcode_minus_L" != no
; then
10403 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10405 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
10411 if test "X$found_a" != "X"; then
10412 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
10414 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
10417 additional_includedir
=
10418 case "$found_dir" in
10420 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10421 additional_includedir
="$basedir/include"
10424 if test "X$additional_includedir" != "X"; then
10425 if test "X$additional_includedir" != "X/usr/include"; then
10427 if test "X$additional_includedir" = "X/usr/local/include"; then
10428 if test -n "$GCC"; then
10430 linux
*) haveit
=yes;;
10434 if test -z "$haveit"; then
10435 for x
in $CPPFLAGS $INCEXPAT; do
10437 acl_save_prefix
="$prefix"
10438 prefix
="$acl_final_prefix"
10439 acl_save_exec_prefix
="$exec_prefix"
10440 exec_prefix
="$acl_final_exec_prefix"
10442 exec_prefix
="$acl_save_exec_prefix"
10443 prefix
="$acl_save_prefix"
10445 if test "X$x" = "X-I$additional_includedir"; then
10450 if test -z "$haveit"; then
10451 if test -d "$additional_includedir"; then
10452 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
10458 if test -n "$found_la"; then
10459 save_libdir
="$libdir"
10460 case "$found_la" in
10461 */* |
*\\*) .
"$found_la" ;;
10462 *) .
"./$found_la" ;;
10464 libdir
="$save_libdir"
10465 for dep
in $dependency_libs; do
10468 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10469 if test "X$additional_libdir" != "X/usr/lib"; then
10471 if test "X$additional_libdir" = "X/usr/local/lib"; then
10472 if test -n "$GCC"; then
10474 linux
*) haveit
=yes;;
10478 if test -z "$haveit"; then
10480 for x
in $LDFLAGS $LIBEXPAT; do
10482 acl_save_prefix
="$prefix"
10483 prefix
="$acl_final_prefix"
10484 acl_save_exec_prefix
="$exec_prefix"
10485 exec_prefix
="$acl_final_exec_prefix"
10487 exec_prefix
="$acl_save_exec_prefix"
10488 prefix
="$acl_save_prefix"
10490 if test "X$x" = "X-L$additional_libdir"; then
10495 if test -z "$haveit"; then
10496 if test -d "$additional_libdir"; then
10497 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
10501 for x
in $LDFLAGS $LTLIBEXPAT; do
10503 acl_save_prefix
="$prefix"
10504 prefix
="$acl_final_prefix"
10505 acl_save_exec_prefix
="$exec_prefix"
10506 exec_prefix
="$acl_final_exec_prefix"
10508 exec_prefix
="$acl_save_exec_prefix"
10509 prefix
="$acl_save_prefix"
10511 if test "X$x" = "X-L$additional_libdir"; then
10516 if test -z "$haveit"; then
10517 if test -d "$additional_libdir"; then
10518 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
10525 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10526 if test "$enable_rpath" != no
; then
10528 for x
in $rpathdirs; do
10529 if test "X$x" = "X$dir"; then
10534 if test -z "$haveit"; then
10535 rpathdirs
="$rpathdirs $dir"
10538 for x
in $ltrpathdirs; do
10539 if test "X$x" = "X$dir"; then
10544 if test -z "$haveit"; then
10545 ltrpathdirs
="$ltrpathdirs $dir"
10550 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10553 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10556 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
10557 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
10563 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
10564 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
10570 if test "X$rpathdirs" != "X"; then
10571 if test -n "$hardcode_libdir_separator"; then
10573 for found_dir
in $rpathdirs; do
10574 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10576 acl_save_libdir
="$libdir"
10578 eval flag
=\"$hardcode_libdir_flag_spec\"
10579 libdir
="$acl_save_libdir"
10580 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
10582 for found_dir
in $rpathdirs; do
10583 acl_save_libdir
="$libdir"
10584 libdir
="$found_dir"
10585 eval flag
=\"$hardcode_libdir_flag_spec\"
10586 libdir
="$acl_save_libdir"
10587 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
10591 if test "X$ltrpathdirs" != "X"; then
10592 for found_dir
in $ltrpathdirs; do
10593 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
10598 ac_save_CPPFLAGS
="$CPPFLAGS"
10600 for element
in $INCEXPAT; do
10602 for x
in $CPPFLAGS; do
10604 acl_save_prefix
="$prefix"
10605 prefix
="$acl_final_prefix"
10606 acl_save_exec_prefix
="$exec_prefix"
10607 exec_prefix
="$acl_final_exec_prefix"
10609 exec_prefix
="$acl_save_exec_prefix"
10610 prefix
="$acl_save_prefix"
10612 if test "X$x" = "X$element"; then
10617 if test -z "$haveit"; then
10618 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10623 echo "$as_me:$LINENO: checking for libexpat" >&5
10624 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
10625 if test "${ac_cv_libexpat+set}" = set; then
10626 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 ac_save_LIBS
="$LIBS"
10630 LIBS
="$LIBS $LIBEXPAT"
10631 cat >conftest.
$ac_ext <<_ACEOF
10634 cat confdefs.h
>>conftest.
$ac_ext
10635 cat >>conftest.
$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10641 XML_Parser p = XML_ParserCreate (0);
10646 rm -f conftest.
$ac_objext conftest
$ac_exeext
10647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10648 (eval $ac_link) 2>conftest.er1
10650 grep -v '^ *+' conftest.er1
>conftest.err
10652 cat conftest.err
>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } &&
10655 { ac_try
='test -z "$ac_c_werror_flag"
10656 || test ! -s conftest.err'
10657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10658 (eval $ac_try) 2>&5
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); }; } &&
10662 { ac_try
='test -s conftest$ac_exeext'
10663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10664 (eval $ac_try) 2>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); }; }; then
10670 echo "$as_me: failed program was:" >&5
10671 sed 's/^/| /' conftest.
$ac_ext >&5
10675 rm -f conftest.err conftest.
$ac_objext \
10676 conftest
$ac_exeext conftest.
$ac_ext
10677 LIBS
="$ac_save_LIBS"
10680 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
10681 echo "${ECHO_T}$ac_cv_libexpat" >&6
10682 if test "$ac_cv_libexpat" = yes; then
10685 cat >>confdefs.h
<<\_ACEOF
10686 #define HAVE_LIBEXPAT 1
10689 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
10690 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
10691 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
10692 echo "${ECHO_T}$LIBEXPAT" >&6
10695 CPPFLAGS
="$ac_save_CPPFLAGS"
10705 if test "$HAVE_LIBEXPAT" != yes; then
10706 if test "$with_expat" = yes; then
10707 { { echo "$as_me:$LINENO: error: expat is missing or unusable" >&5
10708 echo "$as_me: error: expat is missing or unusable" >&2;}
10709 { (exit 1); exit 1; }; }
10711 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be unavailable." >&5
10712 echo "$as_me: WARNING: expat is missing or unusable; some features may be unavailable." >&2;}
10716 LIBS
="$LIBS $LIBEXPAT"
10718 for ac_func
in XML_StopParser
10720 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10721 echo "$as_me:$LINENO: checking for $ac_func" >&5
10722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10723 if eval "test \"\${$as_ac_var+set}\" = set"; then
10724 echo $ECHO_N "(cached) $ECHO_C" >&6
10726 cat >conftest.
$ac_ext <<_ACEOF
10729 cat confdefs.h
>>conftest.
$ac_ext
10730 cat >>conftest.
$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10734 #define $ac_func innocuous_$ac_func
10736 /* System header to define __stub macros and hopefully few prototypes,
10737 which can conflict with char $ac_func (); below.
10738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10739 <limits.h> exists even on freestanding compilers. */
10742 # include <limits.h>
10744 # include <assert.h>
10749 /* Override any gcc2 internal prototype to avoid an error. */
10754 /* We use char because int might match the return type of a gcc2
10755 builtin and then its argument prototype would still apply. */
10757 /* The GNU C library defines this for functions which it implements
10758 to always fail with ENOSYS. Some functions are actually named
10759 something starting with __ and the normal name is an alias. */
10760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10763 char (*f) () = $ac_func;
10772 return f != $ac_func;
10777 rm -f conftest.
$ac_objext conftest
$ac_exeext
10778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10779 (eval $ac_link) 2>conftest.er1
10781 grep -v '^ *+' conftest.er1
>conftest.err
10783 cat conftest.err
>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); } &&
10786 { ac_try
='test -z "$ac_c_werror_flag"
10787 || test ! -s conftest.err'
10788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10789 (eval $ac_try) 2>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); }; } &&
10793 { ac_try
='test -s conftest$ac_exeext'
10794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10795 (eval $ac_try) 2>&5
10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); }; }; then
10799 eval "$as_ac_var=yes"
10801 echo "$as_me: failed program was:" >&5
10802 sed 's/^/| /' conftest.
$ac_ext >&5
10804 eval "$as_ac_var=no"
10806 rm -f conftest.err conftest.
$ac_objext \
10807 conftest
$ac_exeext conftest.
$ac_ext
10809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10811 if test `eval echo '${'$as_ac_var'}'` = yes; then
10812 cat >>confdefs.h
<<_ACEOF
10813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10823 # ------------------------- #
10824 # Checks for header files. #
10825 # ------------------------- #
10832 ac_header_dirent
=no
10833 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
10834 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10835 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10836 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
10837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10838 echo $ECHO_N "(cached) $ECHO_C" >&6
10840 cat >conftest.
$ac_ext <<_ACEOF
10843 cat confdefs.h
>>conftest.
$ac_ext
10844 cat >>conftest.
$ac_ext <<_ACEOF
10845 /* end confdefs.h. */
10846 #include <sys/types.h>
10858 rm -f conftest.
$ac_objext
10859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10860 (eval $ac_compile) 2>conftest.er1
10862 grep -v '^ *+' conftest.er1
>conftest.err
10864 cat conftest.err
>&5
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); } &&
10867 { ac_try
='test -z "$ac_c_werror_flag"
10868 || test ! -s conftest.err'
10869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10870 (eval $ac_try) 2>&5
10872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 (exit $ac_status); }; } &&
10874 { ac_try
='test -s conftest.$ac_objext'
10875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876 (eval $ac_try) 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; }; then
10880 eval "$as_ac_Header=yes"
10882 echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.
$ac_ext >&5
10885 eval "$as_ac_Header=no"
10887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10892 cat >>confdefs.h
<<_ACEOF
10893 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10896 ac_header_dirent
=$ac_hdr; break
10900 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10901 if test $ac_header_dirent = dirent.h
; then
10902 echo "$as_me:$LINENO: checking for library containing opendir" >&5
10903 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10904 if test "${ac_cv_search_opendir+set}" = set; then
10905 echo $ECHO_N "(cached) $ECHO_C" >&6
10907 ac_func_search_save_LIBS
=$LIBS
10908 ac_cv_search_opendir
=no
10909 cat >conftest.
$ac_ext <<_ACEOF
10912 cat confdefs.h
>>conftest.
$ac_ext
10913 cat >>conftest.
$ac_ext <<_ACEOF
10914 /* end confdefs.h. */
10916 /* Override any gcc2 internal prototype to avoid an error. */
10920 /* We use char because int might match the return type of a gcc2
10921 builtin and then its argument prototype would still apply. */
10931 rm -f conftest.
$ac_objext conftest
$ac_exeext
10932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10933 (eval $ac_link) 2>conftest.er1
10935 grep -v '^ *+' conftest.er1
>conftest.err
10937 cat conftest.err
>&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } &&
10940 { ac_try
='test -z "$ac_c_werror_flag"
10941 || test ! -s conftest.err'
10942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 (eval $ac_try) 2>&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }; } &&
10947 { ac_try
='test -s conftest$ac_exeext'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); }; }; then
10953 ac_cv_search_opendir
="none required"
10955 echo "$as_me: failed program was:" >&5
10956 sed 's/^/| /' conftest.
$ac_ext >&5
10959 rm -f conftest.err conftest.
$ac_objext \
10960 conftest
$ac_exeext conftest.
$ac_ext
10961 if test "$ac_cv_search_opendir" = no
; then
10962 for ac_lib
in dir
; do
10963 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10964 cat >conftest.
$ac_ext <<_ACEOF
10967 cat confdefs.h
>>conftest.
$ac_ext
10968 cat >>conftest.
$ac_ext <<_ACEOF
10969 /* end confdefs.h. */
10971 /* Override any gcc2 internal prototype to avoid an error. */
10975 /* We use char because int might match the return type of a gcc2
10976 builtin and then its argument prototype would still apply. */
10986 rm -f conftest.
$ac_objext conftest
$ac_exeext
10987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10988 (eval $ac_link) 2>conftest.er1
10990 grep -v '^ *+' conftest.er1
>conftest.err
10992 cat conftest.err
>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); } &&
10995 { ac_try
='test -z "$ac_c_werror_flag"
10996 || test ! -s conftest.err'
10997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998 (eval $ac_try) 2>&5
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); }; } &&
11002 { ac_try
='test -s conftest$ac_exeext'
11003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11004 (eval $ac_try) 2>&5
11006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); }; }; then
11008 ac_cv_search_opendir
="-l$ac_lib"
11011 echo "$as_me: failed program was:" >&5
11012 sed 's/^/| /' conftest.
$ac_ext >&5
11015 rm -f conftest.err conftest.
$ac_objext \
11016 conftest
$ac_exeext conftest.
$ac_ext
11019 LIBS
=$ac_func_search_save_LIBS
11021 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11022 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11023 if test "$ac_cv_search_opendir" != no
; then
11024 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11029 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11030 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11031 if test "${ac_cv_search_opendir+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
11034 ac_func_search_save_LIBS
=$LIBS
11035 ac_cv_search_opendir
=no
11036 cat >conftest.
$ac_ext <<_ACEOF
11039 cat confdefs.h
>>conftest.
$ac_ext
11040 cat >>conftest.
$ac_ext <<_ACEOF
11041 /* end confdefs.h. */
11043 /* Override any gcc2 internal prototype to avoid an error. */
11047 /* We use char because int might match the return type of a gcc2
11048 builtin and then its argument prototype would still apply. */
11058 rm -f conftest.
$ac_objext conftest
$ac_exeext
11059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11060 (eval $ac_link) 2>conftest.er1
11062 grep -v '^ *+' conftest.er1
>conftest.err
11064 cat conftest.err
>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } &&
11067 { ac_try
='test -z "$ac_c_werror_flag"
11068 || test ! -s conftest.err'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; } &&
11074 { ac_try
='test -s conftest$ac_exeext'
11075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11076 (eval $ac_try) 2>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); }; }; then
11080 ac_cv_search_opendir
="none required"
11082 echo "$as_me: failed program was:" >&5
11083 sed 's/^/| /' conftest.
$ac_ext >&5
11086 rm -f conftest.err conftest.
$ac_objext \
11087 conftest
$ac_exeext conftest.
$ac_ext
11088 if test "$ac_cv_search_opendir" = no
; then
11089 for ac_lib
in x
; do
11090 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11091 cat >conftest.
$ac_ext <<_ACEOF
11094 cat confdefs.h
>>conftest.
$ac_ext
11095 cat >>conftest.
$ac_ext <<_ACEOF
11096 /* end confdefs.h. */
11098 /* Override any gcc2 internal prototype to avoid an error. */
11102 /* We use char because int might match the return type of a gcc2
11103 builtin and then its argument prototype would still apply. */
11113 rm -f conftest.
$ac_objext conftest
$ac_exeext
11114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11115 (eval $ac_link) 2>conftest.er1
11117 grep -v '^ *+' conftest.er1
>conftest.err
11119 cat conftest.err
>&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); } &&
11122 { ac_try
='test -z "$ac_c_werror_flag"
11123 || test ! -s conftest.err'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; } &&
11129 { ac_try
='test -s conftest$ac_exeext'
11130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11131 (eval $ac_try) 2>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; }; then
11135 ac_cv_search_opendir
="-l$ac_lib"
11138 echo "$as_me: failed program was:" >&5
11139 sed 's/^/| /' conftest.
$ac_ext >&5
11142 rm -f conftest.err conftest.
$ac_objext \
11143 conftest
$ac_exeext conftest.
$ac_ext
11146 LIBS
=$ac_func_search_save_LIBS
11148 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11149 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11150 if test "$ac_cv_search_opendir" != no
; then
11151 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11157 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11158 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11159 if test "${ac_cv_header_stat_broken+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11162 cat >conftest.
$ac_ext <<_ACEOF
11165 cat confdefs.h
>>conftest.
$ac_ext
11166 cat >>conftest.
$ac_ext <<_ACEOF
11167 /* end confdefs.h. */
11168 #include <sys/types.h>
11169 #include <sys/stat.h>
11171 #if defined(S_ISBLK) && defined(S_IFDIR)
11172 # if S_ISBLK (S_IFDIR)
11177 #if defined(S_ISBLK) && defined(S_IFCHR)
11178 # if S_ISBLK (S_IFCHR)
11183 #if defined(S_ISLNK) && defined(S_IFREG)
11184 # if S_ISLNK (S_IFREG)
11189 #if defined(S_ISSOCK) && defined(S_IFREG)
11190 # if S_ISSOCK (S_IFREG)
11196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11197 $EGREP "You lose" >/dev
/null
2>&1; then
11198 ac_cv_header_stat_broken
=yes
11200 ac_cv_header_stat_broken
=no
11205 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
11206 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
11207 if test $ac_cv_header_stat_broken = yes; then
11209 cat >>confdefs.h
<<\_ACEOF
11210 #define STAT_MACROS_BROKEN 1
11215 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11216 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11217 if test "${ac_cv_header_stdc+set}" = set; then
11218 echo $ECHO_N "(cached) $ECHO_C" >&6
11220 cat >conftest.
$ac_ext <<_ACEOF
11223 cat confdefs.h
>>conftest.
$ac_ext
11224 cat >>conftest.
$ac_ext <<_ACEOF
11225 /* end confdefs.h. */
11226 #include <stdlib.h>
11227 #include <stdarg.h>
11228 #include <string.h>
11239 rm -f conftest.
$ac_objext
11240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11241 (eval $ac_compile) 2>conftest.er1
11243 grep -v '^ *+' conftest.er1
>conftest.err
11245 cat conftest.err
>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } &&
11248 { ac_try
='test -z "$ac_c_werror_flag"
11249 || test ! -s conftest.err'
11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11251 (eval $ac_try) 2>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; } &&
11255 { ac_try
='test -s conftest.$ac_objext'
11256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11257 (eval $ac_try) 2>&5
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); }; }; then
11261 ac_cv_header_stdc
=yes
11263 echo "$as_me: failed program was:" >&5
11264 sed 's/^/| /' conftest.
$ac_ext >&5
11266 ac_cv_header_stdc
=no
11268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11270 if test $ac_cv_header_stdc = yes; then
11271 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11272 cat >conftest.
$ac_ext <<_ACEOF
11275 cat confdefs.h
>>conftest.
$ac_ext
11276 cat >>conftest.
$ac_ext <<_ACEOF
11277 /* end confdefs.h. */
11278 #include <string.h>
11281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11282 $EGREP "memchr" >/dev
/null
2>&1; then
11285 ac_cv_header_stdc
=no
11291 if test $ac_cv_header_stdc = yes; then
11292 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11293 cat >conftest.
$ac_ext <<_ACEOF
11296 cat confdefs.h
>>conftest.
$ac_ext
11297 cat >>conftest.
$ac_ext <<_ACEOF
11298 /* end confdefs.h. */
11299 #include <stdlib.h>
11302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11303 $EGREP "free" >/dev
/null
2>&1; then
11306 ac_cv_header_stdc
=no
11312 if test $ac_cv_header_stdc = yes; then
11313 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11314 if test "$cross_compiling" = yes; then
11317 cat >conftest.
$ac_ext <<_ACEOF
11320 cat confdefs.h
>>conftest.
$ac_ext
11321 cat >>conftest.
$ac_ext <<_ACEOF
11322 /* end confdefs.h. */
11324 #if ((' ' & 0x0FF) == 0x020)
11325 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11326 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11328 # define ISLOWER(c) \
11329 (('a' <= (c) && (c) <= 'i') \
11330 || ('j' <= (c) && (c) <= 'r') \
11331 || ('s' <= (c) && (c) <= 'z'))
11332 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11335 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11340 for (i = 0; i < 256; i++)
11341 if (XOR (islower (i), ISLOWER (i))
11342 || toupper (i) != TOUPPER (i))
11347 rm -f conftest
$ac_exeext
11348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11349 (eval $ac_link) 2>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11354 (eval $ac_try) 2>&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); }; }; then
11360 echo "$as_me: program exited with status $ac_status" >&5
11361 echo "$as_me: failed program was:" >&5
11362 sed 's/^/| /' conftest.
$ac_ext >&5
11364 ( exit $ac_status )
11365 ac_cv_header_stdc
=no
11367 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11371 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11372 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11373 if test $ac_cv_header_stdc = yes; then
11375 cat >>confdefs.h
<<\_ACEOF
11376 #define STDC_HEADERS 1
11382 for ac_header
in nlist.h
11384 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11386 echo "$as_me:$LINENO: checking for $ac_header" >&5
11387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11389 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11394 # Is the header compilable?
11395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11397 cat >conftest.
$ac_ext <<_ACEOF
11400 cat confdefs.h
>>conftest.
$ac_ext
11401 cat >>conftest.
$ac_ext <<_ACEOF
11402 /* end confdefs.h. */
11403 $ac_includes_default
11404 #include <$ac_header>
11406 rm -f conftest.
$ac_objext
11407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11408 (eval $ac_compile) 2>conftest.er1
11410 grep -v '^ *+' conftest.er1
>conftest.err
11412 cat conftest.err
>&5
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); } &&
11415 { ac_try
='test -z "$ac_c_werror_flag"
11416 || test ! -s conftest.err'
11417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11418 (eval $ac_try) 2>&5
11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421 (exit $ac_status); }; } &&
11422 { ac_try
='test -s conftest.$ac_objext'
11423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }; }; then
11428 ac_header_compiler
=yes
11430 echo "$as_me: failed program was:" >&5
11431 sed 's/^/| /' conftest.
$ac_ext >&5
11433 ac_header_compiler
=no
11435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11437 echo "${ECHO_T}$ac_header_compiler" >&6
11439 # Is the header present?
11440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11442 cat >conftest.
$ac_ext <<_ACEOF
11445 cat confdefs.h
>>conftest.
$ac_ext
11446 cat >>conftest.
$ac_ext <<_ACEOF
11447 /* end confdefs.h. */
11448 #include <$ac_header>
11450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11453 grep -v '^ *+' conftest.er1
>conftest.err
11455 cat conftest.err
>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } >/dev
/null
; then
11458 if test -s conftest.err
; then
11459 ac_cpp_err
=$ac_c_preproc_warn_flag
11460 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11467 if test -z "$ac_cpp_err"; then
11468 ac_header_preproc
=yes
11470 echo "$as_me: failed program was:" >&5
11471 sed 's/^/| /' conftest.
$ac_ext >&5
11473 ac_header_preproc
=no
11475 rm -f conftest.err conftest.
$ac_ext
11476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11477 echo "${ECHO_T}$ac_header_preproc" >&6
11479 # So? What about this header?
11480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11486 ac_header_preproc
=yes
11489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11503 ## ------------------------------------------ ##
11504 ## Report this to the AC_PACKAGE_NAME lists. ##
11505 ## ------------------------------------------ ##
11508 sed "s/^/$as_me: WARNING: /" >&2
11511 echo "$as_me:$LINENO: checking for $ac_header" >&5
11512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11514 echo $ECHO_N "(cached) $ECHO_C" >&6
11516 eval "$as_ac_Header=\$ac_header_preproc"
11518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11523 cat >>confdefs.h
<<_ACEOF
11524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11532 for ac_header
in link.h
11534 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11535 echo "$as_me:$LINENO: checking for $ac_header" >&5
11536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11538 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 cat >conftest.
$ac_ext <<_ACEOF
11543 cat confdefs.h
>>conftest.
$ac_ext
11544 cat >>conftest.
$ac_ext <<_ACEOF
11545 /* end confdefs.h. */
11546 #if HAVE_SYS_TYPES_H
11547 # include <sys/types.h>
11550 # include <nlist.h>
11554 #include <$ac_header>
11556 rm -f conftest.
$ac_objext
11557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11558 (eval $ac_compile) 2>conftest.er1
11560 grep -v '^ *+' conftest.er1
>conftest.err
11562 cat conftest.err
>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try
='test -z "$ac_c_werror_flag"
11566 || test ! -s conftest.err'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; } &&
11572 { ac_try
='test -s conftest.$ac_objext'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; }; then
11578 eval "$as_ac_Header=yes"
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.
$ac_ext >&5
11583 eval "$as_ac_Header=no"
11585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11590 cat >>confdefs.h
<<_ACEOF
11591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11599 for ac_header
in machine
/reg.h
11601 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11603 echo "$as_me:$LINENO: checking for $ac_header" >&5
11604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11606 echo $ECHO_N "(cached) $ECHO_C" >&6
11608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11611 # Is the header compilable?
11612 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11613 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11614 cat >conftest.
$ac_ext <<_ACEOF
11617 cat confdefs.h
>>conftest.
$ac_ext
11618 cat >>conftest.
$ac_ext <<_ACEOF
11619 /* end confdefs.h. */
11620 $ac_includes_default
11621 #include <$ac_header>
11623 rm -f conftest.
$ac_objext
11624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11625 (eval $ac_compile) 2>conftest.er1
11627 grep -v '^ *+' conftest.er1
>conftest.err
11629 cat conftest.err
>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); } &&
11632 { ac_try
='test -z "$ac_c_werror_flag"
11633 || test ! -s conftest.err'
11634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 (eval $ac_try) 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; } &&
11639 { ac_try
='test -s conftest.$ac_objext'
11640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11641 (eval $ac_try) 2>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); }; }; then
11645 ac_header_compiler
=yes
11647 echo "$as_me: failed program was:" >&5
11648 sed 's/^/| /' conftest.
$ac_ext >&5
11650 ac_header_compiler
=no
11652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11654 echo "${ECHO_T}$ac_header_compiler" >&6
11656 # Is the header present?
11657 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11658 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11659 cat >conftest.
$ac_ext <<_ACEOF
11662 cat confdefs.h
>>conftest.
$ac_ext
11663 cat >>conftest.
$ac_ext <<_ACEOF
11664 /* end confdefs.h. */
11665 #include <$ac_header>
11667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11668 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11670 grep -v '^ *+' conftest.er1
>conftest.err
11672 cat conftest.err
>&5
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } >/dev
/null
; then
11675 if test -s conftest.err
; then
11676 ac_cpp_err
=$ac_c_preproc_warn_flag
11677 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11684 if test -z "$ac_cpp_err"; then
11685 ac_header_preproc
=yes
11687 echo "$as_me: failed program was:" >&5
11688 sed 's/^/| /' conftest.
$ac_ext >&5
11690 ac_header_preproc
=no
11692 rm -f conftest.err conftest.
$ac_ext
11693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11694 echo "${ECHO_T}$ac_header_preproc" >&6
11696 # So? What about this header?
11697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11699 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11700 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11702 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11703 ac_header_preproc
=yes
11706 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11707 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11708 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11709 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11710 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11711 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11712 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11713 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11715 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11716 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11717 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11720 ## ------------------------------------------ ##
11721 ## Report this to the AC_PACKAGE_NAME lists. ##
11722 ## ------------------------------------------ ##
11725 sed "s/^/$as_me: WARNING: /" >&2
11728 echo "$as_me:$LINENO: checking for $ac_header" >&5
11729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11731 echo $ECHO_N "(cached) $ECHO_C" >&6
11733 eval "$as_ac_Header=\$ac_header_preproc"
11735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11740 cat >>confdefs.h
<<_ACEOF
11741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11750 for ac_header
in poll.h sys
/poll.h
11752 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11754 echo "$as_me:$LINENO: checking for $ac_header" >&5
11755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11762 # Is the header compilable?
11763 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11764 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11765 cat >conftest.
$ac_ext <<_ACEOF
11768 cat confdefs.h
>>conftest.
$ac_ext
11769 cat >>conftest.
$ac_ext <<_ACEOF
11770 /* end confdefs.h. */
11771 $ac_includes_default
11772 #include <$ac_header>
11774 rm -f conftest.
$ac_objext
11775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11776 (eval $ac_compile) 2>conftest.er1
11778 grep -v '^ *+' conftest.er1
>conftest.err
11780 cat conftest.err
>&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); } &&
11783 { ac_try
='test -z "$ac_c_werror_flag"
11784 || test ! -s conftest.err'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; } &&
11790 { ac_try
='test -s conftest.$ac_objext'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 ac_header_compiler
=yes
11798 echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.
$ac_ext >&5
11801 ac_header_compiler
=no
11803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11805 echo "${ECHO_T}$ac_header_compiler" >&6
11807 # Is the header present?
11808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11810 cat >conftest.
$ac_ext <<_ACEOF
11813 cat confdefs.h
>>conftest.
$ac_ext
11814 cat >>conftest.
$ac_ext <<_ACEOF
11815 /* end confdefs.h. */
11816 #include <$ac_header>
11818 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11819 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11821 grep -v '^ *+' conftest.er1
>conftest.err
11823 cat conftest.err
>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } >/dev
/null
; then
11826 if test -s conftest.err
; then
11827 ac_cpp_err
=$ac_c_preproc_warn_flag
11828 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11835 if test -z "$ac_cpp_err"; then
11836 ac_header_preproc
=yes
11838 echo "$as_me: failed program was:" >&5
11839 sed 's/^/| /' conftest.
$ac_ext >&5
11841 ac_header_preproc
=no
11843 rm -f conftest.err conftest.
$ac_ext
11844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11845 echo "${ECHO_T}$ac_header_preproc" >&6
11847 # So? What about this header?
11848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11853 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11854 ac_header_preproc
=yes
11857 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11858 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11859 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11860 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11861 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11862 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11863 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11864 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11867 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11868 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11871 ## ------------------------------------------ ##
11872 ## Report this to the AC_PACKAGE_NAME lists. ##
11873 ## ------------------------------------------ ##
11876 sed "s/^/$as_me: WARNING: /" >&2
11879 echo "$as_me:$LINENO: checking for $ac_header" >&5
11880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11882 echo $ECHO_N "(cached) $ECHO_C" >&6
11884 eval "$as_ac_Header=\$ac_header_preproc"
11886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11890 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11891 cat >>confdefs.h
<<_ACEOF
11892 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11902 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
11904 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11906 echo "$as_me:$LINENO: checking for $ac_header" >&5
11907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11909 echo $ECHO_N "(cached) $ECHO_C" >&6
11911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11914 # Is the header compilable?
11915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11917 cat >conftest.
$ac_ext <<_ACEOF
11920 cat confdefs.h
>>conftest.
$ac_ext
11921 cat >>conftest.
$ac_ext <<_ACEOF
11922 /* end confdefs.h. */
11923 $ac_includes_default
11924 #include <$ac_header>
11926 rm -f conftest.
$ac_objext
11927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11928 (eval $ac_compile) 2>conftest.er1
11930 grep -v '^ *+' conftest.er1
>conftest.err
11932 cat conftest.err
>&5
11933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11934 (exit $ac_status); } &&
11935 { ac_try
='test -z "$ac_c_werror_flag"
11936 || test ! -s conftest.err'
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11938 (eval $ac_try) 2>&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; } &&
11942 { ac_try
='test -s conftest.$ac_objext'
11943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11944 (eval $ac_try) 2>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); }; }; then
11948 ac_header_compiler
=yes
11950 echo "$as_me: failed program was:" >&5
11951 sed 's/^/| /' conftest.
$ac_ext >&5
11953 ac_header_compiler
=no
11955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11957 echo "${ECHO_T}$ac_header_compiler" >&6
11959 # Is the header present?
11960 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11962 cat >conftest.
$ac_ext <<_ACEOF
11965 cat confdefs.h
>>conftest.
$ac_ext
11966 cat >>conftest.
$ac_ext <<_ACEOF
11967 /* end confdefs.h. */
11968 #include <$ac_header>
11970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11971 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11973 grep -v '^ *+' conftest.er1
>conftest.err
11975 cat conftest.err
>&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } >/dev
/null
; then
11978 if test -s conftest.err
; then
11979 ac_cpp_err
=$ac_c_preproc_warn_flag
11980 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11987 if test -z "$ac_cpp_err"; then
11988 ac_header_preproc
=yes
11990 echo "$as_me: failed program was:" >&5
11991 sed 's/^/| /' conftest.
$ac_ext >&5
11993 ac_header_preproc
=no
11995 rm -f conftest.err conftest.
$ac_ext
11996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11997 echo "${ECHO_T}$ac_header_preproc" >&6
11999 # So? What about this header?
12000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12002 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12003 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12005 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12006 ac_header_preproc
=yes
12009 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12010 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12011 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12012 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12013 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12014 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12015 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12016 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12018 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12019 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12020 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12023 ## ------------------------------------------ ##
12024 ## Report this to the AC_PACKAGE_NAME lists. ##
12025 ## ------------------------------------------ ##
12028 sed "s/^/$as_me: WARNING: /" >&2
12031 echo "$as_me:$LINENO: checking for $ac_header" >&5
12032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 eval "$as_ac_Header=\$ac_header_preproc"
12038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12043 cat >>confdefs.h
<<_ACEOF
12044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12052 for ac_header
in signal.h
12054 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12056 echo "$as_me:$LINENO: checking for $ac_header" >&5
12057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12059 echo $ECHO_N "(cached) $ECHO_C" >&6
12061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12064 # Is the header compilable?
12065 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12066 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12067 cat >conftest.
$ac_ext <<_ACEOF
12070 cat confdefs.h
>>conftest.
$ac_ext
12071 cat >>conftest.
$ac_ext <<_ACEOF
12072 /* end confdefs.h. */
12073 $ac_includes_default
12074 #include <$ac_header>
12076 rm -f conftest.
$ac_objext
12077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12078 (eval $ac_compile) 2>conftest.er1
12080 grep -v '^ *+' conftest.er1
>conftest.err
12082 cat conftest.err
>&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); } &&
12085 { ac_try
='test -z "$ac_c_werror_flag"
12086 || test ! -s conftest.err'
12087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088 (eval $ac_try) 2>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); }; } &&
12092 { ac_try
='test -s conftest.$ac_objext'
12093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12094 (eval $ac_try) 2>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); }; }; then
12098 ac_header_compiler
=yes
12100 echo "$as_me: failed program was:" >&5
12101 sed 's/^/| /' conftest.
$ac_ext >&5
12103 ac_header_compiler
=no
12105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12107 echo "${ECHO_T}$ac_header_compiler" >&6
12109 # Is the header present?
12110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12112 cat >conftest.
$ac_ext <<_ACEOF
12115 cat confdefs.h
>>conftest.
$ac_ext
12116 cat >>conftest.
$ac_ext <<_ACEOF
12117 /* end confdefs.h. */
12118 #include <$ac_header>
12120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12121 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12123 grep -v '^ *+' conftest.er1
>conftest.err
12125 cat conftest.err
>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); } >/dev
/null
; then
12128 if test -s conftest.err
; then
12129 ac_cpp_err
=$ac_c_preproc_warn_flag
12130 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12137 if test -z "$ac_cpp_err"; then
12138 ac_header_preproc
=yes
12140 echo "$as_me: failed program was:" >&5
12141 sed 's/^/| /' conftest.
$ac_ext >&5
12143 ac_header_preproc
=no
12145 rm -f conftest.err conftest.
$ac_ext
12146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12147 echo "${ECHO_T}$ac_header_preproc" >&6
12149 # So? What about this header?
12150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12156 ac_header_preproc
=yes
12159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12163 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12165 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12166 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12169 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12173 ## ------------------------------------------ ##
12174 ## Report this to the AC_PACKAGE_NAME lists. ##
12175 ## ------------------------------------------ ##
12178 sed "s/^/$as_me: WARNING: /" >&2
12181 echo "$as_me:$LINENO: checking for $ac_header" >&5
12182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12186 eval "$as_ac_Header=\$ac_header_preproc"
12188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12193 cat >>confdefs.h
<<_ACEOF
12194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12202 for ac_header
in stddef.h
12204 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12206 echo "$as_me:$LINENO: checking for $ac_header" >&5
12207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12214 # Is the header compilable?
12215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12217 cat >conftest.
$ac_ext <<_ACEOF
12220 cat confdefs.h
>>conftest.
$ac_ext
12221 cat >>conftest.
$ac_ext <<_ACEOF
12222 /* end confdefs.h. */
12223 $ac_includes_default
12224 #include <$ac_header>
12226 rm -f conftest.
$ac_objext
12227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12228 (eval $ac_compile) 2>conftest.er1
12230 grep -v '^ *+' conftest.er1
>conftest.err
12232 cat conftest.err
>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } &&
12235 { ac_try
='test -z "$ac_c_werror_flag"
12236 || test ! -s conftest.err'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; } &&
12242 { ac_try
='test -s conftest.$ac_objext'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; }; then
12248 ac_header_compiler
=yes
12250 echo "$as_me: failed program was:" >&5
12251 sed 's/^/| /' conftest.
$ac_ext >&5
12253 ac_header_compiler
=no
12255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12257 echo "${ECHO_T}$ac_header_compiler" >&6
12259 # Is the header present?
12260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12262 cat >conftest.
$ac_ext <<_ACEOF
12265 cat confdefs.h
>>conftest.
$ac_ext
12266 cat >>conftest.
$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12268 #include <$ac_header>
12270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12273 grep -v '^ *+' conftest.er1
>conftest.err
12275 cat conftest.err
>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } >/dev
/null
; then
12278 if test -s conftest.err
; then
12279 ac_cpp_err
=$ac_c_preproc_warn_flag
12280 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12287 if test -z "$ac_cpp_err"; then
12288 ac_header_preproc
=yes
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.
$ac_ext >&5
12293 ac_header_preproc
=no
12295 rm -f conftest.err conftest.
$ac_ext
12296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12297 echo "${ECHO_T}$ac_header_preproc" >&6
12299 # So? What about this header?
12300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12306 ac_header_preproc
=yes
12309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12323 ## ------------------------------------------ ##
12324 ## Report this to the AC_PACKAGE_NAME lists. ##
12325 ## ------------------------------------------ ##
12328 sed "s/^/$as_me: WARNING: /" >&2
12331 echo "$as_me:$LINENO: checking for $ac_header" >&5
12332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12336 eval "$as_ac_Header=\$ac_header_preproc"
12338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12343 cat >>confdefs.h
<<_ACEOF
12344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12352 for ac_header
in stdlib.h
12354 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12356 echo "$as_me:$LINENO: checking for $ac_header" >&5
12357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12364 # Is the header compilable?
12365 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12366 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12367 cat >conftest.
$ac_ext <<_ACEOF
12370 cat confdefs.h
>>conftest.
$ac_ext
12371 cat >>conftest.
$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12373 $ac_includes_default
12374 #include <$ac_header>
12376 rm -f conftest.
$ac_objext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12378 (eval $ac_compile) 2>conftest.er1
12380 grep -v '^ *+' conftest.er1
>conftest.err
12382 cat conftest.err
>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try
='test -z "$ac_c_werror_flag"
12386 || test ! -s conftest.err'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; } &&
12392 { ac_try
='test -s conftest.$ac_objext'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; }; then
12398 ac_header_compiler
=yes
12400 echo "$as_me: failed program was:" >&5
12401 sed 's/^/| /' conftest.
$ac_ext >&5
12403 ac_header_compiler
=no
12405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12407 echo "${ECHO_T}$ac_header_compiler" >&6
12409 # Is the header present?
12410 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12412 cat >conftest.
$ac_ext <<_ACEOF
12415 cat confdefs.h
>>conftest.
$ac_ext
12416 cat >>conftest.
$ac_ext <<_ACEOF
12417 /* end confdefs.h. */
12418 #include <$ac_header>
12420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12421 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12423 grep -v '^ *+' conftest.er1
>conftest.err
12425 cat conftest.err
>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); } >/dev
/null
; then
12428 if test -s conftest.err
; then
12429 ac_cpp_err
=$ac_c_preproc_warn_flag
12430 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12437 if test -z "$ac_cpp_err"; then
12438 ac_header_preproc
=yes
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.
$ac_ext >&5
12443 ac_header_preproc
=no
12445 rm -f conftest.err conftest.
$ac_ext
12446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12447 echo "${ECHO_T}$ac_header_preproc" >&6
12449 # So? What about this header?
12450 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12452 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12453 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12455 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12456 ac_header_preproc
=yes
12459 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12460 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12461 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12462 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12463 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12464 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12465 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12466 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12469 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12470 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12473 ## ------------------------------------------ ##
12474 ## Report this to the AC_PACKAGE_NAME lists. ##
12475 ## ------------------------------------------ ##
12478 sed "s/^/$as_me: WARNING: /" >&2
12481 echo "$as_me:$LINENO: checking for $ac_header" >&5
12482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 eval "$as_ac_Header=\$ac_header_preproc"
12488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12493 cat >>confdefs.h
<<_ACEOF
12494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12502 for ac_header
in stdint.h
12504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12506 echo "$as_me:$LINENO: checking for $ac_header" >&5
12507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12509 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12514 # Is the header compilable?
12515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12517 cat >conftest.
$ac_ext <<_ACEOF
12520 cat confdefs.h
>>conftest.
$ac_ext
12521 cat >>conftest.
$ac_ext <<_ACEOF
12522 /* end confdefs.h. */
12523 $ac_includes_default
12524 #include <$ac_header>
12526 rm -f conftest.
$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12530 grep -v '^ *+' conftest.er1
>conftest.err
12532 cat conftest.err
>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try
='test -z "$ac_c_werror_flag"
12536 || test ! -s conftest.err'
12537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12538 (eval $ac_try) 2>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); }; } &&
12542 { ac_try
='test -s conftest.$ac_objext'
12543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12544 (eval $ac_try) 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); }; }; then
12548 ac_header_compiler
=yes
12550 echo "$as_me: failed program was:" >&5
12551 sed 's/^/| /' conftest.
$ac_ext >&5
12553 ac_header_compiler
=no
12555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12557 echo "${ECHO_T}$ac_header_compiler" >&6
12559 # Is the header present?
12560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12562 cat >conftest.
$ac_ext <<_ACEOF
12565 cat confdefs.h
>>conftest.
$ac_ext
12566 cat >>conftest.
$ac_ext <<_ACEOF
12567 /* end confdefs.h. */
12568 #include <$ac_header>
12570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12571 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12573 grep -v '^ *+' conftest.er1
>conftest.err
12575 cat conftest.err
>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); } >/dev
/null
; then
12578 if test -s conftest.err
; then
12579 ac_cpp_err
=$ac_c_preproc_warn_flag
12580 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12587 if test -z "$ac_cpp_err"; then
12588 ac_header_preproc
=yes
12590 echo "$as_me: failed program was:" >&5
12591 sed 's/^/| /' conftest.
$ac_ext >&5
12593 ac_header_preproc
=no
12595 rm -f conftest.err conftest.
$ac_ext
12596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12597 echo "${ECHO_T}$ac_header_preproc" >&6
12599 # So? What about this header?
12600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12606 ac_header_preproc
=yes
12609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12623 ## ------------------------------------------ ##
12624 ## Report this to the AC_PACKAGE_NAME lists. ##
12625 ## ------------------------------------------ ##
12628 sed "s/^/$as_me: WARNING: /" >&2
12631 echo "$as_me:$LINENO: checking for $ac_header" >&5
12632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 eval "$as_ac_Header=\$ac_header_preproc"
12638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12643 cat >>confdefs.h
<<_ACEOF
12644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12654 for ac_header
in string.h memory.h
strings.h
12656 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12658 echo "$as_me:$LINENO: checking for $ac_header" >&5
12659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12661 echo $ECHO_N "(cached) $ECHO_C" >&6
12663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12666 # Is the header compilable?
12667 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12669 cat >conftest.
$ac_ext <<_ACEOF
12672 cat confdefs.h
>>conftest.
$ac_ext
12673 cat >>conftest.
$ac_ext <<_ACEOF
12674 /* end confdefs.h. */
12675 $ac_includes_default
12676 #include <$ac_header>
12678 rm -f conftest.
$ac_objext
12679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12680 (eval $ac_compile) 2>conftest.er1
12682 grep -v '^ *+' conftest.er1
>conftest.err
12684 cat conftest.err
>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); } &&
12687 { ac_try
='test -z "$ac_c_werror_flag"
12688 || test ! -s conftest.err'
12689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12690 (eval $ac_try) 2>&5
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); }; } &&
12694 { ac_try
='test -s conftest.$ac_objext'
12695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12696 (eval $ac_try) 2>&5
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); }; }; then
12700 ac_header_compiler
=yes
12702 echo "$as_me: failed program was:" >&5
12703 sed 's/^/| /' conftest.
$ac_ext >&5
12705 ac_header_compiler
=no
12707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12709 echo "${ECHO_T}$ac_header_compiler" >&6
12711 # Is the header present?
12712 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12713 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12714 cat >conftest.
$ac_ext <<_ACEOF
12717 cat confdefs.h
>>conftest.
$ac_ext
12718 cat >>conftest.
$ac_ext <<_ACEOF
12719 /* end confdefs.h. */
12720 #include <$ac_header>
12722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12723 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12725 grep -v '^ *+' conftest.er1
>conftest.err
12727 cat conftest.err
>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); } >/dev
/null
; then
12730 if test -s conftest.err
; then
12731 ac_cpp_err
=$ac_c_preproc_warn_flag
12732 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12739 if test -z "$ac_cpp_err"; then
12740 ac_header_preproc
=yes
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.
$ac_ext >&5
12745 ac_header_preproc
=no
12747 rm -f conftest.err conftest.
$ac_ext
12748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12749 echo "${ECHO_T}$ac_header_preproc" >&6
12751 # So? What about this header?
12752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12754 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12755 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12757 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12758 ac_header_preproc
=yes
12761 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12762 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12763 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12764 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12765 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12766 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12767 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12768 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12771 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12772 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12775 ## ------------------------------------------ ##
12776 ## Report this to the AC_PACKAGE_NAME lists. ##
12777 ## ------------------------------------------ ##
12780 sed "s/^/$as_me: WARNING: /" >&2
12783 echo "$as_me:$LINENO: checking for $ac_header" >&5
12784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12788 eval "$as_ac_Header=\$ac_header_preproc"
12790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12795 cat >>confdefs.h
<<_ACEOF
12796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12804 for ac_header
in sys
/fault.h
12806 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12808 echo "$as_me:$LINENO: checking for $ac_header" >&5
12809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12816 # Is the header compilable?
12817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12819 cat >conftest.
$ac_ext <<_ACEOF
12822 cat confdefs.h
>>conftest.
$ac_ext
12823 cat >>conftest.
$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12825 $ac_includes_default
12826 #include <$ac_header>
12828 rm -f conftest.
$ac_objext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12830 (eval $ac_compile) 2>conftest.er1
12832 grep -v '^ *+' conftest.er1
>conftest.err
12834 cat conftest.err
>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } &&
12837 { ac_try
='test -z "$ac_c_werror_flag"
12838 || test ! -s conftest.err'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; } &&
12844 { ac_try
='test -s conftest.$ac_objext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12850 ac_header_compiler
=yes
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12855 ac_header_compiler
=no
12857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12859 echo "${ECHO_T}$ac_header_compiler" >&6
12861 # Is the header present?
12862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12864 cat >conftest.
$ac_ext <<_ACEOF
12867 cat confdefs.h
>>conftest.
$ac_ext
12868 cat >>conftest.
$ac_ext <<_ACEOF
12869 /* end confdefs.h. */
12870 #include <$ac_header>
12872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12873 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12875 grep -v '^ *+' conftest.er1
>conftest.err
12877 cat conftest.err
>&5
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); } >/dev
/null
; then
12880 if test -s conftest.err
; then
12881 ac_cpp_err
=$ac_c_preproc_warn_flag
12882 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12889 if test -z "$ac_cpp_err"; then
12890 ac_header_preproc
=yes
12892 echo "$as_me: failed program was:" >&5
12893 sed 's/^/| /' conftest.
$ac_ext >&5
12895 ac_header_preproc
=no
12897 rm -f conftest.err conftest.
$ac_ext
12898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12899 echo "${ECHO_T}$ac_header_preproc" >&6
12901 # So? What about this header?
12902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12904 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12907 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12908 ac_header_preproc
=yes
12911 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12913 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12914 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12915 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12916 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12917 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12918 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12922 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12925 ## ------------------------------------------ ##
12926 ## Report this to the AC_PACKAGE_NAME lists. ##
12927 ## ------------------------------------------ ##
12930 sed "s/^/$as_me: WARNING: /" >&2
12933 echo "$as_me:$LINENO: checking for $ac_header" >&5
12934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12936 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 eval "$as_ac_Header=\$ac_header_preproc"
12940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12945 cat >>confdefs.h
<<_ACEOF
12946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12954 for ac_header
in sys
/file.h
12956 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12958 echo "$as_me:$LINENO: checking for $ac_header" >&5
12959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12966 # Is the header compilable?
12967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12969 cat >conftest.
$ac_ext <<_ACEOF
12972 cat confdefs.h
>>conftest.
$ac_ext
12973 cat >>conftest.
$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12975 $ac_includes_default
12976 #include <$ac_header>
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_header_compiler
=yes
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.
$ac_ext >&5
13005 ac_header_compiler
=no
13007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13009 echo "${ECHO_T}$ac_header_compiler" >&6
13011 # Is the header present?
13012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13014 cat >conftest.
$ac_ext <<_ACEOF
13017 cat confdefs.h
>>conftest.
$ac_ext
13018 cat >>conftest.
$ac_ext <<_ACEOF
13019 /* end confdefs.h. */
13020 #include <$ac_header>
13022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13023 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13025 grep -v '^ *+' conftest.er1
>conftest.err
13027 cat conftest.err
>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); } >/dev
/null
; then
13030 if test -s conftest.err
; then
13031 ac_cpp_err
=$ac_c_preproc_warn_flag
13032 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13039 if test -z "$ac_cpp_err"; then
13040 ac_header_preproc
=yes
13042 echo "$as_me: failed program was:" >&5
13043 sed 's/^/| /' conftest.
$ac_ext >&5
13045 ac_header_preproc
=no
13047 rm -f conftest.err conftest.
$ac_ext
13048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13049 echo "${ECHO_T}$ac_header_preproc" >&6
13051 # So? What about this header?
13052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13058 ac_header_preproc
=yes
13061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13075 ## ------------------------------------------ ##
13076 ## Report this to the AC_PACKAGE_NAME lists. ##
13077 ## ------------------------------------------ ##
13080 sed "s/^/$as_me: WARNING: /" >&2
13083 echo "$as_me:$LINENO: checking for $ac_header" >&5
13084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13086 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 eval "$as_ac_Header=\$ac_header_preproc"
13090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13095 cat >>confdefs.h
<<_ACEOF
13096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13104 for ac_header
in sys
/filio.h
13106 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13108 echo "$as_me:$LINENO: checking for $ac_header" >&5
13109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13116 # Is the header compilable?
13117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13119 cat >conftest.
$ac_ext <<_ACEOF
13122 cat confdefs.h
>>conftest.
$ac_ext
13123 cat >>conftest.
$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13125 $ac_includes_default
13126 #include <$ac_header>
13128 rm -f conftest.
$ac_objext
13129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13130 (eval $ac_compile) 2>conftest.er1
13132 grep -v '^ *+' conftest.er1
>conftest.err
13134 cat conftest.err
>&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); } &&
13137 { ac_try
='test -z "$ac_c_werror_flag"
13138 || test ! -s conftest.err'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try
='test -s conftest.$ac_objext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 ac_header_compiler
=yes
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.
$ac_ext >&5
13155 ac_header_compiler
=no
13157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13159 echo "${ECHO_T}$ac_header_compiler" >&6
13161 # Is the header present?
13162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13164 cat >conftest.
$ac_ext <<_ACEOF
13167 cat confdefs.h
>>conftest.
$ac_ext
13168 cat >>conftest.
$ac_ext <<_ACEOF
13169 /* end confdefs.h. */
13170 #include <$ac_header>
13172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13173 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13175 grep -v '^ *+' conftest.er1
>conftest.err
13177 cat conftest.err
>&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); } >/dev
/null
; then
13180 if test -s conftest.err
; then
13181 ac_cpp_err
=$ac_c_preproc_warn_flag
13182 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13189 if test -z "$ac_cpp_err"; then
13190 ac_header_preproc
=yes
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.
$ac_ext >&5
13195 ac_header_preproc
=no
13197 rm -f conftest.err conftest.
$ac_ext
13198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13199 echo "${ECHO_T}$ac_header_preproc" >&6
13201 # So? What about this header?
13202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13208 ac_header_preproc
=yes
13211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13225 ## ------------------------------------------ ##
13226 ## Report this to the AC_PACKAGE_NAME lists. ##
13227 ## ------------------------------------------ ##
13230 sed "s/^/$as_me: WARNING: /" >&2
13233 echo "$as_me:$LINENO: checking for $ac_header" >&5
13234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13236 echo $ECHO_N "(cached) $ECHO_C" >&6
13238 eval "$as_ac_Header=\$ac_header_preproc"
13240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13245 cat >>confdefs.h
<<_ACEOF
13246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13254 for ac_header
in sys
/ioctl.h
13256 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13258 echo "$as_me:$LINENO: checking for $ac_header" >&5
13259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13266 # Is the header compilable?
13267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13269 cat >conftest.
$ac_ext <<_ACEOF
13272 cat confdefs.h
>>conftest.
$ac_ext
13273 cat >>conftest.
$ac_ext <<_ACEOF
13274 /* end confdefs.h. */
13275 $ac_includes_default
13276 #include <$ac_header>
13278 rm -f conftest.
$ac_objext
13279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13280 (eval $ac_compile) 2>conftest.er1
13282 grep -v '^ *+' conftest.er1
>conftest.err
13284 cat conftest.err
>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } &&
13287 { ac_try
='test -z "$ac_c_werror_flag"
13288 || test ! -s conftest.err'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; } &&
13294 { ac_try
='test -s conftest.$ac_objext'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; }; then
13300 ac_header_compiler
=yes
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.
$ac_ext >&5
13305 ac_header_compiler
=no
13307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13309 echo "${ECHO_T}$ac_header_compiler" >&6
13311 # Is the header present?
13312 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13313 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13314 cat >conftest.
$ac_ext <<_ACEOF
13317 cat confdefs.h
>>conftest.
$ac_ext
13318 cat >>conftest.
$ac_ext <<_ACEOF
13319 /* end confdefs.h. */
13320 #include <$ac_header>
13322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13323 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13325 grep -v '^ *+' conftest.er1
>conftest.err
13327 cat conftest.err
>&5
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); } >/dev
/null
; then
13330 if test -s conftest.err
; then
13331 ac_cpp_err
=$ac_c_preproc_warn_flag
13332 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13339 if test -z "$ac_cpp_err"; then
13340 ac_header_preproc
=yes
13342 echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.
$ac_ext >&5
13345 ac_header_preproc
=no
13347 rm -f conftest.err conftest.
$ac_ext
13348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13349 echo "${ECHO_T}$ac_header_preproc" >&6
13351 # So? What about this header?
13352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13354 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13355 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13357 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13358 ac_header_preproc
=yes
13361 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13363 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13365 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13366 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13367 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13368 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13371 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13372 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13375 ## ------------------------------------------ ##
13376 ## Report this to the AC_PACKAGE_NAME lists. ##
13377 ## ------------------------------------------ ##
13380 sed "s/^/$as_me: WARNING: /" >&2
13383 echo "$as_me:$LINENO: checking for $ac_header" >&5
13384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13386 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 eval "$as_ac_Header=\$ac_header_preproc"
13390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13395 cat >>confdefs.h
<<_ACEOF
13396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13404 for ac_header
in sys
/param.h
13406 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13408 echo "$as_me:$LINENO: checking for $ac_header" >&5
13409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13416 # Is the header compilable?
13417 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13418 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13419 cat >conftest.
$ac_ext <<_ACEOF
13422 cat confdefs.h
>>conftest.
$ac_ext
13423 cat >>conftest.
$ac_ext <<_ACEOF
13424 /* end confdefs.h. */
13425 $ac_includes_default
13426 #include <$ac_header>
13428 rm -f conftest.
$ac_objext
13429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13430 (eval $ac_compile) 2>conftest.er1
13432 grep -v '^ *+' conftest.er1
>conftest.err
13434 cat conftest.err
>&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); } &&
13437 { ac_try
='test -z "$ac_c_werror_flag"
13438 || test ! -s conftest.err'
13439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13440 (eval $ac_try) 2>&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); }; } &&
13444 { ac_try
='test -s conftest.$ac_objext'
13445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 (eval $ac_try) 2>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; }; then
13450 ac_header_compiler
=yes
13452 echo "$as_me: failed program was:" >&5
13453 sed 's/^/| /' conftest.
$ac_ext >&5
13455 ac_header_compiler
=no
13457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13459 echo "${ECHO_T}$ac_header_compiler" >&6
13461 # Is the header present?
13462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13464 cat >conftest.
$ac_ext <<_ACEOF
13467 cat confdefs.h
>>conftest.
$ac_ext
13468 cat >>conftest.
$ac_ext <<_ACEOF
13469 /* end confdefs.h. */
13470 #include <$ac_header>
13472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13473 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13475 grep -v '^ *+' conftest.er1
>conftest.err
13477 cat conftest.err
>&5
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479 (exit $ac_status); } >/dev
/null
; then
13480 if test -s conftest.err
; then
13481 ac_cpp_err
=$ac_c_preproc_warn_flag
13482 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13489 if test -z "$ac_cpp_err"; then
13490 ac_header_preproc
=yes
13492 echo "$as_me: failed program was:" >&5
13493 sed 's/^/| /' conftest.
$ac_ext >&5
13495 ac_header_preproc
=no
13497 rm -f conftest.err conftest.
$ac_ext
13498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13499 echo "${ECHO_T}$ac_header_preproc" >&6
13501 # So? What about this header?
13502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13508 ac_header_preproc
=yes
13511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13525 ## ------------------------------------------ ##
13526 ## Report this to the AC_PACKAGE_NAME lists. ##
13527 ## ------------------------------------------ ##
13530 sed "s/^/$as_me: WARNING: /" >&2
13533 echo "$as_me:$LINENO: checking for $ac_header" >&5
13534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13538 eval "$as_ac_Header=\$ac_header_preproc"
13540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13545 cat >>confdefs.h
<<_ACEOF
13546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13554 for ac_header
in sys
/resource.h
13556 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13558 echo "$as_me:$LINENO: checking for $ac_header" >&5
13559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13566 # Is the header compilable?
13567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13569 cat >conftest.
$ac_ext <<_ACEOF
13572 cat confdefs.h
>>conftest.
$ac_ext
13573 cat >>conftest.
$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 $ac_includes_default
13576 #include <$ac_header>
13578 rm -f conftest.
$ac_objext
13579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13580 (eval $ac_compile) 2>conftest.er1
13582 grep -v '^ *+' conftest.er1
>conftest.err
13584 cat conftest.err
>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); } &&
13587 { ac_try
='test -z "$ac_c_werror_flag"
13588 || test ! -s conftest.err'
13589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13590 (eval $ac_try) 2>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); }; } &&
13594 { ac_try
='test -s conftest.$ac_objext'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; }; then
13600 ac_header_compiler
=yes
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.
$ac_ext >&5
13605 ac_header_compiler
=no
13607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13609 echo "${ECHO_T}$ac_header_compiler" >&6
13611 # Is the header present?
13612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13614 cat >conftest.
$ac_ext <<_ACEOF
13617 cat confdefs.h
>>conftest.
$ac_ext
13618 cat >>conftest.
$ac_ext <<_ACEOF
13619 /* end confdefs.h. */
13620 #include <$ac_header>
13622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13625 grep -v '^ *+' conftest.er1
>conftest.err
13627 cat conftest.err
>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } >/dev
/null
; then
13630 if test -s conftest.err
; then
13631 ac_cpp_err
=$ac_c_preproc_warn_flag
13632 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13639 if test -z "$ac_cpp_err"; then
13640 ac_header_preproc
=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.
$ac_ext >&5
13645 ac_header_preproc
=no
13647 rm -f conftest.err conftest.
$ac_ext
13648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13649 echo "${ECHO_T}$ac_header_preproc" >&6
13651 # So? What about this header?
13652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13658 ac_header_preproc
=yes
13661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13675 ## ------------------------------------------ ##
13676 ## Report this to the AC_PACKAGE_NAME lists. ##
13677 ## ------------------------------------------ ##
13680 sed "s/^/$as_me: WARNING: /" >&2
13683 echo "$as_me:$LINENO: checking for $ac_header" >&5
13684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13688 eval "$as_ac_Header=\$ac_header_preproc"
13690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13695 cat >>confdefs.h
<<_ACEOF
13696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13704 for ac_header
in sys
/proc.h
13706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13707 echo "$as_me:$LINENO: checking for $ac_header" >&5
13708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13710 echo $ECHO_N "(cached) $ECHO_C" >&6
13712 cat >conftest.
$ac_ext <<_ACEOF
13715 cat confdefs.h
>>conftest.
$ac_ext
13716 cat >>conftest.
$ac_ext <<_ACEOF
13717 /* end confdefs.h. */
13718 #if HAVE_SYS_PARAM_H
13719 # include <sys/param.h>
13723 #include <$ac_header>
13725 rm -f conftest.
$ac_objext
13726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13727 (eval $ac_compile) 2>conftest.er1
13729 grep -v '^ *+' conftest.er1
>conftest.err
13731 cat conftest.err
>&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); } &&
13734 { ac_try
='test -z "$ac_c_werror_flag"
13735 || test ! -s conftest.err'
13736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13737 (eval $ac_try) 2>&5
13739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740 (exit $ac_status); }; } &&
13741 { ac_try
='test -s conftest.$ac_objext'
13742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13743 (eval $ac_try) 2>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; }; then
13747 eval "$as_ac_Header=yes"
13749 echo "$as_me: failed program was:" >&5
13750 sed 's/^/| /' conftest.
$ac_ext >&5
13752 eval "$as_ac_Header=no"
13754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13759 cat >>confdefs.h
<<_ACEOF
13760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13768 for ac_header
in sys
/procfs.h
13770 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13772 echo "$as_me:$LINENO: checking for $ac_header" >&5
13773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13780 # Is the header compilable?
13781 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13782 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13783 cat >conftest.
$ac_ext <<_ACEOF
13786 cat confdefs.h
>>conftest.
$ac_ext
13787 cat >>conftest.
$ac_ext <<_ACEOF
13788 /* end confdefs.h. */
13789 $ac_includes_default
13790 #include <$ac_header>
13792 rm -f conftest.
$ac_objext
13793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13794 (eval $ac_compile) 2>conftest.er1
13796 grep -v '^ *+' conftest.er1
>conftest.err
13798 cat conftest.err
>&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); } &&
13801 { ac_try
='test -z "$ac_c_werror_flag"
13802 || test ! -s conftest.err'
13803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804 (eval $ac_try) 2>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; } &&
13808 { ac_try
='test -s conftest.$ac_objext'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; }; then
13814 ac_header_compiler
=yes
13816 echo "$as_me: failed program was:" >&5
13817 sed 's/^/| /' conftest.
$ac_ext >&5
13819 ac_header_compiler
=no
13821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13823 echo "${ECHO_T}$ac_header_compiler" >&6
13825 # Is the header present?
13826 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13827 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13828 cat >conftest.
$ac_ext <<_ACEOF
13831 cat confdefs.h
>>conftest.
$ac_ext
13832 cat >>conftest.
$ac_ext <<_ACEOF
13833 /* end confdefs.h. */
13834 #include <$ac_header>
13836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13837 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13839 grep -v '^ *+' conftest.er1
>conftest.err
13841 cat conftest.err
>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } >/dev
/null
; then
13844 if test -s conftest.err
; then
13845 ac_cpp_err
=$ac_c_preproc_warn_flag
13846 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13853 if test -z "$ac_cpp_err"; then
13854 ac_header_preproc
=yes
13856 echo "$as_me: failed program was:" >&5
13857 sed 's/^/| /' conftest.
$ac_ext >&5
13859 ac_header_preproc
=no
13861 rm -f conftest.err conftest.
$ac_ext
13862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13863 echo "${ECHO_T}$ac_header_preproc" >&6
13865 # So? What about this header?
13866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13868 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13869 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13871 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13872 ac_header_preproc
=yes
13875 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13876 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13877 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13878 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13879 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13880 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13881 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13882 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13884 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13885 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13886 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13889 ## ------------------------------------------ ##
13890 ## Report this to the AC_PACKAGE_NAME lists. ##
13891 ## ------------------------------------------ ##
13894 sed "s/^/$as_me: WARNING: /" >&2
13897 echo "$as_me:$LINENO: checking for $ac_header" >&5
13898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 eval "$as_ac_Header=\$ac_header_preproc"
13904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13909 cat >>confdefs.h
<<_ACEOF
13910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13919 for ac_header
in sys
/ptrace.h ptrace.h
13921 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13923 echo "$as_me:$LINENO: checking for $ac_header" >&5
13924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13926 echo $ECHO_N "(cached) $ECHO_C" >&6
13928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13931 # Is the header compilable?
13932 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13933 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13934 cat >conftest.
$ac_ext <<_ACEOF
13937 cat confdefs.h
>>conftest.
$ac_ext
13938 cat >>conftest.
$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 $ac_includes_default
13941 #include <$ac_header>
13943 rm -f conftest.
$ac_objext
13944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13945 (eval $ac_compile) 2>conftest.er1
13947 grep -v '^ *+' conftest.er1
>conftest.err
13949 cat conftest.err
>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); } &&
13952 { ac_try
='test -z "$ac_c_werror_flag"
13953 || test ! -s conftest.err'
13954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13955 (eval $ac_try) 2>&5
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); }; } &&
13959 { ac_try
='test -s conftest.$ac_objext'
13960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13961 (eval $ac_try) 2>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); }; }; then
13965 ac_header_compiler
=yes
13967 echo "$as_me: failed program was:" >&5
13968 sed 's/^/| /' conftest.
$ac_ext >&5
13970 ac_header_compiler
=no
13972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13974 echo "${ECHO_T}$ac_header_compiler" >&6
13976 # Is the header present?
13977 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13979 cat >conftest.
$ac_ext <<_ACEOF
13982 cat confdefs.h
>>conftest.
$ac_ext
13983 cat >>conftest.
$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13985 #include <$ac_header>
13987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13990 grep -v '^ *+' conftest.er1
>conftest.err
13992 cat conftest.err
>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); } >/dev
/null
; then
13995 if test -s conftest.err
; then
13996 ac_cpp_err
=$ac_c_preproc_warn_flag
13997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14004 if test -z "$ac_cpp_err"; then
14005 ac_header_preproc
=yes
14007 echo "$as_me: failed program was:" >&5
14008 sed 's/^/| /' conftest.
$ac_ext >&5
14010 ac_header_preproc
=no
14012 rm -f conftest.err conftest.
$ac_ext
14013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14014 echo "${ECHO_T}$ac_header_preproc" >&6
14016 # So? What about this header?
14017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14019 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14023 ac_header_preproc
=yes
14026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14030 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14032 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14033 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14036 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14040 ## ------------------------------------------ ##
14041 ## Report this to the AC_PACKAGE_NAME lists. ##
14042 ## ------------------------------------------ ##
14045 sed "s/^/$as_me: WARNING: /" >&2
14048 echo "$as_me:$LINENO: checking for $ac_header" >&5
14049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6
14053 eval "$as_ac_Header=\$ac_header_preproc"
14055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14060 cat >>confdefs.h
<<_ACEOF
14061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14070 for ac_header
in sys
/reg.h sys
/debugreg.h
14072 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14074 echo "$as_me:$LINENO: checking for $ac_header" >&5
14075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14082 # Is the header compilable?
14083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14085 cat >conftest.
$ac_ext <<_ACEOF
14088 cat confdefs.h
>>conftest.
$ac_ext
14089 cat >>conftest.
$ac_ext <<_ACEOF
14090 /* end confdefs.h. */
14091 $ac_includes_default
14092 #include <$ac_header>
14094 rm -f conftest.
$ac_objext
14095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14096 (eval $ac_compile) 2>conftest.er1
14098 grep -v '^ *+' conftest.er1
>conftest.err
14100 cat conftest.err
>&5
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); } &&
14103 { ac_try
='test -z "$ac_c_werror_flag"
14104 || test ! -s conftest.err'
14105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14106 (eval $ac_try) 2>&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); }; } &&
14110 { ac_try
='test -s conftest.$ac_objext'
14111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14112 (eval $ac_try) 2>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); }; }; then
14116 ac_header_compiler
=yes
14118 echo "$as_me: failed program was:" >&5
14119 sed 's/^/| /' conftest.
$ac_ext >&5
14121 ac_header_compiler
=no
14123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14125 echo "${ECHO_T}$ac_header_compiler" >&6
14127 # Is the header present?
14128 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14130 cat >conftest.
$ac_ext <<_ACEOF
14133 cat confdefs.h
>>conftest.
$ac_ext
14134 cat >>conftest.
$ac_ext <<_ACEOF
14135 /* end confdefs.h. */
14136 #include <$ac_header>
14138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14139 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14141 grep -v '^ *+' conftest.er1
>conftest.err
14143 cat conftest.err
>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } >/dev
/null
; then
14146 if test -s conftest.err
; then
14147 ac_cpp_err
=$ac_c_preproc_warn_flag
14148 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14155 if test -z "$ac_cpp_err"; then
14156 ac_header_preproc
=yes
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.
$ac_ext >&5
14161 ac_header_preproc
=no
14163 rm -f conftest.err conftest.
$ac_ext
14164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14165 echo "${ECHO_T}$ac_header_preproc" >&6
14167 # So? What about this header?
14168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14174 ac_header_preproc
=yes
14177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14181 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14183 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14184 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14191 ## ------------------------------------------ ##
14192 ## Report this to the AC_PACKAGE_NAME lists. ##
14193 ## ------------------------------------------ ##
14196 sed "s/^/$as_me: WARNING: /" >&2
14199 echo "$as_me:$LINENO: checking for $ac_header" >&5
14200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14202 echo $ECHO_N "(cached) $ECHO_C" >&6
14204 eval "$as_ac_Header=\$ac_header_preproc"
14206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14211 cat >>confdefs.h
<<_ACEOF
14212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14220 for ac_header
in sys
/select.h
14222 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14224 echo "$as_me:$LINENO: checking for $ac_header" >&5
14225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14232 # Is the header compilable?
14233 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14234 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14235 cat >conftest.
$ac_ext <<_ACEOF
14238 cat confdefs.h
>>conftest.
$ac_ext
14239 cat >>conftest.
$ac_ext <<_ACEOF
14240 /* end confdefs.h. */
14241 $ac_includes_default
14242 #include <$ac_header>
14244 rm -f conftest.
$ac_objext
14245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14246 (eval $ac_compile) 2>conftest.er1
14248 grep -v '^ *+' conftest.er1
>conftest.err
14250 cat conftest.err
>&5
14251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14252 (exit $ac_status); } &&
14253 { ac_try
='test -z "$ac_c_werror_flag"
14254 || test ! -s conftest.err'
14255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14256 (eval $ac_try) 2>&5
14258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14259 (exit $ac_status); }; } &&
14260 { ac_try
='test -s conftest.$ac_objext'
14261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14262 (eval $ac_try) 2>&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); }; }; then
14266 ac_header_compiler
=yes
14268 echo "$as_me: failed program was:" >&5
14269 sed 's/^/| /' conftest.
$ac_ext >&5
14271 ac_header_compiler
=no
14273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14275 echo "${ECHO_T}$ac_header_compiler" >&6
14277 # Is the header present?
14278 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14280 cat >conftest.
$ac_ext <<_ACEOF
14283 cat confdefs.h
>>conftest.
$ac_ext
14284 cat >>conftest.
$ac_ext <<_ACEOF
14285 /* end confdefs.h. */
14286 #include <$ac_header>
14288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14289 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14291 grep -v '^ *+' conftest.er1
>conftest.err
14293 cat conftest.err
>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } >/dev
/null
; then
14296 if test -s conftest.err
; then
14297 ac_cpp_err
=$ac_c_preproc_warn_flag
14298 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14305 if test -z "$ac_cpp_err"; then
14306 ac_header_preproc
=yes
14308 echo "$as_me: failed program was:" >&5
14309 sed 's/^/| /' conftest.
$ac_ext >&5
14311 ac_header_preproc
=no
14313 rm -f conftest.err conftest.
$ac_ext
14314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14315 echo "${ECHO_T}$ac_header_preproc" >&6
14317 # So? What about this header?
14318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14324 ac_header_preproc
=yes
14327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14341 ## ------------------------------------------ ##
14342 ## Report this to the AC_PACKAGE_NAME lists. ##
14343 ## ------------------------------------------ ##
14346 sed "s/^/$as_me: WARNING: /" >&2
14349 echo "$as_me:$LINENO: checking for $ac_header" >&5
14350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 eval "$as_ac_Header=\$ac_header_preproc"
14356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14361 cat >>confdefs.h
<<_ACEOF
14362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14370 for ac_header
in sys
/syscall.h
14372 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14374 echo "$as_me:$LINENO: checking for $ac_header" >&5
14375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14377 echo $ECHO_N "(cached) $ECHO_C" >&6
14379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14382 # Is the header compilable?
14383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14385 cat >conftest.
$ac_ext <<_ACEOF
14388 cat confdefs.h
>>conftest.
$ac_ext
14389 cat >>conftest.
$ac_ext <<_ACEOF
14390 /* end confdefs.h. */
14391 $ac_includes_default
14392 #include <$ac_header>
14394 rm -f conftest.
$ac_objext
14395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14396 (eval $ac_compile) 2>conftest.er1
14398 grep -v '^ *+' conftest.er1
>conftest.err
14400 cat conftest.err
>&5
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); } &&
14403 { ac_try
='test -z "$ac_c_werror_flag"
14404 || test ! -s conftest.err'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try
='test -s conftest.$ac_objext'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 ac_header_compiler
=yes
14418 echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.
$ac_ext >&5
14421 ac_header_compiler
=no
14423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14425 echo "${ECHO_T}$ac_header_compiler" >&6
14427 # Is the header present?
14428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14430 cat >conftest.
$ac_ext <<_ACEOF
14433 cat confdefs.h
>>conftest.
$ac_ext
14434 cat >>conftest.
$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14436 #include <$ac_header>
14438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14441 grep -v '^ *+' conftest.er1
>conftest.err
14443 cat conftest.err
>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); } >/dev
/null
; then
14446 if test -s conftest.err
; then
14447 ac_cpp_err
=$ac_c_preproc_warn_flag
14448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14455 if test -z "$ac_cpp_err"; then
14456 ac_header_preproc
=yes
14458 echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.
$ac_ext >&5
14461 ac_header_preproc
=no
14463 rm -f conftest.err conftest.
$ac_ext
14464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14465 echo "${ECHO_T}$ac_header_preproc" >&6
14467 # So? What about this header?
14468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14474 ac_header_preproc
=yes
14477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14491 ## ------------------------------------------ ##
14492 ## Report this to the AC_PACKAGE_NAME lists. ##
14493 ## ------------------------------------------ ##
14496 sed "s/^/$as_me: WARNING: /" >&2
14499 echo "$as_me:$LINENO: checking for $ac_header" >&5
14500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14502 echo $ECHO_N "(cached) $ECHO_C" >&6
14504 eval "$as_ac_Header=\$ac_header_preproc"
14506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14511 cat >>confdefs.h
<<_ACEOF
14512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14520 for ac_header
in sys
/types.h
14522 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14524 echo "$as_me:$LINENO: checking for $ac_header" >&5
14525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14532 # Is the header compilable?
14533 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14534 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14535 cat >conftest.
$ac_ext <<_ACEOF
14538 cat confdefs.h
>>conftest.
$ac_ext
14539 cat >>conftest.
$ac_ext <<_ACEOF
14540 /* end confdefs.h. */
14541 $ac_includes_default
14542 #include <$ac_header>
14544 rm -f conftest.
$ac_objext
14545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14546 (eval $ac_compile) 2>conftest.er1
14548 grep -v '^ *+' conftest.er1
>conftest.err
14550 cat conftest.err
>&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); } &&
14553 { ac_try
='test -z "$ac_c_werror_flag"
14554 || test ! -s conftest.err'
14555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14556 (eval $ac_try) 2>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); }; } &&
14560 { ac_try
='test -s conftest.$ac_objext'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14566 ac_header_compiler
=yes
14568 echo "$as_me: failed program was:" >&5
14569 sed 's/^/| /' conftest.
$ac_ext >&5
14571 ac_header_compiler
=no
14573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14574 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14575 echo "${ECHO_T}$ac_header_compiler" >&6
14577 # Is the header present?
14578 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14579 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14580 cat >conftest.
$ac_ext <<_ACEOF
14583 cat confdefs.h
>>conftest.
$ac_ext
14584 cat >>conftest.
$ac_ext <<_ACEOF
14585 /* end confdefs.h. */
14586 #include <$ac_header>
14588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14591 grep -v '^ *+' conftest.er1
>conftest.err
14593 cat conftest.err
>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } >/dev
/null
; then
14596 if test -s conftest.err
; then
14597 ac_cpp_err
=$ac_c_preproc_warn_flag
14598 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14605 if test -z "$ac_cpp_err"; then
14606 ac_header_preproc
=yes
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.
$ac_ext >&5
14611 ac_header_preproc
=no
14613 rm -f conftest.err conftest.
$ac_ext
14614 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14615 echo "${ECHO_T}$ac_header_preproc" >&6
14617 # So? What about this header?
14618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14621 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14623 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14624 ac_header_preproc
=yes
14627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14631 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14632 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14633 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14634 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14637 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14638 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14641 ## ------------------------------------------ ##
14642 ## Report this to the AC_PACKAGE_NAME lists. ##
14643 ## ------------------------------------------ ##
14646 sed "s/^/$as_me: WARNING: /" >&2
14649 echo "$as_me:$LINENO: checking for $ac_header" >&5
14650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14652 echo $ECHO_N "(cached) $ECHO_C" >&6
14654 eval "$as_ac_Header=\$ac_header_preproc"
14656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14661 cat >>confdefs.h
<<_ACEOF
14662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14670 for ac_header
in sys
/user.h
14672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14673 echo "$as_me:$LINENO: checking for $ac_header" >&5
14674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14676 echo $ECHO_N "(cached) $ECHO_C" >&6
14678 cat >conftest.
$ac_ext <<_ACEOF
14681 cat confdefs.h
>>conftest.
$ac_ext
14682 cat >>conftest.
$ac_ext <<_ACEOF
14683 /* end confdefs.h. */
14684 #if HAVE_SYS_PARAM_H
14685 # include <sys/param.h>
14689 #include <$ac_header>
14691 rm -f conftest.
$ac_objext
14692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14693 (eval $ac_compile) 2>conftest.er1
14695 grep -v '^ *+' conftest.er1
>conftest.err
14697 cat conftest.err
>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } &&
14700 { ac_try
='test -z "$ac_c_werror_flag"
14701 || test ! -s conftest.err'
14702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14703 (eval $ac_try) 2>&5
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); }; } &&
14707 { ac_try
='test -s conftest.$ac_objext'
14708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14709 (eval $ac_try) 2>&5
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); }; }; then
14713 eval "$as_ac_Header=yes"
14715 echo "$as_me: failed program was:" >&5
14716 sed 's/^/| /' conftest.
$ac_ext >&5
14718 eval "$as_ac_Header=no"
14720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14725 cat >>confdefs.h
<<_ACEOF
14726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14735 for ac_header
in sys
/wait.h
wait.h
14737 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14739 echo "$as_me:$LINENO: checking for $ac_header" >&5
14740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14747 # Is the header compilable?
14748 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14749 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14750 cat >conftest.
$ac_ext <<_ACEOF
14753 cat confdefs.h
>>conftest.
$ac_ext
14754 cat >>conftest.
$ac_ext <<_ACEOF
14755 /* end confdefs.h. */
14756 $ac_includes_default
14757 #include <$ac_header>
14759 rm -f conftest.
$ac_objext
14760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14761 (eval $ac_compile) 2>conftest.er1
14763 grep -v '^ *+' conftest.er1
>conftest.err
14765 cat conftest.err
>&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } &&
14768 { ac_try
='test -z "$ac_c_werror_flag"
14769 || test ! -s conftest.err'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; } &&
14775 { ac_try
='test -s conftest.$ac_objext'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; }; then
14781 ac_header_compiler
=yes
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.
$ac_ext >&5
14786 ac_header_compiler
=no
14788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14790 echo "${ECHO_T}$ac_header_compiler" >&6
14792 # Is the header present?
14793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14795 cat >conftest.
$ac_ext <<_ACEOF
14798 cat confdefs.h
>>conftest.
$ac_ext
14799 cat >>conftest.
$ac_ext <<_ACEOF
14800 /* end confdefs.h. */
14801 #include <$ac_header>
14803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14806 grep -v '^ *+' conftest.er1
>conftest.err
14808 cat conftest.err
>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } >/dev
/null
; then
14811 if test -s conftest.err
; then
14812 ac_cpp_err
=$ac_c_preproc_warn_flag
14813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14820 if test -z "$ac_cpp_err"; then
14821 ac_header_preproc
=yes
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.
$ac_ext >&5
14826 ac_header_preproc
=no
14828 rm -f conftest.err conftest.
$ac_ext
14829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14830 echo "${ECHO_T}$ac_header_preproc" >&6
14832 # So? What about this header?
14833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14839 ac_header_preproc
=yes
14842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14856 ## ------------------------------------------ ##
14857 ## Report this to the AC_PACKAGE_NAME lists. ##
14858 ## ------------------------------------------ ##
14861 sed "s/^/$as_me: WARNING: /" >&2
14864 echo "$as_me:$LINENO: checking for $ac_header" >&5
14865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14867 echo $ECHO_N "(cached) $ECHO_C" >&6
14869 eval "$as_ac_Header=\$ac_header_preproc"
14871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14876 cat >>confdefs.h
<<_ACEOF
14877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14887 for ac_header
in termios.h termio.h sgtty.h
14889 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14891 echo "$as_me:$LINENO: checking for $ac_header" >&5
14892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14894 echo $ECHO_N "(cached) $ECHO_C" >&6
14896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14899 # Is the header compilable?
14900 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14902 cat >conftest.
$ac_ext <<_ACEOF
14905 cat confdefs.h
>>conftest.
$ac_ext
14906 cat >>conftest.
$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908 $ac_includes_default
14909 #include <$ac_header>
14911 rm -f conftest.
$ac_objext
14912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14913 (eval $ac_compile) 2>conftest.er1
14915 grep -v '^ *+' conftest.er1
>conftest.err
14917 cat conftest.err
>&5
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); } &&
14920 { ac_try
='test -z "$ac_c_werror_flag"
14921 || test ! -s conftest.err'
14922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14923 (eval $ac_try) 2>&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); }; } &&
14927 { ac_try
='test -s conftest.$ac_objext'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; }; then
14933 ac_header_compiler
=yes
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.
$ac_ext >&5
14938 ac_header_compiler
=no
14940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14942 echo "${ECHO_T}$ac_header_compiler" >&6
14944 # Is the header present?
14945 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14947 cat >conftest.
$ac_ext <<_ACEOF
14950 cat confdefs.h
>>conftest.
$ac_ext
14951 cat >>conftest.
$ac_ext <<_ACEOF
14952 /* end confdefs.h. */
14953 #include <$ac_header>
14955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14956 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14958 grep -v '^ *+' conftest.er1
>conftest.err
14960 cat conftest.err
>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); } >/dev
/null
; then
14963 if test -s conftest.err
; then
14964 ac_cpp_err
=$ac_c_preproc_warn_flag
14965 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14972 if test -z "$ac_cpp_err"; then
14973 ac_header_preproc
=yes
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.
$ac_ext >&5
14978 ac_header_preproc
=no
14980 rm -f conftest.err conftest.
$ac_ext
14981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14982 echo "${ECHO_T}$ac_header_preproc" >&6
14984 # So? What about this header?
14985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14991 ac_header_preproc
=yes
14994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15008 ## ------------------------------------------ ##
15009 ## Report this to the AC_PACKAGE_NAME lists. ##
15010 ## ------------------------------------------ ##
15013 sed "s/^/$as_me: WARNING: /" >&2
15016 echo "$as_me:$LINENO: checking for $ac_header" >&5
15017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15019 echo $ECHO_N "(cached) $ECHO_C" >&6
15021 eval "$as_ac_Header=\$ac_header_preproc"
15023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15028 cat >>confdefs.h
<<_ACEOF
15029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15037 for ac_header
in unistd.h
15039 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15041 echo "$as_me:$LINENO: checking for $ac_header" >&5
15042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15049 # Is the header compilable?
15050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15052 cat >conftest.
$ac_ext <<_ACEOF
15055 cat confdefs.h
>>conftest.
$ac_ext
15056 cat >>conftest.
$ac_ext <<_ACEOF
15057 /* end confdefs.h. */
15058 $ac_includes_default
15059 #include <$ac_header>
15061 rm -f conftest.
$ac_objext
15062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15063 (eval $ac_compile) 2>conftest.er1
15065 grep -v '^ *+' conftest.er1
>conftest.err
15067 cat conftest.err
>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); } &&
15070 { ac_try
='test -z "$ac_c_werror_flag"
15071 || test ! -s conftest.err'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; } &&
15077 { ac_try
='test -s conftest.$ac_objext'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; }; then
15083 ac_header_compiler
=yes
15085 echo "$as_me: failed program was:" >&5
15086 sed 's/^/| /' conftest.
$ac_ext >&5
15088 ac_header_compiler
=no
15090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15092 echo "${ECHO_T}$ac_header_compiler" >&6
15094 # Is the header present?
15095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15097 cat >conftest.
$ac_ext <<_ACEOF
15100 cat confdefs.h
>>conftest.
$ac_ext
15101 cat >>conftest.
$ac_ext <<_ACEOF
15102 /* end confdefs.h. */
15103 #include <$ac_header>
15105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15106 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15108 grep -v '^ *+' conftest.er1
>conftest.err
15110 cat conftest.err
>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } >/dev
/null
; then
15113 if test -s conftest.err
; then
15114 ac_cpp_err
=$ac_c_preproc_warn_flag
15115 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15122 if test -z "$ac_cpp_err"; then
15123 ac_header_preproc
=yes
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.
$ac_ext >&5
15128 ac_header_preproc
=no
15130 rm -f conftest.err conftest.
$ac_ext
15131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15132 echo "${ECHO_T}$ac_header_preproc" >&6
15134 # So? What about this header?
15135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15141 ac_header_preproc
=yes
15144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15158 ## ------------------------------------------ ##
15159 ## Report this to the AC_PACKAGE_NAME lists. ##
15160 ## ------------------------------------------ ##
15163 sed "s/^/$as_me: WARNING: /" >&2
15166 echo "$as_me:$LINENO: checking for $ac_header" >&5
15167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15169 echo $ECHO_N "(cached) $ECHO_C" >&6
15171 eval "$as_ac_Header=\$ac_header_preproc"
15173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15178 cat >>confdefs.h
<<_ACEOF
15179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15187 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
15188 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
15189 # think that we don't have <curses.h> if we're using GCC.
15192 if test "$GCC" = yes; then
15194 cat >>confdefs.h
<<\_ACEOF
15195 #define _MSE_INT_H 1
15204 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
15206 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15208 echo "$as_me:$LINENO: checking for $ac_header" >&5
15209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15211 echo $ECHO_N "(cached) $ECHO_C" >&6
15213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15216 # Is the header compilable?
15217 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15218 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15219 cat >conftest.
$ac_ext <<_ACEOF
15222 cat confdefs.h
>>conftest.
$ac_ext
15223 cat >>conftest.
$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 $ac_includes_default
15226 #include <$ac_header>
15228 rm -f conftest.
$ac_objext
15229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15230 (eval $ac_compile) 2>conftest.er1
15232 grep -v '^ *+' conftest.er1
>conftest.err
15234 cat conftest.err
>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); } &&
15237 { ac_try
='test -z "$ac_c_werror_flag"
15238 || test ! -s conftest.err'
15239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15240 (eval $ac_try) 2>&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); }; } &&
15244 { ac_try
='test -s conftest.$ac_objext'
15245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15246 (eval $ac_try) 2>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; }; then
15250 ac_header_compiler
=yes
15252 echo "$as_me: failed program was:" >&5
15253 sed 's/^/| /' conftest.
$ac_ext >&5
15255 ac_header_compiler
=no
15257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15259 echo "${ECHO_T}$ac_header_compiler" >&6
15261 # Is the header present?
15262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15264 cat >conftest.
$ac_ext <<_ACEOF
15267 cat confdefs.h
>>conftest.
$ac_ext
15268 cat >>conftest.
$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15270 #include <$ac_header>
15272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15273 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15275 grep -v '^ *+' conftest.er1
>conftest.err
15277 cat conftest.err
>&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } >/dev
/null
; then
15280 if test -s conftest.err
; then
15281 ac_cpp_err
=$ac_c_preproc_warn_flag
15282 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15289 if test -z "$ac_cpp_err"; then
15290 ac_header_preproc
=yes
15292 echo "$as_me: failed program was:" >&5
15293 sed 's/^/| /' conftest.
$ac_ext >&5
15295 ac_header_preproc
=no
15297 rm -f conftest.err conftest.
$ac_ext
15298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15299 echo "${ECHO_T}$ac_header_preproc" >&6
15301 # So? What about this header?
15302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15304 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15307 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15308 ac_header_preproc
=yes
15311 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15312 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15314 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15315 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15316 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15317 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15318 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15321 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15322 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15325 ## ------------------------------------------ ##
15326 ## Report this to the AC_PACKAGE_NAME lists. ##
15327 ## ------------------------------------------ ##
15330 sed "s/^/$as_me: WARNING: /" >&2
15333 echo "$as_me:$LINENO: checking for $ac_header" >&5
15334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15338 eval "$as_ac_Header=\$ac_header_preproc"
15340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15345 cat >>confdefs.h
<<_ACEOF
15346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15354 for ac_header
in ncurses
/term.h
15356 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15358 echo "$as_me:$LINENO: checking for $ac_header" >&5
15359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15361 echo $ECHO_N "(cached) $ECHO_C" >&6
15363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15366 # Is the header compilable?
15367 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15369 cat >conftest.
$ac_ext <<_ACEOF
15372 cat confdefs.h
>>conftest.
$ac_ext
15373 cat >>conftest.
$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15375 $ac_includes_default
15376 #include <$ac_header>
15378 rm -f conftest.
$ac_objext
15379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15380 (eval $ac_compile) 2>conftest.er1
15382 grep -v '^ *+' conftest.er1
>conftest.err
15384 cat conftest.err
>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); } &&
15387 { ac_try
='test -z "$ac_c_werror_flag"
15388 || test ! -s conftest.err'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; } &&
15394 { ac_try
='test -s conftest.$ac_objext'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; }; then
15400 ac_header_compiler
=yes
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.
$ac_ext >&5
15405 ac_header_compiler
=no
15407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15409 echo "${ECHO_T}$ac_header_compiler" >&6
15411 # Is the header present?
15412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15414 cat >conftest.
$ac_ext <<_ACEOF
15417 cat confdefs.h
>>conftest.
$ac_ext
15418 cat >>conftest.
$ac_ext <<_ACEOF
15419 /* end confdefs.h. */
15420 #include <$ac_header>
15422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15423 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15425 grep -v '^ *+' conftest.er1
>conftest.err
15427 cat conftest.err
>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); } >/dev
/null
; then
15430 if test -s conftest.err
; then
15431 ac_cpp_err
=$ac_c_preproc_warn_flag
15432 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15439 if test -z "$ac_cpp_err"; then
15440 ac_header_preproc
=yes
15442 echo "$as_me: failed program was:" >&5
15443 sed 's/^/| /' conftest.
$ac_ext >&5
15445 ac_header_preproc
=no
15447 rm -f conftest.err conftest.
$ac_ext
15448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15449 echo "${ECHO_T}$ac_header_preproc" >&6
15451 # So? What about this header?
15452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15458 ac_header_preproc
=yes
15461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15475 ## ------------------------------------------ ##
15476 ## Report this to the AC_PACKAGE_NAME lists. ##
15477 ## ------------------------------------------ ##
15480 sed "s/^/$as_me: WARNING: /" >&2
15483 echo "$as_me:$LINENO: checking for $ac_header" >&5
15484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15486 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 eval "$as_ac_Header=\$ac_header_preproc"
15490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15495 cat >>confdefs.h
<<_ACEOF
15496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15504 for ac_header
in term.h
15506 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15507 echo "$as_me:$LINENO: checking for $ac_header" >&5
15508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15512 cat >conftest.
$ac_ext <<_ACEOF
15515 cat confdefs.h
>>conftest.
$ac_ext
15516 cat >>conftest.
$ac_ext <<_ACEOF
15517 /* end confdefs.h. */
15519 # include <curses.h>
15523 #include <$ac_header>
15525 rm -f conftest.
$ac_objext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15527 (eval $ac_compile) 2>conftest.er1
15529 grep -v '^ *+' conftest.er1
>conftest.err
15531 cat conftest.err
>&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } &&
15534 { ac_try
='test -z "$ac_c_werror_flag"
15535 || test ! -s conftest.err'
15536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15537 (eval $ac_try) 2>&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); }; } &&
15541 { ac_try
='test -s conftest.$ac_objext'
15542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15543 (eval $ac_try) 2>&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; }; then
15547 eval "$as_ac_Header=yes"
15549 echo "$as_me: failed program was:" >&5
15550 sed 's/^/| /' conftest.
$ac_ext >&5
15552 eval "$as_ac_Header=no"
15554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15559 cat >>confdefs.h
<<_ACEOF
15560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15568 # Check for HP/UX 64-bit shared library support
15570 for ac_header
in elf_hp.h
15572 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15574 echo "$as_me:$LINENO: checking for $ac_header" >&5
15575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15582 # Is the header compilable?
15583 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15585 cat >conftest.
$ac_ext <<_ACEOF
15588 cat confdefs.h
>>conftest.
$ac_ext
15589 cat >>conftest.
$ac_ext <<_ACEOF
15590 /* end confdefs.h. */
15591 $ac_includes_default
15592 #include <$ac_header>
15594 rm -f conftest.
$ac_objext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>conftest.er1
15598 grep -v '^ *+' conftest.er1
>conftest.err
15600 cat conftest.err
>&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } &&
15603 { ac_try
='test -z "$ac_c_werror_flag"
15604 || test ! -s conftest.err'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; } &&
15610 { ac_try
='test -s conftest.$ac_objext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 ac_header_compiler
=yes
15618 echo "$as_me: failed program was:" >&5
15619 sed 's/^/| /' conftest.
$ac_ext >&5
15621 ac_header_compiler
=no
15623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15625 echo "${ECHO_T}$ac_header_compiler" >&6
15627 # Is the header present?
15628 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15629 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15630 cat >conftest.
$ac_ext <<_ACEOF
15633 cat confdefs.h
>>conftest.
$ac_ext
15634 cat >>conftest.
$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15636 #include <$ac_header>
15638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15639 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15641 grep -v '^ *+' conftest.er1
>conftest.err
15643 cat conftest.err
>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } >/dev
/null
; then
15646 if test -s conftest.err
; then
15647 ac_cpp_err
=$ac_c_preproc_warn_flag
15648 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15655 if test -z "$ac_cpp_err"; then
15656 ac_header_preproc
=yes
15658 echo "$as_me: failed program was:" >&5
15659 sed 's/^/| /' conftest.
$ac_ext >&5
15661 ac_header_preproc
=no
15663 rm -f conftest.err conftest.
$ac_ext
15664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15665 echo "${ECHO_T}$ac_header_preproc" >&6
15667 # So? What about this header?
15668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15670 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15671 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15673 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15674 ac_header_preproc
=yes
15677 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15678 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15679 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15680 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15681 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15682 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15683 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15684 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15687 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15688 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15691 ## ------------------------------------------ ##
15692 ## Report this to the AC_PACKAGE_NAME lists. ##
15693 ## ------------------------------------------ ##
15696 sed "s/^/$as_me: WARNING: /" >&2
15699 echo "$as_me:$LINENO: checking for $ac_header" >&5
15700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15702 echo $ECHO_N "(cached) $ECHO_C" >&6
15704 eval "$as_ac_Header=\$ac_header_preproc"
15706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15711 cat >>confdefs.h
<<_ACEOF
15712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15720 # FIXME: kettenis/20030102: In most cases we include these
15721 # unconditionally, so what's the point in checking these?
15724 for ac_header
in ctype.h
time.h
15726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15728 echo "$as_me:$LINENO: checking for $ac_header" >&5
15729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15731 echo $ECHO_N "(cached) $ECHO_C" >&6
15733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15736 # Is the header compilable?
15737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15739 cat >conftest.
$ac_ext <<_ACEOF
15742 cat confdefs.h
>>conftest.
$ac_ext
15743 cat >>conftest.
$ac_ext <<_ACEOF
15744 /* end confdefs.h. */
15745 $ac_includes_default
15746 #include <$ac_header>
15748 rm -f conftest.
$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750 (eval $ac_compile) 2>conftest.er1
15752 grep -v '^ *+' conftest.er1
>conftest.err
15754 cat conftest.err
>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try
='test -z "$ac_c_werror_flag"
15758 || test ! -s conftest.err'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; } &&
15764 { ac_try
='test -s conftest.$ac_objext'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; }; then
15770 ac_header_compiler
=yes
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.
$ac_ext >&5
15775 ac_header_compiler
=no
15777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15779 echo "${ECHO_T}$ac_header_compiler" >&6
15781 # Is the header present?
15782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15784 cat >conftest.
$ac_ext <<_ACEOF
15787 cat confdefs.h
>>conftest.
$ac_ext
15788 cat >>conftest.
$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 #include <$ac_header>
15792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15795 grep -v '^ *+' conftest.er1
>conftest.err
15797 cat conftest.err
>&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); } >/dev
/null
; then
15800 if test -s conftest.err
; then
15801 ac_cpp_err
=$ac_c_preproc_warn_flag
15802 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15809 if test -z "$ac_cpp_err"; then
15810 ac_header_preproc
=yes
15812 echo "$as_me: failed program was:" >&5
15813 sed 's/^/| /' conftest.
$ac_ext >&5
15815 ac_header_preproc
=no
15817 rm -f conftest.err conftest.
$ac_ext
15818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15819 echo "${ECHO_T}$ac_header_preproc" >&6
15821 # So? What about this header?
15822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15828 ac_header_preproc
=yes
15831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15845 ## ------------------------------------------ ##
15846 ## Report this to the AC_PACKAGE_NAME lists. ##
15847 ## ------------------------------------------ ##
15850 sed "s/^/$as_me: WARNING: /" >&2
15853 echo "$as_me:$LINENO: checking for $ac_header" >&5
15854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15856 echo $ECHO_N "(cached) $ECHO_C" >&6
15858 eval "$as_ac_Header=\$ac_header_preproc"
15860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15865 cat >>confdefs.h
<<_ACEOF
15866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15874 # Create a header we can use portably to get the standard integer types.
15877 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15879 acx_cv_header_stdint
=stddef.h
15880 acx_cv_header_stdint_kind
="(already complete)"
15881 for i
in stdint.h
$inttype_headers; do
15882 unset ac_cv_type_uintptr_t
15883 unset ac_cv_type_uintmax_t
15884 unset ac_cv_type_int_least32_t
15885 unset ac_cv_type_int_fast32_t
15886 unset ac_cv_type_uint64_t
15887 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
15888 echo "$as_me:$LINENO: checking for uintmax_t" >&5
15889 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
15890 if test "${ac_cv_type_uintmax_t+set}" = set; then
15891 echo $ECHO_N "(cached) $ECHO_C" >&6
15893 cat >conftest.
$ac_ext <<_ACEOF
15896 cat confdefs.h
>>conftest.
$ac_ext
15897 cat >>conftest.
$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899 #include <sys/types.h>
15905 if ((uintmax_t *) 0)
15907 if (sizeof (uintmax_t))
15913 rm -f conftest.
$ac_objext
15914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15915 (eval $ac_compile) 2>conftest.er1
15917 grep -v '^ *+' conftest.er1
>conftest.err
15919 cat conftest.err
>&5
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); } &&
15922 { ac_try
='test -z "$ac_c_werror_flag"
15923 || test ! -s conftest.err'
15924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15925 (eval $ac_try) 2>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); }; } &&
15929 { ac_try
='test -s conftest.$ac_objext'
15930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15931 (eval $ac_try) 2>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); }; }; then
15935 ac_cv_type_uintmax_t
=yes
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.
$ac_ext >&5
15940 ac_cv_type_uintmax_t
=no
15942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15944 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
15945 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
15946 if test $ac_cv_type_uintmax_t = yes; then
15947 acx_cv_header_stdint
=$i
15952 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15953 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15954 if test "${ac_cv_type_uintptr_t+set}" = set; then
15955 echo $ECHO_N "(cached) $ECHO_C" >&6
15957 cat >conftest.
$ac_ext <<_ACEOF
15960 cat confdefs.h
>>conftest.
$ac_ext
15961 cat >>conftest.
$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 #include <sys/types.h>
15969 if ((uintptr_t *) 0)
15971 if (sizeof (uintptr_t))
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_type_uintptr_t
=yes
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.
$ac_ext >&5
16004 ac_cv_type_uintptr_t
=no
16006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16008 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16009 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16010 if test $ac_cv_type_uintptr_t = yes; then
16013 acx_cv_header_stdint_kind
="(mostly complete)"
16016 echo "$as_me:$LINENO: checking for int_least32_t" >&5
16017 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
16018 if test "${ac_cv_type_int_least32_t+set}" = set; then
16019 echo $ECHO_N "(cached) $ECHO_C" >&6
16021 cat >conftest.
$ac_ext <<_ACEOF
16024 cat confdefs.h
>>conftest.
$ac_ext
16025 cat >>conftest.
$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027 #include <sys/types.h>
16033 if ((int_least32_t *) 0)
16035 if (sizeof (int_least32_t))
16041 rm -f conftest.
$ac_objext
16042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16043 (eval $ac_compile) 2>conftest.er1
16045 grep -v '^ *+' conftest.er1
>conftest.err
16047 cat conftest.err
>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } &&
16050 { ac_try
='test -z "$ac_c_werror_flag"
16051 || test ! -s conftest.err'
16052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16053 (eval $ac_try) 2>&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); }; } &&
16057 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16063 ac_cv_type_int_least32_t
=yes
16065 echo "$as_me: failed program was:" >&5
16066 sed 's/^/| /' conftest.
$ac_ext >&5
16068 ac_cv_type_int_least32_t
=no
16070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16072 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
16073 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
16074 if test $ac_cv_type_int_least32_t = yes; then
16077 acx_cv_header_stdint_kind
="(mostly complete)"
16080 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
16081 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
16082 if test "${ac_cv_type_int_fast32_t+set}" = set; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16085 cat >conftest.
$ac_ext <<_ACEOF
16088 cat confdefs.h
>>conftest.
$ac_ext
16089 cat >>conftest.
$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091 #include <sys/types.h>
16097 if ((int_fast32_t *) 0)
16099 if (sizeof (int_fast32_t))
16105 rm -f conftest.
$ac_objext
16106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16107 (eval $ac_compile) 2>conftest.er1
16109 grep -v '^ *+' conftest.er1
>conftest.err
16111 cat conftest.err
>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); } &&
16114 { ac_try
='test -z "$ac_c_werror_flag"
16115 || test ! -s conftest.err'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; } &&
16121 { ac_try
='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 ac_cv_type_int_fast32_t
=yes
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.
$ac_ext >&5
16132 ac_cv_type_int_fast32_t
=no
16134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16136 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
16137 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
16138 if test $ac_cv_type_int_fast32_t = yes; then
16141 acx_cv_header_stdint_kind
="(mostly complete)"
16144 echo "$as_me:$LINENO: checking for uint64_t" >&5
16145 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16146 if test "${ac_cv_type_uint64_t+set}" = set; then
16147 echo $ECHO_N "(cached) $ECHO_C" >&6
16149 cat >conftest.
$ac_ext <<_ACEOF
16152 cat confdefs.h
>>conftest.
$ac_ext
16153 cat >>conftest.
$ac_ext <<_ACEOF
16154 /* end confdefs.h. */
16155 #include <sys/types.h>
16161 if ((uint64_t *) 0)
16163 if (sizeof (uint64_t))
16169 rm -f conftest.
$ac_objext
16170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16171 (eval $ac_compile) 2>conftest.er1
16173 grep -v '^ *+' conftest.er1
>conftest.err
16175 cat conftest.err
>&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } &&
16178 { ac_try
='test -z "$ac_c_werror_flag"
16179 || test ! -s conftest.err'
16180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16181 (eval $ac_try) 2>&5
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); }; } &&
16185 { ac_try
='test -s conftest.$ac_objext'
16186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 (eval $ac_try) 2>&5
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); }; }; then
16191 ac_cv_type_uint64_t
=yes
16193 echo "$as_me: failed program was:" >&5
16194 sed 's/^/| /' conftest.
$ac_ext >&5
16196 ac_cv_type_uint64_t
=no
16198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16200 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16201 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16202 if test $ac_cv_type_uint64_t = yes; then
16205 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16210 if test "$acx_cv_header_stdint" = stddef.h
; then
16211 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16212 for i
in stdint.h
$inttype_headers; do
16213 unset ac_cv_type_uintptr_t
16214 unset ac_cv_type_uint32_t
16215 unset ac_cv_type_uint64_t
16216 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
16217 echo "$as_me:$LINENO: checking for uint32_t" >&5
16218 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16219 if test "${ac_cv_type_uint32_t+set}" = set; then
16220 echo $ECHO_N "(cached) $ECHO_C" >&6
16222 cat >conftest.
$ac_ext <<_ACEOF
16225 cat confdefs.h
>>conftest.
$ac_ext
16226 cat >>conftest.
$ac_ext <<_ACEOF
16227 /* end confdefs.h. */
16228 #include <sys/types.h>
16234 if ((uint32_t *) 0)
16236 if (sizeof (uint32_t))
16242 rm -f conftest.
$ac_objext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16244 (eval $ac_compile) 2>conftest.er1
16246 grep -v '^ *+' conftest.er1
>conftest.err
16248 cat conftest.err
>&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } &&
16251 { ac_try
='test -z "$ac_c_werror_flag"
16252 || test ! -s conftest.err'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; } &&
16258 { ac_try
='test -s conftest.$ac_objext'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; }; then
16264 ac_cv_type_uint32_t
=yes
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.
$ac_ext >&5
16269 ac_cv_type_uint32_t
=no
16271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16273 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16274 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16275 if test $ac_cv_type_uint32_t = yes; then
16276 acx_cv_header_stdint
=$i
16281 echo "$as_me:$LINENO: checking for uint64_t" >&5
16282 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16283 if test "${ac_cv_type_uint64_t+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 cat >conftest.
$ac_ext <<_ACEOF
16289 cat confdefs.h
>>conftest.
$ac_ext
16290 cat >>conftest.
$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16292 #include <sys/types.h>
16298 if ((uint64_t *) 0)
16300 if (sizeof (uint64_t))
16306 rm -f conftest.
$ac_objext
16307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16308 (eval $ac_compile) 2>conftest.er1
16310 grep -v '^ *+' conftest.er1
>conftest.err
16312 cat conftest.err
>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } &&
16315 { ac_try
='test -z "$ac_c_werror_flag"
16316 || test ! -s conftest.err'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; } &&
16322 { ac_try
='test -s conftest.$ac_objext'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; }; then
16328 ac_cv_type_uint64_t
=yes
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.
$ac_ext >&5
16333 ac_cv_type_uint64_t
=no
16335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16337 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16338 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16340 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16341 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16342 if test "${ac_cv_type_uintptr_t+set}" = set; then
16343 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 cat >conftest.
$ac_ext <<_ACEOF
16348 cat confdefs.h
>>conftest.
$ac_ext
16349 cat >>conftest.
$ac_ext <<_ACEOF
16350 /* end confdefs.h. */
16351 #include <sys/types.h>
16357 if ((uintptr_t *) 0)
16359 if (sizeof (uintptr_t))
16365 rm -f conftest.
$ac_objext
16366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16367 (eval $ac_compile) 2>conftest.er1
16369 grep -v '^ *+' conftest.er1
>conftest.err
16371 cat conftest.err
>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); } &&
16374 { ac_try
='test -z "$ac_c_werror_flag"
16375 || test ! -s conftest.err'
16376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16377 (eval $ac_try) 2>&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); }; } &&
16381 { ac_try
='test -s conftest.$ac_objext'
16382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16383 (eval $ac_try) 2>&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); }; }; then
16387 ac_cv_type_uintptr_t
=yes
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.
$ac_ext >&5
16392 ac_cv_type_uintptr_t
=no
16394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16396 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16397 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16402 if test "$acx_cv_header_stdint" = stddef.h
; then
16403 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16404 for i
in sys
/types.h
$inttype_headers; do
16405 unset ac_cv_type_u_int32_t
16406 unset ac_cv_type_u_int64_t
16407 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16408 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16409 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16410 if test "${ac_cv_type_u_int32_t+set}" = set; then
16411 echo $ECHO_N "(cached) $ECHO_C" >&6
16413 cat >conftest.
$ac_ext <<_ACEOF
16416 cat confdefs.h
>>conftest.
$ac_ext
16417 cat >>conftest.
$ac_ext <<_ACEOF
16418 /* end confdefs.h. */
16419 #include <sys/types.h>
16425 if ((u_int32_t *) 0)
16427 if (sizeof (u_int32_t))
16433 rm -f conftest.
$ac_objext
16434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16435 (eval $ac_compile) 2>conftest.er1
16437 grep -v '^ *+' conftest.er1
>conftest.err
16439 cat conftest.err
>&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); } &&
16442 { ac_try
='test -z "$ac_c_werror_flag"
16443 || test ! -s conftest.err'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; } &&
16449 { ac_try
='test -s conftest.$ac_objext'
16450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16451 (eval $ac_try) 2>&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }; }; then
16455 ac_cv_type_u_int32_t
=yes
16457 echo "$as_me: failed program was:" >&5
16458 sed 's/^/| /' conftest.
$ac_ext >&5
16460 ac_cv_type_u_int32_t
=no
16462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16464 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16465 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16466 if test $ac_cv_type_u_int32_t = yes; then
16467 acx_cv_header_stdint
=$i
16472 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16473 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16474 if test "${ac_cv_type_u_int64_t+set}" = set; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16477 cat >conftest.
$ac_ext <<_ACEOF
16480 cat confdefs.h
>>conftest.
$ac_ext
16481 cat >>conftest.
$ac_ext <<_ACEOF
16482 /* end confdefs.h. */
16483 #include <sys/types.h>
16489 if ((u_int64_t *) 0)
16491 if (sizeof (u_int64_t))
16497 rm -f conftest.
$ac_objext
16498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16499 (eval $ac_compile) 2>conftest.er1
16501 grep -v '^ *+' conftest.er1
>conftest.err
16503 cat conftest.err
>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); } &&
16506 { ac_try
='test -z "$ac_c_werror_flag"
16507 || test ! -s conftest.err'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; } &&
16513 { ac_try
='test -s conftest.$ac_objext'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; }; then
16519 ac_cv_type_u_int64_t
=yes
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.
$ac_ext >&5
16524 ac_cv_type_u_int64_t
=no
16526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16528 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16529 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16534 if test "$acx_cv_header_stdint" = stddef.h
; then
16535 acx_cv_header_stdint_kind
="(using manual detection)"
16538 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16539 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16540 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16541 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16542 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16544 # ----------------- Summarize what we found so far
16546 echo "$as_me:$LINENO: checking what to include in gdb_stdint.h" >&5
16547 echo $ECHO_N "checking what to include in gdb_stdint.h... $ECHO_C" >&6
16549 case `$as_basename gdb_stdint.h ||
16550 $as_expr X/gdb_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
16551 Xgdb_stdint.h : 'X\(//\)$' \| \
16552 Xgdb_stdint.h : 'X\(/\)$' \| \
16553 . : '\(.\)' 2>/dev/null ||
16554 echo X/gdb_stdint.h |
16555 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16556 /^X\/\(\/\/\)$/{ s//\1/; q; }
16557 /^X\/\(\/\).*/{ s//\1/; q; }
16559 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16560 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16561 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16562 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16566 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16567 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
16569 # ----------------- done included file, check C basic types --------
16571 # Lacking an uintptr_t? Test size of void *
16572 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16573 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
16574 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16575 if test "${ac_cv_type_void_p+set}" = set; then
16576 echo $ECHO_N "(cached) $ECHO_C" >&6
16578 cat >conftest.
$ac_ext <<_ACEOF
16581 cat confdefs.h
>>conftest.
$ac_ext
16582 cat >>conftest.
$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16584 $ac_includes_default
16590 if (sizeof (void *))
16596 rm -f conftest.
$ac_objext
16597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16598 (eval $ac_compile) 2>conftest.er1
16600 grep -v '^ *+' conftest.er1
>conftest.err
16602 cat conftest.err
>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } &&
16605 { ac_try
='test -z "$ac_c_werror_flag"
16606 || test ! -s conftest.err'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; } &&
16612 { ac_try
='test -s conftest.$ac_objext'
16613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16614 (eval $ac_try) 2>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; }; then
16618 ac_cv_type_void_p
=yes
16620 echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.
$ac_ext >&5
16623 ac_cv_type_void_p
=no
16625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16627 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16628 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16630 echo "$as_me:$LINENO: checking size of void *" >&5
16631 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16632 if test "${ac_cv_sizeof_void_p+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 if test "$ac_cv_type_void_p" = yes; then
16636 # The cast to unsigned long works around a bug in the HP C Compiler
16637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16639 # This bug is HP SR number 8606223364.
16640 if test "$cross_compiling" = yes; then
16641 # Depending upon the size, compute the lo and hi bounds.
16642 cat >conftest.
$ac_ext <<_ACEOF
16645 cat confdefs.h
>>conftest.
$ac_ext
16646 cat >>conftest.
$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16648 $ac_includes_default
16652 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16659 rm -f conftest.
$ac_objext
16660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16661 (eval $ac_compile) 2>conftest.er1
16663 grep -v '^ *+' conftest.er1
>conftest.err
16665 cat conftest.err
>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } &&
16668 { ac_try
='test -z "$ac_c_werror_flag"
16669 || test ! -s conftest.err'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; } &&
16675 { ac_try
='test -s conftest.$ac_objext'
16676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677 (eval $ac_try) 2>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); }; }; then
16683 cat >conftest.
$ac_ext <<_ACEOF
16686 cat confdefs.h
>>conftest.
$ac_ext
16687 cat >>conftest.
$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 $ac_includes_default
16693 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16700 rm -f conftest.
$ac_objext
16701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16702 (eval $ac_compile) 2>conftest.er1
16704 grep -v '^ *+' conftest.er1
>conftest.err
16706 cat conftest.err
>&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } &&
16709 { ac_try
='test -z "$ac_c_werror_flag"
16710 || test ! -s conftest.err'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; } &&
16716 { ac_try
='test -s conftest.$ac_objext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 ac_hi
=$ac_mid; break
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.
$ac_ext >&5
16727 ac_lo
=`expr $ac_mid + 1`
16728 if test $ac_lo -le $ac_mid; then
16732 ac_mid
=`expr 2 '*' $ac_mid + 1`
16734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16737 echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.
$ac_ext >&5
16740 cat >conftest.
$ac_ext <<_ACEOF
16743 cat confdefs.h
>>conftest.
$ac_ext
16744 cat >>conftest.
$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 $ac_includes_default
16750 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16757 rm -f conftest.
$ac_objext
16758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16759 (eval $ac_compile) 2>conftest.er1
16761 grep -v '^ *+' conftest.er1
>conftest.err
16763 cat conftest.err
>&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); } &&
16766 { ac_try
='test -z "$ac_c_werror_flag"
16767 || test ! -s conftest.err'
16768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16769 (eval $ac_try) 2>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); }; } &&
16773 { ac_try
='test -s conftest.$ac_objext'
16774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775 (eval $ac_try) 2>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); }; }; then
16781 cat >conftest.
$ac_ext <<_ACEOF
16784 cat confdefs.h
>>conftest.
$ac_ext
16785 cat >>conftest.
$ac_ext <<_ACEOF
16786 /* end confdefs.h. */
16787 $ac_includes_default
16791 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16798 rm -f conftest.
$ac_objext
16799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16800 (eval $ac_compile) 2>conftest.er1
16802 grep -v '^ *+' conftest.er1
>conftest.err
16804 cat conftest.err
>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); } &&
16807 { ac_try
='test -z "$ac_c_werror_flag"
16808 || test ! -s conftest.err'
16809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16810 (eval $ac_try) 2>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }; } &&
16814 { ac_try
='test -s conftest.$ac_objext'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; }; then
16820 ac_lo
=$ac_mid; break
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.
$ac_ext >&5
16825 ac_hi
=`expr '(' $ac_mid ')' - 1`
16826 if test $ac_mid -le $ac_hi; then
16830 ac_mid
=`expr 2 '*' $ac_mid`
16832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16835 echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.
$ac_ext >&5
16840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16843 # Binary search between lo and hi bounds.
16844 while test "x$ac_lo" != "x$ac_hi"; do
16845 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16846 cat >conftest.
$ac_ext <<_ACEOF
16849 cat confdefs.h
>>conftest.
$ac_ext
16850 cat >>conftest.
$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 $ac_includes_default
16856 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16863 rm -f conftest.
$ac_objext
16864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16865 (eval $ac_compile) 2>conftest.er1
16867 grep -v '^ *+' conftest.er1
>conftest.err
16869 cat conftest.err
>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } &&
16872 { ac_try
='test -z "$ac_c_werror_flag"
16873 || test ! -s conftest.err'
16874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16875 (eval $ac_try) 2>&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); }; } &&
16879 { ac_try
='test -s conftest.$ac_objext'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; }; then
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.
$ac_ext >&5
16890 ac_lo
=`expr '(' $ac_mid ')' + 1`
16892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16895 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16896 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16897 See \`config.log' for more details." >&5
16898 echo "$as_me: error: cannot compute sizeof (void *), 77
16899 See \`config.log' for more details." >&2;}
16900 { (exit 1); exit 1; }; } ;;
16903 if test "$cross_compiling" = yes; then
16904 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16905 See \`config.log' for more details." >&5
16906 echo "$as_me: error: cannot run test program while cross compiling
16907 See \`config.log' for more details." >&2;}
16908 { (exit 1); exit 1; }; }
16910 cat >conftest.
$ac_ext <<_ACEOF
16913 cat confdefs.h
>>conftest.
$ac_ext
16914 cat >>conftest.
$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16916 $ac_includes_default
16917 long longval () { return (long) (sizeof (void *)); }
16918 unsigned long ulongval () { return (long) (sizeof (void *)); }
16920 #include <stdlib.h>
16925 FILE *f = fopen ("conftest.val", "w");
16928 if (((long) (sizeof (void *))) < 0)
16930 long i = longval ();
16931 if (i != ((long) (sizeof (void *))))
16933 fprintf (f, "%ld\n", i);
16937 unsigned long i = ulongval ();
16938 if (i != ((long) (sizeof (void *))))
16940 fprintf (f, "%lu\n", i);
16942 exit (ferror (f) || fclose (f) != 0);
16948 rm -f conftest
$ac_exeext
16949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16950 (eval $ac_link) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16955 (eval $ac_try) 2>&5
16957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16958 (exit $ac_status); }; }; then
16959 ac_cv_sizeof_void_p
=`cat conftest.val`
16961 echo "$as_me: program exited with status $ac_status" >&5
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.
$ac_ext >&5
16965 ( exit $ac_status )
16966 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16967 See \`config.log' for more details." >&5
16968 echo "$as_me: error: cannot compute sizeof (void *), 77
16969 See \`config.log' for more details." >&2;}
16970 { (exit 1); exit 1; }; }
16972 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16977 ac_cv_sizeof_void_p
=0
16980 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16981 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16982 cat >>confdefs.h
<<_ACEOF
16983 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16989 # Lacking an uint64_t? Test size of long
16990 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16991 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
16992 echo $ECHO_N "checking for long... $ECHO_C" >&6
16993 if test "${ac_cv_type_long+set}" = set; then
16994 echo $ECHO_N "(cached) $ECHO_C" >&6
16996 cat >conftest.
$ac_ext <<_ACEOF
16999 cat confdefs.h
>>conftest.
$ac_ext
17000 cat >>conftest.
$ac_ext <<_ACEOF
17001 /* end confdefs.h. */
17002 $ac_includes_default
17014 rm -f conftest.
$ac_objext
17015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17016 (eval $ac_compile) 2>conftest.er1
17018 grep -v '^ *+' conftest.er1
>conftest.err
17020 cat conftest.err
>&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); } &&
17023 { ac_try
='test -z "$ac_c_werror_flag"
17024 || test ! -s conftest.err'
17025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17026 (eval $ac_try) 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); }; } &&
17030 { ac_try
='test -s conftest.$ac_objext'
17031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032 (eval $ac_try) 2>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; }; then
17036 ac_cv_type_long
=yes
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.
$ac_ext >&5
17043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17045 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17046 echo "${ECHO_T}$ac_cv_type_long" >&6
17048 echo "$as_me:$LINENO: checking size of long" >&5
17049 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17050 if test "${ac_cv_sizeof_long+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 if test "$ac_cv_type_long" = yes; then
17054 # The cast to unsigned long works around a bug in the HP C Compiler
17055 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17056 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17057 # This bug is HP SR number 8606223364.
17058 if test "$cross_compiling" = yes; then
17059 # Depending upon the size, compute the lo and hi bounds.
17060 cat >conftest.
$ac_ext <<_ACEOF
17063 cat confdefs.h
>>conftest.
$ac_ext
17064 cat >>conftest.
$ac_ext <<_ACEOF
17065 /* end confdefs.h. */
17066 $ac_includes_default
17070 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17077 rm -f conftest.
$ac_objext
17078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17079 (eval $ac_compile) 2>conftest.er1
17081 grep -v '^ *+' conftest.er1
>conftest.err
17083 cat conftest.err
>&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); } &&
17086 { ac_try
='test -z "$ac_c_werror_flag"
17087 || test ! -s conftest.err'
17088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17089 (eval $ac_try) 2>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); }; } &&
17093 { ac_try
='test -s conftest.$ac_objext'
17094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095 (eval $ac_try) 2>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; }; then
17101 cat >conftest.
$ac_ext <<_ACEOF
17104 cat confdefs.h
>>conftest.
$ac_ext
17105 cat >>conftest.
$ac_ext <<_ACEOF
17106 /* end confdefs.h. */
17107 $ac_includes_default
17111 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17118 rm -f conftest.
$ac_objext
17119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17120 (eval $ac_compile) 2>conftest.er1
17122 grep -v '^ *+' conftest.er1
>conftest.err
17124 cat conftest.err
>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } &&
17127 { ac_try
='test -z "$ac_c_werror_flag"
17128 || test ! -s conftest.err'
17129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17130 (eval $ac_try) 2>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); }; } &&
17134 { ac_try
='test -s conftest.$ac_objext'
17135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17136 (eval $ac_try) 2>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; }; then
17140 ac_hi
=$ac_mid; break
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.
$ac_ext >&5
17145 ac_lo
=`expr $ac_mid + 1`
17146 if test $ac_lo -le $ac_mid; then
17150 ac_mid
=`expr 2 '*' $ac_mid + 1`
17152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.
$ac_ext >&5
17158 cat >conftest.
$ac_ext <<_ACEOF
17161 cat confdefs.h
>>conftest.
$ac_ext
17162 cat >>conftest.
$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17164 $ac_includes_default
17168 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17175 rm -f conftest.
$ac_objext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17177 (eval $ac_compile) 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_objext'
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
17199 cat >conftest.
$ac_ext <<_ACEOF
17202 cat confdefs.h
>>conftest.
$ac_ext
17203 cat >>conftest.
$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17205 $ac_includes_default
17209 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17216 rm -f conftest.
$ac_objext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17218 (eval $ac_compile) 2>conftest.er1
17220 grep -v '^ *+' conftest.er1
>conftest.err
17222 cat conftest.err
>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } &&
17225 { ac_try
='test -z "$ac_c_werror_flag"
17226 || test ! -s conftest.err'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; } &&
17232 { ac_try
='test -s conftest.$ac_objext'
17233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17234 (eval $ac_try) 2>&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); }; }; then
17238 ac_lo
=$ac_mid; break
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.
$ac_ext >&5
17243 ac_hi
=`expr '(' $ac_mid ')' - 1`
17244 if test $ac_mid -le $ac_hi; then
17248 ac_mid
=`expr 2 '*' $ac_mid`
17250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17253 echo "$as_me: failed program was:" >&5
17254 sed 's/^/| /' conftest.
$ac_ext >&5
17258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17261 # Binary search between lo and hi bounds.
17262 while test "x$ac_lo" != "x$ac_hi"; do
17263 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17264 cat >conftest.
$ac_ext <<_ACEOF
17267 cat confdefs.h
>>conftest.
$ac_ext
17268 cat >>conftest.
$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17270 $ac_includes_default
17274 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17281 rm -f conftest.
$ac_objext
17282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17283 (eval $ac_compile) 2>conftest.er1
17285 grep -v '^ *+' conftest.er1
>conftest.err
17287 cat conftest.err
>&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); } &&
17290 { ac_try
='test -z "$ac_c_werror_flag"
17291 || test ! -s conftest.err'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; } &&
17297 { ac_try
='test -s conftest.$ac_objext'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; }; then
17305 echo "$as_me: failed program was:" >&5
17306 sed 's/^/| /' conftest.
$ac_ext >&5
17308 ac_lo
=`expr '(' $ac_mid ')' + 1`
17310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17313 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17314 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17315 See \`config.log' for more details." >&5
17316 echo "$as_me: error: cannot compute sizeof (long), 77
17317 See \`config.log' for more details." >&2;}
17318 { (exit 1); exit 1; }; } ;;
17321 if test "$cross_compiling" = yes; then
17322 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17323 See \`config.log' for more details." >&5
17324 echo "$as_me: error: cannot run test program while cross compiling
17325 See \`config.log' for more details." >&2;}
17326 { (exit 1); exit 1; }; }
17328 cat >conftest.
$ac_ext <<_ACEOF
17331 cat confdefs.h
>>conftest.
$ac_ext
17332 cat >>conftest.
$ac_ext <<_ACEOF
17333 /* end confdefs.h. */
17334 $ac_includes_default
17335 long longval () { return (long) (sizeof (long)); }
17336 unsigned long ulongval () { return (long) (sizeof (long)); }
17338 #include <stdlib.h>
17343 FILE *f = fopen ("conftest.val", "w");
17346 if (((long) (sizeof (long))) < 0)
17348 long i = longval ();
17349 if (i != ((long) (sizeof (long))))
17351 fprintf (f, "%ld\n", i);
17355 unsigned long i = ulongval ();
17356 if (i != ((long) (sizeof (long))))
17358 fprintf (f, "%lu\n", i);
17360 exit (ferror (f) || fclose (f) != 0);
17366 rm -f conftest
$ac_exeext
17367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17368 (eval $ac_link) 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; }; then
17377 ac_cv_sizeof_long
=`cat conftest.val`
17379 echo "$as_me: program exited with status $ac_status" >&5
17380 echo "$as_me: failed program was:" >&5
17381 sed 's/^/| /' conftest.
$ac_ext >&5
17383 ( exit $ac_status )
17384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17385 See \`config.log' for more details." >&5
17386 echo "$as_me: error: cannot compute sizeof (long), 77
17387 See \`config.log' for more details." >&2;}
17388 { (exit 1); exit 1; }; }
17390 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17395 ac_cv_sizeof_long
=0
17398 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17399 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17400 cat >>confdefs.h
<<_ACEOF
17401 #define SIZEOF_LONG $ac_cv_sizeof_long
17407 if test $acx_cv_header_stdint = stddef.h
; then
17408 # Lacking a good header? Test size of everything and deduce all types.
17409 echo "$as_me:$LINENO: checking for int" >&5
17410 echo $ECHO_N "checking for int... $ECHO_C" >&6
17411 if test "${ac_cv_type_int+set}" = set; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 cat >conftest.
$ac_ext <<_ACEOF
17417 cat confdefs.h
>>conftest.
$ac_ext
17418 cat >>conftest.
$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17420 $ac_includes_default
17432 rm -f conftest.
$ac_objext
17433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17434 (eval $ac_compile) 2>conftest.er1
17436 grep -v '^ *+' conftest.er1
>conftest.err
17438 cat conftest.err
>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } &&
17441 { ac_try
='test -z "$ac_c_werror_flag"
17442 || test ! -s conftest.err'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; } &&
17448 { ac_try
='test -s conftest.$ac_objext'
17449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17450 (eval $ac_try) 2>&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); }; }; then
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.
$ac_ext >&5
17461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17463 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17464 echo "${ECHO_T}$ac_cv_type_int" >&6
17466 echo "$as_me:$LINENO: checking size of int" >&5
17467 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17468 if test "${ac_cv_sizeof_int+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 if test "$ac_cv_type_int" = yes; then
17472 # The cast to unsigned long works around a bug in the HP C Compiler
17473 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17474 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17475 # This bug is HP SR number 8606223364.
17476 if test "$cross_compiling" = yes; then
17477 # Depending upon the size, compute the lo and hi bounds.
17478 cat >conftest.
$ac_ext <<_ACEOF
17481 cat confdefs.h
>>conftest.
$ac_ext
17482 cat >>conftest.
$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 $ac_includes_default
17488 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17495 rm -f conftest.
$ac_objext
17496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17497 (eval $ac_compile) 2>conftest.er1
17499 grep -v '^ *+' conftest.er1
>conftest.err
17501 cat conftest.err
>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } &&
17504 { ac_try
='test -z "$ac_c_werror_flag"
17505 || test ! -s conftest.err'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; } &&
17511 { ac_try
='test -s conftest.$ac_objext'
17512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17513 (eval $ac_try) 2>&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); }; }; then
17519 cat >conftest.
$ac_ext <<_ACEOF
17522 cat confdefs.h
>>conftest.
$ac_ext
17523 cat >>conftest.
$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525 $ac_includes_default
17529 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17536 rm -f conftest.
$ac_objext
17537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17538 (eval $ac_compile) 2>conftest.er1
17540 grep -v '^ *+' conftest.er1
>conftest.err
17542 cat conftest.err
>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); } &&
17545 { ac_try
='test -z "$ac_c_werror_flag"
17546 || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try
='test -s conftest.$ac_objext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17558 ac_hi
=$ac_mid; break
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.
$ac_ext >&5
17563 ac_lo
=`expr $ac_mid + 1`
17564 if test $ac_lo -le $ac_mid; then
17568 ac_mid
=`expr 2 '*' $ac_mid + 1`
17570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17573 echo "$as_me: failed program was:" >&5
17574 sed 's/^/| /' conftest.
$ac_ext >&5
17576 cat >conftest.
$ac_ext <<_ACEOF
17579 cat confdefs.h
>>conftest.
$ac_ext
17580 cat >>conftest.
$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582 $ac_includes_default
17586 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17593 rm -f conftest.
$ac_objext
17594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17595 (eval $ac_compile) 2>conftest.er1
17597 grep -v '^ *+' conftest.er1
>conftest.err
17599 cat conftest.err
>&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); } &&
17602 { ac_try
='test -z "$ac_c_werror_flag"
17603 || test ! -s conftest.err'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; } &&
17609 { ac_try
='test -s conftest.$ac_objext'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; }; then
17617 cat >conftest.
$ac_ext <<_ACEOF
17620 cat confdefs.h
>>conftest.
$ac_ext
17621 cat >>conftest.
$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17623 $ac_includes_default
17627 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17634 rm -f conftest.
$ac_objext
17635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17636 (eval $ac_compile) 2>conftest.er1
17638 grep -v '^ *+' conftest.er1
>conftest.err
17640 cat conftest.err
>&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } &&
17643 { ac_try
='test -z "$ac_c_werror_flag"
17644 || test ! -s conftest.err'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; } &&
17650 { ac_try
='test -s conftest.$ac_objext'
17651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17652 (eval $ac_try) 2>&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); }; }; then
17656 ac_lo
=$ac_mid; break
17658 echo "$as_me: failed program was:" >&5
17659 sed 's/^/| /' conftest.
$ac_ext >&5
17661 ac_hi
=`expr '(' $ac_mid ')' - 1`
17662 if test $ac_mid -le $ac_hi; then
17666 ac_mid
=`expr 2 '*' $ac_mid`
17668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17671 echo "$as_me: failed program was:" >&5
17672 sed 's/^/| /' conftest.
$ac_ext >&5
17676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17679 # Binary search between lo and hi bounds.
17680 while test "x$ac_lo" != "x$ac_hi"; do
17681 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17682 cat >conftest.
$ac_ext <<_ACEOF
17685 cat confdefs.h
>>conftest.
$ac_ext
17686 cat >>conftest.
$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688 $ac_includes_default
17692 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17699 rm -f conftest.
$ac_objext
17700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17701 (eval $ac_compile) 2>conftest.er1
17703 grep -v '^ *+' conftest.er1
>conftest.err
17705 cat conftest.err
>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } &&
17708 { ac_try
='test -z "$ac_c_werror_flag"
17709 || test ! -s conftest.err'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; } &&
17715 { ac_try
='test -s conftest.$ac_objext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.
$ac_ext >&5
17726 ac_lo
=`expr '(' $ac_mid ')' + 1`
17728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17731 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17732 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17733 See \`config.log' for more details." >&5
17734 echo "$as_me: error: cannot compute sizeof (int), 77
17735 See \`config.log' for more details." >&2;}
17736 { (exit 1); exit 1; }; } ;;
17739 if test "$cross_compiling" = yes; then
17740 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17741 See \`config.log' for more details." >&5
17742 echo "$as_me: error: cannot run test program while cross compiling
17743 See \`config.log' for more details." >&2;}
17744 { (exit 1); exit 1; }; }
17746 cat >conftest.
$ac_ext <<_ACEOF
17749 cat confdefs.h
>>conftest.
$ac_ext
17750 cat >>conftest.
$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17752 $ac_includes_default
17753 long longval () { return (long) (sizeof (int)); }
17754 unsigned long ulongval () { return (long) (sizeof (int)); }
17756 #include <stdlib.h>
17761 FILE *f = fopen ("conftest.val", "w");
17764 if (((long) (sizeof (int))) < 0)
17766 long i = longval ();
17767 if (i != ((long) (sizeof (int))))
17769 fprintf (f, "%ld\n", i);
17773 unsigned long i = ulongval ();
17774 if (i != ((long) (sizeof (int))))
17776 fprintf (f, "%lu\n", i);
17778 exit (ferror (f) || fclose (f) != 0);
17784 rm -f conftest
$ac_exeext
17785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17786 (eval $ac_link) 2>&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17791 (eval $ac_try) 2>&5
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); }; }; then
17795 ac_cv_sizeof_int
=`cat conftest.val`
17797 echo "$as_me: program exited with status $ac_status" >&5
17798 echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.
$ac_ext >&5
17801 ( exit $ac_status )
17802 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17803 See \`config.log' for more details." >&5
17804 echo "$as_me: error: cannot compute sizeof (int), 77
17805 See \`config.log' for more details." >&2;}
17806 { (exit 1); exit 1; }; }
17808 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17816 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17817 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17818 cat >>confdefs.h
<<_ACEOF
17819 #define SIZEOF_INT $ac_cv_sizeof_int
17823 echo "$as_me:$LINENO: checking for short" >&5
17824 echo $ECHO_N "checking for short... $ECHO_C" >&6
17825 if test "${ac_cv_type_short+set}" = set; then
17826 echo $ECHO_N "(cached) $ECHO_C" >&6
17828 cat >conftest.
$ac_ext <<_ACEOF
17831 cat confdefs.h
>>conftest.
$ac_ext
17832 cat >>conftest.
$ac_ext <<_ACEOF
17833 /* end confdefs.h. */
17834 $ac_includes_default
17840 if (sizeof (short))
17846 rm -f conftest.
$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17850 grep -v '^ *+' conftest.er1
>conftest.err
17852 cat conftest.err
>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try
='test -z "$ac_c_werror_flag"
17856 || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try
='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_cv_type_short
=yes
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.
$ac_ext >&5
17873 ac_cv_type_short
=no
17875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17877 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17878 echo "${ECHO_T}$ac_cv_type_short" >&6
17880 echo "$as_me:$LINENO: checking size of short" >&5
17881 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17882 if test "${ac_cv_sizeof_short+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17885 if test "$ac_cv_type_short" = yes; then
17886 # The cast to unsigned long works around a bug in the HP C Compiler
17887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17888 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17889 # This bug is HP SR number 8606223364.
17890 if test "$cross_compiling" = yes; then
17891 # Depending upon the size, compute the lo and hi bounds.
17892 cat >conftest.
$ac_ext <<_ACEOF
17895 cat confdefs.h
>>conftest.
$ac_ext
17896 cat >>conftest.
$ac_ext <<_ACEOF
17897 /* end confdefs.h. */
17898 $ac_includes_default
17902 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17909 rm -f conftest.
$ac_objext
17910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17911 (eval $ac_compile) 2>conftest.er1
17913 grep -v '^ *+' conftest.er1
>conftest.err
17915 cat conftest.err
>&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } &&
17918 { ac_try
='test -z "$ac_c_werror_flag"
17919 || test ! -s conftest.err'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; } &&
17925 { ac_try
='test -s conftest.$ac_objext'
17926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 (eval $ac_try) 2>&5
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; }; then
17933 cat >conftest.
$ac_ext <<_ACEOF
17936 cat confdefs.h
>>conftest.
$ac_ext
17937 cat >>conftest.
$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17939 $ac_includes_default
17943 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17950 rm -f conftest.
$ac_objext
17951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17952 (eval $ac_compile) 2>conftest.er1
17954 grep -v '^ *+' conftest.er1
>conftest.err
17956 cat conftest.err
>&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } &&
17959 { ac_try
='test -z "$ac_c_werror_flag"
17960 || test ! -s conftest.err'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; } &&
17966 { ac_try
='test -s conftest.$ac_objext'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; }; then
17972 ac_hi
=$ac_mid; break
17974 echo "$as_me: failed program was:" >&5
17975 sed 's/^/| /' conftest.
$ac_ext >&5
17977 ac_lo
=`expr $ac_mid + 1`
17978 if test $ac_lo -le $ac_mid; then
17982 ac_mid
=`expr 2 '*' $ac_mid + 1`
17984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.
$ac_ext >&5
17990 cat >conftest.
$ac_ext <<_ACEOF
17993 cat confdefs.h
>>conftest.
$ac_ext
17994 cat >>conftest.
$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
18000 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18007 rm -f conftest.
$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18011 grep -v '^ *+' conftest.er1
>conftest.err
18013 cat conftest.err
>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try
='test -z "$ac_c_werror_flag"
18017 || test ! -s conftest.err'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; } &&
18023 { ac_try
='test -s conftest.$ac_objext'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; }; then
18031 cat >conftest.
$ac_ext <<_ACEOF
18034 cat confdefs.h
>>conftest.
$ac_ext
18035 cat >>conftest.
$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 $ac_includes_default
18041 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18048 rm -f conftest.
$ac_objext
18049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18050 (eval $ac_compile) 2>conftest.er1
18052 grep -v '^ *+' conftest.er1
>conftest.err
18054 cat conftest.err
>&5
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); } &&
18057 { ac_try
='test -z "$ac_c_werror_flag"
18058 || test ! -s conftest.err'
18059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18060 (eval $ac_try) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); }; } &&
18064 { ac_try
='test -s conftest.$ac_objext'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; }; then
18070 ac_lo
=$ac_mid; break
18072 echo "$as_me: failed program was:" >&5
18073 sed 's/^/| /' conftest.
$ac_ext >&5
18075 ac_hi
=`expr '(' $ac_mid ')' - 1`
18076 if test $ac_mid -le $ac_hi; then
18080 ac_mid
=`expr 2 '*' $ac_mid`
18082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.
$ac_ext >&5
18090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18093 # Binary search between lo and hi bounds.
18094 while test "x$ac_lo" != "x$ac_hi"; do
18095 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18096 cat >conftest.
$ac_ext <<_ACEOF
18099 cat confdefs.h
>>conftest.
$ac_ext
18100 cat >>conftest.
$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102 $ac_includes_default
18106 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18113 rm -f conftest.
$ac_objext
18114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18115 (eval $ac_compile) 2>conftest.er1
18117 grep -v '^ *+' conftest.er1
>conftest.err
18119 cat conftest.err
>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); } &&
18122 { ac_try
='test -z "$ac_c_werror_flag"
18123 || test ! -s conftest.err'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; } &&
18129 { ac_try
='test -s conftest.$ac_objext'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; }; then
18137 echo "$as_me: failed program was:" >&5
18138 sed 's/^/| /' conftest.
$ac_ext >&5
18140 ac_lo
=`expr '(' $ac_mid ')' + 1`
18142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18145 ?
*) ac_cv_sizeof_short
=$ac_lo;;
18146 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18147 See \`config.log' for more details." >&5
18148 echo "$as_me: error: cannot compute sizeof (short), 77
18149 See \`config.log' for more details." >&2;}
18150 { (exit 1); exit 1; }; } ;;
18153 if test "$cross_compiling" = yes; then
18154 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18155 See \`config.log' for more details." >&5
18156 echo "$as_me: error: cannot run test program while cross compiling
18157 See \`config.log' for more details." >&2;}
18158 { (exit 1); exit 1; }; }
18160 cat >conftest.
$ac_ext <<_ACEOF
18163 cat confdefs.h
>>conftest.
$ac_ext
18164 cat >>conftest.
$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 $ac_includes_default
18167 long longval () { return (long) (sizeof (short)); }
18168 unsigned long ulongval () { return (long) (sizeof (short)); }
18170 #include <stdlib.h>
18175 FILE *f = fopen ("conftest.val", "w");
18178 if (((long) (sizeof (short))) < 0)
18180 long i = longval ();
18181 if (i != ((long) (sizeof (short))))
18183 fprintf (f, "%ld\n", i);
18187 unsigned long i = ulongval ();
18188 if (i != ((long) (sizeof (short))))
18190 fprintf (f, "%lu\n", i);
18192 exit (ferror (f) || fclose (f) != 0);
18198 rm -f conftest
$ac_exeext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18200 (eval $ac_link) 2>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; }; then
18209 ac_cv_sizeof_short
=`cat conftest.val`
18211 echo "$as_me: program exited with status $ac_status" >&5
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.
$ac_ext >&5
18215 ( exit $ac_status )
18216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18217 See \`config.log' for more details." >&5
18218 echo "$as_me: error: cannot compute sizeof (short), 77
18219 See \`config.log' for more details." >&2;}
18220 { (exit 1); exit 1; }; }
18222 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18227 ac_cv_sizeof_short
=0
18230 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18231 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18232 cat >>confdefs.h
<<_ACEOF
18233 #define SIZEOF_SHORT $ac_cv_sizeof_short
18237 echo "$as_me:$LINENO: checking for char" >&5
18238 echo $ECHO_N "checking for char... $ECHO_C" >&6
18239 if test "${ac_cv_type_char+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18242 cat >conftest.
$ac_ext <<_ACEOF
18245 cat confdefs.h
>>conftest.
$ac_ext
18246 cat >>conftest.
$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248 $ac_includes_default
18260 rm -f conftest.
$ac_objext
18261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18262 (eval $ac_compile) 2>conftest.er1
18264 grep -v '^ *+' conftest.er1
>conftest.err
18266 cat conftest.err
>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } &&
18269 { ac_try
='test -z "$ac_c_werror_flag"
18270 || test ! -s conftest.err'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; } &&
18276 { ac_try
='test -s conftest.$ac_objext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 ac_cv_type_char
=yes
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.
$ac_ext >&5
18289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18291 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18292 echo "${ECHO_T}$ac_cv_type_char" >&6
18294 echo "$as_me:$LINENO: checking size of char" >&5
18295 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18296 if test "${ac_cv_sizeof_char+set}" = set; then
18297 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 if test "$ac_cv_type_char" = yes; then
18300 # The cast to unsigned long works around a bug in the HP C Compiler
18301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18303 # This bug is HP SR number 8606223364.
18304 if test "$cross_compiling" = yes; then
18305 # Depending upon the size, compute the lo and hi bounds.
18306 cat >conftest.
$ac_ext <<_ACEOF
18309 cat confdefs.h
>>conftest.
$ac_ext
18310 cat >>conftest.
$ac_ext <<_ACEOF
18311 /* end confdefs.h. */
18312 $ac_includes_default
18316 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18323 rm -f conftest.
$ac_objext
18324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18325 (eval $ac_compile) 2>conftest.er1
18327 grep -v '^ *+' conftest.er1
>conftest.err
18329 cat conftest.err
>&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } &&
18332 { ac_try
='test -z "$ac_c_werror_flag"
18333 || test ! -s conftest.err'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; } &&
18339 { ac_try
='test -s conftest.$ac_objext'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; }; then
18347 cat >conftest.
$ac_ext <<_ACEOF
18350 cat confdefs.h
>>conftest.
$ac_ext
18351 cat >>conftest.
$ac_ext <<_ACEOF
18352 /* end confdefs.h. */
18353 $ac_includes_default
18357 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18364 rm -f conftest.
$ac_objext
18365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18366 (eval $ac_compile) 2>conftest.er1
18368 grep -v '^ *+' conftest.er1
>conftest.err
18370 cat conftest.err
>&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } &&
18373 { ac_try
='test -z "$ac_c_werror_flag"
18374 || test ! -s conftest.err'
18375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376 (eval $ac_try) 2>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; } &&
18380 { ac_try
='test -s conftest.$ac_objext'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; }; then
18386 ac_hi
=$ac_mid; break
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.
$ac_ext >&5
18391 ac_lo
=`expr $ac_mid + 1`
18392 if test $ac_lo -le $ac_mid; then
18396 ac_mid
=`expr 2 '*' $ac_mid + 1`
18398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.
$ac_ext >&5
18404 cat >conftest.
$ac_ext <<_ACEOF
18407 cat confdefs.h
>>conftest.
$ac_ext
18408 cat >>conftest.
$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18410 $ac_includes_default
18414 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18421 rm -f conftest.
$ac_objext
18422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18423 (eval $ac_compile) 2>conftest.er1
18425 grep -v '^ *+' conftest.er1
>conftest.err
18427 cat conftest.err
>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try
='test -z "$ac_c_werror_flag"
18431 || test ! -s conftest.err'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; } &&
18437 { ac_try
='test -s conftest.$ac_objext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18445 cat >conftest.
$ac_ext <<_ACEOF
18448 cat confdefs.h
>>conftest.
$ac_ext
18449 cat >>conftest.
$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 $ac_includes_default
18455 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18462 rm -f conftest.
$ac_objext
18463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18464 (eval $ac_compile) 2>conftest.er1
18466 grep -v '^ *+' conftest.er1
>conftest.err
18468 cat conftest.err
>&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } &&
18471 { ac_try
='test -z "$ac_c_werror_flag"
18472 || test ! -s conftest.err'
18473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18474 (eval $ac_try) 2>&5
18476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18477 (exit $ac_status); }; } &&
18478 { ac_try
='test -s conftest.$ac_objext'
18479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18480 (eval $ac_try) 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; }; then
18484 ac_lo
=$ac_mid; break
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.
$ac_ext >&5
18489 ac_hi
=`expr '(' $ac_mid ')' - 1`
18490 if test $ac_mid -le $ac_hi; then
18494 ac_mid
=`expr 2 '*' $ac_mid`
18496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.
$ac_ext >&5
18504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18507 # Binary search between lo and hi bounds.
18508 while test "x$ac_lo" != "x$ac_hi"; do
18509 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18510 cat >conftest.
$ac_ext <<_ACEOF
18513 cat confdefs.h
>>conftest.
$ac_ext
18514 cat >>conftest.
$ac_ext <<_ACEOF
18515 /* end confdefs.h. */
18516 $ac_includes_default
18520 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18527 rm -f conftest.
$ac_objext
18528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18529 (eval $ac_compile) 2>conftest.er1
18531 grep -v '^ *+' conftest.er1
>conftest.err
18533 cat conftest.err
>&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); } &&
18536 { ac_try
='test -z "$ac_c_werror_flag"
18537 || test ! -s conftest.err'
18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539 (eval $ac_try) 2>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; } &&
18543 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18551 echo "$as_me: failed program was:" >&5
18552 sed 's/^/| /' conftest.
$ac_ext >&5
18554 ac_lo
=`expr '(' $ac_mid ')' + 1`
18556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18559 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18560 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18561 See \`config.log' for more details." >&5
18562 echo "$as_me: error: cannot compute sizeof (char), 77
18563 See \`config.log' for more details." >&2;}
18564 { (exit 1); exit 1; }; } ;;
18567 if test "$cross_compiling" = yes; then
18568 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18569 See \`config.log' for more details." >&5
18570 echo "$as_me: error: cannot run test program while cross compiling
18571 See \`config.log' for more details." >&2;}
18572 { (exit 1); exit 1; }; }
18574 cat >conftest.
$ac_ext <<_ACEOF
18577 cat confdefs.h
>>conftest.
$ac_ext
18578 cat >>conftest.
$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 $ac_includes_default
18581 long longval () { return (long) (sizeof (char)); }
18582 unsigned long ulongval () { return (long) (sizeof (char)); }
18584 #include <stdlib.h>
18589 FILE *f = fopen ("conftest.val", "w");
18592 if (((long) (sizeof (char))) < 0)
18594 long i = longval ();
18595 if (i != ((long) (sizeof (char))))
18597 fprintf (f, "%ld\n", i);
18601 unsigned long i = ulongval ();
18602 if (i != ((long) (sizeof (char))))
18604 fprintf (f, "%lu\n", i);
18606 exit (ferror (f) || fclose (f) != 0);
18612 rm -f conftest
$ac_exeext
18613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18614 (eval $ac_link) 2>&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_sizeof_char
=`cat conftest.val`
18625 echo "$as_me: program exited with status $ac_status" >&5
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.
$ac_ext >&5
18629 ( exit $ac_status )
18630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18631 See \`config.log' for more details." >&5
18632 echo "$as_me: error: cannot compute sizeof (char), 77
18633 See \`config.log' for more details." >&2;}
18634 { (exit 1); exit 1; }; }
18636 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18641 ac_cv_sizeof_char
=0
18644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18645 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18646 cat >>confdefs.h
<<_ACEOF
18647 #define SIZEOF_CHAR $ac_cv_sizeof_char
18652 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18653 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
18654 case "$ac_cv_sizeof_char" in
18655 1) acx_cv_type_int8_t
=char
;;
18656 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18657 echo "$as_me: error: no 8-bit type" >&2;}
18658 { (exit please report a bug
); exit please report a bug
; }; }
18660 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18661 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
18663 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18664 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
18665 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18666 2:*) acx_cv_type_int16_t
=int
;;
18667 *:2) acx_cv_type_int16_t
=short
;;
18668 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18669 echo "$as_me: error: no 16-bit type" >&2;}
18670 { (exit please report a bug
); exit please report a bug
; }; }
18672 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18673 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
18675 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18676 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
18677 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18678 4:*) acx_cv_type_int32_t
=int
;;
18679 *:4) acx_cv_type_int32_t
=long
;;
18680 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18681 echo "$as_me: error: no 32-bit type" >&2;}
18682 { (exit please report a bug
); exit please report a bug
; }; }
18684 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18685 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
18688 # These tests are here to make the output prettier
18690 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18691 case "$ac_cv_sizeof_long" in
18692 8) acx_cv_type_int64_t
=long
;;
18694 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18695 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
18696 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18697 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
18700 # Now we can use the above types
18702 if test "$ac_cv_type_uintptr_t" != yes; then
18703 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18704 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
18705 case $ac_cv_sizeof_void_p in
18706 2) acx_cv_type_intptr_t
=int16_t
;;
18707 4) acx_cv_type_intptr_t
=int32_t
;;
18708 8) acx_cv_type_intptr_t
=int64_t
;;
18709 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18710 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18711 { (exit please report a bug
); exit please report a bug
; }; }
18713 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
18714 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
18717 # ----------------- done all checks, emit header -------------
18718 ac_config_commands
="$ac_config_commands gdb_stdint.h"
18723 # ------------------------- #
18724 # Checks for declarations. #
18725 # ------------------------- #
18727 echo "$as_me:$LINENO: checking whether free is declared" >&5
18728 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
18729 if test "${ac_cv_have_decl_free+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 cat >conftest.
$ac_ext <<_ACEOF
18735 cat confdefs.h
>>conftest.
$ac_ext
18736 cat >>conftest.
$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738 $ac_includes_default
18743 char *p = (char *) free;
18750 rm -f conftest.
$ac_objext
18751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18752 (eval $ac_compile) 2>conftest.er1
18754 grep -v '^ *+' conftest.er1
>conftest.err
18756 cat conftest.err
>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); } &&
18759 { ac_try
='test -z "$ac_c_werror_flag"
18760 || test ! -s conftest.err'
18761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18762 (eval $ac_try) 2>&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); }; } &&
18766 { ac_try
='test -s conftest.$ac_objext'
18767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768 (eval $ac_try) 2>&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; }; then
18772 ac_cv_have_decl_free
=yes
18774 echo "$as_me: failed program was:" >&5
18775 sed 's/^/| /' conftest.
$ac_ext >&5
18777 ac_cv_have_decl_free
=no
18779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18781 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
18782 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
18783 if test $ac_cv_have_decl_free = yes; then
18785 cat >>confdefs.h
<<_ACEOF
18786 #define HAVE_DECL_FREE 1
18791 cat >>confdefs.h
<<_ACEOF
18792 #define HAVE_DECL_FREE 0
18797 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
18798 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
18799 if test "${ac_cv_have_decl_malloc+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 cat >conftest.
$ac_ext <<_ACEOF
18805 cat confdefs.h
>>conftest.
$ac_ext
18806 cat >>conftest.
$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 $ac_includes_default
18813 char *p = (char *) malloc;
18820 rm -f conftest.
$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822 (eval $ac_compile) 2>conftest.er1
18824 grep -v '^ *+' conftest.er1
>conftest.err
18826 cat conftest.err
>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } &&
18829 { ac_try
='test -z "$ac_c_werror_flag"
18830 || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try
='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_cv_have_decl_malloc
=yes
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.
$ac_ext >&5
18847 ac_cv_have_decl_malloc
=no
18849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18851 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
18852 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
18853 if test $ac_cv_have_decl_malloc = yes; then
18855 cat >>confdefs.h
<<_ACEOF
18856 #define HAVE_DECL_MALLOC 1
18861 cat >>confdefs.h
<<_ACEOF
18862 #define HAVE_DECL_MALLOC 0
18867 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
18868 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
18869 if test "${ac_cv_have_decl_realloc+set}" = set; then
18870 echo $ECHO_N "(cached) $ECHO_C" >&6
18872 cat >conftest.
$ac_ext <<_ACEOF
18875 cat confdefs.h
>>conftest.
$ac_ext
18876 cat >>conftest.
$ac_ext <<_ACEOF
18877 /* end confdefs.h. */
18878 $ac_includes_default
18883 char *p = (char *) realloc;
18890 rm -f conftest.
$ac_objext
18891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18892 (eval $ac_compile) 2>conftest.er1
18894 grep -v '^ *+' conftest.er1
>conftest.err
18896 cat conftest.err
>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); } &&
18899 { ac_try
='test -z "$ac_c_werror_flag"
18900 || test ! -s conftest.err'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; } &&
18906 { ac_try
='test -s conftest.$ac_objext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18912 ac_cv_have_decl_realloc
=yes
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.
$ac_ext >&5
18917 ac_cv_have_decl_realloc
=no
18919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18921 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
18922 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
18923 if test $ac_cv_have_decl_realloc = yes; then
18925 cat >>confdefs.h
<<_ACEOF
18926 #define HAVE_DECL_REALLOC 1
18931 cat >>confdefs.h
<<_ACEOF
18932 #define HAVE_DECL_REALLOC 0
18939 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
18940 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
18941 if test "${ac_cv_have_decl_strerror+set}" = set; then
18942 echo $ECHO_N "(cached) $ECHO_C" >&6
18944 cat >conftest.
$ac_ext <<_ACEOF
18947 cat confdefs.h
>>conftest.
$ac_ext
18948 cat >>conftest.
$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 $ac_includes_default
18955 char *p = (char *) strerror;
18962 rm -f conftest.
$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964 (eval $ac_compile) 2>conftest.er1
18966 grep -v '^ *+' conftest.er1
>conftest.err
18968 cat conftest.err
>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try
='test -z "$ac_c_werror_flag"
18972 || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try
='test -s conftest.$ac_objext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 ac_cv_have_decl_strerror
=yes
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.
$ac_ext >&5
18989 ac_cv_have_decl_strerror
=no
18991 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18993 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
18994 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
18995 if test $ac_cv_have_decl_strerror = yes; then
18997 cat >>confdefs.h
<<_ACEOF
18998 #define HAVE_DECL_STRERROR 1
19003 cat >>confdefs.h
<<_ACEOF
19004 #define HAVE_DECL_STRERROR 0
19009 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
19010 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
19011 if test "${ac_cv_have_decl_strstr+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19014 cat >conftest.
$ac_ext <<_ACEOF
19017 cat confdefs.h
>>conftest.
$ac_ext
19018 cat >>conftest.
$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19020 $ac_includes_default
19025 char *p = (char *) strstr;
19032 rm -f conftest.
$ac_objext
19033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19034 (eval $ac_compile) 2>conftest.er1
19036 grep -v '^ *+' conftest.er1
>conftest.err
19038 cat conftest.err
>&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); } &&
19041 { ac_try
='test -z "$ac_c_werror_flag"
19042 || test ! -s conftest.err'
19043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19044 (eval $ac_try) 2>&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); }; } &&
19048 { ac_try
='test -s conftest.$ac_objext'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; }; then
19054 ac_cv_have_decl_strstr
=yes
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.
$ac_ext >&5
19059 ac_cv_have_decl_strstr
=no
19061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19063 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
19064 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
19065 if test $ac_cv_have_decl_strstr = yes; then
19067 cat >>confdefs.h
<<_ACEOF
19068 #define HAVE_DECL_STRSTR 1
19073 cat >>confdefs.h
<<_ACEOF
19074 #define HAVE_DECL_STRSTR 0
19081 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
19082 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
19083 if test "${ac_cv_have_decl_getopt+set}" = set; then
19084 echo $ECHO_N "(cached) $ECHO_C" >&6
19086 cat >conftest.
$ac_ext <<_ACEOF
19089 cat confdefs.h
>>conftest.
$ac_ext
19090 cat >>conftest.
$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092 $ac_includes_default
19097 char *p = (char *) getopt;
19104 rm -f conftest.
$ac_objext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>conftest.er1
19108 grep -v '^ *+' conftest.er1
>conftest.err
19110 cat conftest.err
>&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try
='test -z "$ac_c_werror_flag"
19114 || test ! -s conftest.err'
19115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19116 (eval $ac_try) 2>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }; } &&
19120 { ac_try
='test -s conftest.$ac_objext'
19121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 (eval $ac_try) 2>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; }; then
19126 ac_cv_have_decl_getopt
=yes
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.
$ac_ext >&5
19131 ac_cv_have_decl_getopt
=no
19133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19135 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
19136 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
19137 if test $ac_cv_have_decl_getopt = yes; then
19139 cat >>confdefs.h
<<_ACEOF
19140 #define HAVE_DECL_GETOPT 1
19145 cat >>confdefs.h
<<_ACEOF
19146 #define HAVE_DECL_GETOPT 0
19151 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
19152 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
19153 if test "${ac_cv_have_decl_snprintf+set}" = set; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 cat >conftest.
$ac_ext <<_ACEOF
19159 cat confdefs.h
>>conftest.
$ac_ext
19160 cat >>conftest.
$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19162 $ac_includes_default
19167 char *p = (char *) snprintf;
19174 rm -f conftest.
$ac_objext
19175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19176 (eval $ac_compile) 2>conftest.er1
19178 grep -v '^ *+' conftest.er1
>conftest.err
19180 cat conftest.err
>&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } &&
19183 { ac_try
='test -z "$ac_c_werror_flag"
19184 || test ! -s conftest.err'
19185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19186 (eval $ac_try) 2>&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; } &&
19190 { ac_try
='test -s conftest.$ac_objext'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; }; then
19196 ac_cv_have_decl_snprintf
=yes
19198 echo "$as_me: failed program was:" >&5
19199 sed 's/^/| /' conftest.
$ac_ext >&5
19201 ac_cv_have_decl_snprintf
=no
19203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19205 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
19206 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
19207 if test $ac_cv_have_decl_snprintf = yes; then
19209 cat >>confdefs.h
<<_ACEOF
19210 #define HAVE_DECL_SNPRINTF 1
19215 cat >>confdefs.h
<<_ACEOF
19216 #define HAVE_DECL_SNPRINTF 0
19221 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
19222 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
19223 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
19224 echo $ECHO_N "(cached) $ECHO_C" >&6
19226 cat >conftest.
$ac_ext <<_ACEOF
19229 cat confdefs.h
>>conftest.
$ac_ext
19230 cat >>conftest.
$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19232 $ac_includes_default
19237 char *p = (char *) vsnprintf;
19244 rm -f conftest.
$ac_objext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19246 (eval $ac_compile) 2>conftest.er1
19248 grep -v '^ *+' conftest.er1
>conftest.err
19250 cat conftest.err
>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); } &&
19253 { ac_try
='test -z "$ac_c_werror_flag"
19254 || test ! -s conftest.err'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; } &&
19260 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19266 ac_cv_have_decl_vsnprintf
=yes
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.
$ac_ext >&5
19271 ac_cv_have_decl_vsnprintf
=no
19273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19275 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
19276 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
19277 if test $ac_cv_have_decl_vsnprintf = yes; then
19279 cat >>confdefs.h
<<_ACEOF
19280 #define HAVE_DECL_VSNPRINTF 1
19285 cat >>confdefs.h
<<_ACEOF
19286 #define HAVE_DECL_VSNPRINTF 0
19294 # ----------------------- #
19295 # Checks for structures. #
19296 # ----------------------- #
19298 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19299 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19300 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19301 echo $ECHO_N "(cached) $ECHO_C" >&6
19303 cat >conftest.
$ac_ext <<_ACEOF
19306 cat confdefs.h
>>conftest.
$ac_ext
19307 cat >>conftest.
$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19309 $ac_includes_default
19313 static struct stat ac_aggr;
19314 if (ac_aggr.st_blocks)
19320 rm -f conftest.
$ac_objext
19321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19322 (eval $ac_compile) 2>conftest.er1
19324 grep -v '^ *+' conftest.er1
>conftest.err
19326 cat conftest.err
>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } &&
19329 { ac_try
='test -z "$ac_c_werror_flag"
19330 || test ! -s conftest.err'
19331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332 (eval $ac_try) 2>&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; } &&
19336 { ac_try
='test -s conftest.$ac_objext'
19337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19338 (eval $ac_try) 2>&5
19340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19341 (exit $ac_status); }; }; then
19342 ac_cv_member_struct_stat_st_blocks
=yes
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.
$ac_ext >&5
19347 cat >conftest.
$ac_ext <<_ACEOF
19350 cat confdefs.h
>>conftest.
$ac_ext
19351 cat >>conftest.
$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353 $ac_includes_default
19357 static struct stat ac_aggr;
19358 if (sizeof ac_aggr.st_blocks)
19364 rm -f conftest.
$ac_objext
19365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19366 (eval $ac_compile) 2>conftest.er1
19368 grep -v '^ *+' conftest.er1
>conftest.err
19370 cat conftest.err
>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); } &&
19373 { ac_try
='test -z "$ac_c_werror_flag"
19374 || test ! -s conftest.err'
19375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19376 (eval $ac_try) 2>&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); }; } &&
19380 { ac_try
='test -s conftest.$ac_objext'
19381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19382 (eval $ac_try) 2>&5
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); }; }; then
19386 ac_cv_member_struct_stat_st_blocks
=yes
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.
$ac_ext >&5
19391 ac_cv_member_struct_stat_st_blocks
=no
19393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19397 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19398 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19399 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19401 cat >>confdefs.h
<<_ACEOF
19402 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19408 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
19409 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
19410 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
19411 echo $ECHO_N "(cached) $ECHO_C" >&6
19413 cat >conftest.
$ac_ext <<_ACEOF
19416 cat confdefs.h
>>conftest.
$ac_ext
19417 cat >>conftest.
$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 $ac_includes_default
19423 static struct stat ac_aggr;
19424 if (ac_aggr.st_blksize)
19430 rm -f conftest.
$ac_objext
19431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19432 (eval $ac_compile) 2>conftest.er1
19434 grep -v '^ *+' conftest.er1
>conftest.err
19436 cat conftest.err
>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } &&
19439 { ac_try
='test -z "$ac_c_werror_flag"
19440 || test ! -s conftest.err'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; } &&
19446 { ac_try
='test -s conftest.$ac_objext'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; }; then
19452 ac_cv_member_struct_stat_st_blksize
=yes
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.
$ac_ext >&5
19457 cat >conftest.
$ac_ext <<_ACEOF
19460 cat confdefs.h
>>conftest.
$ac_ext
19461 cat >>conftest.
$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19463 $ac_includes_default
19467 static struct stat ac_aggr;
19468 if (sizeof ac_aggr.st_blksize)
19474 rm -f conftest.
$ac_objext
19475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19476 (eval $ac_compile) 2>conftest.er1
19478 grep -v '^ *+' conftest.er1
>conftest.err
19480 cat conftest.err
>&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } &&
19483 { ac_try
='test -z "$ac_c_werror_flag"
19484 || test ! -s conftest.err'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; } &&
19490 { ac_try
='test -s conftest.$ac_objext'
19491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19492 (eval $ac_try) 2>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); }; }; then
19496 ac_cv_member_struct_stat_st_blksize
=yes
19498 echo "$as_me: failed program was:" >&5
19499 sed 's/^/| /' conftest.
$ac_ext >&5
19501 ac_cv_member_struct_stat_st_blksize
=no
19503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19507 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
19508 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
19509 if test $ac_cv_member_struct_stat_st_blksize = yes; then
19511 cat >>confdefs.h
<<_ACEOF
19512 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
19519 # ------------------ #
19520 # Checks for types. #
19521 # ------------------ #
19523 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
19524 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
19525 if test "${ac_cv_type_signal+set}" = set; then
19526 echo $ECHO_N "(cached) $ECHO_C" >&6
19528 cat >conftest.
$ac_ext <<_ACEOF
19531 cat confdefs.h
>>conftest.
$ac_ext
19532 cat >>conftest.
$ac_ext <<_ACEOF
19533 /* end confdefs.h. */
19534 #include <sys/types.h>
19535 #include <signal.h>
19540 extern "C" void (*signal (int, void (*)(int)))(int);
19542 void (*signal ()) ();
19553 rm -f conftest.
$ac_objext
19554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19555 (eval $ac_compile) 2>conftest.er1
19557 grep -v '^ *+' conftest.er1
>conftest.err
19559 cat conftest.err
>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
19562 { ac_try
='test -z "$ac_c_werror_flag"
19563 || test ! -s conftest.err'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; } &&
19569 { ac_try
='test -s conftest.$ac_objext'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; }; then
19575 ac_cv_type_signal
=void
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.
$ac_ext >&5
19580 ac_cv_type_signal
=int
19582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19584 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
19585 echo "${ECHO_T}$ac_cv_type_signal" >&6
19587 cat >>confdefs.h
<<_ACEOF
19588 #define RETSIGTYPE $ac_cv_type_signal
19592 echo "$as_me:$LINENO: checking for socklen_t" >&5
19593 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
19594 if test "${ac_cv_type_socklen_t+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19597 cat >conftest.
$ac_ext <<_ACEOF
19600 cat confdefs.h
>>conftest.
$ac_ext
19601 cat >>conftest.
$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 #include <sys/types.h>
19604 #include <sys/socket.h>
19610 if ((socklen_t *) 0)
19612 if (sizeof (socklen_t))
19618 rm -f conftest.
$ac_objext
19619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19620 (eval $ac_compile) 2>conftest.er1
19622 grep -v '^ *+' conftest.er1
>conftest.err
19624 cat conftest.err
>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); } &&
19627 { ac_try
='test -z "$ac_c_werror_flag"
19628 || test ! -s conftest.err'
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630 (eval $ac_try) 2>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; } &&
19634 { ac_try
='test -s conftest.$ac_objext'
19635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19636 (eval $ac_try) 2>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); }; }; then
19640 ac_cv_type_socklen_t
=yes
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.
$ac_ext >&5
19645 ac_cv_type_socklen_t
=no
19647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19649 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
19650 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
19651 if test $ac_cv_type_socklen_t = yes; then
19653 cat >>confdefs.h
<<_ACEOF
19654 #define HAVE_SOCKLEN_T 1
19660 echo "$as_me:$LINENO: checking for uintptr_t" >&5
19661 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
19662 if test "${ac_cv_type_uintptr_t+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 cat >conftest.
$ac_ext <<_ACEOF
19668 cat confdefs.h
>>conftest.
$ac_ext
19669 cat >>conftest.
$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 #include <stdint.h>
19676 if ((uintptr_t *) 0)
19678 if (sizeof (uintptr_t))
19684 rm -f conftest.
$ac_objext
19685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19686 (eval $ac_compile) 2>conftest.er1
19688 grep -v '^ *+' conftest.er1
>conftest.err
19690 cat conftest.err
>&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); } &&
19693 { ac_try
='test -z "$ac_c_werror_flag"
19694 || test ! -s conftest.err'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; } &&
19700 { ac_try
='test -s conftest.$ac_objext'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; }; then
19706 ac_cv_type_uintptr_t
=yes
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.
$ac_ext >&5
19711 ac_cv_type_uintptr_t
=no
19713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19715 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
19716 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
19717 if test $ac_cv_type_uintptr_t = yes; then
19719 cat >>confdefs.h
<<_ACEOF
19720 #define HAVE_UINTPTR_T 1
19727 # ------------------------------------- #
19728 # Checks for compiler characteristics. #
19729 # ------------------------------------- #
19731 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19732 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19733 if test "${ac_cv_c_const+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19736 cat >conftest.
$ac_ext <<_ACEOF
19739 cat confdefs.h
>>conftest.
$ac_ext
19740 cat >>conftest.
$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19746 /* FIXME: Include the comments suggested by Paul. */
19747 #ifndef __cplusplus
19748 /* Ultrix mips cc rejects this. */
19749 typedef int charset[2];
19751 /* SunOS 4.1.1 cc rejects this. */
19752 char const *const *ccp;
19754 /* NEC SVR4.0.2 mips cc rejects this. */
19755 struct point {int x, y;};
19756 static struct point const zero = {0,0};
19757 /* AIX XL C 1.02.0.0 rejects this.
19758 It does not let you subtract one const X* pointer from another in
19759 an arm of an if-expression whose if-part is not a constant
19761 const char *g = "string";
19762 ccp = &g + (g ? g-g : 0);
19763 /* HPUX 7.0 cc rejects these. */
19766 ccp = (char const *const *) p;
19767 { /* SCO 3.2v4 cc rejects this. */
19769 char const *s = 0 ? (char *) 0 : (char const *) 0;
19773 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19774 int x[] = {25, 17};
19775 const int *foo = &x[0];
19778 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19779 typedef const int *iptr;
19783 { /* AIX XL C 1.02.0.0 rejects this saying
19784 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19785 struct s { int j; const int *ap[3]; };
19786 struct s *b; b->j = 5;
19788 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19789 const int foo = 10;
19797 rm -f conftest.
$ac_objext
19798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19799 (eval $ac_compile) 2>conftest.er1
19801 grep -v '^ *+' conftest.er1
>conftest.err
19803 cat conftest.err
>&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } &&
19806 { ac_try
='test -z "$ac_c_werror_flag"
19807 || test ! -s conftest.err'
19808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19809 (eval $ac_try) 2>&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); }; } &&
19813 { ac_try
='test -s conftest.$ac_objext'
19814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19815 (eval $ac_try) 2>&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); }; }; then
19821 echo "$as_me: failed program was:" >&5
19822 sed 's/^/| /' conftest.
$ac_ext >&5
19826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19828 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19829 echo "${ECHO_T}$ac_cv_c_const" >&6
19830 if test $ac_cv_c_const = no
; then
19832 cat >>confdefs.h
<<\_ACEOF
19838 echo "$as_me:$LINENO: checking for inline" >&5
19839 echo $ECHO_N "checking for inline... $ECHO_C" >&6
19840 if test "${ac_cv_c_inline+set}" = set; then
19841 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 for ac_kw
in inline __inline__ __inline
; do
19845 cat >conftest.
$ac_ext <<_ACEOF
19848 cat confdefs.h
>>conftest.
$ac_ext
19849 cat >>conftest.
$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #ifndef __cplusplus
19853 static $ac_kw foo_t static_foo () {return 0; }
19854 $ac_kw foo_t foo () {return 0; }
19858 rm -f conftest.
$ac_objext
19859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19860 (eval $ac_compile) 2>conftest.er1
19862 grep -v '^ *+' conftest.er1
>conftest.err
19864 cat conftest.err
>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } &&
19867 { ac_try
='test -z "$ac_c_werror_flag"
19868 || test ! -s conftest.err'
19869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19870 (eval $ac_try) 2>&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try
='test -s conftest.$ac_objext'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; }; then
19880 ac_cv_c_inline
=$ac_kw; break
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.
$ac_ext >&5
19886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19890 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19891 echo "${ECHO_T}$ac_cv_c_inline" >&6
19894 case $ac_cv_c_inline in
19897 case $ac_cv_c_inline in
19899 *) ac_val
=$ac_cv_c_inline;;
19901 cat >>confdefs.h
<<_ACEOF
19902 #ifndef __cplusplus
19903 #define inline $ac_val
19909 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
19910 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19911 if test "${ac_cv_c_bigendian+set}" = set; then
19912 echo $ECHO_N "(cached) $ECHO_C" >&6
19914 # See if sys/param.h defines the BYTE_ORDER macro.
19915 cat >conftest.
$ac_ext <<_ACEOF
19918 cat confdefs.h
>>conftest.
$ac_ext
19919 cat >>conftest.
$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 #include <sys/types.h>
19922 #include <sys/param.h>
19927 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19928 bogus endian macros
19935 rm -f conftest.
$ac_objext
19936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19937 (eval $ac_compile) 2>conftest.er1
19939 grep -v '^ *+' conftest.er1
>conftest.err
19941 cat conftest.err
>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } &&
19944 { ac_try
='test -z "$ac_c_werror_flag"
19945 || test ! -s conftest.err'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; } &&
19951 { ac_try
='test -s conftest.$ac_objext'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; }; then
19957 # It does; now see whether it defined to BIG_ENDIAN or not.
19958 cat >conftest.
$ac_ext <<_ACEOF
19961 cat confdefs.h
>>conftest.
$ac_ext
19962 cat >>conftest.
$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 #include <sys/types.h>
19965 #include <sys/param.h>
19970 #if BYTE_ORDER != BIG_ENDIAN
19978 rm -f conftest.
$ac_objext
19979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19980 (eval $ac_compile) 2>conftest.er1
19982 grep -v '^ *+' conftest.er1
>conftest.err
19984 cat conftest.err
>&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); } &&
19987 { ac_try
='test -z "$ac_c_werror_flag"
19988 || test ! -s conftest.err'
19989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19990 (eval $ac_try) 2>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; } &&
19994 { ac_try
='test -s conftest.$ac_objext'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; }; then
20000 ac_cv_c_bigendian
=yes
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.
$ac_ext >&5
20005 ac_cv_c_bigendian
=no
20007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20009 echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.
$ac_ext >&5
20012 # It does not; compile a test program.
20013 if test "$cross_compiling" = yes; then
20014 # try to guess the endianness by grepping values into an object file
20015 ac_cv_c_bigendian
=unknown
20016 cat >conftest.
$ac_ext <<_ACEOF
20019 cat confdefs.h
>>conftest.
$ac_ext
20020 cat >>conftest.
$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20023 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20024 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20025 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20026 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20027 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20031 _ascii (); _ebcdic ();
20036 rm -f conftest.
$ac_objext
20037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20038 (eval $ac_compile) 2>conftest.er1
20040 grep -v '^ *+' conftest.er1
>conftest.err
20042 cat conftest.err
>&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); } &&
20045 { ac_try
='test -z "$ac_c_werror_flag"
20046 || test ! -s conftest.err'
20047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20048 (eval $ac_try) 2>&5
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); }; } &&
20052 { ac_try
='test -s conftest.$ac_objext'
20053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20054 (eval $ac_try) 2>&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); }; }; then
20058 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
20059 ac_cv_c_bigendian
=yes
20061 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
20062 if test "$ac_cv_c_bigendian" = unknown
; then
20063 ac_cv_c_bigendian
=no
20065 # finding both strings is unlikely to happen, but who knows?
20066 ac_cv_c_bigendian
=unknown
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.
$ac_ext >&5
20074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20076 cat >conftest.
$ac_ext <<_ACEOF
20079 cat confdefs.h
>>conftest.
$ac_ext
20080 cat >>conftest.
$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20085 /* Are we little or big endian? From Harbison&Steele. */
20089 char c[sizeof (long)];
20092 exit (u.c[sizeof (long) - 1] == 1);
20095 rm -f conftest
$ac_exeext
20096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20097 (eval $ac_link) 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20102 (eval $ac_try) 2>&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); }; }; then
20106 ac_cv_c_bigendian
=no
20108 echo "$as_me: program exited with status $ac_status" >&5
20109 echo "$as_me: failed program was:" >&5
20110 sed 's/^/| /' conftest.
$ac_ext >&5
20112 ( exit $ac_status )
20113 ac_cv_c_bigendian
=yes
20115 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20120 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20121 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20122 case $ac_cv_c_bigendian in
20125 cat >>confdefs.h
<<\_ACEOF
20126 #define WORDS_BIGENDIAN 1
20132 { { echo "$as_me:$LINENO: error: unknown endianness
20133 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20134 echo "$as_me: error: unknown endianness
20135 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20136 { (exit 1); exit 1; }; } ;;
20140 # ------------------------------ #
20141 # Checks for library functions. #
20142 # ------------------------------ #
20144 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20145 # for constant arguments. Useless!
20146 echo "$as_me:$LINENO: checking for working alloca.h" >&5
20147 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
20148 if test "${ac_cv_working_alloca_h+set}" = set; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20151 cat >conftest.
$ac_ext <<_ACEOF
20154 cat confdefs.h
>>conftest.
$ac_ext
20155 cat >>conftest.
$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 #include <alloca.h>
20161 char *p = (char *) alloca (2 * sizeof (int));
20166 rm -f conftest.
$ac_objext conftest
$ac_exeext
20167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20168 (eval $ac_link) 2>conftest.er1
20170 grep -v '^ *+' conftest.er1
>conftest.err
20172 cat conftest.err
>&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); } &&
20175 { ac_try
='test -z "$ac_c_werror_flag"
20176 || test ! -s conftest.err'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; } &&
20182 { ac_try
='test -s conftest$ac_exeext'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; }; then
20188 ac_cv_working_alloca_h
=yes
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.
$ac_ext >&5
20193 ac_cv_working_alloca_h
=no
20195 rm -f conftest.err conftest.
$ac_objext \
20196 conftest
$ac_exeext conftest.
$ac_ext
20198 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
20199 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
20200 if test $ac_cv_working_alloca_h = yes; then
20202 cat >>confdefs.h
<<\_ACEOF
20203 #define HAVE_ALLOCA_H 1
20208 echo "$as_me:$LINENO: checking for alloca" >&5
20209 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
20210 if test "${ac_cv_func_alloca_works+set}" = set; then
20211 echo $ECHO_N "(cached) $ECHO_C" >&6
20213 cat >conftest.
$ac_ext <<_ACEOF
20216 cat confdefs.h
>>conftest.
$ac_ext
20217 cat >>conftest.
$ac_ext <<_ACEOF
20218 /* end confdefs.h. */
20220 # define alloca __builtin_alloca
20223 # include <malloc.h>
20224 # define alloca _alloca
20227 # include <alloca.h>
20232 # ifndef alloca /* predefined by HP cc +Olibcalls */
20243 char *p = (char *) alloca (1);
20248 rm -f conftest.
$ac_objext conftest
$ac_exeext
20249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20250 (eval $ac_link) 2>conftest.er1
20252 grep -v '^ *+' conftest.er1
>conftest.err
20254 cat conftest.err
>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); } &&
20257 { ac_try
='test -z "$ac_c_werror_flag"
20258 || test ! -s conftest.err'
20259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20260 (eval $ac_try) 2>&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); }; } &&
20264 { ac_try
='test -s conftest$ac_exeext'
20265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266 (eval $ac_try) 2>&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); }; }; then
20270 ac_cv_func_alloca_works
=yes
20272 echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.
$ac_ext >&5
20275 ac_cv_func_alloca_works
=no
20277 rm -f conftest.err conftest.
$ac_objext \
20278 conftest
$ac_exeext conftest.
$ac_ext
20280 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
20281 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
20283 if test $ac_cv_func_alloca_works = yes; then
20285 cat >>confdefs.h
<<\_ACEOF
20286 #define HAVE_ALLOCA 1
20290 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20291 # that cause trouble. Some versions do not even contain alloca or
20292 # contain a buggy version. If you still want to use their alloca,
20293 # use ar to extract alloca.o from them instead of compiling alloca.c.
20295 ALLOCA
=alloca.
$ac_objext
20297 cat >>confdefs.h
<<\_ACEOF
20302 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
20303 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
20304 if test "${ac_cv_os_cray+set}" = set; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20307 cat >conftest.
$ac_ext <<_ACEOF
20310 cat confdefs.h
>>conftest.
$ac_ext
20311 cat >>conftest.
$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20313 #if defined(CRAY) && ! defined(CRAY2)
20320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20321 $EGREP "webecray" >/dev
/null
2>&1; then
20329 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
20330 echo "${ECHO_T}$ac_cv_os_cray" >&6
20331 if test $ac_cv_os_cray = yes; then
20332 for ac_func
in _getb67 GETB67 getb67
; do
20333 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20334 echo "$as_me:$LINENO: checking for $ac_func" >&5
20335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20336 if eval "test \"\${$as_ac_var+set}\" = set"; then
20337 echo $ECHO_N "(cached) $ECHO_C" >&6
20339 cat >conftest.
$ac_ext <<_ACEOF
20342 cat confdefs.h
>>conftest.
$ac_ext
20343 cat >>conftest.
$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20347 #define $ac_func innocuous_$ac_func
20349 /* System header to define __stub macros and hopefully few prototypes,
20350 which can conflict with char $ac_func (); below.
20351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20352 <limits.h> exists even on freestanding compilers. */
20355 # include <limits.h>
20357 # include <assert.h>
20362 /* Override any gcc2 internal prototype to avoid an error. */
20367 /* We use char because int might match the return type of a gcc2
20368 builtin and then its argument prototype would still apply. */
20370 /* The GNU C library defines this for functions which it implements
20371 to always fail with ENOSYS. Some functions are actually named
20372 something starting with __ and the normal name is an alias. */
20373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20376 char (*f) () = $ac_func;
20385 return f != $ac_func;
20390 rm -f conftest.
$ac_objext conftest
$ac_exeext
20391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20392 (eval $ac_link) 2>conftest.er1
20394 grep -v '^ *+' conftest.er1
>conftest.err
20396 cat conftest.err
>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } &&
20399 { ac_try
='test -z "$ac_c_werror_flag"
20400 || test ! -s conftest.err'
20401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 (eval $ac_try) 2>&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); }; } &&
20406 { ac_try
='test -s conftest$ac_exeext'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; }; then
20412 eval "$as_ac_var=yes"
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.
$ac_ext >&5
20417 eval "$as_ac_var=no"
20419 rm -f conftest.err conftest.
$ac_objext \
20420 conftest
$ac_exeext conftest.
$ac_ext
20422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20424 if test `eval echo '${'$as_ac_var'}'` = yes; then
20426 cat >>confdefs.h
<<_ACEOF
20427 #define CRAY_STACKSEG_END $ac_func
20436 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
20437 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
20438 if test "${ac_cv_c_stack_direction+set}" = set; then
20439 echo $ECHO_N "(cached) $ECHO_C" >&6
20441 if test "$cross_compiling" = yes; then
20442 ac_cv_c_stack_direction
=0
20444 cat >conftest.
$ac_ext <<_ACEOF
20447 cat confdefs.h
>>conftest.
$ac_ext
20448 cat >>conftest.
$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20451 find_stack_direction ()
20453 static char *addr = 0;
20458 return find_stack_direction ();
20461 return (&dummy > addr) ? 1 : -1;
20467 exit (find_stack_direction () < 0);
20470 rm -f conftest
$ac_exeext
20471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20472 (eval $ac_link) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20477 (eval $ac_try) 2>&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; }; then
20481 ac_cv_c_stack_direction
=1
20483 echo "$as_me: program exited with status $ac_status" >&5
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.
$ac_ext >&5
20487 ( exit $ac_status )
20488 ac_cv_c_stack_direction
=-1
20490 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20493 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
20494 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
20496 cat >>confdefs.h
<<_ACEOF
20497 #define STACK_DIRECTION $ac_cv_c_stack_direction
20505 for ac_header
in stdlib.h unistd.h
20507 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20509 echo "$as_me:$LINENO: checking for $ac_header" >&5
20510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20512 echo $ECHO_N "(cached) $ECHO_C" >&6
20514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20517 # Is the header compilable?
20518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20520 cat >conftest.
$ac_ext <<_ACEOF
20523 cat confdefs.h
>>conftest.
$ac_ext
20524 cat >>conftest.
$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 $ac_includes_default
20527 #include <$ac_header>
20529 rm -f conftest.
$ac_objext
20530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20531 (eval $ac_compile) 2>conftest.er1
20533 grep -v '^ *+' conftest.er1
>conftest.err
20535 cat conftest.err
>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } &&
20538 { ac_try
='test -z "$ac_c_werror_flag"
20539 || test ! -s conftest.err'
20540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541 (eval $ac_try) 2>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); }; } &&
20545 { ac_try
='test -s conftest.$ac_objext'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; }; then
20551 ac_header_compiler
=yes
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.
$ac_ext >&5
20556 ac_header_compiler
=no
20558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20560 echo "${ECHO_T}$ac_header_compiler" >&6
20562 # Is the header present?
20563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20565 cat >conftest.
$ac_ext <<_ACEOF
20568 cat confdefs.h
>>conftest.
$ac_ext
20569 cat >>conftest.
$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571 #include <$ac_header>
20573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20574 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20576 grep -v '^ *+' conftest.er1
>conftest.err
20578 cat conftest.err
>&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } >/dev
/null
; then
20581 if test -s conftest.err
; then
20582 ac_cpp_err
=$ac_c_preproc_warn_flag
20583 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20590 if test -z "$ac_cpp_err"; then
20591 ac_header_preproc
=yes
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.
$ac_ext >&5
20596 ac_header_preproc
=no
20598 rm -f conftest.err conftest.
$ac_ext
20599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20600 echo "${ECHO_T}$ac_header_preproc" >&6
20602 # So? What about this header?
20603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20609 ac_header_preproc
=yes
20612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20626 ## ------------------------------------------ ##
20627 ## Report this to the AC_PACKAGE_NAME lists. ##
20628 ## ------------------------------------------ ##
20631 sed "s/^/$as_me: WARNING: /" >&2
20634 echo "$as_me:$LINENO: checking for $ac_header" >&5
20635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20637 echo $ECHO_N "(cached) $ECHO_C" >&6
20639 eval "$as_ac_Header=\$ac_header_preproc"
20641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20646 cat >>confdefs.h
<<_ACEOF
20647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20655 for ac_func
in getpagesize
20657 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20658 echo "$as_me:$LINENO: checking for $ac_func" >&5
20659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20660 if eval "test \"\${$as_ac_var+set}\" = set"; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 cat >conftest.
$ac_ext <<_ACEOF
20666 cat confdefs.h
>>conftest.
$ac_ext
20667 cat >>conftest.
$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20671 #define $ac_func innocuous_$ac_func
20673 /* System header to define __stub macros and hopefully few prototypes,
20674 which can conflict with char $ac_func (); below.
20675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20676 <limits.h> exists even on freestanding compilers. */
20679 # include <limits.h>
20681 # include <assert.h>
20686 /* Override any gcc2 internal prototype to avoid an error. */
20691 /* We use char because int might match the return type of a gcc2
20692 builtin and then its argument prototype would still apply. */
20694 /* The GNU C library defines this for functions which it implements
20695 to always fail with ENOSYS. Some functions are actually named
20696 something starting with __ and the normal name is an alias. */
20697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20700 char (*f) () = $ac_func;
20709 return f != $ac_func;
20714 rm -f conftest.
$ac_objext conftest
$ac_exeext
20715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20716 (eval $ac_link) 2>conftest.er1
20718 grep -v '^ *+' conftest.er1
>conftest.err
20720 cat conftest.err
>&5
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); } &&
20723 { ac_try
='test -z "$ac_c_werror_flag"
20724 || test ! -s conftest.err'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; } &&
20730 { ac_try
='test -s conftest$ac_exeext'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; }; then
20736 eval "$as_ac_var=yes"
20738 echo "$as_me: failed program was:" >&5
20739 sed 's/^/| /' conftest.
$ac_ext >&5
20741 eval "$as_ac_var=no"
20743 rm -f conftest.err conftest.
$ac_objext \
20744 conftest
$ac_exeext conftest.
$ac_ext
20746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20748 if test `eval echo '${'$as_ac_var'}'` = yes; then
20749 cat >>confdefs.h
<<_ACEOF
20750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20756 echo "$as_me:$LINENO: checking for working mmap" >&5
20757 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
20758 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20759 echo $ECHO_N "(cached) $ECHO_C" >&6
20761 if test "$cross_compiling" = yes; then
20762 ac_cv_func_mmap_fixed_mapped
=no
20764 cat >conftest.
$ac_ext <<_ACEOF
20767 cat confdefs.h
>>conftest.
$ac_ext
20768 cat >>conftest.
$ac_ext <<_ACEOF
20769 /* end confdefs.h. */
20770 $ac_includes_default
20771 /* malloc might have been renamed as rpl_malloc. */
20774 /* Thanks to Mike Haertel and Jim Avera for this test.
20775 Here is a matrix of mmap possibilities:
20776 mmap private not fixed
20777 mmap private fixed at somewhere currently unmapped
20778 mmap private fixed at somewhere already mapped
20779 mmap shared not fixed
20780 mmap shared fixed at somewhere currently unmapped
20781 mmap shared fixed at somewhere already mapped
20782 For private mappings, we should verify that changes cannot be read()
20783 back from the file, nor mmap's back from the file at a different
20784 address. (There have been systems where private was not correctly
20785 implemented like the infamous i386 svr4.0, and systems where the
20786 VM page cache was not coherent with the file system buffer cache
20787 like early versions of FreeBSD and possibly contemporary NetBSD.)
20788 For shared mappings, we should conversely verify that changes get
20789 propagated back to all the places they're supposed to be.
20791 Grep wants private fixed already mapped.
20792 The main things grep needs to know about mmap are:
20793 * does it exist and is it safe to write into the mmap'd area
20794 * how to use it (BSD variants) */
20797 #include <sys/mman.h>
20799 #if !STDC_HEADERS && !HAVE_STDLIB_H
20803 /* This mess was copied from the GNU getpagesize.h. */
20804 #if !HAVE_GETPAGESIZE
20805 /* Assume that all systems that can run configure have sys/param.h. */
20806 # if !HAVE_SYS_PARAM_H
20807 # define HAVE_SYS_PARAM_H 1
20810 # ifdef _SC_PAGESIZE
20811 # define getpagesize() sysconf(_SC_PAGESIZE)
20812 # else /* no _SC_PAGESIZE */
20813 # if HAVE_SYS_PARAM_H
20814 # include <sys/param.h>
20815 # ifdef EXEC_PAGESIZE
20816 # define getpagesize() EXEC_PAGESIZE
20817 # else /* no EXEC_PAGESIZE */
20819 # define getpagesize() NBPG * CLSIZE
20822 # endif /* no CLSIZE */
20823 # else /* no NBPG */
20825 # define getpagesize() NBPC
20826 # else /* no NBPC */
20828 # define getpagesize() PAGESIZE
20829 # endif /* PAGESIZE */
20830 # endif /* no NBPC */
20831 # endif /* no NBPG */
20832 # endif /* no EXEC_PAGESIZE */
20833 # else /* no HAVE_SYS_PARAM_H */
20834 # define getpagesize() 8192 /* punt totally */
20835 # endif /* no HAVE_SYS_PARAM_H */
20836 # endif /* no _SC_PAGESIZE */
20838 #endif /* no HAVE_GETPAGESIZE */
20843 char *data, *data2, *data3;
20847 pagesize = getpagesize ();
20849 /* First, make a file with some known garbage in it. */
20850 data = (char *) malloc (pagesize);
20853 for (i = 0; i < pagesize; ++i)
20854 *(data + i) = rand ();
20856 fd = creat ("conftest.mmap", 0600);
20859 if (write (fd, data, pagesize) != pagesize)
20863 /* Next, try to mmap the file at a fixed address which already has
20864 something else allocated at it. If we can, also make sure that
20865 we see the same garbage. */
20866 fd = open ("conftest.mmap", O_RDWR);
20869 data2 = (char *) malloc (2 * pagesize);
20872 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
20873 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
20874 MAP_PRIVATE | MAP_FIXED, fd, 0L))
20876 for (i = 0; i < pagesize; ++i)
20877 if (*(data + i) != *(data2 + i))
20880 /* Finally, make sure that changes to the mapped area do not
20881 percolate back to the file as seen by read(). (This is a bug on
20882 some variants of i386 svr4.0.) */
20883 for (i = 0; i < pagesize; ++i)
20884 *(data2 + i) = *(data2 + i) + 1;
20885 data3 = (char *) malloc (pagesize);
20888 if (read (fd, data3, pagesize) != pagesize)
20890 for (i = 0; i < pagesize; ++i)
20891 if (*(data + i) != *(data3 + i))
20897 rm -f conftest
$ac_exeext
20898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20899 (eval $ac_link) 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; }; then
20908 ac_cv_func_mmap_fixed_mapped
=yes
20910 echo "$as_me: program exited with status $ac_status" >&5
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.
$ac_ext >&5
20914 ( exit $ac_status )
20915 ac_cv_func_mmap_fixed_mapped
=no
20917 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20920 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20921 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
20922 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20924 cat >>confdefs.h
<<\_ACEOF
20925 #define HAVE_MMAP 1
20929 rm -f conftest.mmap
20931 echo "$as_me:$LINENO: checking for pid_t" >&5
20932 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20933 if test "${ac_cv_type_pid_t+set}" = set; then
20934 echo $ECHO_N "(cached) $ECHO_C" >&6
20936 cat >conftest.
$ac_ext <<_ACEOF
20939 cat confdefs.h
>>conftest.
$ac_ext
20940 cat >>conftest.
$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20942 $ac_includes_default
20948 if (sizeof (pid_t))
20954 rm -f conftest.
$ac_objext
20955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20956 (eval $ac_compile) 2>conftest.er1
20958 grep -v '^ *+' conftest.er1
>conftest.err
20960 cat conftest.err
>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } &&
20963 { ac_try
='test -z "$ac_c_werror_flag"
20964 || test ! -s conftest.err'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; } &&
20970 { ac_try
='test -s conftest.$ac_objext'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; }; then
20976 ac_cv_type_pid_t
=yes
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.
$ac_ext >&5
20981 ac_cv_type_pid_t
=no
20983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20985 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20986 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20987 if test $ac_cv_type_pid_t = yes; then
20991 cat >>confdefs.h
<<_ACEOF
20999 for ac_header
in unistd.h vfork.h
21001 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21003 echo "$as_me:$LINENO: checking for $ac_header" >&5
21004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21006 echo $ECHO_N "(cached) $ECHO_C" >&6
21008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21011 # Is the header compilable?
21012 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21013 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21014 cat >conftest.
$ac_ext <<_ACEOF
21017 cat confdefs.h
>>conftest.
$ac_ext
21018 cat >>conftest.
$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21020 $ac_includes_default
21021 #include <$ac_header>
21023 rm -f conftest.
$ac_objext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21025 (eval $ac_compile) 2>conftest.er1
21027 grep -v '^ *+' conftest.er1
>conftest.err
21029 cat conftest.err
>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try
='test -z "$ac_c_werror_flag"
21033 || test ! -s conftest.err'
21034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21035 (eval $ac_try) 2>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); }; } &&
21039 { ac_try
='test -s conftest.$ac_objext'
21040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041 (eval $ac_try) 2>&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); }; }; then
21045 ac_header_compiler
=yes
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.
$ac_ext >&5
21050 ac_header_compiler
=no
21052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21054 echo "${ECHO_T}$ac_header_compiler" >&6
21056 # Is the header present?
21057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21058 echo $ECHO_N "checking $ac_header presence... $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. */
21065 #include <$ac_header>
21067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21068 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21070 grep -v '^ *+' conftest.er1
>conftest.err
21072 cat conftest.err
>&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); } >/dev
/null
; then
21075 if test -s conftest.err
; then
21076 ac_cpp_err
=$ac_c_preproc_warn_flag
21077 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21084 if test -z "$ac_cpp_err"; then
21085 ac_header_preproc
=yes
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.
$ac_ext >&5
21090 ac_header_preproc
=no
21092 rm -f conftest.err conftest.
$ac_ext
21093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21094 echo "${ECHO_T}$ac_header_preproc" >&6
21096 # So? What about this header?
21097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21099 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21102 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21103 ac_header_preproc
=yes
21106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21109 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21110 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21111 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21112 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21113 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21116 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21117 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21120 ## ------------------------------------------ ##
21121 ## Report this to the AC_PACKAGE_NAME lists. ##
21122 ## ------------------------------------------ ##
21125 sed "s/^/$as_me: WARNING: /" >&2
21128 echo "$as_me:$LINENO: checking for $ac_header" >&5
21129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21131 echo $ECHO_N "(cached) $ECHO_C" >&6
21133 eval "$as_ac_Header=\$ac_header_preproc"
21135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21140 cat >>confdefs.h
<<_ACEOF
21141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21150 for ac_func
in fork vfork
21152 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21153 echo "$as_me:$LINENO: checking for $ac_func" >&5
21154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21155 if eval "test \"\${$as_ac_var+set}\" = set"; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 cat >conftest.
$ac_ext <<_ACEOF
21161 cat confdefs.h
>>conftest.
$ac_ext
21162 cat >>conftest.
$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21166 #define $ac_func innocuous_$ac_func
21168 /* System header to define __stub macros and hopefully few prototypes,
21169 which can conflict with char $ac_func (); below.
21170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21171 <limits.h> exists even on freestanding compilers. */
21174 # include <limits.h>
21176 # include <assert.h>
21181 /* Override any gcc2 internal prototype to avoid an error. */
21186 /* We use char because int might match the return type of a gcc2
21187 builtin and then its argument prototype would still apply. */
21189 /* The GNU C library defines this for functions which it implements
21190 to always fail with ENOSYS. Some functions are actually named
21191 something starting with __ and the normal name is an alias. */
21192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21195 char (*f) () = $ac_func;
21204 return f != $ac_func;
21209 rm -f conftest.
$ac_objext conftest
$ac_exeext
21210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21211 (eval $ac_link) 2>conftest.er1
21213 grep -v '^ *+' conftest.er1
>conftest.err
21215 cat conftest.err
>&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); } &&
21218 { ac_try
='test -z "$ac_c_werror_flag"
21219 || test ! -s conftest.err'
21220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21221 (eval $ac_try) 2>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); }; } &&
21225 { ac_try
='test -s conftest$ac_exeext'
21226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21227 (eval $ac_try) 2>&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); }; }; then
21231 eval "$as_ac_var=yes"
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.
$ac_ext >&5
21236 eval "$as_ac_var=no"
21238 rm -f conftest.err conftest.
$ac_objext \
21239 conftest
$ac_exeext conftest.
$ac_ext
21241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21243 if test `eval echo '${'$as_ac_var'}'` = yes; then
21244 cat >>confdefs.h
<<_ACEOF
21245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21251 if test "x$ac_cv_func_fork" = xyes
; then
21252 echo "$as_me:$LINENO: checking for working fork" >&5
21253 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
21254 if test "${ac_cv_func_fork_works+set}" = set; then
21255 echo $ECHO_N "(cached) $ECHO_C" >&6
21257 if test "$cross_compiling" = yes; then
21258 ac_cv_func_fork_works
=cross
21260 cat >conftest.
$ac_ext <<_ACEOF
21261 /* By Ruediger Kuhlmann. */
21262 #include <sys/types.h>
21264 # include <unistd.h>
21266 /* Some systems only have a dummy stub for fork() */
21274 rm -f conftest
$ac_exeext
21275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21276 (eval $ac_link) 2>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281 (eval $ac_try) 2>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; }; then
21285 ac_cv_func_fork_works
=yes
21287 echo "$as_me: program exited with status $ac_status" >&5
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.
$ac_ext >&5
21291 ( exit $ac_status )
21292 ac_cv_func_fork_works
=no
21294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21297 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
21298 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
21301 ac_cv_func_fork_works
=$ac_cv_func_fork
21303 if test "x$ac_cv_func_fork_works" = xcross
; then
21305 *-*-amigaos* |
*-*-msdosdjgpp*)
21306 # Override, as these systems have only a dummy fork() stub
21307 ac_cv_func_fork_works
=no
21310 ac_cv_func_fork_works
=yes
21313 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21314 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21316 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21317 if test "x$ac_cv_func_vfork" = xyes
; then
21318 echo "$as_me:$LINENO: checking for working vfork" >&5
21319 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
21320 if test "${ac_cv_func_vfork_works+set}" = set; then
21321 echo $ECHO_N "(cached) $ECHO_C" >&6
21323 if test "$cross_compiling" = yes; then
21324 ac_cv_func_vfork_works
=cross
21326 cat >conftest.
$ac_ext <<_ACEOF
21329 cat confdefs.h
>>conftest.
$ac_ext
21330 cat >>conftest.
$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21332 /* Thanks to Paul Eggert for this test. */
21334 #include <stdlib.h>
21335 #include <sys/types.h>
21336 #include <sys/stat.h>
21337 #include <sys/wait.h>
21339 # include <unistd.h>
21342 # include <vfork.h>
21344 /* On some sparc systems, changes by the child to local and incoming
21345 argument registers are propagated back to the parent. The compiler
21346 is told about this with #include <vfork.h>, but some compilers
21347 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21348 static variable whose address is put into a register that is
21349 clobbered by the vfork. */
21352 sparc_address_test (int arg)
21354 sparc_address_test (arg) int arg;
21357 static pid_t child;
21375 pid_t parent = getpid ();
21378 sparc_address_test (0);
21383 /* Here is another test for sparc vfork register problems. This
21384 test uses lots of local variables, at least as many local
21385 variables as main has allocated so far including compiler
21386 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21387 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21388 reuse the register of parent for one of the local variables,
21389 since it will think that parent can't possibly be used any more
21390 in this routine. Assigning to the local variable will thus
21391 munge parent in the parent process. */
21393 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21394 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21395 /* Convince the compiler that p..p7 are live; otherwise, it might
21396 use the same hardware register for all 8 local variables. */
21397 if (p != p1 || p != p2 || p != p3 || p != p4
21398 || p != p5 || p != p6 || p != p7)
21401 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21402 from child file descriptors. If the child closes a descriptor
21403 before it execs or exits, this munges the parent's descriptor
21404 as well. Test for this by closing stdout in the child. */
21405 _exit(close(fileno(stdout)) != 0);
21410 while (wait(&status) != child)
21413 /* Was there some problem with vforking? */
21416 /* Did the child fail? (This shouldn't happen.) */
21419 /* Did the vfork/compiler bug occur? */
21420 || parent != getpid()
21422 /* Did the file descriptor bug occur? */
21423 || fstat(fileno(stdout), &st) != 0
21428 rm -f conftest
$ac_exeext
21429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21430 (eval $ac_link) 2>&5
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435 (eval $ac_try) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; }; then
21439 ac_cv_func_vfork_works
=yes
21441 echo "$as_me: program exited with status $ac_status" >&5
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.
$ac_ext >&5
21445 ( exit $ac_status )
21446 ac_cv_func_vfork_works
=no
21448 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21451 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
21452 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
21455 if test "x$ac_cv_func_fork_works" = xcross
; then
21456 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21457 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21458 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21461 if test "x$ac_cv_func_vfork_works" = xyes
; then
21463 cat >>confdefs.h
<<\_ACEOF
21464 #define HAVE_WORKING_VFORK 1
21469 cat >>confdefs.h
<<\_ACEOF
21474 if test "x$ac_cv_func_fork_works" = xyes
; then
21476 cat >>confdefs.h
<<\_ACEOF
21477 #define HAVE_WORKING_FORK 1
21484 for ac_func
in canonicalize_file_name realpath
21486 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21487 echo "$as_me:$LINENO: checking for $ac_func" >&5
21488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21489 if eval "test \"\${$as_ac_var+set}\" = set"; then
21490 echo $ECHO_N "(cached) $ECHO_C" >&6
21492 cat >conftest.
$ac_ext <<_ACEOF
21495 cat confdefs.h
>>conftest.
$ac_ext
21496 cat >>conftest.
$ac_ext <<_ACEOF
21497 /* end confdefs.h. */
21498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21500 #define $ac_func innocuous_$ac_func
21502 /* System header to define __stub macros and hopefully few prototypes,
21503 which can conflict with char $ac_func (); below.
21504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21505 <limits.h> exists even on freestanding compilers. */
21508 # include <limits.h>
21510 # include <assert.h>
21515 /* Override any gcc2 internal prototype to avoid an error. */
21520 /* We use char because int might match the return type of a gcc2
21521 builtin and then its argument prototype would still apply. */
21523 /* The GNU C library defines this for functions which it implements
21524 to always fail with ENOSYS. Some functions are actually named
21525 something starting with __ and the normal name is an alias. */
21526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21529 char (*f) () = $ac_func;
21538 return f != $ac_func;
21543 rm -f conftest.
$ac_objext conftest
$ac_exeext
21544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21545 (eval $ac_link) 2>conftest.er1
21547 grep -v '^ *+' conftest.er1
>conftest.err
21549 cat conftest.err
>&5
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); } &&
21552 { ac_try
='test -z "$ac_c_werror_flag"
21553 || test ! -s conftest.err'
21554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21555 (eval $ac_try) 2>&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); }; } &&
21559 { ac_try
='test -s conftest$ac_exeext'
21560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561 (eval $ac_try) 2>&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 eval "$as_ac_var=yes"
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.
$ac_ext >&5
21570 eval "$as_ac_var=no"
21572 rm -f conftest.err conftest.
$ac_objext \
21573 conftest
$ac_exeext conftest.
$ac_ext
21575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21577 if test `eval echo '${'$as_ac_var'}'` = yes; then
21578 cat >>confdefs.h
<<_ACEOF
21579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21586 for ac_func
in getrusage
21588 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21589 echo "$as_me:$LINENO: checking for $ac_func" >&5
21590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21591 if eval "test \"\${$as_ac_var+set}\" = set"; then
21592 echo $ECHO_N "(cached) $ECHO_C" >&6
21594 cat >conftest.
$ac_ext <<_ACEOF
21597 cat confdefs.h
>>conftest.
$ac_ext
21598 cat >>conftest.
$ac_ext <<_ACEOF
21599 /* end confdefs.h. */
21600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21602 #define $ac_func innocuous_$ac_func
21604 /* System header to define __stub macros and hopefully few prototypes,
21605 which can conflict with char $ac_func (); below.
21606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21607 <limits.h> exists even on freestanding compilers. */
21610 # include <limits.h>
21612 # include <assert.h>
21617 /* Override any gcc2 internal prototype to avoid an error. */
21622 /* We use char because int might match the return type of a gcc2
21623 builtin and then its argument prototype would still apply. */
21625 /* The GNU C library defines this for functions which it implements
21626 to always fail with ENOSYS. Some functions are actually named
21627 something starting with __ and the normal name is an alias. */
21628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21631 char (*f) () = $ac_func;
21640 return f != $ac_func;
21645 rm -f conftest.
$ac_objext conftest
$ac_exeext
21646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21647 (eval $ac_link) 2>conftest.er1
21649 grep -v '^ *+' conftest.er1
>conftest.err
21651 cat conftest.err
>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); } &&
21654 { ac_try
='test -z "$ac_c_werror_flag"
21655 || test ! -s conftest.err'
21656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21657 (eval $ac_try) 2>&5
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); }; } &&
21661 { ac_try
='test -s conftest$ac_exeext'
21662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663 (eval $ac_try) 2>&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; }; then
21667 eval "$as_ac_var=yes"
21669 echo "$as_me: failed program was:" >&5
21670 sed 's/^/| /' conftest.
$ac_ext >&5
21672 eval "$as_ac_var=no"
21674 rm -f conftest.err conftest.
$ac_objext \
21675 conftest
$ac_exeext conftest.
$ac_ext
21677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21679 if test `eval echo '${'$as_ac_var'}'` = yes; then
21680 cat >>confdefs.h
<<_ACEOF
21681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21689 for ac_func
in getuid getgid
21691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21692 echo "$as_me:$LINENO: checking for $ac_func" >&5
21693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21694 if eval "test \"\${$as_ac_var+set}\" = set"; then
21695 echo $ECHO_N "(cached) $ECHO_C" >&6
21697 cat >conftest.
$ac_ext <<_ACEOF
21700 cat confdefs.h
>>conftest.
$ac_ext
21701 cat >>conftest.
$ac_ext <<_ACEOF
21702 /* end confdefs.h. */
21703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21705 #define $ac_func innocuous_$ac_func
21707 /* System header to define __stub macros and hopefully few prototypes,
21708 which can conflict with char $ac_func (); below.
21709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21710 <limits.h> exists even on freestanding compilers. */
21713 # include <limits.h>
21715 # include <assert.h>
21720 /* Override any gcc2 internal prototype to avoid an error. */
21725 /* We use char because int might match the return type of a gcc2
21726 builtin and then its argument prototype would still apply. */
21728 /* The GNU C library defines this for functions which it implements
21729 to always fail with ENOSYS. Some functions are actually named
21730 something starting with __ and the normal name is an alias. */
21731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21734 char (*f) () = $ac_func;
21743 return f != $ac_func;
21748 rm -f conftest.
$ac_objext conftest
$ac_exeext
21749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21750 (eval $ac_link) 2>conftest.er1
21752 grep -v '^ *+' conftest.er1
>conftest.err
21754 cat conftest.err
>&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); } &&
21757 { ac_try
='test -z "$ac_c_werror_flag"
21758 || test ! -s conftest.err'
21759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21760 (eval $ac_try) 2>&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; } &&
21764 { ac_try
='test -s conftest$ac_exeext'
21765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21766 (eval $ac_try) 2>&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); }; }; then
21770 eval "$as_ac_var=yes"
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.
$ac_ext >&5
21775 eval "$as_ac_var=no"
21777 rm -f conftest.err conftest.
$ac_objext \
21778 conftest
$ac_exeext conftest.
$ac_ext
21780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21782 if test `eval echo '${'$as_ac_var'}'` = yes; then
21783 cat >>confdefs.h
<<_ACEOF
21784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21791 for ac_func
in poll
21793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21794 echo "$as_me:$LINENO: checking for $ac_func" >&5
21795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21796 if eval "test \"\${$as_ac_var+set}\" = set"; then
21797 echo $ECHO_N "(cached) $ECHO_C" >&6
21799 cat >conftest.
$ac_ext <<_ACEOF
21802 cat confdefs.h
>>conftest.
$ac_ext
21803 cat >>conftest.
$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21807 #define $ac_func innocuous_$ac_func
21809 /* System header to define __stub macros and hopefully few prototypes,
21810 which can conflict with char $ac_func (); below.
21811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21812 <limits.h> exists even on freestanding compilers. */
21815 # include <limits.h>
21817 # include <assert.h>
21822 /* Override any gcc2 internal prototype to avoid an error. */
21827 /* We use char because int might match the return type of a gcc2
21828 builtin and then its argument prototype would still apply. */
21830 /* The GNU C library defines this for functions which it implements
21831 to always fail with ENOSYS. Some functions are actually named
21832 something starting with __ and the normal name is an alias. */
21833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21836 char (*f) () = $ac_func;
21845 return f != $ac_func;
21850 rm -f conftest.
$ac_objext conftest
$ac_exeext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21852 (eval $ac_link) 2>conftest.er1
21854 grep -v '^ *+' conftest.er1
>conftest.err
21856 cat conftest.err
>&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try
='test -z "$ac_c_werror_flag"
21860 || test ! -s conftest.err'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; } &&
21866 { ac_try
='test -s conftest$ac_exeext'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; }; then
21872 eval "$as_ac_var=yes"
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.
$ac_ext >&5
21877 eval "$as_ac_var=no"
21879 rm -f conftest.err conftest.
$ac_objext \
21880 conftest
$ac_exeext conftest.
$ac_ext
21882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21884 if test `eval echo '${'$as_ac_var'}'` = yes; then
21885 cat >>confdefs.h
<<_ACEOF
21886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21893 for ac_func
in pread64
21895 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21896 echo "$as_me:$LINENO: checking for $ac_func" >&5
21897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21898 if eval "test \"\${$as_ac_var+set}\" = set"; then
21899 echo $ECHO_N "(cached) $ECHO_C" >&6
21901 cat >conftest.
$ac_ext <<_ACEOF
21904 cat confdefs.h
>>conftest.
$ac_ext
21905 cat >>conftest.
$ac_ext <<_ACEOF
21906 /* end confdefs.h. */
21907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21909 #define $ac_func innocuous_$ac_func
21911 /* System header to define __stub macros and hopefully few prototypes,
21912 which can conflict with char $ac_func (); below.
21913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21914 <limits.h> exists even on freestanding compilers. */
21917 # include <limits.h>
21919 # include <assert.h>
21924 /* Override any gcc2 internal prototype to avoid an error. */
21929 /* We use char because int might match the return type of a gcc2
21930 builtin and then its argument prototype would still apply. */
21932 /* The GNU C library defines this for functions which it implements
21933 to always fail with ENOSYS. Some functions are actually named
21934 something starting with __ and the normal name is an alias. */
21935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21938 char (*f) () = $ac_func;
21947 return f != $ac_func;
21952 rm -f conftest.
$ac_objext conftest
$ac_exeext
21953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21954 (eval $ac_link) 2>conftest.er1
21956 grep -v '^ *+' conftest.er1
>conftest.err
21958 cat conftest.err
>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } &&
21961 { ac_try
='test -z "$ac_c_werror_flag"
21962 || test ! -s conftest.err'
21963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21964 (eval $ac_try) 2>&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); }; } &&
21968 { ac_try
='test -s conftest$ac_exeext'
21969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970 (eval $ac_try) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; }; then
21974 eval "$as_ac_var=yes"
21976 echo "$as_me: failed program was:" >&5
21977 sed 's/^/| /' conftest.
$ac_ext >&5
21979 eval "$as_ac_var=no"
21981 rm -f conftest.err conftest.
$ac_objext \
21982 conftest
$ac_exeext conftest.
$ac_ext
21984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21986 if test `eval echo '${'$as_ac_var'}'` = yes; then
21987 cat >>confdefs.h
<<_ACEOF
21988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21995 for ac_func
in sbrk
21997 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21998 echo "$as_me:$LINENO: checking for $ac_func" >&5
21999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22000 if eval "test \"\${$as_ac_var+set}\" = set"; then
22001 echo $ECHO_N "(cached) $ECHO_C" >&6
22003 cat >conftest.
$ac_ext <<_ACEOF
22006 cat confdefs.h
>>conftest.
$ac_ext
22007 cat >>conftest.
$ac_ext <<_ACEOF
22008 /* end confdefs.h. */
22009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22011 #define $ac_func innocuous_$ac_func
22013 /* System header to define __stub macros and hopefully few prototypes,
22014 which can conflict with char $ac_func (); below.
22015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22016 <limits.h> exists even on freestanding compilers. */
22019 # include <limits.h>
22021 # include <assert.h>
22026 /* Override any gcc2 internal prototype to avoid an error. */
22031 /* We use char because int might match the return type of a gcc2
22032 builtin and then its argument prototype would still apply. */
22034 /* The GNU C library defines this for functions which it implements
22035 to always fail with ENOSYS. Some functions are actually named
22036 something starting with __ and the normal name is an alias. */
22037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22040 char (*f) () = $ac_func;
22049 return f != $ac_func;
22054 rm -f conftest.
$ac_objext conftest
$ac_exeext
22055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22056 (eval $ac_link) 2>conftest.er1
22058 grep -v '^ *+' conftest.er1
>conftest.err
22060 cat conftest.err
>&5
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); } &&
22063 { ac_try
='test -z "$ac_c_werror_flag"
22064 || test ! -s conftest.err'
22065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22066 (eval $ac_try) 2>&5
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); }; } &&
22070 { ac_try
='test -s conftest$ac_exeext'
22071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22072 (eval $ac_try) 2>&5
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); }; }; then
22076 eval "$as_ac_var=yes"
22078 echo "$as_me: failed program was:" >&5
22079 sed 's/^/| /' conftest.
$ac_ext >&5
22081 eval "$as_ac_var=no"
22083 rm -f conftest.err conftest.
$ac_objext \
22084 conftest
$ac_exeext conftest.
$ac_ext
22086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22088 if test `eval echo '${'$as_ac_var'}'` = yes; then
22089 cat >>confdefs.h
<<_ACEOF
22090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22099 for ac_func
in setpgid setpgrp setsid
22101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22102 echo "$as_me:$LINENO: checking for $ac_func" >&5
22103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22104 if eval "test \"\${$as_ac_var+set}\" = set"; then
22105 echo $ECHO_N "(cached) $ECHO_C" >&6
22107 cat >conftest.
$ac_ext <<_ACEOF
22110 cat confdefs.h
>>conftest.
$ac_ext
22111 cat >>conftest.
$ac_ext <<_ACEOF
22112 /* end confdefs.h. */
22113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22115 #define $ac_func innocuous_$ac_func
22117 /* System header to define __stub macros and hopefully few prototypes,
22118 which can conflict with char $ac_func (); below.
22119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22120 <limits.h> exists even on freestanding compilers. */
22123 # include <limits.h>
22125 # include <assert.h>
22130 /* Override any gcc2 internal prototype to avoid an error. */
22135 /* We use char because int might match the return type of a gcc2
22136 builtin and then its argument prototype would still apply. */
22138 /* The GNU C library defines this for functions which it implements
22139 to always fail with ENOSYS. Some functions are actually named
22140 something starting with __ and the normal name is an alias. */
22141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22144 char (*f) () = $ac_func;
22153 return f != $ac_func;
22158 rm -f conftest.
$ac_objext conftest
$ac_exeext
22159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22160 (eval $ac_link) 2>conftest.er1
22162 grep -v '^ *+' conftest.er1
>conftest.err
22164 cat conftest.err
>&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); } &&
22167 { ac_try
='test -z "$ac_c_werror_flag"
22168 || test ! -s conftest.err'
22169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170 (eval $ac_try) 2>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); }; } &&
22174 { ac_try
='test -s conftest$ac_exeext'
22175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22176 (eval $ac_try) 2>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; }; then
22180 eval "$as_ac_var=yes"
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.
$ac_ext >&5
22185 eval "$as_ac_var=no"
22187 rm -f conftest.err conftest.
$ac_objext \
22188 conftest
$ac_exeext conftest.
$ac_ext
22190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22192 if test `eval echo '${'$as_ac_var'}'` = yes; then
22193 cat >>confdefs.h
<<_ACEOF
22194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22203 for ac_func
in sigaction sigprocmask sigsetmask
22205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22206 echo "$as_me:$LINENO: checking for $ac_func" >&5
22207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22208 if eval "test \"\${$as_ac_var+set}\" = set"; then
22209 echo $ECHO_N "(cached) $ECHO_C" >&6
22211 cat >conftest.
$ac_ext <<_ACEOF
22214 cat confdefs.h
>>conftest.
$ac_ext
22215 cat >>conftest.
$ac_ext <<_ACEOF
22216 /* end confdefs.h. */
22217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22219 #define $ac_func innocuous_$ac_func
22221 /* System header to define __stub macros and hopefully few prototypes,
22222 which can conflict with char $ac_func (); below.
22223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22224 <limits.h> exists even on freestanding compilers. */
22227 # include <limits.h>
22229 # include <assert.h>
22234 /* Override any gcc2 internal prototype to avoid an error. */
22239 /* We use char because int might match the return type of a gcc2
22240 builtin and then its argument prototype would still apply. */
22242 /* The GNU C library defines this for functions which it implements
22243 to always fail with ENOSYS. Some functions are actually named
22244 something starting with __ and the normal name is an alias. */
22245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22248 char (*f) () = $ac_func;
22257 return f != $ac_func;
22262 rm -f conftest.
$ac_objext conftest
$ac_exeext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22264 (eval $ac_link) 2>conftest.er1
22266 grep -v '^ *+' conftest.er1
>conftest.err
22268 cat conftest.err
>&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } &&
22271 { ac_try
='test -z "$ac_c_werror_flag"
22272 || test ! -s conftest.err'
22273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22274 (eval $ac_try) 2>&5
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); }; } &&
22278 { ac_try
='test -s conftest$ac_exeext'
22279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22280 (eval $ac_try) 2>&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); }; }; then
22284 eval "$as_ac_var=yes"
22286 echo "$as_me: failed program was:" >&5
22287 sed 's/^/| /' conftest.
$ac_ext >&5
22289 eval "$as_ac_var=no"
22291 rm -f conftest.err conftest.
$ac_objext \
22292 conftest
$ac_exeext conftest.
$ac_ext
22294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22296 if test `eval echo '${'$as_ac_var'}'` = yes; then
22297 cat >>confdefs.h
<<_ACEOF
22298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22305 for ac_func
in socketpair
22307 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22308 echo "$as_me:$LINENO: checking for $ac_func" >&5
22309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22310 if eval "test \"\${$as_ac_var+set}\" = set"; then
22311 echo $ECHO_N "(cached) $ECHO_C" >&6
22313 cat >conftest.
$ac_ext <<_ACEOF
22316 cat confdefs.h
>>conftest.
$ac_ext
22317 cat >>conftest.
$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22321 #define $ac_func innocuous_$ac_func
22323 /* System header to define __stub macros and hopefully few prototypes,
22324 which can conflict with char $ac_func (); below.
22325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22326 <limits.h> exists even on freestanding compilers. */
22329 # include <limits.h>
22331 # include <assert.h>
22336 /* Override any gcc2 internal prototype to avoid an error. */
22341 /* We use char because int might match the return type of a gcc2
22342 builtin and then its argument prototype would still apply. */
22344 /* The GNU C library defines this for functions which it implements
22345 to always fail with ENOSYS. Some functions are actually named
22346 something starting with __ and the normal name is an alias. */
22347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22350 char (*f) () = $ac_func;
22359 return f != $ac_func;
22364 rm -f conftest.
$ac_objext conftest
$ac_exeext
22365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22366 (eval $ac_link) 2>conftest.er1
22368 grep -v '^ *+' conftest.er1
>conftest.err
22370 cat conftest.err
>&5
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); } &&
22373 { ac_try
='test -z "$ac_c_werror_flag"
22374 || test ! -s conftest.err'
22375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22376 (eval $ac_try) 2>&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); }; } &&
22380 { ac_try
='test -s conftest$ac_exeext'
22381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22382 (eval $ac_try) 2>&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); }; }; then
22386 eval "$as_ac_var=yes"
22388 echo "$as_me: failed program was:" >&5
22389 sed 's/^/| /' conftest.
$ac_ext >&5
22391 eval "$as_ac_var=no"
22393 rm -f conftest.err conftest.
$ac_objext \
22394 conftest
$ac_exeext conftest.
$ac_ext
22396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22398 if test `eval echo '${'$as_ac_var'}'` = yes; then
22399 cat >>confdefs.h
<<_ACEOF
22400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22407 for ac_func
in syscall
22409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22410 echo "$as_me:$LINENO: checking for $ac_func" >&5
22411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22412 if eval "test \"\${$as_ac_var+set}\" = set"; then
22413 echo $ECHO_N "(cached) $ECHO_C" >&6
22415 cat >conftest.
$ac_ext <<_ACEOF
22418 cat confdefs.h
>>conftest.
$ac_ext
22419 cat >>conftest.
$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22423 #define $ac_func innocuous_$ac_func
22425 /* System header to define __stub macros and hopefully few prototypes,
22426 which can conflict with char $ac_func (); below.
22427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22428 <limits.h> exists even on freestanding compilers. */
22431 # include <limits.h>
22433 # include <assert.h>
22438 /* Override any gcc2 internal prototype to avoid an error. */
22443 /* We use char because int might match the return type of a gcc2
22444 builtin and then its argument prototype would still apply. */
22446 /* The GNU C library defines this for functions which it implements
22447 to always fail with ENOSYS. Some functions are actually named
22448 something starting with __ and the normal name is an alias. */
22449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22452 char (*f) () = $ac_func;
22461 return f != $ac_func;
22466 rm -f conftest.
$ac_objext conftest
$ac_exeext
22467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22468 (eval $ac_link) 2>conftest.er1
22470 grep -v '^ *+' conftest.er1
>conftest.err
22472 cat conftest.err
>&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } &&
22475 { ac_try
='test -z "$ac_c_werror_flag"
22476 || test ! -s conftest.err'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; } &&
22482 { ac_try
='test -s conftest$ac_exeext'
22483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22484 (eval $ac_try) 2>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); }; }; then
22488 eval "$as_ac_var=yes"
22490 echo "$as_me: failed program was:" >&5
22491 sed 's/^/| /' conftest.
$ac_ext >&5
22493 eval "$as_ac_var=no"
22495 rm -f conftest.err conftest.
$ac_objext \
22496 conftest
$ac_exeext conftest.
$ac_ext
22498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22500 if test `eval echo '${'$as_ac_var'}'` = yes; then
22501 cat >>confdefs.h
<<_ACEOF
22502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22509 for ac_func
in ttrace
22511 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22512 echo "$as_me:$LINENO: checking for $ac_func" >&5
22513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22514 if eval "test \"\${$as_ac_var+set}\" = set"; then
22515 echo $ECHO_N "(cached) $ECHO_C" >&6
22517 cat >conftest.
$ac_ext <<_ACEOF
22520 cat confdefs.h
>>conftest.
$ac_ext
22521 cat >>conftest.
$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22525 #define $ac_func innocuous_$ac_func
22527 /* System header to define __stub macros and hopefully few prototypes,
22528 which can conflict with char $ac_func (); below.
22529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22530 <limits.h> exists even on freestanding compilers. */
22533 # include <limits.h>
22535 # include <assert.h>
22540 /* Override any gcc2 internal prototype to avoid an error. */
22545 /* We use char because int might match the return type of a gcc2
22546 builtin and then its argument prototype would still apply. */
22548 /* The GNU C library defines this for functions which it implements
22549 to always fail with ENOSYS. Some functions are actually named
22550 something starting with __ and the normal name is an alias. */
22551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22554 char (*f) () = $ac_func;
22563 return f != $ac_func;
22568 rm -f conftest.
$ac_objext conftest
$ac_exeext
22569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22570 (eval $ac_link) 2>conftest.er1
22572 grep -v '^ *+' conftest.er1
>conftest.err
22574 cat conftest.err
>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } &&
22577 { ac_try
='test -z "$ac_c_werror_flag"
22578 || test ! -s conftest.err'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; } &&
22584 { ac_try
='test -s conftest$ac_exeext'
22585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22586 (eval $ac_try) 2>&5
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); }; }; then
22590 eval "$as_ac_var=yes"
22592 echo "$as_me: failed program was:" >&5
22593 sed 's/^/| /' conftest.
$ac_ext >&5
22595 eval "$as_ac_var=no"
22597 rm -f conftest.err conftest.
$ac_objext \
22598 conftest
$ac_exeext conftest.
$ac_ext
22600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22602 if test `eval echo '${'$as_ac_var'}'` = yes; then
22603 cat >>confdefs.h
<<_ACEOF
22604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22611 for ac_func
in wborder
22613 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22614 echo "$as_me:$LINENO: checking for $ac_func" >&5
22615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22616 if eval "test \"\${$as_ac_var+set}\" = set"; then
22617 echo $ECHO_N "(cached) $ECHO_C" >&6
22619 cat >conftest.
$ac_ext <<_ACEOF
22622 cat confdefs.h
>>conftest.
$ac_ext
22623 cat >>conftest.
$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22627 #define $ac_func innocuous_$ac_func
22629 /* System header to define __stub macros and hopefully few prototypes,
22630 which can conflict with char $ac_func (); below.
22631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22632 <limits.h> exists even on freestanding compilers. */
22635 # include <limits.h>
22637 # include <assert.h>
22642 /* Override any gcc2 internal prototype to avoid an error. */
22647 /* We use char because int might match the return type of a gcc2
22648 builtin and then its argument prototype would still apply. */
22650 /* The GNU C library defines this for functions which it implements
22651 to always fail with ENOSYS. Some functions are actually named
22652 something starting with __ and the normal name is an alias. */
22653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22656 char (*f) () = $ac_func;
22665 return f != $ac_func;
22670 rm -f conftest.
$ac_objext conftest
$ac_exeext
22671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22672 (eval $ac_link) 2>conftest.er1
22674 grep -v '^ *+' conftest.er1
>conftest.err
22676 cat conftest.err
>&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } &&
22679 { ac_try
='test -z "$ac_c_werror_flag"
22680 || test ! -s conftest.err'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; } &&
22686 { ac_try
='test -s conftest$ac_exeext'
22687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688 (eval $ac_try) 2>&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); }; }; then
22692 eval "$as_ac_var=yes"
22694 echo "$as_me: failed program was:" >&5
22695 sed 's/^/| /' conftest.
$ac_ext >&5
22697 eval "$as_ac_var=no"
22699 rm -f conftest.err conftest.
$ac_objext \
22700 conftest
$ac_exeext conftest.
$ac_ext
22702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22704 if test `eval echo '${'$as_ac_var'}'` = yes; then
22705 cat >>confdefs.h
<<_ACEOF
22706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22713 # Check the return and argument types of ptrace. No canned test for
22714 # this, so roll our own.
22715 gdb_ptrace_headers
='
22716 #if HAVE_SYS_TYPES_H
22717 # include <sys/types.h>
22719 #if HAVE_SYS_PTRACE_H
22720 # include <sys/ptrace.h>
22723 # include <unistd.h>
22726 # There is no point in checking if we don't have a prototype.
22727 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
22728 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
22729 if test "${ac_cv_have_decl_ptrace+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22732 cat >conftest.
$ac_ext <<_ACEOF
22735 cat confdefs.h
>>conftest.
$ac_ext
22736 cat >>conftest.
$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 $gdb_ptrace_headers
22744 char *p = (char *) ptrace;
22751 rm -f conftest.
$ac_objext
22752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22753 (eval $ac_compile) 2>conftest.er1
22755 grep -v '^ *+' conftest.er1
>conftest.err
22757 cat conftest.err
>&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } &&
22760 { ac_try
='test -z "$ac_c_werror_flag"
22761 || test ! -s conftest.err'
22762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22763 (eval $ac_try) 2>&5
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); }; } &&
22767 { ac_try
='test -s conftest.$ac_objext'
22768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22769 (eval $ac_try) 2>&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); }; }; then
22773 ac_cv_have_decl_ptrace
=yes
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.
$ac_ext >&5
22778 ac_cv_have_decl_ptrace
=no
22780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22782 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
22783 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
22784 if test $ac_cv_have_decl_ptrace = yes; then
22786 cat >>confdefs.h
<<_ACEOF
22787 #define HAVE_DECL_PTRACE 1
22792 cat >>confdefs.h
<<_ACEOF
22793 #define HAVE_DECL_PTRACE 0
22797 : ${gdb_cv_func_ptrace_ret='int'}
22798 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
22803 # Check return type.
22804 echo "$as_me:$LINENO: checking return type of ptrace" >&5
22805 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
22806 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
22807 echo $ECHO_N "(cached) $ECHO_C" >&6
22809 cat >conftest.
$ac_ext <<_ACEOF
22812 cat confdefs.h
>>conftest.
$ac_ext
22813 cat >>conftest.
$ac_ext <<_ACEOF
22814 /* end confdefs.h. */
22815 $gdb_ptrace_headers
22819 extern int ptrace ();
22824 rm -f conftest.
$ac_objext
22825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22826 (eval $ac_compile) 2>conftest.er1
22828 grep -v '^ *+' conftest.er1
>conftest.err
22830 cat conftest.err
>&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); } &&
22833 { ac_try
='test -z "$ac_c_werror_flag"
22834 || test ! -s conftest.err'
22835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22836 (eval $ac_try) 2>&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); }; } &&
22840 { ac_try
='test -s conftest.$ac_objext'
22841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22842 (eval $ac_try) 2>&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; }; then
22846 gdb_cv_func_ptrace_ret
='int'
22848 echo "$as_me: failed program was:" >&5
22849 sed 's/^/| /' conftest.
$ac_ext >&5
22851 gdb_cv_func_ptrace_ret
='long'
22853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22855 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
22856 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
22858 cat >>confdefs.h
<<_ACEOF
22859 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
22862 # Check argument types.
22863 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
22864 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
22865 if test "${gdb_cv_func_ptrace_args+set}" = set; then
22866 echo $ECHO_N "(cached) $ECHO_C" >&6
22869 for gdb_arg1
in 'int' 'long'; do
22870 for gdb_arg2
in 'pid_t' 'int' 'long'; do
22871 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long' 'void *'; do
22872 for gdb_arg4
in 'int' 'long'; do
22873 cat >conftest.
$ac_ext <<_ACEOF
22876 cat confdefs.h
>>conftest.
$ac_ext
22877 cat >>conftest.
$ac_ext <<_ACEOF
22878 /* end confdefs.h. */
22879 $gdb_ptrace_headers
22884 extern $gdb_cv_func_ptrace_ret
22885 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
22891 rm -f conftest.
$ac_objext
22892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22893 (eval $ac_compile) 2>conftest.er1
22895 grep -v '^ *+' conftest.er1
>conftest.err
22897 cat conftest.err
>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); } &&
22900 { ac_try
='test -z "$ac_c_werror_flag"
22901 || test ! -s conftest.err'
22902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22903 (eval $ac_try) 2>&5
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); }; } &&
22907 { ac_try
='test -s conftest.$ac_objext'
22908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22909 (eval $ac_try) 2>&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); }; }; then
22913 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
22916 echo "$as_me: failed program was:" >&5
22917 sed 's/^/| /' conftest.
$ac_ext >&5
22920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22921 for gdb_arg5
in 'int *' 'int' 'long'; do
22922 cat >conftest.
$ac_ext <<_ACEOF
22925 cat confdefs.h
>>conftest.
$ac_ext
22926 cat >>conftest.
$ac_ext <<_ACEOF
22927 /* end confdefs.h. */
22928 $gdb_ptrace_headers
22933 extern $gdb_cv_func_ptrace_ret
22934 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
22940 rm -f conftest.
$ac_objext
22941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22942 (eval $ac_compile) 2>conftest.er1
22944 grep -v '^ *+' conftest.er1
>conftest.err
22946 cat conftest.err
>&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); } &&
22949 { ac_try
='test -z "$ac_c_werror_flag"
22950 || test ! -s conftest.err'
22951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22952 (eval $ac_try) 2>&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); }; } &&
22956 { ac_try
='test -s conftest.$ac_objext'
22957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22958 (eval $ac_try) 2>&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); }; }; then
22963 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
22966 echo "$as_me: failed program was:" >&5
22967 sed 's/^/| /' conftest.
$ac_ext >&5
22970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22976 # Provide a safe default value.
22977 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
22980 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
22981 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
22982 ac_save_IFS
=$IFS; IFS
=','
22983 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
22987 cat >>confdefs.h
<<_ACEOF
22988 #define PTRACE_TYPE_ARG3 $3
22991 if test -n "$5"; then
22993 cat >>confdefs.h
<<_ACEOF
22994 #define PTRACE_TYPE_ARG5 $5
22999 if test "$cross_compiling" = no
; then
23000 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
23001 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
23002 if test "${ac_cv_func_setpgrp_void+set}" = set; then
23003 echo $ECHO_N "(cached) $ECHO_C" >&6
23005 if test "$cross_compiling" = yes; then
23006 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
23007 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
23008 { (exit 1); exit 1; }; }
23010 cat >conftest.
$ac_ext <<_ACEOF
23013 cat confdefs.h
>>conftest.
$ac_ext
23014 cat >>conftest.
$ac_ext <<_ACEOF
23015 /* end confdefs.h. */
23017 # include <unistd.h>
23023 /* If this system has a BSD-style setpgrp which takes arguments,
23024 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
23025 exit successfully. */
23026 exit (setpgrp (1,1) == -1 ? 0 : 1);
23031 rm -f conftest
$ac_exeext
23032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23033 (eval $ac_link) 2>&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 ac_cv_func_setpgrp_void
=no
23044 echo "$as_me: program exited with status $ac_status" >&5
23045 echo "$as_me: failed program was:" >&5
23046 sed 's/^/| /' conftest.
$ac_ext >&5
23048 ( exit $ac_status )
23049 ac_cv_func_setpgrp_void
=yes
23051 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23054 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
23055 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
23056 if test $ac_cv_func_setpgrp_void = yes; then
23058 cat >>confdefs.h
<<\_ACEOF
23059 #define SETPGRP_VOID 1
23065 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
23066 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
23067 if test "${ac_cv_func_setpgrp_void+set}" = set; then
23068 echo $ECHO_N "(cached) $ECHO_C" >&6
23070 cat >conftest.
$ac_ext <<_ACEOF
23073 cat confdefs.h
>>conftest.
$ac_ext
23074 cat >>conftest.
$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23077 #include <unistd.h>
23083 if (setpgrp(1,1) == -1)
23092 rm -f conftest.
$ac_objext
23093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23094 (eval $ac_compile) 2>conftest.er1
23096 grep -v '^ *+' conftest.er1
>conftest.err
23098 cat conftest.err
>&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); } &&
23101 { ac_try
='test -z "$ac_c_werror_flag"
23102 || test ! -s conftest.err'
23103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23104 (eval $ac_try) 2>&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); }; } &&
23108 { ac_try
='test -s conftest.$ac_objext'
23109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23110 (eval $ac_try) 2>&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); }; }; then
23114 ac_cv_func_setpgrp_void
=no
23116 echo "$as_me: failed program was:" >&5
23117 sed 's/^/| /' conftest.
$ac_ext >&5
23119 ac_cv_func_setpgrp_void
=yes
23121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23123 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
23124 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
23125 if test $ac_cv_func_setpgrp_void = yes; then
23126 cat >>confdefs.h
<<\_ACEOF
23127 #define SETPGRP_VOID 1
23133 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
23134 # since sigsetjmp might only be defined as a macro.
23135 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
23136 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
23137 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
23138 echo $ECHO_N "(cached) $ECHO_C" >&6
23140 cat >conftest.
$ac_ext <<_ACEOF
23143 cat confdefs.h
>>conftest.
$ac_ext
23144 cat >>conftest.
$ac_ext <<_ACEOF
23145 /* end confdefs.h. */
23147 #include <setjmp.h>
23152 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
23157 rm -f conftest.
$ac_objext
23158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23159 (eval $ac_compile) 2>conftest.er1
23161 grep -v '^ *+' conftest.er1
>conftest.err
23163 cat conftest.err
>&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); } &&
23166 { ac_try
='test -z "$ac_c_werror_flag"
23167 || test ! -s conftest.err'
23168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169 (eval $ac_try) 2>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; } &&
23173 { ac_try
='test -s conftest.$ac_objext'
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; }; then
23179 gdb_cv_func_sigsetjmp
=yes
23181 echo "$as_me: failed program was:" >&5
23182 sed 's/^/| /' conftest.
$ac_ext >&5
23184 gdb_cv_func_sigsetjmp
=no
23186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23188 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
23189 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
23190 if test $gdb_cv_func_sigsetjmp = yes; then
23192 cat >>confdefs.h
<<\_ACEOF
23193 #define HAVE_SIGSETJMP 1
23198 # Assume we'll default to using the included libiberty regex.
23199 gdb_use_included_regex
=yes
23201 # However, if the system regex is GNU regex, then default to *not*
23202 # using the included regex.
23203 echo "$as_me:$LINENO: checking for GNU regex" >&5
23204 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
23205 if test "${gdb_cv_have_gnu_regex+set}" = set; then
23206 echo $ECHO_N "(cached) $ECHO_C" >&6
23208 cat >conftest.
$ac_ext <<_ACEOF
23211 cat confdefs.h
>>conftest.
$ac_ext
23212 cat >>conftest.
$ac_ext <<_ACEOF
23213 /* end confdefs.h. */
23214 #include <gnu-versions.h>
23218 #define REGEX_INTERFACE_VERSION 1
23219 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
23220 # error "Version mismatch"
23226 rm -f conftest.
$ac_objext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23228 (eval $ac_compile) 2>conftest.er1
23230 grep -v '^ *+' conftest.er1
>conftest.err
23232 cat conftest.err
>&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } &&
23235 { ac_try
='test -z "$ac_c_werror_flag"
23236 || test ! -s conftest.err'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; } &&
23242 { ac_try
='test -s conftest.$ac_objext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23248 gdb_cv_have_gnu_regex
=yes
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.
$ac_ext >&5
23253 gdb_cv_have_gnu_regex
=no
23255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23257 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
23258 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
23259 if test $gdb_cv_have_gnu_regex = yes; then
23260 gdb_use_included_regex
=no
23264 # Check whether --with-included-regex or --without-included-regex was given.
23265 if test "${with_included_regex+set}" = set; then
23266 withval
="$with_included_regex"
23267 gdb_with_regex
=$withval
23269 gdb_with_regex
=$gdb_use_included_regex
23271 if test "$gdb_with_regex" = yes; then
23273 cat >>confdefs.h
<<\_ACEOF
23274 #define USE_INCLUDED_REGEX 1
23279 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
23280 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
23281 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
23282 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
23283 echo $ECHO_N "(cached) $ECHO_C" >&6
23285 cat >conftest.
$ac_ext <<_ACEOF
23288 cat confdefs.h
>>conftest.
$ac_ext
23289 cat >>conftest.
$ac_ext <<_ACEOF
23290 /* end confdefs.h. */
23291 #include <sys/param.h>
23292 #include <sys/proc.h>
23298 static struct thread ac_aggr;
23299 if (ac_aggr.td_pcb)
23305 rm -f conftest.
$ac_objext
23306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23307 (eval $ac_compile) 2>conftest.er1
23309 grep -v '^ *+' conftest.er1
>conftest.err
23311 cat conftest.err
>&5
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); } &&
23314 { ac_try
='test -z "$ac_c_werror_flag"
23315 || test ! -s conftest.err'
23316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23317 (eval $ac_try) 2>&5
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); }; } &&
23321 { ac_try
='test -s conftest.$ac_objext'
23322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23323 (eval $ac_try) 2>&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; }; then
23327 ac_cv_member_struct_thread_td_pcb
=yes
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.
$ac_ext >&5
23332 cat >conftest.
$ac_ext <<_ACEOF
23335 cat confdefs.h
>>conftest.
$ac_ext
23336 cat >>conftest.
$ac_ext <<_ACEOF
23337 /* end confdefs.h. */
23338 #include <sys/param.h>
23339 #include <sys/proc.h>
23345 static struct thread ac_aggr;
23346 if (sizeof ac_aggr.td_pcb)
23352 rm -f conftest.
$ac_objext
23353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23354 (eval $ac_compile) 2>conftest.er1
23356 grep -v '^ *+' conftest.er1
>conftest.err
23358 cat conftest.err
>&5
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); } &&
23361 { ac_try
='test -z "$ac_c_werror_flag"
23362 || test ! -s conftest.err'
23363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23364 (eval $ac_try) 2>&5
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); }; } &&
23368 { ac_try
='test -s conftest.$ac_objext'
23369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23370 (eval $ac_try) 2>&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); }; }; then
23374 ac_cv_member_struct_thread_td_pcb
=yes
23376 echo "$as_me: failed program was:" >&5
23377 sed 's/^/| /' conftest.
$ac_ext >&5
23379 ac_cv_member_struct_thread_td_pcb
=no
23381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23385 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
23386 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
23387 if test $ac_cv_member_struct_thread_td_pcb = yes; then
23389 cat >>confdefs.h
<<_ACEOF
23390 #define HAVE_STRUCT_THREAD_TD_PCB 1
23397 # See if <sys/lwp.h> defines `struct lwp`.
23398 echo "$as_me:$LINENO: checking for struct lwp" >&5
23399 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
23400 if test "${gdb_cv_struct_lwp+set}" = set; then
23401 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 cat >conftest.
$ac_ext <<_ACEOF
23406 cat confdefs.h
>>conftest.
$ac_ext
23407 cat >>conftest.
$ac_ext <<_ACEOF
23408 /* end confdefs.h. */
23409 #include <sys/param.h>
23410 #include <sys/lwp.h>
23419 rm -f conftest.
$ac_objext
23420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23421 (eval $ac_compile) 2>conftest.er1
23423 grep -v '^ *+' conftest.er1
>conftest.err
23425 cat conftest.err
>&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } &&
23428 { ac_try
='test -z "$ac_c_werror_flag"
23429 || test ! -s conftest.err'
23430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23431 (eval $ac_try) 2>&5
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); }; } &&
23435 { ac_try
='test -s conftest.$ac_objext'
23436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23437 (eval $ac_try) 2>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); }; }; then
23441 gdb_cv_struct_lwp
=yes
23443 echo "$as_me: failed program was:" >&5
23444 sed 's/^/| /' conftest.
$ac_ext >&5
23446 gdb_cv_struct_lwp
=no
23448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23450 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
23451 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
23452 if test $gdb_cv_struct_lwp = yes; then
23454 cat >>confdefs.h
<<\_ACEOF
23455 #define HAVE_STRUCT_LWP 1
23460 # See if <machine/reg.h> degines `struct reg'.
23461 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
23462 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
23463 if test "${gdb_cv_struct_reg+set}" = set; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23466 cat >conftest.
$ac_ext <<_ACEOF
23469 cat confdefs.h
>>conftest.
$ac_ext
23470 cat >>conftest.
$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472 #include <sys/types.h>
23473 #include <machine/reg.h>
23482 rm -f conftest.
$ac_objext
23483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23484 (eval $ac_compile) 2>conftest.er1
23486 grep -v '^ *+' conftest.er1
>conftest.err
23488 cat conftest.err
>&5
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); } &&
23491 { ac_try
='test -z "$ac_c_werror_flag"
23492 || test ! -s conftest.err'
23493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494 (eval $ac_try) 2>&5
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); }; } &&
23498 { ac_try
='test -s conftest.$ac_objext'
23499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23500 (eval $ac_try) 2>&5
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; }; then
23504 gdb_cv_struct_reg
=yes
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.
$ac_ext >&5
23509 gdb_cv_struct_reg
=no
23511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23513 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
23514 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
23515 if test $gdb_cv_struct_reg = yes; then
23517 cat >>confdefs.h
<<\_ACEOF
23518 #define HAVE_STRUCT_REG 1
23523 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
23524 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
23525 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
23526 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
23527 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
23528 echo $ECHO_N "(cached) $ECHO_C" >&6
23530 cat >conftest.
$ac_ext <<_ACEOF
23533 cat confdefs.h
>>conftest.
$ac_ext
23534 cat >>conftest.
$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23536 #include <machine/reg.h>
23541 static struct reg ac_aggr;
23548 rm -f conftest.
$ac_objext
23549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23550 (eval $ac_compile) 2>conftest.er1
23552 grep -v '^ *+' conftest.er1
>conftest.err
23554 cat conftest.err
>&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); } &&
23557 { ac_try
='test -z "$ac_c_werror_flag"
23558 || test ! -s conftest.err'
23559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23560 (eval $ac_try) 2>&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); }; } &&
23564 { ac_try
='test -s conftest.$ac_objext'
23565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23566 (eval $ac_try) 2>&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; }; then
23570 ac_cv_member_struct_reg_r_fs
=yes
23572 echo "$as_me: failed program was:" >&5
23573 sed 's/^/| /' conftest.
$ac_ext >&5
23575 cat >conftest.
$ac_ext <<_ACEOF
23578 cat confdefs.h
>>conftest.
$ac_ext
23579 cat >>conftest.
$ac_ext <<_ACEOF
23580 /* end confdefs.h. */
23581 #include <machine/reg.h>
23586 static struct reg ac_aggr;
23587 if (sizeof ac_aggr.r_fs)
23593 rm -f conftest.
$ac_objext
23594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23595 (eval $ac_compile) 2>conftest.er1
23597 grep -v '^ *+' conftest.er1
>conftest.err
23599 cat conftest.err
>&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); } &&
23602 { ac_try
='test -z "$ac_c_werror_flag"
23603 || test ! -s conftest.err'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; } &&
23609 { ac_try
='test -s conftest.$ac_objext'
23610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23611 (eval $ac_try) 2>&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); }; }; then
23615 ac_cv_member_struct_reg_r_fs
=yes
23617 echo "$as_me: failed program was:" >&5
23618 sed 's/^/| /' conftest.
$ac_ext >&5
23620 ac_cv_member_struct_reg_r_fs
=no
23622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23626 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
23627 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
23628 if test $ac_cv_member_struct_reg_r_fs = yes; then
23630 cat >>confdefs.h
<<_ACEOF
23631 #define HAVE_STRUCT_REG_R_FS 1
23636 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
23637 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
23638 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
23639 echo $ECHO_N "(cached) $ECHO_C" >&6
23641 cat >conftest.
$ac_ext <<_ACEOF
23644 cat confdefs.h
>>conftest.
$ac_ext
23645 cat >>conftest.
$ac_ext <<_ACEOF
23646 /* end confdefs.h. */
23647 #include <machine/reg.h>
23652 static struct reg ac_aggr;
23659 rm -f conftest.
$ac_objext
23660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23661 (eval $ac_compile) 2>conftest.er1
23663 grep -v '^ *+' conftest.er1
>conftest.err
23665 cat conftest.err
>&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } &&
23668 { ac_try
='test -z "$ac_c_werror_flag"
23669 || test ! -s conftest.err'
23670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23671 (eval $ac_try) 2>&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); }; } &&
23675 { ac_try
='test -s conftest.$ac_objext'
23676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23677 (eval $ac_try) 2>&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); }; }; then
23681 ac_cv_member_struct_reg_r_gs
=yes
23683 echo "$as_me: failed program was:" >&5
23684 sed 's/^/| /' conftest.
$ac_ext >&5
23686 cat >conftest.
$ac_ext <<_ACEOF
23689 cat confdefs.h
>>conftest.
$ac_ext
23690 cat >>conftest.
$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23692 #include <machine/reg.h>
23697 static struct reg ac_aggr;
23698 if (sizeof ac_aggr.r_gs)
23704 rm -f conftest.
$ac_objext
23705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23706 (eval $ac_compile) 2>conftest.er1
23708 grep -v '^ *+' conftest.er1
>conftest.err
23710 cat conftest.err
>&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); } &&
23713 { ac_try
='test -z "$ac_c_werror_flag"
23714 || test ! -s conftest.err'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; } &&
23720 { ac_try
='test -s conftest.$ac_objext'
23721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23722 (eval $ac_try) 2>&5
23724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23725 (exit $ac_status); }; }; then
23726 ac_cv_member_struct_reg_r_gs
=yes
23728 echo "$as_me: failed program was:" >&5
23729 sed 's/^/| /' conftest.
$ac_ext >&5
23731 ac_cv_member_struct_reg_r_gs
=no
23733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23737 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
23738 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
23739 if test $ac_cv_member_struct_reg_r_gs = yes; then
23741 cat >>confdefs.h
<<_ACEOF
23742 #define HAVE_STRUCT_REG_R_GS 1
23749 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
23750 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
23751 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
23752 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23755 cat >conftest.
$ac_ext <<_ACEOF
23758 cat confdefs.h
>>conftest.
$ac_ext
23759 cat >>conftest.
$ac_ext <<_ACEOF
23760 /* end confdefs.h. */
23761 #include <sys/ptrace.h>
23770 rm -f conftest.
$ac_objext
23771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23772 (eval $ac_compile) 2>conftest.er1
23774 grep -v '^ *+' conftest.er1
>conftest.err
23776 cat conftest.err
>&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } &&
23779 { ac_try
='test -z "$ac_c_werror_flag"
23780 || test ! -s conftest.err'
23781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23782 (eval $ac_try) 2>&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; } &&
23786 { ac_try
='test -s conftest.$ac_objext'
23787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788 (eval $ac_try) 2>&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); }; }; then
23792 gdb_cv_have_ptrace_getregs
=yes
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.
$ac_ext >&5
23797 gdb_cv_have_ptrace_getregs
=no
23799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23802 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
23803 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
23804 if test $gdb_cv_have_ptrace_getregs = yes; then
23806 cat >>confdefs.h
<<\_ACEOF
23807 #define HAVE_PTRACE_GETREGS 1
23812 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
23813 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
23814 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
23815 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
23816 echo $ECHO_N "(cached) $ECHO_C" >&6
23818 cat >conftest.
$ac_ext <<_ACEOF
23821 cat confdefs.h
>>conftest.
$ac_ext
23822 cat >>conftest.
$ac_ext <<_ACEOF
23823 /* end confdefs.h. */
23824 #include <sys/ptrace.h>
23833 rm -f conftest.
$ac_objext
23834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23835 (eval $ac_compile) 2>conftest.er1
23837 grep -v '^ *+' conftest.er1
>conftest.err
23839 cat conftest.err
>&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); } &&
23842 { ac_try
='test -z "$ac_c_werror_flag"
23843 || test ! -s conftest.err'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; } &&
23849 { ac_try
='test -s conftest.$ac_objext'
23850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851 (eval $ac_try) 2>&5
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); }; }; then
23855 gdb_cv_have_ptrace_getfpxregs
=yes
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.
$ac_ext >&5
23860 gdb_cv_have_ptrace_getfpxregs
=no
23862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23865 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
23866 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
23867 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
23869 cat >>confdefs.h
<<\_ACEOF
23870 #define HAVE_PTRACE_GETFPXREGS 1
23875 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
23876 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
23877 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
23878 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
23879 echo $ECHO_N "(cached) $ECHO_C" >&6
23881 cat >conftest.
$ac_ext <<_ACEOF
23884 cat confdefs.h
>>conftest.
$ac_ext
23885 cat >>conftest.
$ac_ext <<_ACEOF
23886 /* end confdefs.h. */
23887 #include <sys/types.h>
23888 #include <sys/ptrace.h>
23897 rm -f conftest.
$ac_objext
23898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23899 (eval $ac_compile) 2>conftest.er1
23901 grep -v '^ *+' conftest.er1
>conftest.err
23903 cat conftest.err
>&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); } &&
23906 { ac_try
='test -z "$ac_c_werror_flag"
23907 || test ! -s conftest.err'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; } &&
23913 { ac_try
='test -s conftest.$ac_objext'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; }; then
23919 gdb_cv_have_pt_getdbregs
=yes
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.
$ac_ext >&5
23924 gdb_cv_have_pt_getdbregs
=no
23926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23929 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
23930 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
23931 if test $gdb_cv_have_pt_getdbregs = yes; then
23933 cat >>confdefs.h
<<\_ACEOF
23934 #define HAVE_PT_GETDBREGS 1
23939 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
23940 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
23941 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
23942 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
23943 echo $ECHO_N "(cached) $ECHO_C" >&6
23945 cat >conftest.
$ac_ext <<_ACEOF
23948 cat confdefs.h
>>conftest.
$ac_ext
23949 cat >>conftest.
$ac_ext <<_ACEOF
23950 /* end confdefs.h. */
23951 #include <sys/types.h>
23952 #include <sys/ptrace.h>
23961 rm -f conftest.
$ac_objext
23962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23963 (eval $ac_compile) 2>conftest.er1
23965 grep -v '^ *+' conftest.er1
>conftest.err
23967 cat conftest.err
>&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } &&
23970 { ac_try
='test -z "$ac_c_werror_flag"
23971 || test ! -s conftest.err'
23972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23973 (eval $ac_try) 2>&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); }; } &&
23977 { ac_try
='test -s conftest.$ac_objext'
23978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979 (eval $ac_try) 2>&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; }; then
23983 gdb_cv_have_pt_getxmmregs
=yes
23985 echo "$as_me: failed program was:" >&5
23986 sed 's/^/| /' conftest.
$ac_ext >&5
23988 gdb_cv_have_pt_getxmmregs
=no
23990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23993 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
23994 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
23995 if test $gdb_cv_have_pt_getxmmregs = yes; then
23997 cat >>confdefs.h
<<\_ACEOF
23998 #define HAVE_PT_GETXMMREGS 1
24003 # Detect which type of /proc is in use, such as for Unixware or Solaris.
24005 if test "${target}" = "${host}"; then
24007 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
24009 cat >>confdefs.h
<<\_ACEOF
24010 #define NEW_PROC_API 1
24014 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9]*)
24016 cat >>confdefs.h
<<\_ACEOF
24017 #define NEW_PROC_API 1
24022 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
24024 cat >>confdefs.h
<<\_ACEOF
24025 #define _KMEMUSER 1
24032 if test "$ac_cv_header_sys_procfs_h" = yes; then
24033 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
24034 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
24035 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
24036 echo $ECHO_N "(cached) $ECHO_C" >&6
24038 cat >conftest.
$ac_ext <<_ACEOF
24041 cat confdefs.h
>>conftest.
$ac_ext
24042 cat >>conftest.
$ac_ext <<_ACEOF
24043 /* end confdefs.h. */
24046 #include <sys/procfs.h>
24055 rm -f conftest.
$ac_objext
24056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24057 (eval $ac_compile) 2>conftest.er1
24059 grep -v '^ *+' conftest.er1
>conftest.err
24061 cat conftest.err
>&5
24062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24063 (exit $ac_status); } &&
24064 { ac_try
='test -z "$ac_c_werror_flag"
24065 || test ! -s conftest.err'
24066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24067 (eval $ac_try) 2>&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); }; } &&
24071 { ac_try
='test -s conftest.$ac_objext'
24072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24073 (eval $ac_try) 2>&5
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); }; }; then
24077 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
24079 echo "$as_me: failed program was:" >&5
24080 sed 's/^/| /' conftest.
$ac_ext >&5
24082 bfd_cv_have_sys_procfs_type_pstatus_t
=no
24085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24088 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
24090 cat >>confdefs.h
<<\_ACEOF
24091 #define HAVE_PSTATUS_T 1
24095 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
24096 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
24098 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
24099 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
24100 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
24101 echo $ECHO_N "(cached) $ECHO_C" >&6
24103 cat >conftest.
$ac_ext <<_ACEOF
24106 cat confdefs.h
>>conftest.
$ac_ext
24107 cat >>conftest.
$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24111 #include <sys/procfs.h>
24120 rm -f conftest.
$ac_objext
24121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24122 (eval $ac_compile) 2>conftest.er1
24124 grep -v '^ *+' conftest.er1
>conftest.err
24126 cat conftest.err
>&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } &&
24129 { ac_try
='test -z "$ac_c_werror_flag"
24130 || test ! -s conftest.err'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; } &&
24136 { ac_try
='test -s conftest.$ac_objext'
24137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24138 (eval $ac_try) 2>&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); }; }; then
24142 bfd_cv_have_sys_procfs_type_prrun_t
=yes
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.
$ac_ext >&5
24147 bfd_cv_have_sys_procfs_type_prrun_t
=no
24150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24153 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
24155 cat >>confdefs.h
<<\_ACEOF
24156 #define HAVE_PRRUN_T 1
24160 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
24161 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
24163 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
24164 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
24165 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
24166 echo $ECHO_N "(cached) $ECHO_C" >&6
24168 cat >conftest.
$ac_ext <<_ACEOF
24171 cat confdefs.h
>>conftest.
$ac_ext
24172 cat >>conftest.
$ac_ext <<_ACEOF
24173 /* end confdefs.h. */
24176 #include <sys/procfs.h>
24185 rm -f conftest.
$ac_objext
24186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24187 (eval $ac_compile) 2>conftest.er1
24189 grep -v '^ *+' conftest.er1
>conftest.err
24191 cat conftest.err
>&5
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); } &&
24194 { ac_try
='test -z "$ac_c_werror_flag"
24195 || test ! -s conftest.err'
24196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24197 (eval $ac_try) 2>&5
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); }; } &&
24201 { ac_try
='test -s conftest.$ac_objext'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; }; then
24207 bfd_cv_have_sys_procfs_type_gregset_t
=yes
24209 echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.
$ac_ext >&5
24212 bfd_cv_have_sys_procfs_type_gregset_t
=no
24215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24218 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
24220 cat >>confdefs.h
<<\_ACEOF
24221 #define HAVE_GREGSET_T 1
24225 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
24226 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
24228 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
24229 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
24230 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
24231 echo $ECHO_N "(cached) $ECHO_C" >&6
24233 cat >conftest.
$ac_ext <<_ACEOF
24236 cat confdefs.h
>>conftest.
$ac_ext
24237 cat >>conftest.
$ac_ext <<_ACEOF
24238 /* end confdefs.h. */
24241 #include <sys/procfs.h>
24250 rm -f conftest.
$ac_objext
24251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24252 (eval $ac_compile) 2>conftest.er1
24254 grep -v '^ *+' conftest.er1
>conftest.err
24256 cat conftest.err
>&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } &&
24259 { ac_try
='test -z "$ac_c_werror_flag"
24260 || test ! -s conftest.err'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; } &&
24266 { ac_try
='test -s conftest.$ac_objext'
24267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24268 (eval $ac_try) 2>&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); }; }; then
24272 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
24274 echo "$as_me: failed program was:" >&5
24275 sed 's/^/| /' conftest.
$ac_ext >&5
24277 bfd_cv_have_sys_procfs_type_fpregset_t
=no
24280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24283 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
24285 cat >>confdefs.h
<<\_ACEOF
24286 #define HAVE_FPREGSET_T 1
24290 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
24291 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
24293 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
24294 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
24295 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
24296 echo $ECHO_N "(cached) $ECHO_C" >&6
24298 cat >conftest.
$ac_ext <<_ACEOF
24301 cat confdefs.h
>>conftest.
$ac_ext
24302 cat >>conftest.
$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24306 #include <sys/procfs.h>
24315 rm -f conftest.
$ac_objext
24316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24317 (eval $ac_compile) 2>conftest.er1
24319 grep -v '^ *+' conftest.er1
>conftest.err
24321 cat conftest.err
>&5
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); } &&
24324 { ac_try
='test -z "$ac_c_werror_flag"
24325 || test ! -s conftest.err'
24326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24327 (eval $ac_try) 2>&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); }; } &&
24331 { ac_try
='test -s conftest.$ac_objext'
24332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24333 (eval $ac_try) 2>&5
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); }; }; then
24337 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
24339 echo "$as_me: failed program was:" >&5
24340 sed 's/^/| /' conftest.
$ac_ext >&5
24342 bfd_cv_have_sys_procfs_type_prgregset_t
=no
24345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24348 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
24350 cat >>confdefs.h
<<\_ACEOF
24351 #define HAVE_PRGREGSET_T 1
24355 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
24356 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
24358 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
24359 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
24360 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 cat >conftest.
$ac_ext <<_ACEOF
24366 cat confdefs.h
>>conftest.
$ac_ext
24367 cat >>conftest.
$ac_ext <<_ACEOF
24368 /* end confdefs.h. */
24371 #include <sys/procfs.h>
24380 rm -f conftest.
$ac_objext
24381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24382 (eval $ac_compile) 2>conftest.er1
24384 grep -v '^ *+' conftest.er1
>conftest.err
24386 cat conftest.err
>&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); } &&
24389 { ac_try
='test -z "$ac_c_werror_flag"
24390 || test ! -s conftest.err'
24391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24392 (eval $ac_try) 2>&5
24394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395 (exit $ac_status); }; } &&
24396 { ac_try
='test -s conftest.$ac_objext'
24397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24398 (eval $ac_try) 2>&5
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); }; }; then
24402 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
24404 echo "$as_me: failed program was:" >&5
24405 sed 's/^/| /' conftest.
$ac_ext >&5
24407 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
24410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24413 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
24415 cat >>confdefs.h
<<\_ACEOF
24416 #define HAVE_PRFPREGSET_T 1
24420 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
24421 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
24423 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
24424 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
24425 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
24426 echo $ECHO_N "(cached) $ECHO_C" >&6
24428 cat >conftest.
$ac_ext <<_ACEOF
24431 cat confdefs.h
>>conftest.
$ac_ext
24432 cat >>conftest.
$ac_ext <<_ACEOF
24433 /* end confdefs.h. */
24436 #include <sys/procfs.h>
24445 rm -f conftest.
$ac_objext
24446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24447 (eval $ac_compile) 2>conftest.er1
24449 grep -v '^ *+' conftest.er1
>conftest.err
24451 cat conftest.err
>&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } &&
24454 { ac_try
='test -z "$ac_c_werror_flag"
24455 || test ! -s conftest.err'
24456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24457 (eval $ac_try) 2>&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); }; } &&
24461 { ac_try
='test -s conftest.$ac_objext'
24462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24463 (eval $ac_try) 2>&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); }; }; then
24467 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
24469 echo "$as_me: failed program was:" >&5
24470 sed 's/^/| /' conftest.
$ac_ext >&5
24472 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
24475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24478 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
24480 cat >>confdefs.h
<<\_ACEOF
24481 #define HAVE_PRGREGSET32_T 1
24485 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
24486 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
24488 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
24489 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
24490 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
24491 echo $ECHO_N "(cached) $ECHO_C" >&6
24493 cat >conftest.
$ac_ext <<_ACEOF
24496 cat confdefs.h
>>conftest.
$ac_ext
24497 cat >>conftest.
$ac_ext <<_ACEOF
24498 /* end confdefs.h. */
24501 #include <sys/procfs.h>
24505 prfpregset32_t avar
24510 rm -f conftest.
$ac_objext
24511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24512 (eval $ac_compile) 2>conftest.er1
24514 grep -v '^ *+' conftest.er1
>conftest.err
24516 cat conftest.err
>&5
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); } &&
24519 { ac_try
='test -z "$ac_c_werror_flag"
24520 || test ! -s conftest.err'
24521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24522 (eval $ac_try) 2>&5
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); }; } &&
24526 { ac_try
='test -s conftest.$ac_objext'
24527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24528 (eval $ac_try) 2>&5
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); }; }; then
24532 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
24534 echo "$as_me: failed program was:" >&5
24535 sed 's/^/| /' conftest.
$ac_ext >&5
24537 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
24540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24543 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
24545 cat >>confdefs.h
<<\_ACEOF
24546 #define HAVE_PRFPREGSET32_T 1
24550 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
24551 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
24553 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
24554 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
24555 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
24556 echo $ECHO_N "(cached) $ECHO_C" >&6
24558 cat >conftest.
$ac_ext <<_ACEOF
24561 cat confdefs.h
>>conftest.
$ac_ext
24562 cat >>conftest.
$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24566 #include <sys/procfs.h>
24575 rm -f conftest.
$ac_objext
24576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24577 (eval $ac_compile) 2>conftest.er1
24579 grep -v '^ *+' conftest.er1
>conftest.err
24581 cat conftest.err
>&5
24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); } &&
24584 { ac_try
='test -z "$ac_c_werror_flag"
24585 || test ! -s conftest.err'
24586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587 (eval $ac_try) 2>&5
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); }; } &&
24591 { ac_try
='test -s conftest.$ac_objext'
24592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24593 (eval $ac_try) 2>&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); }; }; then
24597 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
24599 echo "$as_me: failed program was:" >&5
24600 sed 's/^/| /' conftest.
$ac_ext >&5
24602 bfd_cv_have_sys_procfs_type_lwpid_t
=no
24605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24608 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
24610 cat >>confdefs.h
<<\_ACEOF
24611 #define HAVE_LWPID_T 1
24615 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
24616 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
24618 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
24619 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
24620 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
24621 echo $ECHO_N "(cached) $ECHO_C" >&6
24623 cat >conftest.
$ac_ext <<_ACEOF
24626 cat confdefs.h
>>conftest.
$ac_ext
24627 cat >>conftest.
$ac_ext <<_ACEOF
24628 /* end confdefs.h. */
24631 #include <sys/procfs.h>
24640 rm -f conftest.
$ac_objext
24641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24642 (eval $ac_compile) 2>conftest.er1
24644 grep -v '^ *+' conftest.er1
>conftest.err
24646 cat conftest.err
>&5
24647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648 (exit $ac_status); } &&
24649 { ac_try
='test -z "$ac_c_werror_flag"
24650 || test ! -s conftest.err'
24651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24652 (eval $ac_try) 2>&5
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); }; } &&
24656 { ac_try
='test -s conftest.$ac_objext'
24657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658 (eval $ac_try) 2>&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); }; }; then
24662 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
24664 echo "$as_me: failed program was:" >&5
24665 sed 's/^/| /' conftest.
$ac_ext >&5
24667 bfd_cv_have_sys_procfs_type_psaddr_t
=no
24670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24673 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
24675 cat >>confdefs.h
<<\_ACEOF
24676 #define HAVE_PSADDR_T 1
24680 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
24681 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
24683 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
24684 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
24685 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
24686 echo $ECHO_N "(cached) $ECHO_C" >&6
24688 cat >conftest.
$ac_ext <<_ACEOF
24691 cat confdefs.h
>>conftest.
$ac_ext
24692 cat >>conftest.
$ac_ext <<_ACEOF
24693 /* end confdefs.h. */
24696 #include <sys/procfs.h>
24705 rm -f conftest.
$ac_objext
24706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24707 (eval $ac_compile) 2>conftest.er1
24709 grep -v '^ *+' conftest.er1
>conftest.err
24711 cat conftest.err
>&5
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); } &&
24714 { ac_try
='test -z "$ac_c_werror_flag"
24715 || test ! -s conftest.err'
24716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24717 (eval $ac_try) 2>&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); }; } &&
24721 { ac_try
='test -s conftest.$ac_objext'
24722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24723 (eval $ac_try) 2>&5
24725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24726 (exit $ac_status); }; }; then
24727 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
24729 echo "$as_me: failed program was:" >&5
24730 sed 's/^/| /' conftest.
$ac_ext >&5
24732 bfd_cv_have_sys_procfs_type_prsysent_t
=no
24735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24738 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
24740 cat >>confdefs.h
<<\_ACEOF
24741 #define HAVE_PRSYSENT_T 1
24745 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
24746 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
24748 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
24749 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
24750 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
24751 echo $ECHO_N "(cached) $ECHO_C" >&6
24753 cat >conftest.
$ac_ext <<_ACEOF
24756 cat confdefs.h
>>conftest.
$ac_ext
24757 cat >>conftest.
$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24761 #include <sys/procfs.h>
24770 rm -f conftest.
$ac_objext
24771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24772 (eval $ac_compile) 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_objext'
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 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
24794 echo "$as_me: failed program was:" >&5
24795 sed 's/^/| /' conftest.
$ac_ext >&5
24797 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
24800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24803 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
24805 cat >>confdefs.h
<<\_ACEOF
24806 #define HAVE_PR_SIGSET_T 1
24810 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
24811 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
24813 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
24814 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
24815 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
24816 echo $ECHO_N "(cached) $ECHO_C" >&6
24818 cat >conftest.
$ac_ext <<_ACEOF
24821 cat confdefs.h
>>conftest.
$ac_ext
24822 cat >>conftest.
$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24826 #include <sys/procfs.h>
24830 pr_sigaction64_t avar
24835 rm -f conftest.
$ac_objext
24836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24837 (eval $ac_compile) 2>conftest.er1
24839 grep -v '^ *+' conftest.er1
>conftest.err
24841 cat conftest.err
>&5
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); } &&
24844 { ac_try
='test -z "$ac_c_werror_flag"
24845 || test ! -s conftest.err'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; } &&
24851 { ac_try
='test -s conftest.$ac_objext'
24852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853 (eval $ac_try) 2>&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; }; then
24857 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
24859 echo "$as_me: failed program was:" >&5
24860 sed 's/^/| /' conftest.
$ac_ext >&5
24862 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
24865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24868 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
24870 cat >>confdefs.h
<<\_ACEOF
24871 #define HAVE_PR_SIGACTION64_T 1
24875 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
24876 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
24878 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
24879 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
24880 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
24881 echo $ECHO_N "(cached) $ECHO_C" >&6
24883 cat >conftest.
$ac_ext <<_ACEOF
24886 cat confdefs.h
>>conftest.
$ac_ext
24887 cat >>conftest.
$ac_ext <<_ACEOF
24888 /* end confdefs.h. */
24891 #include <sys/procfs.h>
24895 pr_siginfo64_t avar
24900 rm -f conftest.
$ac_objext
24901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24902 (eval $ac_compile) 2>conftest.er1
24904 grep -v '^ *+' conftest.er1
>conftest.err
24906 cat conftest.err
>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); } &&
24909 { ac_try
='test -z "$ac_c_werror_flag"
24910 || test ! -s conftest.err'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; } &&
24916 { ac_try
='test -s conftest.$ac_objext'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; }; then
24922 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.
$ac_ext >&5
24927 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
24930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24933 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
24935 cat >>confdefs.h
<<\_ACEOF
24936 #define HAVE_PR_SIGINFO64_T 1
24940 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
24941 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
24947 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
24948 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
24949 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
24950 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
24951 echo $ECHO_N "(cached) $ECHO_C" >&6
24953 if test "$cross_compiling" = yes; then
24954 gdb_cv_prfpregset_t_broken
=yes
24956 cat >conftest.
$ac_ext <<_ACEOF
24959 cat confdefs.h
>>conftest.
$ac_ext
24960 cat >>conftest.
$ac_ext <<_ACEOF
24961 /* end confdefs.h. */
24962 #include <sys/procfs.h>
24965 if (sizeof (prfpregset_t) == sizeof (void *))
24970 rm -f conftest
$ac_exeext
24971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24972 (eval $ac_link) 2>&5
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; }; then
24981 gdb_cv_prfpregset_t_broken
=no
24983 echo "$as_me: program exited with status $ac_status" >&5
24984 echo "$as_me: failed program was:" >&5
24985 sed 's/^/| /' conftest.
$ac_ext >&5
24987 ( exit $ac_status )
24988 gdb_cv_prfpregset_t_broken
=yes
24990 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24994 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
24995 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
24996 if test $gdb_cv_prfpregset_t_broken = yes; then
24998 cat >>confdefs.h
<<\_ACEOF
24999 #define PRFPREGSET_T_BROKEN 1
25006 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
25007 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
25008 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
25009 echo $ECHO_N "(cached) $ECHO_C" >&6
25011 cat >conftest.
$ac_ext <<_ACEOF
25014 cat confdefs.h
>>conftest.
$ac_ext
25015 cat >>conftest.
$ac_ext <<_ACEOF
25016 /* end confdefs.h. */
25017 #include <unistd.h>
25018 #include <sys/types.h>
25019 #include <sys/procfs.h>
25026 dummy = ioctl(0, PIOCSET, &dummy);
25032 rm -f conftest.
$ac_objext
25033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25034 (eval $ac_compile) 2>conftest.er1
25036 grep -v '^ *+' conftest.er1
>conftest.err
25038 cat conftest.err
>&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); } &&
25041 { ac_try
='test -z "$ac_c_werror_flag"
25042 || test ! -s conftest.err'
25043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25044 (eval $ac_try) 2>&5
25046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25047 (exit $ac_status); }; } &&
25048 { ac_try
='test -s conftest.$ac_objext'
25049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25050 (eval $ac_try) 2>&5
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); }; }; then
25054 gdb_cv_have_procfs_piocset
=yes
25056 echo "$as_me: failed program was:" >&5
25057 sed 's/^/| /' conftest.
$ac_ext >&5
25059 gdb_cv_have_procfs_piocset
=no
25061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25064 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
25065 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
25066 if test $gdb_cv_have_procfs_piocset = yes; then
25068 cat >>confdefs.h
<<\_ACEOF
25069 #define HAVE_PROCFS_PIOCSET 1
25075 if test ${host} = ${target} ; then
25077 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
25078 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
25079 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
25080 echo $ECHO_N "(cached) $ECHO_C" >&6
25082 cat >conftest.
$ac_ext <<_ACEOF
25085 cat confdefs.h
>>conftest.
$ac_ext
25086 cat >>conftest.
$ac_ext <<_ACEOF
25087 /* end confdefs.h. */
25092 struct link_map lm; (void) lm.l_addr;
25097 rm -f conftest.
$ac_objext
25098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25099 (eval $ac_compile) 2>conftest.er1
25101 grep -v '^ *+' conftest.er1
>conftest.err
25103 cat conftest.err
>&5
25104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105 (exit $ac_status); } &&
25106 { ac_try
='test -z "$ac_c_werror_flag"
25107 || test ! -s conftest.err'
25108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25109 (eval $ac_try) 2>&5
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); }; } &&
25113 { ac_try
='test -s conftest.$ac_objext'
25114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25115 (eval $ac_try) 2>&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); }; }; then
25119 gdb_cv_have_struct_link_map_with_l_members
=yes
25121 echo "$as_me: failed program was:" >&5
25122 sed 's/^/| /' conftest.
$ac_ext >&5
25124 gdb_cv_have_struct_link_map_with_l_members
=no
25126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25129 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
25130 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
25131 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
25133 cat >>confdefs.h
<<\_ACEOF
25134 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
25140 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
25141 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
25142 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
25143 echo $ECHO_N "(cached) $ECHO_C" >&6
25145 cat >conftest.
$ac_ext <<_ACEOF
25148 cat confdefs.h
>>conftest.
$ac_ext
25149 cat >>conftest.
$ac_ext <<_ACEOF
25150 /* end confdefs.h. */
25151 #include <sys/types.h>
25156 struct link_map lm; (void) lm.lm_addr;
25161 rm -f conftest.
$ac_objext
25162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25163 (eval $ac_compile) 2>conftest.er1
25165 grep -v '^ *+' conftest.er1
>conftest.err
25167 cat conftest.err
>&5
25168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25169 (exit $ac_status); } &&
25170 { ac_try
='test -z "$ac_c_werror_flag"
25171 || test ! -s conftest.err'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; } &&
25177 { ac_try
='test -s conftest.$ac_objext'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 gdb_cv_have_struct_link_map_with_lm_members
=yes
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.
$ac_ext >&5
25188 gdb_cv_have_struct_link_map_with_lm_members
=no
25190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25193 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
25194 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
25195 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
25197 cat >>confdefs.h
<<\_ACEOF
25198 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
25204 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
25205 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
25206 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
25207 echo $ECHO_N "(cached) $ECHO_C" >&6
25209 cat >conftest.
$ac_ext <<_ACEOF
25212 cat confdefs.h
>>conftest.
$ac_ext
25213 cat >>conftest.
$ac_ext <<_ACEOF
25214 /* end confdefs.h. */
25215 #include <sys/types.h>
25216 #ifdef HAVE_NLIST_H
25223 struct so_map lm; (void) lm.som_addr;
25228 rm -f conftest.
$ac_objext
25229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25230 (eval $ac_compile) 2>conftest.er1
25232 grep -v '^ *+' conftest.er1
>conftest.err
25234 cat conftest.err
>&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); } &&
25237 { ac_try
='test -z "$ac_c_werror_flag"
25238 || test ! -s conftest.err'
25239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25240 (eval $ac_try) 2>&5
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; } &&
25244 { ac_try
='test -s conftest.$ac_objext'
25245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25246 (eval $ac_try) 2>&5
25248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25249 (exit $ac_status); }; }; then
25250 gdb_cv_have_struct_so_map_with_som_members
=yes
25252 echo "$as_me: failed program was:" >&5
25253 sed 's/^/| /' conftest.
$ac_ext >&5
25255 gdb_cv_have_struct_so_map_with_som_members
=no
25257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25260 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
25261 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
25262 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
25264 cat >>confdefs.h
<<\_ACEOF
25265 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
25271 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
25272 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
25273 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25276 cat >conftest.
$ac_ext <<_ACEOF
25279 cat confdefs.h
>>conftest.
$ac_ext
25280 cat >>conftest.
$ac_ext <<_ACEOF
25281 /* end confdefs.h. */
25283 #include <sys/link.h>
25287 struct link_map32 l;
25292 rm -f conftest.
$ac_objext
25293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25294 (eval $ac_compile) 2>conftest.er1
25296 grep -v '^ *+' conftest.er1
>conftest.err
25298 cat conftest.err
>&5
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); } &&
25301 { ac_try
='test -z "$ac_c_werror_flag"
25302 || test ! -s conftest.err'
25303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25304 (eval $ac_try) 2>&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); }; } &&
25308 { ac_try
='test -s conftest.$ac_objext'
25309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25310 (eval $ac_try) 2>&5
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); }; }; then
25314 gdb_cv_have_struct_link_map32
=yes
25316 echo "$as_me: failed program was:" >&5
25317 sed 's/^/| /' conftest.
$ac_ext >&5
25319 gdb_cv_have_struct_link_map32
=no
25321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25324 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
25325 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
25326 if test $gdb_cv_have_struct_link_map32 = yes; then
25328 cat >>confdefs.h
<<\_ACEOF
25329 #define HAVE_STRUCT_LINK_MAP32 1
25333 cat >>confdefs.h
<<\_ACEOF
25334 #define _SYSCALL32 1
25340 # Check if the compiler supports the `long long' type.
25342 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
25343 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
25344 if test "${gdb_cv_c_long_long+set}" = set; then
25345 echo $ECHO_N "(cached) $ECHO_C" >&6
25347 cat >conftest.
$ac_ext <<_ACEOF
25350 cat confdefs.h
>>conftest.
$ac_ext
25351 cat >>conftest.
$ac_ext <<_ACEOF
25352 /* end confdefs.h. */
25353 extern long long foo;
25357 switch (foo & 2) { case 0: return 1; }
25362 rm -f conftest.
$ac_objext
25363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25364 (eval $ac_compile) 2>conftest.er1
25366 grep -v '^ *+' conftest.er1
>conftest.err
25368 cat conftest.err
>&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } &&
25371 { ac_try
='test -z "$ac_c_werror_flag"
25372 || test ! -s conftest.err'
25373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25374 (eval $ac_try) 2>&5
25376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377 (exit $ac_status); }; } &&
25378 { ac_try
='test -s conftest.$ac_objext'
25379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25380 (eval $ac_try) 2>&5
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); }; }; then
25384 gdb_cv_c_long_long
=yes
25386 echo "$as_me: failed program was:" >&5
25387 sed 's/^/| /' conftest.
$ac_ext >&5
25389 gdb_cv_c_long_long
=no
25391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25393 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
25394 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
25395 if test $gdb_cv_c_long_long = yes; then
25397 cat >>confdefs.h
<<\_ACEOF
25398 #define CC_HAS_LONG_LONG 1
25403 # Check if the compiler and runtime support printing long longs.
25405 echo "$as_me:$LINENO: checking for long long support in printf" >&5
25406 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
25407 if test "${gdb_cv_printf_has_long_long+set}" = set; then
25408 echo $ECHO_N "(cached) $ECHO_C" >&6
25410 if test "$cross_compiling" = yes; then
25411 gdb_cv_printf_has_long_long
=no
25413 cat >conftest.
$ac_ext <<_ACEOF
25416 cat confdefs.h
>>conftest.
$ac_ext
25417 cat >>conftest.
$ac_ext <<_ACEOF
25418 /* end confdefs.h. */
25419 $ac_includes_default
25425 l = (l << 16) + 0x0123;
25426 l = (l << 16) + 0x4567;
25427 l = (l << 16) + 0x89ab;
25428 l = (l << 16) + 0xcdef;
25429 sprintf (buf, "0x%016llx", l);
25430 return (strcmp ("0x0123456789abcdef", buf));
25435 rm -f conftest
$ac_exeext
25436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25437 (eval $ac_link) 2>&5
25439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25440 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25442 (eval $ac_try) 2>&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); }; }; then
25446 gdb_cv_printf_has_long_long
=yes
25448 echo "$as_me: program exited with status $ac_status" >&5
25449 echo "$as_me: failed program was:" >&5
25450 sed 's/^/| /' conftest.
$ac_ext >&5
25452 ( exit $ac_status )
25453 gdb_cv_printf_has_long_long
=no
25455 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25458 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
25459 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
25460 if test $gdb_cv_printf_has_long_long = yes; then
25462 cat >>confdefs.h
<<\_ACEOF
25463 #define PRINTF_HAS_LONG_LONG 1
25468 # Check if the compiler and runtime support printing decfloats.
25470 echo "$as_me:$LINENO: checking for decfloat support in printf" >&5
25471 echo $ECHO_N "checking for decfloat support in printf... $ECHO_C" >&6
25472 if test "${gdb_cv_printf_has_decfloat+set}" = set; then
25473 echo $ECHO_N "(cached) $ECHO_C" >&6
25475 if test "$cross_compiling" = yes; then
25476 gdb_cv_printf_has_decfloat
=no
25478 cat >conftest.
$ac_ext <<_ACEOF
25481 cat confdefs.h
>>conftest.
$ac_ext
25482 cat >>conftest.
$ac_ext <<_ACEOF
25483 /* end confdefs.h. */
25484 $ac_includes_default
25489 _Decimal32 d32 = 1.2345df;
25490 _Decimal64 d64 = 1.2345dd;
25491 _Decimal128 d128 = 1.2345dl;
25492 sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
25493 return (strcmp ("Decimal32: 1.2345\nDecimal64: 1.2345\nDecimal128: 1.2345", buf));
25498 rm -f conftest
$ac_exeext
25499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25500 (eval $ac_link) 2>&5
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; }; then
25509 gdb_cv_printf_has_decfloat
=yes
25511 echo "$as_me: program exited with status $ac_status" >&5
25512 echo "$as_me: failed program was:" >&5
25513 sed 's/^/| /' conftest.
$ac_ext >&5
25515 ( exit $ac_status )
25516 gdb_cv_printf_has_decfloat
=no
25518 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25521 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_decfloat" >&5
25522 echo "${ECHO_T}$gdb_cv_printf_has_decfloat" >&6
25523 if test $gdb_cv_printf_has_decfloat = yes; then
25525 cat >>confdefs.h
<<\_ACEOF
25526 #define PRINTF_HAS_DECFLOAT 1
25531 # Check if the compiler supports the `long double' type. We can't use
25532 # AC_C_LONG_DOUBLE because that one does additional checks on the
25533 # constants defined in <float.h> that fail on some systems,
25534 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
25536 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
25537 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
25538 if test "${gdb_cv_c_long_double+set}" = set; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 cat >conftest.
$ac_ext <<_ACEOF
25544 cat confdefs.h
>>conftest.
$ac_ext
25545 cat >>conftest.
$ac_ext <<_ACEOF
25546 /* end confdefs.h. */
25549 rm -f conftest.
$ac_objext
25550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25551 (eval $ac_compile) 2>conftest.er1
25553 grep -v '^ *+' conftest.er1
>conftest.err
25555 cat conftest.err
>&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); } &&
25558 { ac_try
='test -z "$ac_c_werror_flag"
25559 || test ! -s conftest.err'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; } &&
25565 { ac_try
='test -s conftest.$ac_objext'
25566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25567 (eval $ac_try) 2>&5
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; }; then
25571 gdb_cv_c_long_double
=yes
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.
$ac_ext >&5
25576 gdb_cv_c_long_double
=no
25578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25580 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
25581 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
25582 if test $gdb_cv_c_long_double = yes; then
25584 cat >>confdefs.h
<<\_ACEOF
25585 #define HAVE_LONG_DOUBLE 1
25590 # Check if the compiler and runtime support printing long doubles.
25592 echo "$as_me:$LINENO: checking for long double support in printf" >&5
25593 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
25594 if test "${gdb_cv_printf_has_long_double+set}" = set; then
25595 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 if test "$cross_compiling" = yes; then
25598 gdb_cv_printf_has_long_double
=no
25600 cat >conftest.
$ac_ext <<_ACEOF
25603 cat confdefs.h
>>conftest.
$ac_ext
25604 cat >>conftest.
$ac_ext <<_ACEOF
25605 /* end confdefs.h. */
25606 $ac_includes_default
25611 long double f = 3.141592653;
25612 sprintf (buf, "%Lg", f);
25613 return (strncmp ("3.14159", buf, 7));
25618 rm -f conftest
$ac_exeext
25619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25620 (eval $ac_link) 2>&5
25622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25625 (eval $ac_try) 2>&5
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); }; }; then
25629 gdb_cv_printf_has_long_double
=yes
25631 echo "$as_me: program exited with status $ac_status" >&5
25632 echo "$as_me: failed program was:" >&5
25633 sed 's/^/| /' conftest.
$ac_ext >&5
25635 ( exit $ac_status )
25636 gdb_cv_printf_has_long_double
=no
25638 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25641 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
25642 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
25643 if test $gdb_cv_printf_has_long_double = yes; then
25645 cat >>confdefs.h
<<\_ACEOF
25646 #define PRINTF_HAS_LONG_DOUBLE 1
25651 # Check if the compiler and runtime support scanning long doubles.
25653 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
25654 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
25655 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 if test "$cross_compiling" = yes; then
25659 gdb_cv_scanf_has_long_double
=no
25661 cat >conftest.
$ac_ext <<_ACEOF
25664 cat confdefs.h
>>conftest.
$ac_ext
25665 cat >>conftest.
$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25671 char *buf = "3.141592653";
25673 sscanf (buf, "%Lg", &f);
25674 return !(f > 3.14159 && f < 3.14160);
25679 rm -f conftest
$ac_exeext
25680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25681 (eval $ac_link) 2>&5
25683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25686 (eval $ac_try) 2>&5
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); }; }; then
25690 gdb_cv_scanf_has_long_double
=yes
25692 echo "$as_me: program exited with status $ac_status" >&5
25693 echo "$as_me: failed program was:" >&5
25694 sed 's/^/| /' conftest.
$ac_ext >&5
25696 ( exit $ac_status )
25697 gdb_cv_scanf_has_long_double
=no
25699 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25702 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
25703 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
25704 if test $gdb_cv_scanf_has_long_double = yes; then
25706 cat >>confdefs.h
<<\_ACEOF
25707 #define SCANF_HAS_LONG_DOUBLE 1
25714 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
25715 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
25716 if test "${gdb_cv_bigtoc+set}" = set; then
25717 echo $ECHO_N "(cached) $ECHO_C" >&6
25720 SAVE_LDFLAGS
=$LDFLAGS
25723 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
25724 *) gdb_cv_bigtoc
=-bbigtoc ;;
25727 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
25728 cat >conftest.
$ac_ext <<_ACEOF
25731 cat confdefs.h
>>conftest.
$ac_ext
25732 cat >>conftest.
$ac_ext <<_ACEOF
25733 /* end confdefs.h. */
25743 rm -f conftest.
$ac_objext conftest
$ac_exeext
25744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25745 (eval $ac_link) 2>conftest.er1
25747 grep -v '^ *+' conftest.er1
>conftest.err
25749 cat conftest.err
>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } &&
25752 { ac_try
='test -z "$ac_c_werror_flag"
25753 || test ! -s conftest.err'
25754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25755 (eval $ac_try) 2>&5
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); }; } &&
25759 { ac_try
='test -s conftest$ac_exeext'
25760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25761 (eval $ac_try) 2>&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); }; }; then
25767 echo "$as_me: failed program was:" >&5
25768 sed 's/^/| /' conftest.
$ac_ext >&5
25772 rm -f conftest.err conftest.
$ac_objext \
25773 conftest
$ac_exeext conftest.
$ac_ext
25774 LDFLAGS
="${SAVE_LDFLAGS}"
25777 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
25778 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
25779 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
25785 if test ${build} = ${host} -a ${host} = ${target} ; then
25788 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
25789 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
25790 if test -f /usr
/include
/dce
/cma_config.h
; then
25791 if test "$GCC" = "yes" ; then
25792 echo "$as_me:$LINENO: result: yes" >&5
25793 echo "${ECHO_T}yes" >&6
25795 cat >>confdefs.h
<<\_ACEOF
25796 #define HAVE_HPUX_THREAD_SUPPORT 1
25799 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
25800 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
25802 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
25803 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
25806 echo "$as_me:$LINENO: result: no" >&5
25807 echo "${ECHO_T}no" >&6
25811 # See if thread_db library is around for Solaris thread debugging.
25812 # Note that we must explicitly test for version 1 of the library
25813 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
25815 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
25816 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
25817 if test -f /usr
/lib
/libthread_db.so
.1 ; then
25818 echo "$as_me:$LINENO: result: yes" >&5
25819 echo "${ECHO_T}yes" >&6
25821 cat >>confdefs.h
<<\_ACEOF
25822 #define HAVE_THREAD_DB_LIB 1
25825 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
25826 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
25828 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
25829 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
25830 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 ac_check_lib_save_LIBS
=$LIBS
25835 cat >conftest.
$ac_ext <<_ACEOF
25838 cat confdefs.h
>>conftest.
$ac_ext
25839 cat >>conftest.
$ac_ext <<_ACEOF
25840 /* end confdefs.h. */
25842 /* Override any gcc2 internal prototype to avoid an error. */
25846 /* We use char because int might match the return type of a gcc2
25847 builtin and then its argument prototype would still apply. */
25857 rm -f conftest.
$ac_objext conftest
$ac_exeext
25858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25859 (eval $ac_link) 2>conftest.er1
25861 grep -v '^ *+' conftest.er1
>conftest.err
25863 cat conftest.err
>&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } &&
25866 { ac_try
='test -z "$ac_c_werror_flag"
25867 || test ! -s conftest.err'
25868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25869 (eval $ac_try) 2>&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); }; } &&
25873 { ac_try
='test -s conftest$ac_exeext'
25874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25875 (eval $ac_try) 2>&5
25877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25878 (exit $ac_status); }; }; then
25879 ac_cv_lib_dl_dlopen
=yes
25881 echo "$as_me: failed program was:" >&5
25882 sed 's/^/| /' conftest.
$ac_ext >&5
25884 ac_cv_lib_dl_dlopen
=no
25886 rm -f conftest.err conftest.
$ac_objext \
25887 conftest
$ac_exeext conftest.
$ac_ext
25888 LIBS
=$ac_check_lib_save_LIBS
25890 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
25891 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
25892 if test $ac_cv_lib_dl_dlopen = yes; then
25893 cat >>confdefs.h
<<_ACEOF
25894 #define HAVE_LIBDL 1
25901 if test "$GCC" = "yes" ; then
25902 # The GNU linker requires the -export-dynamic option to make
25903 # all symbols visible in the dynamic symbol table.
25904 hold_ldflags
=$LDFLAGS
25905 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
25906 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
25907 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
25908 cat >conftest.
$ac_ext <<_ACEOF
25911 cat confdefs.h
>>conftest.
$ac_ext
25912 cat >>conftest.
$ac_ext <<_ACEOF
25913 /* end confdefs.h. */
25923 rm -f conftest.
$ac_objext conftest
$ac_exeext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25925 (eval $ac_link) 2>conftest.er1
25927 grep -v '^ *+' conftest.er1
>conftest.err
25929 cat conftest.err
>&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try
='test -z "$ac_c_werror_flag"
25933 || test ! -s conftest.err'
25934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25935 (eval $ac_try) 2>&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); }; } &&
25939 { ac_try
='test -s conftest$ac_exeext'
25940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941 (eval $ac_try) 2>&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); }; }; then
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.
$ac_ext >&5
25952 rm -f conftest.err conftest.
$ac_objext \
25953 conftest
$ac_exeext conftest.
$ac_ext
25954 LDFLAGS
=$hold_ldflags
25955 echo "$as_me:$LINENO: result: $found" >&5
25956 echo "${ECHO_T}$found" >&6
25957 if test $found = yes; then
25958 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
25961 # Sun randomly tweaked the prototypes in <proc_service.h>
25963 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
25964 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
25965 if test "${gdb_cv_proc_service_is_old+set}" = set; then
25966 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 cat >conftest.
$ac_ext <<_ACEOF
25972 cat confdefs.h
>>conftest.
$ac_ext
25973 cat >>conftest.
$ac_ext <<_ACEOF
25974 /* end confdefs.h. */
25976 #include <proc_service.h>
25977 ps_err_e ps_pdwrite
25978 (struct ps_prochandle*, psaddr_t, const void*, size_t);
25988 rm -f conftest.
$ac_objext
25989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25990 (eval $ac_compile) 2>conftest.er1
25992 grep -v '^ *+' conftest.er1
>conftest.err
25994 cat conftest.err
>&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } &&
25997 { ac_try
='test -z "$ac_c_werror_flag"
25998 || test ! -s conftest.err'
25999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26000 (eval $ac_try) 2>&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); }; } &&
26004 { ac_try
='test -s conftest.$ac_objext'
26005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26006 (eval $ac_try) 2>&5
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); }; }; then
26010 gdb_cv_proc_service_is_old
=no
26012 echo "$as_me: failed program was:" >&5
26013 sed 's/^/| /' conftest.
$ac_ext >&5
26015 gdb_cv_proc_service_is_old
=yes
26017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26021 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
26022 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
26023 if test $gdb_cv_proc_service_is_old = yes; then
26025 cat >>confdefs.h
<<\_ACEOF
26026 #define PROC_SERVICE_IS_OLD 1
26031 echo "$as_me:$LINENO: result: no" >&5
26032 echo "${ECHO_T}no" >&6
26036 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
26037 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
26038 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
26039 echo $ECHO_N "(cached) $ECHO_C" >&6
26041 cat >conftest.
$ac_ext <<_ACEOF
26044 cat confdefs.h
>>conftest.
$ac_ext
26045 cat >>conftest.
$ac_ext <<_ACEOF
26046 /* end confdefs.h. */
26047 #include <sys/pthdebug.h>
26051 #ifndef PTHDB_VERSION_3
26058 rm -f conftest.
$ac_objext
26059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26060 (eval $ac_compile) 2>conftest.er1
26062 grep -v '^ *+' conftest.er1
>conftest.err
26064 cat conftest.err
>&5
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); } &&
26067 { ac_try
='test -z "$ac_c_werror_flag"
26068 || test ! -s conftest.err'
26069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26070 (eval $ac_try) 2>&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); }; } &&
26074 { ac_try
='test -s conftest.$ac_objext'
26075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076 (eval $ac_try) 2>&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); }; }; then
26080 gdb_cv_have_aix_thread_debug
=yes
26082 echo "$as_me: failed program was:" >&5
26083 sed 's/^/| /' conftest.
$ac_ext >&5
26085 gdb_cv_have_aix_thread_debug
=no
26087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26090 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
26091 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
26092 if test $gdb_cv_have_aix_thread_debug = yes; then
26093 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
26094 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
26095 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
26102 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
26103 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
26104 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
26105 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
26106 echo $ECHO_N "(cached) $ECHO_C" >&6
26108 cat >conftest.
$ac_ext <<_ACEOF
26111 cat confdefs.h
>>conftest.
$ac_ext
26112 cat >>conftest.
$ac_ext <<_ACEOF
26113 /* end confdefs.h. */
26114 #include <thread_db.h>
26118 int i = TD_NOTALLOC;
26123 rm -f conftest.
$ac_objext
26124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26125 (eval $ac_compile) 2>conftest.er1
26127 grep -v '^ *+' conftest.er1
>conftest.err
26129 cat conftest.err
>&5
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); } &&
26132 { ac_try
='test -z "$ac_c_werror_flag"
26133 || test ! -s conftest.err'
26134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26135 (eval $ac_try) 2>&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); }; } &&
26139 { ac_try
='test -s conftest.$ac_objext'
26140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26141 (eval $ac_try) 2>&5
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); }; }; then
26145 gdb_cv_thread_db_h_has_td_notalloc
=yes
26147 echo "$as_me: failed program was:" >&5
26148 sed 's/^/| /' conftest.
$ac_ext >&5
26150 gdb_cv_thread_db_h_has_td_notalloc
=no
26153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26156 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
26157 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
26158 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
26159 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
26160 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
26161 echo $ECHO_N "(cached) $ECHO_C" >&6
26163 cat >conftest.
$ac_ext <<_ACEOF
26166 cat confdefs.h
>>conftest.
$ac_ext
26167 cat >>conftest.
$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26169 #include <thread_db.h>
26173 int i = TD_VERSION;
26178 rm -f conftest.
$ac_objext
26179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26180 (eval $ac_compile) 2>conftest.er1
26182 grep -v '^ *+' conftest.er1
>conftest.err
26184 cat conftest.err
>&5
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } &&
26187 { ac_try
='test -z "$ac_c_werror_flag"
26188 || test ! -s conftest.err'
26189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26190 (eval $ac_try) 2>&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); }; } &&
26194 { ac_try
='test -s conftest.$ac_objext'
26195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26196 (eval $ac_try) 2>&5
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); }; }; then
26200 gdb_cv_thread_db_h_has_td_version
=yes
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.
$ac_ext >&5
26205 gdb_cv_thread_db_h_has_td_version
=no
26208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26211 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
26212 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
26213 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
26214 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
26215 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26218 cat >conftest.
$ac_ext <<_ACEOF
26221 cat confdefs.h
>>conftest.
$ac_ext
26222 cat >>conftest.
$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26224 #include <thread_db.h>
26233 rm -f conftest.
$ac_objext
26234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26235 (eval $ac_compile) 2>conftest.er1
26237 grep -v '^ *+' conftest.er1
>conftest.err
26239 cat conftest.err
>&5
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); } &&
26242 { ac_try
='test -z "$ac_c_werror_flag"
26243 || test ! -s conftest.err'
26244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26245 (eval $ac_try) 2>&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); }; } &&
26249 { ac_try
='test -s conftest.$ac_objext'
26250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251 (eval $ac_try) 2>&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); }; }; then
26255 gdb_cv_thread_db_h_has_td_notls
=yes
26257 echo "$as_me: failed program was:" >&5
26258 sed 's/^/| /' conftest.
$ac_ext >&5
26260 gdb_cv_thread_db_h_has_td_notls
=no
26263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26266 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
26267 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
26269 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
26271 cat >>confdefs.h
<<\_ACEOF
26272 #define THREAD_DB_HAS_TD_NOTALLOC 1
26276 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
26278 cat >>confdefs.h
<<\_ACEOF
26279 #define THREAD_DB_HAS_TD_VERSION 1
26283 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
26285 cat >>confdefs.h
<<\_ACEOF
26286 #define THREAD_DB_HAS_TD_NOTLS 1
26291 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
26292 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
26293 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
26294 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
26295 echo $ECHO_N "(cached) $ECHO_C" >&6
26297 cat >conftest.
$ac_ext <<_ACEOF
26300 cat confdefs.h
>>conftest.
$ac_ext
26301 cat >>conftest.
$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303 #include <sys/syscall.h>
26307 int i = __NR_tkill;
26312 rm -f conftest.
$ac_objext
26313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26314 (eval $ac_compile) 2>conftest.er1
26316 grep -v '^ *+' conftest.er1
>conftest.err
26318 cat conftest.err
>&5
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); } &&
26321 { ac_try
='test -z "$ac_c_werror_flag"
26322 || test ! -s conftest.err'
26323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26324 (eval $ac_try) 2>&5
26326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327 (exit $ac_status); }; } &&
26328 { ac_try
='test -s conftest.$ac_objext'
26329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26330 (eval $ac_try) 2>&5
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); }; }; then
26334 gdb_cv_sys_syscall_h_has_tkill
=yes
26336 echo "$as_me: failed program was:" >&5
26337 sed 's/^/| /' conftest.
$ac_ext >&5
26339 gdb_cv_sys_syscall_h_has_tkill
=no
26342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26345 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
26346 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
26348 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
26350 cat >>confdefs.h
<<\_ACEOF
26351 #define HAVE_TKILL_SYSCALL 1
26358 # Check whether --with-sysroot or --without-sysroot was given.
26359 if test "${with_sysroot+set}" = set; then
26360 withval
="$with_sysroot"
26362 case ${with_sysroot} in
26363 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
26364 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
26367 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
26369 if test "x$prefix" = xNONE
; then
26370 test_prefix
=/usr
/local
26372 test_prefix
=$prefix
26374 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
26375 test_exec_prefix
=$test_prefix
26377 test_exec_prefix
=$exec_prefix
26379 case ${TARGET_SYSTEM_ROOT} in
26380 "${test_prefix}"|
"${test_prefix}/"*|\
26381 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
26382 '${prefix}'|
'${prefix}/'*|\
26383 '${exec_prefix}'|
'${exec_prefix}/'*)
26384 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
26385 TARGET_SYSTEM_ROOT_DEFINE
="$t"
26391 TARGET_SYSTEM_ROOT
=
26392 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
26398 # Check whether --enable-werror or --disable-werror was given.
26399 if test "${enable_werror+set}" = set; then
26400 enableval
="$enable_werror"
26401 case "${enableval}" in
26402 yes | y
) ERROR_ON_WARNING
="yes" ;;
26403 no | n
) ERROR_ON_WARNING
="no" ;;
26404 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
26405 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
26406 { (exit 1); exit 1; }; } ;;
26410 # Enable -Werror by default when using gcc
26411 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
26412 ERROR_ON_WARNING
=yes
26416 if test "${ERROR_ON_WARNING}" = yes ; then
26417 WERROR_CFLAGS
="-Werror"
26420 # The entries after -Wno-pointer-sign are disabled warnings which may
26421 # be enabled in the future, which can not currently be used to build
26423 # NOTE: If you change this list, remember to update
26424 # gdb/doc/gdbint.texinfo.
26425 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
26426 -Wformat-nonliteral -Wno-pointer-sign \
26427 -Wno-unused -Wno-switch -Wno-char-subscripts"
26429 # Check whether --enable-build-warnings or --disable-build-warnings was given.
26430 if test "${enable_build_warnings+set}" = set; then
26431 enableval
="$enable_build_warnings"
26432 case "${enableval}" in
26434 no
) build_warnings
="-w";;
26435 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
26436 build_warnings
="${build_warnings} ${t}";;
26437 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
26438 build_warnings
="${t} ${build_warnings}";;
26439 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
26441 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
26442 echo "Setting compiler warning flags = $build_warnings" 6>&1
26444 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
26445 if test "${enable_gdb_build_warnings+set}" = set; then
26446 enableval
="$enable_gdb_build_warnings"
26447 case "${enableval}" in
26449 no
) build_warnings
="-w";;
26450 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
26451 build_warnings
="${build_warnings} ${t}";;
26452 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
26453 build_warnings
="${t} ${build_warnings}";;
26454 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
26456 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
26457 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
26460 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
26462 echo "$as_me:$LINENO: checking compiler warning flags" >&5
26463 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
26464 # Separate out the -Werror flag as some files just cannot be
26465 # compiled with it enabled.
26466 for w
in ${build_warnings}; do
26468 -Werr*) WERROR_CFLAGS
=-Werror ;;
26469 *) # Check that GCC accepts it
26470 saved_CFLAGS
="$CFLAGS"
26471 CFLAGS
="$CFLAGS $w"
26472 cat >conftest.
$ac_ext <<_ACEOF
26475 cat confdefs.h
>>conftest.
$ac_ext
26476 cat >>conftest.
$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26487 rm -f conftest.
$ac_objext
26488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26489 (eval $ac_compile) 2>conftest.er1
26491 grep -v '^ *+' conftest.er1
>conftest.err
26493 cat conftest.err
>&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } &&
26496 { ac_try
='test -z "$ac_c_werror_flag"
26497 || test ! -s conftest.err'
26498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26499 (eval $ac_try) 2>&5
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); }; } &&
26503 { ac_try
='test -s conftest.$ac_objext'
26504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26505 (eval $ac_try) 2>&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); }; }; then
26509 WARN_CFLAGS
="${WARN_CFLAGS} $w"
26511 echo "$as_me: failed program was:" >&5
26512 sed 's/^/| /' conftest.
$ac_ext >&5
26515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26516 CFLAGS
="$saved_CFLAGS"
26519 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
26520 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
26525 # In the Cygwin environment, we need some additional flags.
26526 echo "$as_me:$LINENO: checking for cygwin" >&5
26527 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
26528 if test "${gdb_cv_os_cygwin+set}" = set; then
26529 echo $ECHO_N "(cached) $ECHO_C" >&6
26531 cat >conftest.
$ac_ext <<_ACEOF
26534 cat confdefs.h
>>conftest.
$ac_ext
26535 cat >>conftest.
$ac_ext <<_ACEOF
26536 /* end confdefs.h. */
26538 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
26542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26543 $EGREP "lose" >/dev
/null
2>&1; then
26544 gdb_cv_os_cygwin
=yes
26546 gdb_cv_os_cygwin
=no
26551 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
26552 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
26555 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
26557 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
26558 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
26559 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
26563 # libreadline needs libuser32.a in a cygwin environment
26565 if test x
$gdb_cv_os_cygwin = xyes
; then
26566 WIN32LIBS
="-luser32"
26567 case "${target}" in
26568 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
26573 # The ser-tcp.c module requires sockets.
26577 cat >>confdefs.h
<<\_ACEOF
26578 #define USE_WIN32API 1
26581 WIN32LIBS
="$WIN32LIBS -lws2_32"
26586 # Add ELF support to GDB, but only if BFD includes ELF support.
26588 OLD_LDFLAGS
=$LDFLAGS
26590 CFLAGS
="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
26591 LDFLAGS
="$LDFLAGS -L../bfd -L../libiberty"
26592 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
26593 LIBS
="$LIBS -lbfd -liberty $intl"
26594 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
26595 echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
26596 if test "${gdb_cv_var_elf+set}" = set; then
26597 echo $ECHO_N "(cached) $ECHO_C" >&6
26599 cat >conftest.
$ac_ext <<_ACEOF
26602 cat confdefs.h
>>conftest.
$ac_ext
26603 cat >>conftest.
$ac_ext <<_ACEOF
26604 /* end confdefs.h. */
26605 #include <stdlib.h>
26607 #include "elf-bfd.h"
26612 bfd *abfd = NULL; bfd_get_elf_phdr_upper_bound (abfd);
26617 rm -f conftest.
$ac_objext conftest
$ac_exeext
26618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26619 (eval $ac_link) 2>conftest.er1
26621 grep -v '^ *+' conftest.er1
>conftest.err
26623 cat conftest.err
>&5
26624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26625 (exit $ac_status); } &&
26626 { ac_try
='test -z "$ac_c_werror_flag"
26627 || test ! -s conftest.err'
26628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26629 (eval $ac_try) 2>&5
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); }; } &&
26633 { ac_try
='test -s conftest$ac_exeext'
26634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26635 (eval $ac_try) 2>&5
26637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26638 (exit $ac_status); }; }; then
26641 echo "$as_me: failed program was:" >&5
26642 sed 's/^/| /' conftest.
$ac_ext >&5
26646 rm -f conftest.err conftest.
$ac_objext \
26647 conftest
$ac_exeext conftest.
$ac_ext
26649 echo "$as_me:$LINENO: result: $gdb_cv_var_elf" >&5
26650 echo "${ECHO_T}$gdb_cv_var_elf" >&6
26651 if test $gdb_cv_var_elf = yes; then
26652 CONFIG_OBS
="$CONFIG_OBS elfread.o"
26654 cat >>confdefs.h
<<\_ACEOF
26660 LDFLAGS
=$OLD_LDFLAGS
26663 # Add any host-specific objects to GDB.
26664 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
26666 LIBGUI
="../libgui/src/libgui.a"
26667 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
26676 *-*-cygwin* |
*-*-mingw* )
26685 if test "${enable_gdbtk}" = "yes"; then
26687 # Gdbtk must have an absolute path to srcdir in order to run
26688 # properly when not installed.
26691 GDBTK_SRC_DIR
=`pwd`
26696 # Ok, lets find the tcl configuration
26697 # First, look for one uninstalled.
26698 # the alternative search directory is invoked by --with-tclconfig
26701 if test x
"${no_tcl}" = x
; then
26702 # we reset no_tcl in case something fails here
26705 # Check whether --with-tclconfig or --without-tclconfig was given.
26706 if test "${with_tclconfig+set}" = set; then
26707 withval
="$with_tclconfig"
26708 with_tclconfig
=${withval}
26710 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
26711 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
26712 if test "${ac_cv_c_tclconfig+set}" = set; then
26713 echo $ECHO_N "(cached) $ECHO_C" >&6
26717 # First check to see if --with-tclconfig was specified.
26718 if test x
"${with_tclconfig}" != x
; then
26719 if test -f "${with_tclconfig}/tclConfig.sh" ; then
26720 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
26722 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
26723 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
26724 { (exit 1); exit 1; }; }
26728 # then check for a private Tcl installation
26729 if test x
"${ac_cv_c_tclconfig}" = x
; then
26732 `ls -dr ../tcl[7-9]* 2>/dev/null` \
26734 `ls -dr ../../tcl[7-9]* 2>/dev/null` \
26736 `ls -dr ../../../tcl[7-9]* 2>/dev/null` ; do
26737 if test -f "$i/${configdir}/tclConfig.sh" ; then
26738 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
26743 # check in a few common install locations
26744 if test x
"${ac_cv_c_tclconfig}" = x
; then
26745 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
26746 if test -f "$i/tclConfig.sh" ; then
26747 ac_cv_c_tclconfig
=`(cd $i; pwd)`
26752 # check in a few other private locations
26753 if test x
"${ac_cv_c_tclconfig}" = x
; then
26756 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` ; do
26757 if test -f "$i/${configdir}/tclConfig.sh" ; then
26758 ac_cv_c_tclconfig
=`(cd $i/${configdir}; pwd)`
26766 if test x
"${ac_cv_c_tclconfig}" = x
; then
26767 TCLCONFIG
="# no Tcl configs found"
26768 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
26769 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
26772 TCLCONFIG
=${ac_cv_c_tclconfig}/tclConfig.sh
26773 echo "$as_me:$LINENO: result: found $TCLCONFIG" >&5
26774 echo "${ECHO_T}found $TCLCONFIG" >&6
26778 if test -z "${no_tcl}"; then
26809 # Ok, lets find the tk configuration
26810 # First, look for one uninstalled.
26811 # the alternative search directory is invoked by --with-tkconfig
26814 if test x
"${no_tk}" = x
; then
26815 # we reset no_tk in case something fails here
26818 # Check whether --with-tkconfig or --without-tkconfig was given.
26819 if test "${with_tkconfig+set}" = set; then
26820 withval
="$with_tkconfig"
26821 with_tkconfig
=${withval}
26823 echo "$as_me:$LINENO: checking for Tk configuration" >&5
26824 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
26825 if test "${ac_cv_c_tkconfig+set}" = set; then
26826 echo $ECHO_N "(cached) $ECHO_C" >&6
26830 # First check to see if --with-tkconfig was specified.
26831 if test x
"${with_tkconfig}" != x
; then
26832 if test -f "${with_tkconfig}/tkConfig.sh" ; then
26833 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
26835 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
26836 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
26837 { (exit 1); exit 1; }; }
26841 # then check for a private Tk library
26842 if test x
"${ac_cv_c_tkconfig}" = x
; then
26845 `ls -dr ../tk[4-9]* 2>/dev/null` \
26847 `ls -dr ../../tk[4-9]* 2>/dev/null` \
26849 `ls -dr ../../../tk[4-9]* 2>/dev/null` ; do
26850 if test -f "$i/${configdir}/tkConfig.sh" ; then
26851 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
26856 # check in a few common install locations
26857 if test x
"${ac_cv_c_tkconfig}" = x
; then
26858 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
26859 if test -f "$i/tkConfig.sh" ; then
26860 ac_cv_c_tkconfig
=`(cd $i; pwd)`
26865 # check in a few other private locations
26866 if test x
"${ac_cv_c_tkconfig}" = x
; then
26869 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` ; do
26870 if test -f "$i/${configdir}/tkConfig.sh" ; then
26871 ac_cv_c_tkconfig
=`(cd $i/${configdir}; pwd)`
26879 if test x
"${ac_cv_c_tkconfig}" = x
; then
26880 TKCONFIG
="# no Tk configs found"
26881 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
26882 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
26885 TKCONFIG
=${ac_cv_c_tkconfig}/tkConfig.sh
26886 echo "$as_me:$LINENO: result: found $TKCONFIG" >&5
26887 echo "${ECHO_T}found $TKCONFIG" >&6
26893 # now look for Tcl library stuff
26895 tcldir
="../tcl/${configdir}/"
26897 TCL_DEPS
="${tcldir}${TCL_LIB_FILE}"
26899 # If $no_tk is nonempty, then we can't do Tk, and there is no
26900 # point to doing Tcl.
26901 if test -z "${no_tk}"; then
26903 if test -f "$TKCONFIG" ; then
26921 # Ok, lets find the tcl source trees so we can use the headers
26922 # Warning: transition of version 9 to 10 will break this algorithm
26923 # because 10 sorts before 9. We also look for just tcl. We have to
26924 # be careful that we don't match stuff like tclX by accident.
26925 # the alternative search directory is involked by --with-tclinclude
26929 echo "$as_me:$LINENO: checking for Tcl private headers. dir=${configdir}" >&5
26930 echo $ECHO_N "checking for Tcl private headers. dir=${configdir}... $ECHO_C" >&6
26932 # Check whether --with-tclinclude or --without-tclinclude was given.
26933 if test "${with_tclinclude+set}" = set; then
26934 withval
="$with_tclinclude"
26935 with_tclinclude
=${withval}
26937 if test "${ac_cv_c_tclh+set}" = set; then
26938 echo $ECHO_N "(cached) $ECHO_C" >&6
26941 # first check to see if --with-tclinclude was specified
26942 if test x
"${with_tclinclude}" != x
; then
26943 if test -f ${with_tclinclude}/tclInt.h
; then
26944 ac_cv_c_tclh
=`(cd ${with_tclinclude}; pwd)`
26945 elif test -f ${with_tclinclude}/generic
/tclInt.h
; then
26946 ac_cv_c_tclh
=`(cd ${with_tclinclude}/generic; pwd)`
26948 { { echo "$as_me:$LINENO: error: ${with_tclinclude} directory doesn't contain private headers" >&5
26949 echo "$as_me: error: ${with_tclinclude} directory doesn't contain private headers" >&2;}
26950 { (exit 1); exit 1; }; }
26954 # next check if it came with Tcl configuration file
26955 if test x
"${ac_cv_c_tclconfig}" = x
; then
26956 if test -f $ac_cv_c_tclconfig/..
/generic
/tclInt.h
; then
26957 ac_cv_c_tclh
=`(cd $ac_cv_c_tclconfig/..; pwd)`
26961 # next check in private source directory
26963 # since ls returns lowest version numbers first, reverse its output
26964 if test x
"${ac_cv_c_tclh}" = x
; then
26967 `ls -dr ${srcdir}/../tcl[7-9]* 2>/dev/null` \
26968 ${srcdir}/..
/..
/tcl \
26969 `ls -dr ${srcdir}/../../tcl[7-9]* 2>/dev/null` \
26970 ${srcdir}/..
/..
/..
/tcl \
26971 `ls -dr ${srcdir}/../../../tcl[7-9]* 2>/dev/null ` ; do
26972 if test -f $i/generic
/tclInt.h
; then
26973 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
26978 # finally check in a few common install locations
26980 # since ls returns lowest version numbers first, reverse its output
26981 if test x
"${ac_cv_c_tclh}" = x
; then
26983 `ls -dr /usr/local/src/tcl[7-9]* 2>/dev/null` \
26984 `ls -dr /usr/local/lib/tcl[7-9]* 2>/dev/null` \
26985 /usr
/local
/src
/tcl \
26986 /usr
/local
/lib
/tcl \
26987 ${prefix}/include
; do
26988 if test -f $i/generic
/tclInt.h
; then
26989 ac_cv_c_tclh
=`(cd $i/generic; pwd)`
26994 # see if one is installed
26995 if test x
"${ac_cv_c_tclh}" = x
; then
26996 if test "${ac_cv_header_tclInt_h+set}" = set; then
26997 echo "$as_me:$LINENO: checking for tclInt.h" >&5
26998 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
26999 if test "${ac_cv_header_tclInt_h+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
27003 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
27005 # Is the header compilable?
27006 echo "$as_me:$LINENO: checking tclInt.h usability" >&5
27007 echo $ECHO_N "checking tclInt.h usability... $ECHO_C" >&6
27008 cat >conftest.
$ac_ext <<_ACEOF
27011 cat confdefs.h
>>conftest.
$ac_ext
27012 cat >>conftest.
$ac_ext <<_ACEOF
27013 /* end confdefs.h. */
27014 $ac_includes_default
27015 #include <tclInt.h>
27017 rm -f conftest.
$ac_objext
27018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27019 (eval $ac_compile) 2>conftest.er1
27021 grep -v '^ *+' conftest.er1
>conftest.err
27023 cat conftest.err
>&5
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); } &&
27026 { ac_try
='test -z "$ac_c_werror_flag"
27027 || test ! -s conftest.err'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; } &&
27033 { ac_try
='test -s conftest.$ac_objext'
27034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035 (eval $ac_try) 2>&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); }; }; then
27039 ac_header_compiler
=yes
27041 echo "$as_me: failed program was:" >&5
27042 sed 's/^/| /' conftest.
$ac_ext >&5
27044 ac_header_compiler
=no
27046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27048 echo "${ECHO_T}$ac_header_compiler" >&6
27050 # Is the header present?
27051 echo "$as_me:$LINENO: checking tclInt.h presence" >&5
27052 echo $ECHO_N "checking tclInt.h presence... $ECHO_C" >&6
27053 cat >conftest.
$ac_ext <<_ACEOF
27056 cat confdefs.h
>>conftest.
$ac_ext
27057 cat >>conftest.
$ac_ext <<_ACEOF
27058 /* end confdefs.h. */
27059 #include <tclInt.h>
27061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27064 grep -v '^ *+' conftest.er1
>conftest.err
27066 cat conftest.err
>&5
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); } >/dev
/null
; then
27069 if test -s conftest.err
; then
27070 ac_cpp_err
=$ac_c_preproc_warn_flag
27071 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27078 if test -z "$ac_cpp_err"; then
27079 ac_header_preproc
=yes
27081 echo "$as_me: failed program was:" >&5
27082 sed 's/^/| /' conftest.
$ac_ext >&5
27084 ac_header_preproc
=no
27086 rm -f conftest.err conftest.
$ac_ext
27087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27088 echo "${ECHO_T}$ac_header_preproc" >&6
27090 # So? What about this header?
27091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27093 { echo "$as_me:$LINENO: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&5
27094 echo "$as_me: WARNING: tclInt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27095 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the compiler's result" >&5
27096 echo "$as_me: WARNING: tclInt.h: proceeding with the compiler's result" >&2;}
27097 ac_header_preproc
=yes
27100 { echo "$as_me:$LINENO: WARNING: tclInt.h: present but cannot be compiled" >&5
27101 echo "$as_me: WARNING: tclInt.h: present but cannot be compiled" >&2;}
27102 { echo "$as_me:$LINENO: WARNING: tclInt.h: check for missing prerequisite headers?" >&5
27103 echo "$as_me: WARNING: tclInt.h: check for missing prerequisite headers?" >&2;}
27104 { echo "$as_me:$LINENO: WARNING: tclInt.h: see the Autoconf documentation" >&5
27105 echo "$as_me: WARNING: tclInt.h: see the Autoconf documentation" >&2;}
27106 { echo "$as_me:$LINENO: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&5
27107 echo "$as_me: WARNING: tclInt.h: section \"Present But Cannot Be Compiled\"" >&2;}
27108 { echo "$as_me:$LINENO: WARNING: tclInt.h: proceeding with the preprocessor's result" >&5
27109 echo "$as_me: WARNING: tclInt.h: proceeding with the preprocessor's result" >&2;}
27110 { echo "$as_me:$LINENO: WARNING: tclInt.h: in the future, the compiler will take precedence" >&5
27111 echo "$as_me: WARNING: tclInt.h: in the future, the compiler will take precedence" >&2;}
27114 ## ------------------------------------------ ##
27115 ## Report this to the AC_PACKAGE_NAME lists. ##
27116 ## ------------------------------------------ ##
27119 sed "s/^/$as_me: WARNING: /" >&2
27122 echo "$as_me:$LINENO: checking for tclInt.h" >&5
27123 echo $ECHO_N "checking for tclInt.h... $ECHO_C" >&6
27124 if test "${ac_cv_header_tclInt_h+set}" = set; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27127 ac_cv_header_tclInt_h
=$ac_header_preproc
27129 echo "$as_me:$LINENO: result: $ac_cv_header_tclInt_h" >&5
27130 echo "${ECHO_T}$ac_cv_header_tclInt_h" >&6
27133 if test $ac_cv_header_tclInt_h = yes; then
27134 ac_cv_c_tclh
=installed
27144 if test x
"${ac_cv_c_tclh}" = x
; then
27145 TCLHDIR
="# no Tcl private headers found"
27146 { { echo "$as_me:$LINENO: error: Can't find Tcl private headers" >&5
27147 echo "$as_me: error: Can't find Tcl private headers" >&2;}
27148 { (exit 1); exit 1; }; }
27150 if test x
"${ac_cv_c_tclh}" != x
; then
27152 if test x
"${ac_cv_c_tclh}" = x
"installed" ; then
27153 echo "$as_me:$LINENO: result: is installed" >&5
27154 echo "${ECHO_T}is installed" >&6
27157 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tclh}" >&5
27158 echo "${ECHO_T}found in ${ac_cv_c_tclh}" >&6
27159 # this hack is cause the TCLHDIR won't print if there is a "-I" in it.
27160 TCLHDIR
="-I${ac_cv_c_tclh}"
27168 # Ok, lets find the tk source trees so we can use the headers
27169 # If the directory (presumably symlink) named "tk" exists, use that one
27170 # in preference to any others. Same logic is used when choosing library
27171 # and again with Tcl. The search order is the best place to look first, then in
27172 # decreasing significance. The loop breaks if the trigger file is found.
27173 # Note the gross little conversion here of srcdir by cd'ing to the found
27174 # directory. This converts the path from a relative to an absolute, so
27175 # recursive cache variables for the path will work right. We check all
27176 # the possible paths in one loop rather than many seperate loops to speed
27178 # the alternative search directory is involked by --with-tkinclude
27181 echo "$as_me:$LINENO: checking for Tk private headers" >&5
27182 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
27184 # Check whether --with-tkinclude or --without-tkinclude was given.
27185 if test "${with_tkinclude+set}" = set; then
27186 withval
="$with_tkinclude"
27187 with_tkinclude
=${withval}
27189 if test "${ac_cv_c_tkh+set}" = set; then
27190 echo $ECHO_N "(cached) $ECHO_C" >&6
27193 # first check to see if --with-tkinclude was specified
27194 if test x
"${with_tkinclude}" != x
; then
27195 if test -f ${with_tkinclude}/tk.h
; then
27196 ac_cv_c_tkh
=`(cd ${with_tkinclude}; pwd)`
27197 elif test -f ${with_tkinclude}/generic
/tk.h
; then
27198 ac_cv_c_tkh
=`(cd ${with_tkinclude}/generic; pwd)`
27200 { { echo "$as_me:$LINENO: error: ${with_tkinclude} directory doesn't contain private headers" >&5
27201 echo "$as_me: error: ${with_tkinclude} directory doesn't contain private headers" >&2;}
27202 { (exit 1); exit 1; }; }
27206 # next check if it came with Tk configuration file
27207 if test x
"${ac_cv_c_tkconfig}" = x
; then
27208 if test -f $ac_cv_c_tkconfig/..
/generic
/tk.h
; then
27209 ac_cv_c_tkh
=`(cd $ac_cv_c_tkconfig/..; pwd)`
27213 # next check in private source directory
27215 # since ls returns lowest version numbers first, reverse its output
27216 if test x
"${ac_cv_c_tkh}" = x
; then
27219 `ls -dr ${srcdir}/../tk[4-9]* 2>/dev/null` \
27220 ${srcdir}/..
/..
/tk \
27221 `ls -dr ${srcdir}/../../tk[4-9]* 2>/dev/null` \
27222 ${srcdir}/..
/..
/..
/tk \
27223 `ls -dr ${srcdir}/../../../tk[4-9]* 2>/dev/null ` ; do
27224 if test -f $i/generic
/tk.h
; then
27225 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
27230 # finally check in a few common install locations
27232 # since ls returns lowest version numbers first, reverse its output
27233 if test x
"${ac_cv_c_tkh}" = x
; then
27235 `ls -dr /usr/local/src/tk[4-9]* 2>/dev/null` \
27236 `ls -dr /usr/local/lib/tk[4-9]* 2>/dev/null` \
27237 /usr
/local
/src
/tk \
27238 /usr
/local
/lib
/tk \
27239 ${prefix}/include
; do
27240 if test -f $i/generic
/tk.h
; then
27241 ac_cv_c_tkh
=`(cd $i/generic; pwd)`
27246 # see if one is installed
27247 if test x
"${ac_cv_c_tkh}" = x
; then
27248 if test "${ac_cv_header_tk_h+set}" = set; then
27249 echo "$as_me:$LINENO: checking for tk.h" >&5
27250 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
27251 if test "${ac_cv_header_tk_h+set}" = set; then
27252 echo $ECHO_N "(cached) $ECHO_C" >&6
27254 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
27255 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
27257 # Is the header compilable?
27258 echo "$as_me:$LINENO: checking tk.h usability" >&5
27259 echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
27260 cat >conftest.
$ac_ext <<_ACEOF
27263 cat confdefs.h
>>conftest.
$ac_ext
27264 cat >>conftest.
$ac_ext <<_ACEOF
27265 /* end confdefs.h. */
27266 $ac_includes_default
27269 rm -f conftest.
$ac_objext
27270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27271 (eval $ac_compile) 2>conftest.er1
27273 grep -v '^ *+' conftest.er1
>conftest.err
27275 cat conftest.err
>&5
27276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277 (exit $ac_status); } &&
27278 { ac_try
='test -z "$ac_c_werror_flag"
27279 || test ! -s conftest.err'
27280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27281 (eval $ac_try) 2>&5
27283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284 (exit $ac_status); }; } &&
27285 { ac_try
='test -s conftest.$ac_objext'
27286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27287 (eval $ac_try) 2>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); }; }; then
27291 ac_header_compiler
=yes
27293 echo "$as_me: failed program was:" >&5
27294 sed 's/^/| /' conftest.
$ac_ext >&5
27296 ac_header_compiler
=no
27298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27300 echo "${ECHO_T}$ac_header_compiler" >&6
27302 # Is the header present?
27303 echo "$as_me:$LINENO: checking tk.h presence" >&5
27304 echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
27305 cat >conftest.
$ac_ext <<_ACEOF
27308 cat confdefs.h
>>conftest.
$ac_ext
27309 cat >>conftest.
$ac_ext <<_ACEOF
27310 /* end confdefs.h. */
27313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27314 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27316 grep -v '^ *+' conftest.er1
>conftest.err
27318 cat conftest.err
>&5
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); } >/dev
/null
; then
27321 if test -s conftest.err
; then
27322 ac_cpp_err
=$ac_c_preproc_warn_flag
27323 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27330 if test -z "$ac_cpp_err"; then
27331 ac_header_preproc
=yes
27333 echo "$as_me: failed program was:" >&5
27334 sed 's/^/| /' conftest.
$ac_ext >&5
27336 ac_header_preproc
=no
27338 rm -f conftest.err conftest.
$ac_ext
27339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27340 echo "${ECHO_T}$ac_header_preproc" >&6
27342 # So? What about this header?
27343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27345 { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&5
27346 echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27347 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the compiler's result" >&5
27348 echo "$as_me: WARNING: tk.h: proceeding with the compiler's result" >&2;}
27349 ac_header_preproc
=yes
27352 { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
27353 echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
27354 { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite headers?" >&5
27355 echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
27356 { echo "$as_me:$LINENO: WARNING: tk.h: see the Autoconf documentation" >&5
27357 echo "$as_me: WARNING: tk.h: see the Autoconf documentation" >&2;}
27358 { echo "$as_me:$LINENO: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&5
27359 echo "$as_me: WARNING: tk.h: section \"Present But Cannot Be Compiled\"" >&2;}
27360 { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's result" >&5
27361 echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result" >&2;}
27362 { echo "$as_me:$LINENO: WARNING: tk.h: in the future, the compiler will take precedence" >&5
27363 echo "$as_me: WARNING: tk.h: in the future, the compiler will take precedence" >&2;}
27366 ## ------------------------------------------ ##
27367 ## Report this to the AC_PACKAGE_NAME lists. ##
27368 ## ------------------------------------------ ##
27371 sed "s/^/$as_me: WARNING: /" >&2
27374 echo "$as_me:$LINENO: checking for tk.h" >&5
27375 echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
27376 if test "${ac_cv_header_tk_h+set}" = set; then
27377 echo $ECHO_N "(cached) $ECHO_C" >&6
27379 ac_cv_header_tk_h
=$ac_header_preproc
27381 echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
27382 echo "${ECHO_T}$ac_cv_header_tk_h" >&6
27385 if test $ac_cv_header_tk_h = yes; then
27386 ac_cv_c_tkh
=installed
27396 if test x
"${ac_cv_c_tkh}" != x
; then
27398 if test x
"${ac_cv_c_tkh}" = x
"installed" ; then
27399 echo "$as_me:$LINENO: result: is installed" >&5
27400 echo "${ECHO_T}is installed" >&6
27403 echo "$as_me:$LINENO: result: found in ${ac_cv_c_tkh}" >&5
27404 echo "${ECHO_T}found in ${ac_cv_c_tkh}" >&6
27405 # this hack is cause the TKHDIR won't print if there is a "-I" in it.
27406 TKHDIR
="-I${ac_cv_c_tkh}"
27409 TKHDIR
="# no Tk directory found"
27410 { echo "$as_me:$LINENO: WARNING: Can't find Tk private headers" >&5
27411 echo "$as_me: WARNING: Can't find Tk private headers" >&2;}
27418 echo "$as_me:$LINENO: checking for Itcl private headers. srcdir=${srcdir}" >&5
27419 echo $ECHO_N "checking for Itcl private headers. srcdir=${srcdir}... $ECHO_C" >&6
27420 if test x
"${ac_cv_c_itclh}" = x
; then
27421 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itcl
; do
27422 if test -f $i/generic
/itcl.h
; then
27423 ac_cv_c_itclh
=`(cd $i/generic; pwd)`
27428 if test x
"${ac_cv_c_itclh}" = x
; then
27429 ITCLHDIR
="# no Itcl private headers found"
27430 { { echo "$as_me:$LINENO: error: Can't find Itcl private headers" >&5
27431 echo "$as_me: error: Can't find Itcl private headers" >&2;}
27432 { (exit 1); exit 1; }; }
27434 if test x
"${ac_cv_c_itclh}" != x
; then
27435 ITCLHDIR
="-I${ac_cv_c_itclh}"
27437 # should always be here
27438 # ITCLLIB="../itcl/itcl/unix/libitcl.a"
27443 echo "$as_me:$LINENO: checking for Itk private headers. srcdir=${srcdir}" >&5
27444 echo $ECHO_N "checking for Itk private headers. srcdir=${srcdir}... $ECHO_C" >&6
27445 if test x
"${ac_cv_c_itkh}" = x
; then
27446 for i
in ${srcdir}/../itcl ${srcdir}/../../itcl ${srcdir}/../../../itcl ${srcdir}/..
/itcl
/itk
; do
27447 if test -f $i/generic
/itk.h
; then
27448 ac_cv_c_itkh
=`(cd $i/generic; pwd)`
27453 if test x
"${ac_cv_c_itkh}" = x
; then
27454 ITKHDIR
="# no Itk private headers found"
27455 { { echo "$as_me:$LINENO: error: Can't find Itk private headers" >&5
27456 echo "$as_me: error: Can't find Itk private headers" >&2;}
27457 { (exit 1); exit 1; }; }
27459 if test x
"${ac_cv_c_itkh}" != x
; then
27460 ITKHDIR
="-I${ac_cv_c_itkh}"
27462 # should always be here
27463 # ITKLIB="../itcl/itk/unix/libitk.a"
27469 # now look for Tk library stuff
27471 tkdir
="../tk/${configdir}/"
27473 TK_DEPS
="${tkdir}${TK_LIB_FILE}"
27475 # now look for Itcl library stuff
27479 # Ok, lets find the itcl configuration
27480 # First, look for one uninstalled.
27481 # the alternative search directory is invoked by --with-itclconfig
27484 if test x
"${no_itcl}" = x
; then
27485 # we reset no_itcl in case something fails here
27488 # Check whether --with-itclconfig or --without-itclconfig was given.
27489 if test "${with_itclconfig+set}" = set; then
27490 withval
="$with_itclconfig"
27491 with_itclconfig
=${withval}
27493 echo "$as_me:$LINENO: checking for Itcl configuration" >&5
27494 echo $ECHO_N "checking for Itcl configuration... $ECHO_C" >&6
27495 if test "${ac_cv_c_itclconfig+set}" = set; then
27496 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 # First check to see if --with-itclconfig was specified.
27501 if test x
"${with_itclconfig}" != x
; then
27502 if test -f "${with_itclconfig}/itclConfig.sh" ; then
27503 ac_cv_c_itclconfig
=`(cd ${with_itclconfig}; pwd)`
27505 { { echo "$as_me:$LINENO: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&5
27506 echo "$as_me: error: ${with_itclconfig} directory doesn't contain itclConfig.sh" >&2;}
27507 { (exit 1); exit 1; }; }
27511 # then check for a private Itcl library
27512 if test x
"${ac_cv_c_itclconfig}" = x
; then
27515 `ls -dr ../itcl[4-9]*/itcl 2>/dev/null` \
27517 `ls -dr ../../itcl[4-9]*/itcl 2>/dev/null` \
27519 `ls -dr ../../../itcl[4-9]*/itcl 2>/dev/null` ; do
27520 if test -f "$i/itclConfig.sh" ; then
27521 ac_cv_c_itclconfig
=`(cd $i; pwd)`
27526 # check in a few common install locations
27527 if test x
"${ac_cv_c_itclconfig}" = x
; then
27528 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
27529 if test -f "$i/itclConfig.sh" ; then
27530 ac_cv_c_itclconfig
=`(cd $i; pwd)`
27535 # check in a few other private locations
27536 if test x
"${ac_cv_c_itclconfig}" = x
; then
27538 ${srcdir}/..
/itcl
/itcl \
27539 `ls -dr ${srcdir}/../itcl[4-9]*/itcl 2>/dev/null` ; do
27540 if test -f "$i/itclConfig.sh" ; then
27541 ac_cv_c_itclconfig
=`(cd $i; pwd)`
27549 if test x
"${ac_cv_c_itclconfig}" = x
; then
27550 ITCLCONFIG
="# no Itcl configs found"
27551 { echo "$as_me:$LINENO: WARNING: Can't find Itcl configuration definitions" >&5
27552 echo "$as_me: WARNING: Can't find Itcl configuration definitions" >&2;}
27555 ITCLCONFIG
=${ac_cv_c_itclconfig}/itclConfig.sh
27556 echo "$as_me:$LINENO: result: found $ITCLCONFIG" >&5
27557 echo "${ECHO_T}found $ITCLCONFIG" >&6
27561 if test -z "${no_itcl}"; then
27563 if test -f "$ITCLCONFIG" ; then
27578 ITCLLIB
="${ITCL_BUILD_LIB_SPEC}"
27579 ITCL_DEPS
="${ITCL_LIB_FULL_PATH}"
27583 # now look for Itk library stuff
27586 # Ok, lets find the itk configuration
27587 # First, look for one uninstalled.
27588 # the alternative search directory is invoked by --with-itkconfig
27591 if test x
"${no_itk}" = x
; then
27592 # we reset no_itk in case something fails here
27595 # Check whether --with-itkconfig or --without-itkconfig was given.
27596 if test "${with_itkconfig+set}" = set; then
27597 withval
="$with_itkconfig"
27598 with_itkconfig
=${withval}
27600 echo "$as_me:$LINENO: checking for Itk configuration" >&5
27601 echo $ECHO_N "checking for Itk configuration... $ECHO_C" >&6
27602 if test "${ac_cv_c_itkconfig+set}" = set; then
27603 echo $ECHO_N "(cached) $ECHO_C" >&6
27607 # First check to see if --with-itkconfig was specified.
27608 if test x
"${with_itkconfig}" != x
; then
27609 if test -f "${with_itkconfig}/itkConfig.sh" ; then
27610 ac_cv_c_itkconfig
=`(cd ${with_itkconfig}; pwd)`
27612 { { echo "$as_me:$LINENO: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&5
27613 echo "$as_me: error: ${with_itkconfig} directory doesn't contain itkConfig.sh" >&2;}
27614 { (exit 1); exit 1; }; }
27618 # then check for a private Itk library
27619 if test x
"${ac_cv_c_itkconfig}" = x
; then
27622 `ls -dr ../itcl[4-9]*/itk 2>/dev/null` \
27624 `ls -dr ../../itcl[4-9]*/itk 2>/dev/null` \
27626 `ls -dr ../../../itcl[4-9]*/itk 2>/dev/null` ; do
27627 if test -f "$i/itkConfig.sh" ; then
27628 ac_cv_c_itkconfig
=`(cd $i; pwd)`
27633 # check in a few common install locations
27634 if test x
"${ac_cv_c_itkconfig}" = x
; then
27635 for i
in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
27636 if test -f "$i/itkConfig.sh" ; then
27637 ac_cv_c_itkconfig
=`(cd $i; pwd)`
27642 # check in a few other private locations
27643 if test x
"${ac_cv_c_itkconfig}" = x
; then
27645 ${srcdir}/..
/itcl
/itk \
27646 `ls -dr ${srcdir}/../itcl[4-9]*/itk 2>/dev/null` ; do
27647 if test -f "$i/itkConfig.sh" ; then
27648 ac_cv_c_itkconfig
=`(cd $i; pwd)`
27656 if test x
"${ac_cv_c_itkconfig}" = x
; then
27657 ITKCONFIG
="# no Itk configs found"
27658 { echo "$as_me:$LINENO: WARNING: Can't find Itk configuration definitions" >&5
27659 echo "$as_me: WARNING: Can't find Itk configuration definitions" >&2;}
27662 ITKCONFIG
=${ac_cv_c_itkconfig}/itkConfig.sh
27663 echo "$as_me:$LINENO: result: found $ITKCONFIG" >&5
27664 echo "${ECHO_T}found $ITKCONFIG" >&6
27669 if test -z "${no_itcl}"; then
27671 if test -f "$ITKCONFIG" ; then
27686 ITKLIB
="${ITK_BUILD_LIB_SPEC}"
27687 ITK_DEPS
="${ITK_LIB_FULL_PATH}"
27690 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
27692 # Include some libraries that Tcl and Tk want.
27693 TCL_LIBS
='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
27694 # Yes, the ordering seems wrong here. But it isn't.
27695 # TK_LIBS is the list of libraries that need to be linked
27696 # after Tcl/Tk. Note that this isn't put into LIBS. If it
27697 # were in LIBS then any link tests after this point would
27698 # try to include things like `$(LIBGUI)', which wouldn't work.
27699 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
27701 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
27702 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
27703 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
27704 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
27705 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
27706 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
27707 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
27709 if test x
$gdb_cv_os_cygwin = xyes
; then
27710 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
27711 WIN32LDAPP
="-Wl,--subsystem,console"
27712 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
27719 subdirs
="$subdirs gdbtk"
27736 echo "$as_me:$LINENO: checking for X" >&5
27737 echo $ECHO_N "checking for X... $ECHO_C" >&6
27740 # Check whether --with-x or --without-x was given.
27741 if test "${with_x+set}" = set; then
27745 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27746 if test "x$with_x" = xno
; then
27747 # The user explicitly disabled X.
27750 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27751 # Both variables are already set.
27754 if test "${ac_cv_have_x+set}" = set; then
27755 echo $ECHO_N "(cached) $ECHO_C" >&6
27757 # One or both of the vars are not set, and there is no cached value.
27758 ac_x_includes
=no ac_x_libraries
=no
27759 rm -fr conftest.dir
27760 if mkdir conftest.dir
; then
27762 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27763 cat >Imakefile
<<'_ACEOF'
27765 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27767 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27768 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27769 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27770 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27771 for ac_extension
in a so sl
; do
27772 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27773 test -f $ac_im_libdir/libX11.
$ac_extension; then
27774 ac_im_usrlibdir
=$ac_im_libdir; break
27777 # Screen out bogus values from the imake configuration. They are
27778 # bogus both because they are the default anyway, and because
27779 # using them would break gcc on systems where it needs fixed includes.
27780 case $ac_im_incroot in
27782 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27784 case $ac_im_usrlibdir in
27785 /usr
/lib |
/lib
) ;;
27786 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27790 rm -fr conftest.dir
27793 # Standard set of common directories for X headers.
27794 # Check X11 before X11Rn because it is often a symlink to the current release.
27806 /usr/local/X11/include
27807 /usr/local/X11R6/include
27808 /usr/local/X11R5/include
27809 /usr/local/X11R4/include
27811 /usr/local/include/X11
27812 /usr/local/include/X11R6
27813 /usr/local/include/X11R5
27814 /usr/local/include/X11R4
27818 /usr/XFree86/include/X11
27822 /usr/unsupported/include
27823 /usr/athena/include
27824 /usr/local/x11r5/include
27825 /usr/lpp/Xamples/include
27827 /usr/openwin/include
27828 /usr/openwin/share/include'
27830 if test "$ac_x_includes" = no
; then
27831 # Guess where to find include files, by looking for Intrinsic.h.
27832 # First, try using that file with no special directory specified.
27833 cat >conftest.
$ac_ext <<_ACEOF
27836 cat confdefs.h
>>conftest.
$ac_ext
27837 cat >>conftest.
$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27839 #include <X11/Intrinsic.h>
27841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27842 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27844 grep -v '^ *+' conftest.er1
>conftest.err
27846 cat conftest.err
>&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } >/dev
/null
; then
27849 if test -s conftest.err
; then
27850 ac_cpp_err
=$ac_c_preproc_warn_flag
27851 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27858 if test -z "$ac_cpp_err"; then
27859 # We can compile using X headers with no special include directory.
27862 echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.
$ac_ext >&5
27865 for ac_dir
in $ac_x_header_dirs; do
27866 if test -r "$ac_dir/X11/Intrinsic.h"; then
27867 ac_x_includes
=$ac_dir
27872 rm -f conftest.err conftest.
$ac_ext
27873 fi # $ac_x_includes = no
27875 if test "$ac_x_libraries" = no
; then
27876 # Check for the libraries.
27877 # See if we find them without any special options.
27878 # Don't add to $LIBS permanently.
27881 cat >conftest.
$ac_ext <<_ACEOF
27884 cat confdefs.h
>>conftest.
$ac_ext
27885 cat >>conftest.
$ac_ext <<_ACEOF
27886 /* end confdefs.h. */
27887 #include <X11/Intrinsic.h>
27896 rm -f conftest.
$ac_objext conftest
$ac_exeext
27897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27898 (eval $ac_link) 2>conftest.er1
27900 grep -v '^ *+' conftest.er1
>conftest.err
27902 cat conftest.err
>&5
27903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904 (exit $ac_status); } &&
27905 { ac_try
='test -z "$ac_c_werror_flag"
27906 || test ! -s conftest.err'
27907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27908 (eval $ac_try) 2>&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); }; } &&
27912 { ac_try
='test -s conftest$ac_exeext'
27913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27914 (eval $ac_try) 2>&5
27916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917 (exit $ac_status); }; }; then
27919 # We can link X programs with no special library path.
27922 echo "$as_me: failed program was:" >&5
27923 sed 's/^/| /' conftest.
$ac_ext >&5
27926 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27928 # Don't even attempt the hair of trying to link an X program!
27929 for ac_extension
in a so sl
; do
27930 if test -r $ac_dir/libXt.
$ac_extension; then
27931 ac_x_libraries
=$ac_dir
27937 rm -f conftest.err conftest.
$ac_objext \
27938 conftest
$ac_exeext conftest.
$ac_ext
27939 fi # $ac_x_libraries = no
27941 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
27942 # Didn't find X anywhere. Cache the known absence of X.
27943 ac_cv_have_x
="have_x=no"
27945 # Record where we found X for the cache.
27946 ac_cv_have_x
="have_x=yes \
27947 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27952 eval "$ac_cv_have_x"
27955 if test "$have_x" != yes; then
27956 echo "$as_me:$LINENO: result: $have_x" >&5
27957 echo "${ECHO_T}$have_x" >&6
27960 # If each of the values was on the command line, it overrides each guess.
27961 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27962 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27963 # Update the cache value to reflect the command line values.
27964 ac_cv_have_x
="have_x=yes \
27965 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27966 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27967 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27971 # Check whether we should enable the TUI, but only do so if we really
27973 if test x
"$enable_tui" = xyes
; then
27974 if test -d $srcdir/tui
; then
27975 if test "$ac_cv_search_waddstr" != no
; then
27976 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
27977 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
27978 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
27979 CONFIG_INITS
="$CONFIG_INITS \$(SUBDIR_TUI_INITS)"
27980 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
27981 CONFIG_ALL
="${CONFIG_ALL} all-tui"
27982 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
27983 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
27984 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
27986 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
27987 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
27992 # Unlike the sim directory, whether a simulator is linked is controlled by
27993 # presence of a gdb_sim definition in the target configure.tgt entry.
27994 # This code just checks for a few cases where we'd like to ignore those
27995 # definitions, even when they're present in the '.mt' file. These cases
27996 # are when --disable-sim is specified, or if the simulator directory is
27997 # not part of the source tree.
27999 # Check whether --enable-sim or --disable-sim was given.
28000 if test "${enable_sim+set}" = set; then
28001 enableval
="$enable_sim"
28002 echo "enable_sim = $enable_sim";
28003 echo "enableval = ${enableval}";
28004 case "${enableval}" in
28005 yes) ignore_sim
=false
;;
28006 no
) ignore_sim
=true
;;
28007 *) ignore_sim
=false
;;
28013 if test ! -d "${srcdir}/../sim"; then
28019 if test "${ignore_sim}" = "false"; then
28020 if test x
"${gdb_sim}" != x
; then
28022 SIM_OBS
="remote-sim.o"
28024 cat >>confdefs.h
<<\_ACEOF
28044 # List of host floatformats.
28046 cat >>confdefs.h
<<_ACEOF
28047 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
28051 cat >>confdefs.h
<<_ACEOF
28052 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
28056 cat >>confdefs.h
<<_ACEOF
28057 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
28061 # target_subdir is used by the testsuite to find the target libraries.
28063 if test "${host}" != "${target}"; then
28064 target_subdir
="${target_alias}/"
28069 if test "${gdb_native}" = "yes"; then
28070 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
28071 if test ! -f ${host_makefile_frag}; then
28072 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
28073 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
28074 { (exit 1); exit 1; }; }
28076 frags
="$frags $host_makefile_frag"
28078 host_makefile_frag
=/dev
/null
28084 if test "${gdb_native}" = "yes"; then
28085 # We pick this up from the host configuration file (.mh) because we
28086 # do not have a native configuration Makefile fragment.
28087 nativefile
=`sed -n '
28088 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
28089 ' ${host_makefile_frag}`
28093 if test x
"${gdb_osabi}" != x
; then
28095 cat >>confdefs.h
<<_ACEOF
28096 #define GDB_OSABI_DEFAULT $gdb_osabi
28101 # Enable multi-ice-gdb-server.
28102 # Check whether --enable-multi-ice or --disable-multi-ice was given.
28103 if test "${enable_multi_ice+set}" = set; then
28104 enableval
="$enable_multi_ice"
28108 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
28109 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
28110 { (exit 1); exit 1; }; } ;;
28113 if test "x$enable_multi_ice" = xyes
; then
28116 subdirs
="$subdirs multi-ice"
28120 # We only build gdbserver automatically in a native configuration.
28121 if test "$gdb_native" = "yes"; then
28122 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
28123 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
28124 if test "x$build_gdbserver" = xyes
; then
28125 echo "$as_me:$LINENO: result: yes" >&5
28126 echo "${ECHO_T}yes" >&6
28129 subdirs
="$subdirs gdbserver"
28132 echo "$as_me:$LINENO: result: no" >&5
28133 echo "${ECHO_T}no" >&6
28137 # If nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
28138 # to an empty version.
28145 if test "${nativefile}" != ""; then
28147 case "${nativefile}" in
28148 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
28149 * ) GDB_NM_FILE
="${nativefile}"
28151 files
="${files} ${GDB_NM_FILE}"
28152 links
="${links} nm.h"
28154 cat >>confdefs.h
<<_ACEOF
28155 #define GDB_NM_FILE "${GDB_NM_FILE}"
28161 ac_sources
="$files"
28163 while test -n "$ac_sources"; do
28164 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
28165 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
28166 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
28168 ac_config_links
="$ac_config_links $ac_config_links_1"
28175 cat >>confdefs.h
<<\_ACEOF
28176 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
28183 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28184 if test "${with_libiconv_prefix+set}" = set; then
28185 withval
="$with_libiconv_prefix"
28187 for dir
in `echo "$withval" | tr : ' '`; do
28188 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
28189 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
28194 echo "$as_me:$LINENO: checking for iconv" >&5
28195 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
28196 if test "${am_cv_func_iconv+set}" = set; then
28197 echo $ECHO_N "(cached) $ECHO_C" >&6
28200 am_cv_func_iconv
="no, consider installing GNU libiconv"
28202 cat >conftest.
$ac_ext <<_ACEOF
28205 cat confdefs.h
>>conftest.
$ac_ext
28206 cat >>conftest.
$ac_ext <<_ACEOF
28207 /* end confdefs.h. */
28208 #include <stdlib.h>
28213 iconv_t cd = iconv_open("","");
28214 iconv(cd,NULL,NULL,NULL,NULL);
28220 rm -f conftest.
$ac_objext conftest
$ac_exeext
28221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28222 (eval $ac_link) 2>conftest.er1
28224 grep -v '^ *+' conftest.er1
>conftest.err
28226 cat conftest.err
>&5
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); } &&
28229 { ac_try
='test -z "$ac_c_werror_flag"
28230 || test ! -s conftest.err'
28231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28232 (eval $ac_try) 2>&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); }; } &&
28236 { ac_try
='test -s conftest$ac_exeext'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; }; then
28242 am_cv_func_iconv
=yes
28244 echo "$as_me: failed program was:" >&5
28245 sed 's/^/| /' conftest.
$ac_ext >&5
28248 rm -f conftest.err conftest.
$ac_objext \
28249 conftest
$ac_exeext conftest.
$ac_ext
28250 if test "$am_cv_func_iconv" != yes; then
28251 am_save_LIBS
="$LIBS"
28252 LIBS
="$LIBS -liconv"
28253 cat >conftest.
$ac_ext <<_ACEOF
28256 cat confdefs.h
>>conftest.
$ac_ext
28257 cat >>conftest.
$ac_ext <<_ACEOF
28258 /* end confdefs.h. */
28259 #include <stdlib.h>
28264 iconv_t cd = iconv_open("","");
28265 iconv(cd,NULL,NULL,NULL,NULL);
28271 rm -f conftest.
$ac_objext conftest
$ac_exeext
28272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28273 (eval $ac_link) 2>conftest.er1
28275 grep -v '^ *+' conftest.er1
>conftest.err
28277 cat conftest.err
>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); } &&
28280 { ac_try
='test -z "$ac_c_werror_flag"
28281 || test ! -s conftest.err'
28282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28283 (eval $ac_try) 2>&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); }; } &&
28287 { ac_try
='test -s conftest$ac_exeext'
28288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28289 (eval $ac_try) 2>&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); }; }; then
28293 am_cv_lib_iconv
=yes
28294 am_cv_func_iconv
=yes
28296 echo "$as_me: failed program was:" >&5
28297 sed 's/^/| /' conftest.
$ac_ext >&5
28300 rm -f conftest.err conftest.
$ac_objext \
28301 conftest
$ac_exeext conftest.
$ac_ext
28302 LIBS
="$am_save_LIBS"
28306 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
28307 echo "${ECHO_T}$am_cv_func_iconv" >&6
28308 if test "$am_cv_func_iconv" = yes; then
28310 cat >>confdefs.h
<<\_ACEOF
28311 #define HAVE_ICONV 1
28314 echo "$as_me:$LINENO: checking for iconv declaration" >&5
28315 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
28316 if test "${am_cv_proto_iconv+set}" = set; then
28317 echo $ECHO_N "(cached) $ECHO_C" >&6
28320 cat >conftest.
$ac_ext <<_ACEOF
28323 cat confdefs.h
>>conftest.
$ac_ext
28324 cat >>conftest.
$ac_ext <<_ACEOF
28325 /* end confdefs.h. */
28327 #include <stdlib.h>
28333 #if defined(__STDC__) || defined(__cplusplus)
28334 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28347 rm -f conftest.
$ac_objext
28348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28349 (eval $ac_compile) 2>conftest.er1
28351 grep -v '^ *+' conftest.er1
>conftest.err
28353 cat conftest.err
>&5
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); } &&
28356 { ac_try
='test -z "$ac_c_werror_flag"
28357 || test ! -s conftest.err'
28358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28359 (eval $ac_try) 2>&5
28361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28362 (exit $ac_status); }; } &&
28363 { ac_try
='test -s conftest.$ac_objext'
28364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28365 (eval $ac_try) 2>&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); }; }; then
28369 am_cv_proto_iconv_arg1
=""
28371 echo "$as_me: failed program was:" >&5
28372 sed 's/^/| /' conftest.
$ac_ext >&5
28374 am_cv_proto_iconv_arg1
="const"
28376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28377 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);"
28380 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28381 echo "$as_me:$LINENO: result: ${ac_t:-
28382 }$am_cv_proto_iconv" >&5
28383 echo "${ECHO_T}${ac_t:-
28384 }$am_cv_proto_iconv" >&6
28386 cat >>confdefs.h
<<_ACEOF
28387 #define ICONV_CONST $am_cv_proto_iconv_arg1
28392 if test "$am_cv_lib_iconv" = yes; then
28398 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in gnulib/Makefile"
28399 ac_config_commands
="$ac_config_commands default"
28400 cat >confcache
<<\_ACEOF
28401 # This file is a shell script that caches the results of configure
28402 # tests run on this system so they can be shared between configure
28403 # scripts and configure runs, see configure's option --config-cache.
28404 # It is not useful on other systems. If it contains results you don't
28405 # want to keep, you may remove or edit it.
28407 # config.status only pays attention to the cache file if you give it
28408 # the --recheck option to rerun configure.
28410 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28411 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28412 # following values.
28416 # The following way of writing the cache mishandles newlines in values,
28417 # but we know of no workaround that is simple, portable, and efficient.
28418 # So, don't put newlines in cache variables' values.
28419 # Ultrix sh set writes to stderr and can't be redirected directly,
28420 # and sets the high bit in the cache file unless we assign to the vars.
28423 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28425 # `set' does not quote correctly, so add quotes (double-quote
28426 # substitution turns \\\\ into \\, and sed turns \\ into \).
28429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28432 # `set' quotes correctly as required by POSIX, so do not add quotes.
28434 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28441 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28443 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28445 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28446 if test -w $cache_file; then
28447 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28448 cat confcache
>$cache_file
28450 echo "not updating unwritable cache $cache_file"
28455 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
28456 # Let make expand exec_prefix.
28457 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
28459 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28460 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28461 # trailing colons and then remove the whole line if VPATH becomes empty
28462 # (actually we leave an empty line to preserve line numbers).
28463 if test "x$srcdir" = x.
; then
28464 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
28465 s/:*\$(srcdir):*/:/;
28466 s/:*\${srcdir}:*/:/;
28468 s/^\([^=]*=[ ]*\):*/\1/;
28474 DEFS
=-DHAVE_CONFIG_H
28478 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
28479 # 1. Remove the extension, and $U if already installed.
28480 ac_i
=`echo "$ac_i" |
28481 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28483 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
28484 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
28486 LIBOBJS
=$ac_libobjs
28488 LTLIBOBJS
=$ac_ltlibobjs
28491 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28492 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28493 Usually this means the macro was only invoked conditionally." >&5
28494 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28495 Usually this means the macro was only invoked conditionally." >&2;}
28496 { (exit 1); exit 1; }; }
28498 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
28499 { { echo "$as_me:$LINENO: error: conditional \"GL_COND_LIBTOOL\" was never defined.
28500 Usually this means the macro was only invoked conditionally." >&5
28501 echo "$as_me: error: conditional \"GL_COND_LIBTOOL\" was never defined.
28502 Usually this means the macro was only invoked conditionally." >&2;}
28503 { (exit 1); exit 1; }; }
28508 if test -n "$gl_LIBOBJS"; then
28509 # Remove the extension.
28510 sed_drop_objext
='s/\.o$//;s/\.obj$//'
28511 for i
in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
28512 gl_libobjs
="$gl_libobjs $i.$ac_objext"
28513 gl_ltlibobjs
="$gl_ltlibobjs $i.lo"
28516 gl_LIBOBJS
=$gl_libobjs
28518 gl_LTLIBOBJS
=$gl_ltlibobjs
28524 if test -n "$gltests_LIBOBJS"; then
28525 # Remove the extension.
28526 sed_drop_objext
='s/\.o$//;s/\.obj$//'
28527 for i
in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
28528 gltests_libobjs
="$gltests_libobjs $i.$ac_objext"
28529 gltests_ltlibobjs
="$gltests_ltlibobjs $i.lo"
28532 gltests_LIBOBJS
=$gltests_libobjs
28534 gltests_LTLIBOBJS
=$gltests_ltlibobjs
28537 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28538 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28539 Usually this means the macro was only invoked conditionally." >&5
28540 echo "$as_me: error: conditional \"AMDEP\" was never defined.
28541 Usually this means the macro was only invoked conditionally." >&2;}
28542 { (exit 1); exit 1; }; }
28544 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28545 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28546 Usually this means the macro was only invoked conditionally." >&5
28547 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28548 Usually this means the macro was only invoked conditionally." >&2;}
28549 { (exit 1); exit 1; }; }
28552 : ${CONFIG_STATUS=./config.status}
28553 ac_clean_files_save
=$ac_clean_files
28554 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28555 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28556 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28557 cat >$CONFIG_STATUS <<_ACEOF
28559 # Generated by $as_me.
28560 # Run this file to recreate the current configuration.
28561 # Compiler output produced by configure, useful for debugging
28562 # configure, is in config.log if it exists.
28565 ac_cs_recheck=false
28567 SHELL=\${CONFIG_SHELL-$SHELL}
28570 cat >>$CONFIG_STATUS <<\_ACEOF
28571 ## --------------------- ##
28572 ## M4sh Initialization. ##
28573 ## --------------------- ##
28575 # Be Bourne compatible
28576 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28579 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28580 # is contrary to our usage. Disable this feature.
28581 alias -g '${1+"$@"}'='"$@"'
28582 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28585 DUALCASE
=1; export DUALCASE
# for MKS sh
28587 # Support unset when possible.
28588 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28595 # Work around bugs in pre-3.0 UWIN ksh.
28596 $as_unset ENV MAIL MAILPATH
28603 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28604 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28605 LC_TELEPHONE LC_TIME
28607 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28608 eval $as_var=C
; export $as_var
28614 # Required to use basename.
28615 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28621 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28622 as_basename
=basename
28628 # Name of the executable.
28629 as_me
=`$as_basename "$0" ||
28630 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28631 X"$0" : 'X\(//\)$' \| \
28632 X"$0" : 'X\(/\)$' \| \
28633 . : '\(.\)' 2>/dev/null ||
28635 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28636 /^X\/\(\/\/\)$/{ s//\1/; q; }
28637 /^X\/\(\/\).*/{ s//\1/; q; }
28641 # PATH needs CR, and LINENO needs CR and PATH.
28642 # Avoid depending upon Character Ranges.
28643 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28644 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28645 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28646 as_cr_digits
='0123456789'
28647 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28649 # The user is always right.
28650 if test "${PATH_SEPARATOR+set}" != set; then
28651 echo "#! /bin/sh" >conf$$.sh
28652 echo "exit 0" >>conf$$.sh
28654 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28663 as_lineno_1
=$LINENO
28664 as_lineno_2
=$LINENO
28665 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28666 test "x$as_lineno_1" != "x$as_lineno_2" &&
28667 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28668 # Find who we are. Look in the path if we contain no path at all
28671 *[\\/]* ) as_myself
=$0 ;;
28672 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28673 for as_dir
in $PATH
28676 test -z "$as_dir" && as_dir
=.
28677 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28682 # We did not find ourselves, most probably we were run as `sh COMMAND'
28683 # in which case we are not to be found in the path.
28684 if test "x$as_myself" = x
; then
28687 if test ! -f "$as_myself"; then
28688 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28689 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28690 { (exit 1); exit 1; }; }
28692 case $CONFIG_SHELL in
28694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28695 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28698 test -z "$as_dir" && as_dir
=.
28699 for as_base
in sh bash ksh sh5
; do
28702 if ("$as_dir/$as_base" -c '
28703 as_lineno_1=$LINENO
28704 as_lineno_2=$LINENO
28705 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28706 test "x$as_lineno_1" != "x$as_lineno_2" &&
28707 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28708 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28709 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28710 CONFIG_SHELL
=$as_dir/$as_base
28711 export CONFIG_SHELL
28712 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28720 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28721 # uniformly replaced by the line number. The first 'sed' inserts a
28722 # line-number line before each line; the second 'sed' does the real
28723 # work. The second script uses 'N' to pair each line-number line
28724 # with the numbered line, and appends trailing '-' during
28725 # substitution so that $LINENO is not a special case at line end.
28726 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28727 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28728 sed '=' <$as_myself |
28733 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28736 s,^['$as_cr_digits']*\n,,
28737 ' >$as_me.lineno
&&
28738 chmod +x
$as_me.lineno ||
28739 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28740 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28741 { (exit 1); exit 1; }; }
28743 # Don't try to exec as it changes $[0], causing all sort of problems
28744 # (the dirname of $[0] is not the place where we might find the
28745 # original and so on. Autoconf is especially sensible to this).
28747 # Exit status is that of the last command.
28752 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28753 *c
*,-n*) ECHO_N
= ECHO_C
='
28755 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28756 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28759 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28765 rm -f conf$$ conf$$.exe conf$$.
file
28767 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28768 # We could just check for DJGPP; but this test a) works b) is more generic
28769 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28770 if test -f conf$$.exe
; then
28771 # Don't use ln at all; we don't have any links
28776 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28781 rm -f conf$$ conf$$.exe conf$$.
file
28783 if mkdir
-p .
2>/dev
/null
; then
28786 test -d .
/-p && rmdir .
/-p
28790 as_executable_p
="test -f"
28792 # Sed expression to map a string onto a valid CPP name.
28793 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28795 # Sed expression to map a string onto a valid variable name.
28796 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28800 # We need space, tab and new line, in precisely that order.
28810 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28811 # report actual input values of CONFIG_FILES etc. instead of their
28812 # values after options handling. Logging --version etc. is OK.
28816 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28817 ## Running $as_me. ##
28822 This file was extended by $as_me, which was
28823 generated by GNU Autoconf 2.59. Invocation command line was
28825 CONFIG_FILES = $CONFIG_FILES
28826 CONFIG_HEADERS = $CONFIG_HEADERS
28827 CONFIG_LINKS = $CONFIG_LINKS
28828 CONFIG_COMMANDS = $CONFIG_COMMANDS
28832 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28836 # Files that config.status was made for.
28837 if test -n "$ac_config_files"; then
28838 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28841 if test -n "$ac_config_headers"; then
28842 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28845 if test -n "$ac_config_links"; then
28846 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28849 if test -n "$ac_config_commands"; then
28850 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28853 cat >>$CONFIG_STATUS <<\_ACEOF
28856 \`$as_me' instantiates files from templates according to the
28857 current configuration.
28859 Usage: $0 [OPTIONS] [FILE]...
28861 -h, --help print this help, then exit
28862 -V, --version print version number, then exit
28863 -q, --quiet do not print progress messages
28864 -d, --debug don't remove temporary files
28865 --recheck update $as_me by reconfiguring in the same conditions
28866 --file=FILE[:TEMPLATE]
28867 instantiate the configuration file FILE
28868 --header=FILE[:TEMPLATE]
28869 instantiate the configuration header FILE
28871 Configuration files:
28874 Configuration headers:
28877 Configuration links:
28880 Configuration commands:
28883 Report bugs to <bug-autoconf@gnu.org>."
28886 cat >>$CONFIG_STATUS <<_ACEOF
28889 configured by $0, generated by GNU Autoconf 2.59,
28890 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28892 Copyright (C) 2003 Free Software Foundation, Inc.
28893 This config.status script is free software; the Free Software Foundation
28894 gives unlimited permission to copy, distribute and modify it."
28899 cat >>$CONFIG_STATUS <<\_ACEOF
28900 # If no file are specified by the user, then we need to provide default
28901 # value. By we need to know if files were specified by the user.
28907 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
28908 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
28916 *) # This is not an option, so the user has probably given explicit
28919 ac_need_defaults
=false
;;
28923 # Handling of the options.
28925 cat >>$CONFIG_STATUS <<\_ACEOF
28926 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28928 --version |
--vers* |
-V )
28929 echo "$ac_cs_version"; exit 0 ;;
28931 # Conflict between --help and --header
28932 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28933 Try \`$0 --help' for more information." >&5
28934 echo "$as_me: error: ambiguous option: $1
28935 Try \`$0 --help' for more information." >&2;}
28936 { (exit 1); exit 1; }; };;
28937 --help |
--hel |
-h )
28938 echo "$ac_cs_usage"; exit 0 ;;
28939 --debug |
--d* |
-d )
28941 --file |
--fil |
--fi |
--f )
28943 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
28944 ac_need_defaults
=false
;;
28945 --header |
--heade |
--head |
--hea )
28947 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
28948 ac_need_defaults
=false
;;
28949 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28950 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28953 # This is an error.
28954 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28955 Try \`$0 --help' for more information." >&5
28956 echo "$as_me: error: unrecognized option: $1
28957 Try \`$0 --help' for more information." >&2;}
28958 { (exit 1); exit 1; }; } ;;
28960 *) ac_config_targets
="$ac_config_targets $1" ;;
28966 ac_configure_extra_args
=
28968 if $ac_cs_silent; then
28970 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28974 cat >>$CONFIG_STATUS <<_ACEOF
28975 if \$ac_cs_recheck; then
28976 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28977 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28982 cat >>$CONFIG_STATUS <<_ACEOF
28984 # INIT-COMMANDS section.
28987 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28991 acx_cv_header_stdint="$acx_cv_header_stdint"
28992 acx_cv_type_int8_t="$acx_cv_type_int8_t"
28993 acx_cv_type_int16_t="$acx_cv_type_int16_t"
28994 acx_cv_type_int32_t="$acx_cv_type_int32_t"
28995 acx_cv_type_int64_t="$acx_cv_type_int64_t"
28996 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
28997 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
28998 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
28999 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
29000 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
29001 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
29002 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
29003 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
29004 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
29007 gdb_host_cpu=$gdb_host_cpu
29008 nativefile=$nativefile
29015 cat >>$CONFIG_STATUS <<\_ACEOF
29016 for ac_config_target
in $ac_config_targets
29018 case "$ac_config_target" in
29019 # Handling of arguments.
29020 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29021 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
29022 "gnulib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gnulib/Makefile" ;;
29023 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
29024 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29025 "gdb_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gdb_stdint.h" ;;
29026 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
29027 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
29028 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29029 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29030 { (exit 1); exit 1; }; };;
29034 # If the user did not use the arguments to specify the items to instantiate,
29035 # then the envvar interface is used. Set only those that are not.
29036 # We use the long form for the default assignment because of an extremely
29037 # bizarre bug on SunOS 4.1.3.
29038 if $ac_need_defaults; then
29039 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29040 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29041 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29042 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29045 # Have a temporary directory for convenience. Make it in the build tree
29046 # simply because there is no reason to put it here, and in addition,
29047 # creating and moving files from /tmp can sometimes cause problems.
29048 # Create a temporary directory, and hook for its removal unless debugging.
29051 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29052 trap '{ (exit 1); exit 1; }' 1 2 13 15
29055 # Create a (secure) tmp directory for tmp files.
29058 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29059 test -n "$tmp" && test -d "$tmp"
29062 tmp
=.
/confstat$$
-$RANDOM
29063 (umask 077 && mkdir
$tmp)
29066 echo "$me: cannot create a temporary directory in ." >&2
29067 { (exit 1); exit 1; }
29072 cat >>$CONFIG_STATUS <<_ACEOF
29075 # CONFIG_FILES section.
29078 # No need to generate the scripts if there are no CONFIG_FILES.
29079 # This happens for instance when ./config.status config.h
29080 if test -n "\$CONFIG_FILES"; then
29081 # Protect against being on the right side of a sed subst in config.status.
29082 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29083 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29084 s,@SHELL@,$SHELL,;t t
29085 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29086 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29087 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29088 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29089 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29090 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29091 s,@exec_prefix@,$exec_prefix,;t t
29092 s,@prefix@,$prefix,;t t
29093 s,@program_transform_name@,$program_transform_name,;t t
29094 s,@bindir@,$bindir,;t t
29095 s,@sbindir@,$sbindir,;t t
29096 s,@libexecdir@,$libexecdir,;t t
29097 s,@datadir@,$datadir,;t t
29098 s,@sysconfdir@,$sysconfdir,;t t
29099 s,@sharedstatedir@,$sharedstatedir,;t t
29100 s,@localstatedir@,$localstatedir,;t t
29101 s,@libdir@,$libdir,;t t
29102 s,@includedir@,$includedir,;t t
29103 s,@oldincludedir@,$oldincludedir,;t t
29104 s,@infodir@,$infodir,;t t
29105 s,@mandir@,$mandir,;t t
29106 s,@build_alias@,$build_alias,;t t
29107 s,@host_alias@,$host_alias,;t t
29108 s,@target_alias@,$target_alias,;t t
29109 s,@DEFS@,$DEFS,;t t
29110 s,@ECHO_C@,$ECHO_C,;t t
29111 s,@ECHO_N@,$ECHO_N,;t t
29112 s,@ECHO_T@,$ECHO_T,;t t
29113 s,@LIBS@,$LIBS,;t t
29114 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29115 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29116 s,@MAINT@,$MAINT,;t t
29118 s,@CFLAGS@,$CFLAGS,;t t
29119 s,@LDFLAGS@,$LDFLAGS,;t t
29120 s,@CPPFLAGS@,$CPPFLAGS,;t t
29121 s,@ac_ct_CC@,$ac_ct_CC,;t t
29122 s,@EXEEXT@,$EXEEXT,;t t
29123 s,@OBJEXT@,$OBJEXT,;t t
29125 s,@EGREP@,$EGREP,;t t
29126 s,@RANLIB@,$RANLIB,;t t
29127 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29128 s,@build@,$build,;t t
29129 s,@build_cpu@,$build_cpu,;t t
29130 s,@build_vendor@,$build_vendor,;t t
29131 s,@build_os@,$build_os,;t t
29132 s,@host@,$host,;t t
29133 s,@host_cpu@,$host_cpu,;t t
29134 s,@host_vendor@,$host_vendor,;t t
29135 s,@host_os@,$host_os,;t t
29136 s,@target@,$target,;t t
29137 s,@target_cpu@,$target_cpu,;t t
29138 s,@target_vendor@,$target_vendor,;t t
29139 s,@target_os@,$target_os,;t t
29140 s,@USE_NLS@,$USE_NLS,;t t
29141 s,@LIBINTL@,$LIBINTL,;t t
29142 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
29143 s,@INCINTL@,$INCINTL,;t t
29144 s,@XGETTEXT@,$XGETTEXT,;t t
29145 s,@GMSGFMT@,$GMSGFMT,;t t
29146 s,@POSUB@,$POSUB,;t t
29147 s,@CATALOGS@,$CATALOGS,;t t
29148 s,@DATADIRNAME@,$DATADIRNAME,;t t
29149 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
29150 s,@GENCAT@,$GENCAT,;t t
29151 s,@CATOBJEXT@,$CATOBJEXT,;t t
29152 s,@localedir@,$localedir,;t t
29153 s,@GL_COND_LIBTOOL_TRUE@,$GL_COND_LIBTOOL_TRUE,;t t
29154 s,@GL_COND_LIBTOOL_FALSE@,$GL_COND_LIBTOOL_FALSE,;t t
29155 s,@GNULIB_MEMMEM@,$GNULIB_MEMMEM,;t t
29156 s,@GNULIB_MEMPCPY@,$GNULIB_MEMPCPY,;t t
29157 s,@GNULIB_MEMRCHR@,$GNULIB_MEMRCHR,;t t
29158 s,@GNULIB_STPCPY@,$GNULIB_STPCPY,;t t
29159 s,@GNULIB_STPNCPY@,$GNULIB_STPNCPY,;t t
29160 s,@GNULIB_STRCHRNUL@,$GNULIB_STRCHRNUL,;t t
29161 s,@GNULIB_STRDUP@,$GNULIB_STRDUP,;t t
29162 s,@GNULIB_STRNDUP@,$GNULIB_STRNDUP,;t t
29163 s,@GNULIB_STRNLEN@,$GNULIB_STRNLEN,;t t
29164 s,@GNULIB_STRPBRK@,$GNULIB_STRPBRK,;t t
29165 s,@GNULIB_STRSEP@,$GNULIB_STRSEP,;t t
29166 s,@GNULIB_STRSTR@,$GNULIB_STRSTR,;t t
29167 s,@GNULIB_STRCASESTR@,$GNULIB_STRCASESTR,;t t
29168 s,@GNULIB_STRTOK_R@,$GNULIB_STRTOK_R,;t t
29169 s,@GNULIB_MBSLEN@,$GNULIB_MBSLEN,;t t
29170 s,@GNULIB_MBSNLEN@,$GNULIB_MBSNLEN,;t t
29171 s,@GNULIB_MBSCHR@,$GNULIB_MBSCHR,;t t
29172 s,@GNULIB_MBSRCHR@,$GNULIB_MBSRCHR,;t t
29173 s,@GNULIB_MBSSTR@,$GNULIB_MBSSTR,;t t
29174 s,@GNULIB_MBSCASECMP@,$GNULIB_MBSCASECMP,;t t
29175 s,@GNULIB_MBSNCASECMP@,$GNULIB_MBSNCASECMP,;t t
29176 s,@GNULIB_MBSPCASECMP@,$GNULIB_MBSPCASECMP,;t t
29177 s,@GNULIB_MBSCASESTR@,$GNULIB_MBSCASESTR,;t t
29178 s,@GNULIB_MBSCSPN@,$GNULIB_MBSCSPN,;t t
29179 s,@GNULIB_MBSPBRK@,$GNULIB_MBSPBRK,;t t
29180 s,@GNULIB_MBSSPN@,$GNULIB_MBSSPN,;t t
29181 s,@GNULIB_MBSSEP@,$GNULIB_MBSSEP,;t t
29182 s,@GNULIB_MBSTOK_R@,$GNULIB_MBSTOK_R,;t t
29183 s,@GNULIB_STRERROR@,$GNULIB_STRERROR,;t t
29184 s,@GNULIB_STRSIGNAL@,$GNULIB_STRSIGNAL,;t t
29185 s,@HAVE_DECL_MEMMEM@,$HAVE_DECL_MEMMEM,;t t
29186 s,@HAVE_MEMPCPY@,$HAVE_MEMPCPY,;t t
29187 s,@HAVE_DECL_MEMRCHR@,$HAVE_DECL_MEMRCHR,;t t
29188 s,@HAVE_STPCPY@,$HAVE_STPCPY,;t t
29189 s,@HAVE_STPNCPY@,$HAVE_STPNCPY,;t t
29190 s,@HAVE_STRCHRNUL@,$HAVE_STRCHRNUL,;t t
29191 s,@HAVE_DECL_STRDUP@,$HAVE_DECL_STRDUP,;t t
29192 s,@HAVE_STRNDUP@,$HAVE_STRNDUP,;t t
29193 s,@HAVE_DECL_STRNDUP@,$HAVE_DECL_STRNDUP,;t t
29194 s,@HAVE_DECL_STRNLEN@,$HAVE_DECL_STRNLEN,;t t
29195 s,@HAVE_STRPBRK@,$HAVE_STRPBRK,;t t
29196 s,@HAVE_STRSEP@,$HAVE_STRSEP,;t t
29197 s,@HAVE_STRCASESTR@,$HAVE_STRCASESTR,;t t
29198 s,@HAVE_DECL_STRTOK_R@,$HAVE_DECL_STRTOK_R,;t t
29199 s,@HAVE_DECL_STRERROR@,$HAVE_DECL_STRERROR,;t t
29200 s,@HAVE_DECL_STRSIGNAL@,$HAVE_DECL_STRSIGNAL,;t t
29201 s,@REPLACE_STRERROR@,$REPLACE_STRERROR,;t t
29202 s,@REPLACE_STRSIGNAL@,$REPLACE_STRSIGNAL,;t t
29203 s,@REPLACE_MEMMEM@,$REPLACE_MEMMEM,;t t
29204 s,@REPLACE_STRCASESTR@,$REPLACE_STRCASESTR,;t t
29205 s,@REPLACE_STRSTR@,$REPLACE_STRSTR,;t t
29206 s,@HAVE_LONG_LONG_INT@,$HAVE_LONG_LONG_INT,;t t
29207 s,@HAVE_UNSIGNED_LONG_LONG_INT@,$HAVE_UNSIGNED_LONG_LONG_INT,;t t
29208 s,@HAVE_INTTYPES_H@,$HAVE_INTTYPES_H,;t t
29209 s,@HAVE_SYS_TYPES_H@,$HAVE_SYS_TYPES_H,;t t
29210 s,@INCLUDE_NEXT@,$INCLUDE_NEXT,;t t
29211 s,@NEXT_STDINT_H@,$NEXT_STDINT_H,;t t
29212 s,@HAVE_STDINT_H@,$HAVE_STDINT_H,;t t
29213 s,@HAVE_SYS_INTTYPES_H@,$HAVE_SYS_INTTYPES_H,;t t
29214 s,@HAVE_SYS_BITYPES_H@,$HAVE_SYS_BITYPES_H,;t t
29215 s,@BITSIZEOF_PTRDIFF_T@,$BITSIZEOF_PTRDIFF_T,;t t
29216 s,@BITSIZEOF_SIG_ATOMIC_T@,$BITSIZEOF_SIG_ATOMIC_T,;t t
29217 s,@BITSIZEOF_SIZE_T@,$BITSIZEOF_SIZE_T,;t t
29218 s,@BITSIZEOF_WCHAR_T@,$BITSIZEOF_WCHAR_T,;t t
29219 s,@BITSIZEOF_WINT_T@,$BITSIZEOF_WINT_T,;t t
29220 s,@HAVE_SIGNED_SIG_ATOMIC_T@,$HAVE_SIGNED_SIG_ATOMIC_T,;t t
29221 s,@HAVE_SIGNED_WCHAR_T@,$HAVE_SIGNED_WCHAR_T,;t t
29222 s,@HAVE_SIGNED_WINT_T@,$HAVE_SIGNED_WINT_T,;t t
29223 s,@PTRDIFF_T_SUFFIX@,$PTRDIFF_T_SUFFIX,;t t
29224 s,@SIG_ATOMIC_T_SUFFIX@,$SIG_ATOMIC_T_SUFFIX,;t t
29225 s,@SIZE_T_SUFFIX@,$SIZE_T_SUFFIX,;t t
29226 s,@WCHAR_T_SUFFIX@,$WCHAR_T_SUFFIX,;t t
29227 s,@WINT_T_SUFFIX@,$WINT_T_SUFFIX,;t t
29228 s,@STDINT_H@,$STDINT_H,;t t
29229 s,@NEXT_STRING_H@,$NEXT_STRING_H,;t t
29230 s,@GNULIB_WCWIDTH@,$GNULIB_WCWIDTH,;t t
29231 s,@HAVE_DECL_WCWIDTH@,$HAVE_DECL_WCWIDTH,;t t
29232 s,@REPLACE_WCWIDTH@,$REPLACE_WCWIDTH,;t t
29233 s,@WCHAR_H@,$WCHAR_H,;t t
29234 s,@HAVE_WCHAR_H@,$HAVE_WCHAR_H,;t t
29235 s,@NEXT_WCHAR_H@,$NEXT_WCHAR_H,;t t
29236 s,@LIBGNU_LIBDEPS@,$LIBGNU_LIBDEPS,;t t
29237 s,@LIBGNU_LTLIBDEPS@,$LIBGNU_LTLIBDEPS,;t t
29238 s,@PACKAGE@,$PACKAGE,;t t
29239 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29240 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29241 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29242 s,@CYGPATH_W@,$CYGPATH_W,;t t
29243 s,@VERSION@,$VERSION,;t t
29244 s,@ACLOCAL@,$ACLOCAL,;t t
29245 s,@AUTOCONF@,$AUTOCONF,;t t
29246 s,@AUTOMAKE@,$AUTOMAKE,;t t
29247 s,@AUTOHEADER@,$AUTOHEADER,;t t
29248 s,@MAKEINFO@,$MAKEINFO,;t t
29249 s,@install_sh@,$install_sh,;t t
29250 s,@STRIP@,$STRIP,;t t
29251 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29252 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29253 s,@mkdir_p@,$mkdir_p,;t t
29255 s,@SET_MAKE@,$SET_MAKE,;t t
29256 s,@am__leading_dot@,$am__leading_dot,;t t
29257 s,@AMTAR@,$AMTAR,;t t
29258 s,@am__tar@,$am__tar,;t t
29259 s,@am__untar@,$am__untar,;t t
29260 s,@DEPDIR@,$DEPDIR,;t t
29261 s,@am__include@,$am__include,;t t
29262 s,@am__quote@,$am__quote,;t t
29263 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29264 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29265 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29266 s,@CCDEPMODE@,$CCDEPMODE,;t t
29267 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29268 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29269 s,@subdirs@,$subdirs,;t t
29270 s,@TARGET_OBS@,$TARGET_OBS,;t t
29271 s,@LN_S@,$LN_S,;t t
29272 s,@YACC@,$YACC,;t t
29274 s,@ac_ct_AR@,$ac_ct_AR,;t t
29275 s,@DLLTOOL@,$DLLTOOL,;t t
29276 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
29277 s,@WINDRES@,$WINDRES,;t t
29278 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
29280 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
29281 s,@READLINE@,$READLINE,;t t
29282 s,@READLINE_DEPS@,$READLINE_DEPS,;t t
29283 s,@READLINE_CFLAGS@,$READLINE_CFLAGS,;t t
29284 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
29285 s,@LIBEXPAT@,$LIBEXPAT,;t t
29286 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
29287 s,@ALLOCA@,$ALLOCA,;t t
29288 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
29289 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
29290 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
29291 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
29292 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
29293 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
29294 s,@WIN32LIBS@,$WIN32LIBS,;t t
29295 s,@LIBGUI@,$LIBGUI,;t t
29296 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
29297 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
29298 s,@TCL_VERSION@,$TCL_VERSION,;t t
29299 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
29300 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
29301 s,@TCL_CC@,$TCL_CC,;t t
29302 s,@TCL_DEFS@,$TCL_DEFS,;t t
29303 s,@TCL_SHLIB_CFLAGS@,$TCL_SHLIB_CFLAGS,;t t
29304 s,@TCL_SHLIB_LD@,$TCL_SHLIB_LD,;t t
29305 s,@TCL_SHLIB_LD_LIBS@,$TCL_SHLIB_LD_LIBS,;t t
29306 s,@TCL_SHLIB_SUFFIX@,$TCL_SHLIB_SUFFIX,;t t
29307 s,@TCL_DL_LIBS@,$TCL_DL_LIBS,;t t
29308 s,@TCL_LD_FLAGS@,$TCL_LD_FLAGS,;t t
29309 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
29310 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
29311 s,@TCL_COMPAT_OBJS@,$TCL_COMPAT_OBJS,;t t
29312 s,@TCL_RANLIB@,$TCL_RANLIB,;t t
29313 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
29314 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
29315 s,@TCL_LIB_VERSIONS_OK@,$TCL_LIB_VERSIONS_OK,;t t
29316 s,@TK_VERSION@,$TK_VERSION,;t t
29317 s,@TK_DEFS@,$TK_DEFS,;t t
29318 s,@TK_BUILD_INCLUDES@,$TK_BUILD_INCLUDES,;t t
29319 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
29320 s,@TK_XLIBSW@,$TK_XLIBSW,;t t
29321 s,@TK_BUILD_LIB_SPEC@,$TK_BUILD_LIB_SPEC,;t t
29322 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
29323 s,@TCLHDIR@,$TCLHDIR,;t t
29324 s,@TKHDIR@,$TKHDIR,;t t
29325 s,@ITCLHDIR@,$ITCLHDIR,;t t
29326 s,@ITKHDIR@,$ITKHDIR,;t t
29327 s,@ITCL_VERSION@,$ITCL_VERSION,;t t
29328 s,@ITCL_DEFS@,$ITCL_DEFS,;t t
29329 s,@ITCL_BUILD_INCLUDES@,$ITCL_BUILD_INCLUDES,;t t
29330 s,@ITCL_BUILD_LIB_SPEC@,$ITCL_BUILD_LIB_SPEC,;t t
29331 s,@ITCL_LIB_SPEC@,$ITCL_LIB_SPEC,;t t
29332 s,@ITK_VERSION@,$ITK_VERSION,;t t
29333 s,@ITK_DEFS@,$ITK_DEFS,;t t
29334 s,@ITK_BUILD_INCLUDES@,$ITK_BUILD_INCLUDES,;t t
29335 s,@ITK_BUILD_LIB_SPEC@,$ITK_BUILD_LIB_SPEC,;t t
29336 s,@ITK_LIB_SPEC@,$ITK_LIB_SPEC,;t t
29337 s,@X_CFLAGS@,$X_CFLAGS,;t t
29338 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
29339 s,@X_LIBS@,$X_LIBS,;t t
29340 s,@TCL_DEPS@,$TCL_DEPS,;t t
29341 s,@TK_DEPS@,$TK_DEPS,;t t
29342 s,@ITCLLIB@,$ITCLLIB,;t t
29343 s,@ITCL_DEPS@,$ITCL_DEPS,;t t
29344 s,@ITKLIB@,$ITKLIB,;t t
29345 s,@ITK_DEPS@,$ITK_DEPS,;t t
29346 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
29347 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
29348 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
29350 s,@SIM_OBS@,$SIM_OBS,;t t
29351 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
29352 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
29353 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
29354 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
29355 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
29356 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
29357 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
29358 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
29359 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
29360 s,@target_subdir@,$target_subdir,;t t
29361 s,@frags@,$frags,;t t
29362 s,@nm_h@,$nm_h,;t t
29363 s,@LIBICONV@,$LIBICONV,;t t
29364 s,@LIBOBJS@,$LIBOBJS,;t t
29365 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29366 s,@gl_LIBOBJS@,$gl_LIBOBJS,;t t
29367 s,@gl_LTLIBOBJS@,$gl_LTLIBOBJS,;t t
29368 s,@gltests_LIBOBJS@,$gltests_LIBOBJS,;t t
29369 s,@gltests_LTLIBOBJS@,$gltests_LTLIBOBJS,;t t
29370 /@host_makefile_frag@/r $host_makefile_frag
29371 s,@host_makefile_frag@,,;t t
29376 cat >>$CONFIG_STATUS <<\_ACEOF
29377 # Split the substitutions into bite-sized pieces for seds with
29378 # small command number limits, like on Digital OSF/1 and HP-UX.
29379 ac_max_sed_lines
=48
29380 ac_sed_frag
=1 # Number of current file.
29381 ac_beg
=1 # First line for current file.
29382 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29385 while $ac_more_lines; do
29386 if test $ac_beg -gt 1; then
29387 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29389 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29391 if test ! -s $tmp/subs.frag
; then
29392 ac_more_lines
=false
29394 # The purpose of the label and of the branching condition is to
29395 # speed up the sed processing (if there are no `@' at all, there
29396 # is no need to browse any of the substitutions).
29397 # These are the two extra sed commands mentioned above.
29399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29400 if test -z "$ac_sed_cmds"; then
29401 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29403 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29405 ac_sed_frag
=`expr $ac_sed_frag + 1`
29407 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29410 if test -z "$ac_sed_cmds"; then
29413 fi # test -n "$CONFIG_FILES"
29416 cat >>$CONFIG_STATUS <<\_ACEOF
29417 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29418 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29420 - |
*:- |
*:-:* ) # input from stdin
29422 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29423 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29424 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29425 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29426 * ) ac_file_in
=$ac_file.
in ;;
29429 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29430 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29431 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29432 X"$ac_file" : 'X\(//\)[^/]' \| \
29433 X"$ac_file" : 'X\(//\)$' \| \
29434 X"$ac_file" : 'X\(/\)' \| \
29435 . : '\(.\)' 2>/dev/null ||
29437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29438 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29439 /^X\(\/\/\)$/{ s//\1/; q; }
29440 /^X\(\/\).*/{ s//\1/; q; }
29442 { if $as_mkdir_p; then
29447 while test ! -d "$as_dir"; do
29448 as_dirs
="$as_dir $as_dirs"
29449 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29451 X"$as_dir" : 'X\(//\)[^/]' \| \
29452 X"$as_dir" : 'X\(//\)$' \| \
29453 X"$as_dir" : 'X\(/\)' \| \
29454 . : '\(.\)' 2>/dev/null ||
29456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29458 /^X\(\/\/\)$/{ s//\1/; q; }
29459 /^X\(\/\).*/{ s//\1/; q; }
29462 test ! -n "$as_dirs" || mkdir
$as_dirs
29463 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29464 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29465 { (exit 1); exit 1; }; }; }
29469 if test "$ac_dir" != .
; then
29470 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29471 # A "../" for each directory in $ac_dir_suffix.
29472 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29474 ac_dir_suffix
= ac_top_builddir
=
29478 .
) # No --srcdir option. We are building in place.
29480 if test -z "$ac_top_builddir"; then
29483 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29485 [\\/]* | ?
:[\\/]* ) # Absolute path.
29486 ac_srcdir
=$srcdir$ac_dir_suffix;
29487 ac_top_srcdir
=$srcdir ;;
29488 *) # Relative path.
29489 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29490 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29493 # Do not use `cd foo && pwd` to compute absolute paths, because
29494 # the directories may not exist.
29496 .
) ac_abs_builddir
="$ac_dir";;
29499 .
) ac_abs_builddir
=`pwd`;;
29500 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
29501 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
29504 case $ac_abs_builddir in
29505 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29507 case ${ac_top_builddir}.
in
29508 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29509 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29510 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29513 case $ac_abs_builddir in
29514 .
) ac_abs_srcdir
=$ac_srcdir;;
29517 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29518 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29519 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29522 case $ac_abs_builddir in
29523 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29525 case $ac_top_srcdir in
29526 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29527 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29528 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29534 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29535 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
29538 if test x
"$ac_file" != x-
; then
29539 { echo "$as_me:$LINENO: creating $ac_file" >&5
29540 echo "$as_me: creating $ac_file" >&6;}
29543 # Let's still pretend it is `configure' which instantiates (i.e., don't
29544 # use $as_me), people would be surprised to read:
29545 # /* config.h. Generated by config.status. */
29546 if test x
"$ac_file" = x-
; then
29549 configure_input
="$ac_file. "
29551 configure_input
=$configure_input"Generated from `echo $ac_file_in |
29552 sed 's,.*/,,'` by configure."
29554 # First look for the input files in the build tree, otherwise in the
29556 ac_file_inputs
=`IFS=:
29557 for f in $ac_file_in; do
29559 -) echo $tmp/stdin ;;
29561 # Absolute (can't be DOS-style, as IFS=:)
29562 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29563 echo "$as_me: error: cannot find input file: $f" >&2;}
29564 { (exit 1); exit 1; }; }
29567 if test -f "$f"; then
29570 elif test -f "$srcdir/$f"; then
29575 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29576 echo "$as_me: error: cannot find input file: $f" >&2;}
29577 { (exit 1); exit 1; }; }
29580 done` ||
{ (exit 1); exit 1; }
29582 cat >>$CONFIG_STATUS <<_ACEOF
29586 cat >>$CONFIG_STATUS <<\_ACEOF
29588 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29589 s
,@configure_input@
,$configure_input,;t t
29590 s
,@srcdir@
,$ac_srcdir,;t t
29591 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
29592 s
,@top_srcdir@
,$ac_top_srcdir,;t t
29593 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
29594 s
,@builddir@
,$ac_builddir,;t t
29595 s
,@abs_builddir@
,$ac_abs_builddir,;t t
29596 s
,@top_builddir@
,$ac_top_builddir,;t t
29597 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
29598 s
,@INSTALL@
,$ac_INSTALL,;t t
29599 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29601 if test x"$ac_file" != x-; then
29602 mv $tmp/out $ac_file
29610 cat >>$CONFIG_STATUS <<\_ACEOF
29613 # CONFIG_HEADER section.
29616 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
29617 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29619 # ac_d sets the value in "#define NAME VALUE" lines.
29620 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29621 ac_dB
='[ ].*$,\1#\2'
29624 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29625 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29626 ac_uB
='$,\1#\2define\3'
29630 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
29631 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29633 - |
*:- |
*:-:* ) # input from stdin
29635 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29636 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29637 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29638 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29639 * ) ac_file_in
=$ac_file.
in ;;
29642 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
29643 echo "$as_me: creating $ac_file" >&6;}
29645 # First look for the input files in the build tree, otherwise in the
29647 ac_file_inputs
=`IFS=:
29648 for f in $ac_file_in; do
29650 -) echo $tmp/stdin ;;
29652 # Absolute (can't be DOS-style, as IFS=:)
29653 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29654 echo "$as_me: error: cannot find input file: $f" >&2;}
29655 { (exit 1); exit 1; }; }
29656 # Do quote $f, to prevent DOS paths from being IFS'd.
29659 if test -f "$f"; then
29662 elif test -f "$srcdir/$f"; then
29667 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29668 echo "$as_me: error: cannot find input file: $f" >&2;}
29669 { (exit 1); exit 1; }; }
29672 done` ||
{ (exit 1); exit 1; }
29673 # Remove the trailing spaces.
29674 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29678 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29679 # `conftest.undefs', that substitutes the proper values into
29680 # config.h.in to produce config.h. The first handles `#define'
29681 # templates, and the second `#undef' templates.
29682 # And first: Protect against being on the right side of a sed subst in
29683 # config.status. Protect against being in an unquoted here document
29684 # in config.status.
29685 rm -f conftest.defines conftest.undefs
29686 # Using a here document instead of a string reduces the quoting nightmare.
29687 # Putting comments in sed scripts is not portable.
29689 # `end' is used to avoid that the second main sed command (meant for
29690 # 0-ary CPP macros) applies to n-ary macro definitions.
29691 # See the Autoconf documentation for `clear'.
29692 cat >confdef2sed.
sed <<\_ACEOF
29697 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29699 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29702 # If some macros were called several times there might be several times
29703 # the same #defines, which is useless. Nevertheless, we may not want to
29704 # sort them, since we want the *last* AC-DEFINE to be honored.
29705 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29706 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29707 rm -f confdef2sed.sed
29709 # This sed command replaces #undef with comments. This is necessary, for
29710 # example, in the case of _POSIX_SOURCE, which is predefined and required
29711 # on some systems where configure will not decide to define it.
29712 cat >>conftest.undefs <<\_ACEOF
29713 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29716 # Break up conftest.defines because some shells have a limit on the size
29717 # of here documents, and old seds have small limits too (100 cmds).
29718 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29719 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29720 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29721 echo ' :' >>$CONFIG_STATUS
29722 rm -f conftest.tail
29723 while grep . conftest.defines >/dev/null
29725 # Write a limited-size here document to $tmp/defines.sed.
29726 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29727 # Speed up: don't consider the non `#define' lines.
29728 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29729 # Work around the forget-to-reset-the-flag bug.
29730 echo 't clr' >>$CONFIG_STATUS
29731 echo ': clr' >>$CONFIG_STATUS
29732 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
29734 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29736 mv $tmp/out $tmp/in
29738 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
29739 rm -f conftest.defines
29740 mv conftest.
tail conftest.defines
29742 rm -f conftest.defines
29743 echo ' fi # grep' >>$CONFIG_STATUS
29744 echo >>$CONFIG_STATUS
29746 # Break up conftest.undefs because some shells have a limit on the size
29747 # of here documents, and old seds have small limits too (100 cmds).
29748 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29749 rm -f conftest.
tail
29750 while grep . conftest.undefs
>/dev
/null
29752 # Write a limited-size here document to $tmp/undefs.sed.
29753 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29754 # Speed up: don't consider the non
`#undef'
29755 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29756 # Work around the forget-to-reset-the-flag bug.
29757 echo 't clr' >>$CONFIG_STATUS
29758 echo ': clr' >>$CONFIG_STATUS
29759 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29761 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29763 mv $tmp/out $tmp/in
29765 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29766 rm -f conftest.undefs
29767 mv conftest.tail conftest.undefs
29769 rm -f conftest.undefs
29771 cat >>$CONFIG_STATUS <<\_ACEOF
29772 # Let's still pretend it is `configure
' which instantiates (i.e., don't
29773 # use $as_me), people would be surprised to read:
29774 # /* config.h. Generated by config.status. */
29775 if test x
"$ac_file" = x-
; then
29776 echo "/* Generated by configure. */" >$tmp/config.h
29778 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29780 cat $tmp/in >>$tmp/config.h
29782 if test x
"$ac_file" != x-
; then
29783 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
29784 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29785 echo "$as_me: $ac_file is unchanged" >&6;}
29787 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29788 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29789 X"$ac_file" : 'X\(//\)[^/]' \| \
29790 X"$ac_file" : 'X\(//\)$' \| \
29791 X"$ac_file" : 'X\(/\)' \| \
29792 . : '\(.\)' 2>/dev/null ||
29794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29795 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29796 /^X\(\/\/\)$/{ s//\1/; q; }
29797 /^X\(\/\).*/{ s//\1/; q; }
29799 { if $as_mkdir_p; then
29804 while test ! -d "$as_dir"; do
29805 as_dirs
="$as_dir $as_dirs"
29806 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29807 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29808 X"$as_dir" : 'X\(//\)[^/]' \| \
29809 X"$as_dir" : 'X\(//\)$' \| \
29810 X"$as_dir" : 'X\(/\)' \| \
29811 . : '\(.\)' 2>/dev/null ||
29813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29814 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29815 /^X\(\/\/\)$/{ s//\1/; q; }
29816 /^X\(\/\).*/{ s//\1/; q; }
29819 test ! -n "$as_dirs" || mkdir
$as_dirs
29820 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29821 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29822 { (exit 1); exit 1; }; }; }
29825 mv $tmp/config.h
$ac_file
29829 rm -f $tmp/config.h
29831 # Compute $ac_file's index in $config_headers.
29833 for _am_header
in $config_headers :; do
29834 case $_am_header in
29835 $ac_file |
$ac_file:* )
29838 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
29841 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29842 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29843 X$ac_file : 'X\(//\)[^/]' \| \
29844 X$ac_file : 'X\(//\)$' \| \
29845 X$ac_file : 'X\(/\)' \| \
29846 . : '\(.\)' 2>/dev/null ||
29848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29849 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29850 /^X\(\/\/\)$/{ s//\1/; q; }
29851 /^X\(\/\).*/{ s//\1/; q; }
29852 s/.*/./; q'`/stamp-h
$_am_stamp_count
29855 cat >>$CONFIG_STATUS <<\_ACEOF
29858 # CONFIG_LINKS section.
29861 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
29862 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29863 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29865 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
29866 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
29868 if test ! -r $srcdir/$ac_source; then
29869 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
29870 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
29871 { (exit 1); exit 1; }; }
29875 # Make relative symlinks.
29876 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29877 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29878 X"$ac_dest" : 'X\(//\)[^/]' \| \
29879 X"$ac_dest" : 'X\(//\)$' \| \
29880 X"$ac_dest" : 'X\(/\)' \| \
29881 . : '\(.\)' 2>/dev/null ||
29883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29884 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29885 /^X\(\/\/\)$/{ s//\1/; q; }
29886 /^X\(\/\).*/{ s//\1/; q; }
29888 { if $as_mkdir_p; then
29889 mkdir
-p "$ac_dest_dir"
29891 as_dir
="$ac_dest_dir"
29893 while test ! -d "$as_dir"; do
29894 as_dirs
="$as_dir $as_dirs"
29895 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29897 X"$as_dir" : 'X\(//\)[^/]' \| \
29898 X"$as_dir" : 'X\(//\)$' \| \
29899 X"$as_dir" : 'X\(/\)' \| \
29900 . : '\(.\)' 2>/dev/null ||
29902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29903 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29904 /^X\(\/\/\)$/{ s//\1/; q; }
29905 /^X\(\/\).*/{ s//\1/; q; }
29908 test ! -n "$as_dirs" || mkdir
$as_dirs
29909 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
29910 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
29911 { (exit 1); exit 1; }; }; }
29915 if test "$ac_dest_dir" != .
; then
29916 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
29917 # A "../" for each directory in $ac_dir_suffix.
29918 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29920 ac_dir_suffix
= ac_top_builddir
=
29924 .
) # No --srcdir option. We are building in place.
29926 if test -z "$ac_top_builddir"; then
29929 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29931 [\\/]* | ?
:[\\/]* ) # Absolute path.
29932 ac_srcdir
=$srcdir$ac_dir_suffix;
29933 ac_top_srcdir
=$srcdir ;;
29934 *) # Relative path.
29935 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29936 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29939 # Do not use `cd foo && pwd` to compute absolute paths, because
29940 # the directories may not exist.
29942 .
) ac_abs_builddir
="$ac_dest_dir";;
29944 case "$ac_dest_dir" in
29945 .
) ac_abs_builddir
=`pwd`;;
29946 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
29947 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
29950 case $ac_abs_builddir in
29951 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29953 case ${ac_top_builddir}.
in
29954 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29955 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29956 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29959 case $ac_abs_builddir in
29960 .
) ac_abs_srcdir
=$ac_srcdir;;
29963 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29964 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29965 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29968 case $ac_abs_builddir in
29969 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29971 case $ac_top_srcdir in
29972 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29973 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29974 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29980 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
29981 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
29984 # Try a symlink, then a hard link, then a copy.
29985 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
29986 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
29987 cp -p $srcdir/$ac_source $ac_dest ||
29988 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
29989 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
29990 { (exit 1); exit 1; }; }
29993 cat >>$CONFIG_STATUS <<\_ACEOF
29996 # CONFIG_COMMANDS section.
29998 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
29999 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30000 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30001 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30002 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30003 X"$ac_dest" : 'X\(//\)[^/]' \| \
30004 X"$ac_dest" : 'X\(//\)$' \| \
30005 X"$ac_dest" : 'X\(/\)' \| \
30006 . : '\(.\)' 2>/dev/null ||
30008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30010 /^X\(\/\/\)$/{ s//\1/; q; }
30011 /^X\(\/\).*/{ s//\1/; q; }
30013 { if $as_mkdir_p; then
30018 while test ! -d "$as_dir"; do
30019 as_dirs
="$as_dir $as_dirs"
30020 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30022 X"$as_dir" : 'X\(//\)[^/]' \| \
30023 X"$as_dir" : 'X\(//\)$' \| \
30024 X"$as_dir" : 'X\(/\)' \| \
30025 . : '\(.\)' 2>/dev/null ||
30027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30029 /^X\(\/\/\)$/{ s//\1/; q; }
30030 /^X\(\/\).*/{ s//\1/; q; }
30033 test ! -n "$as_dirs" || mkdir
$as_dirs
30034 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30035 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30036 { (exit 1); exit 1; }; }; }
30040 if test "$ac_dir" != .
; then
30041 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30042 # A "../" for each directory in $ac_dir_suffix.
30043 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30045 ac_dir_suffix
= ac_top_builddir
=
30049 .
) # No --srcdir option. We are building in place.
30051 if test -z "$ac_top_builddir"; then
30054 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30056 [\\/]* | ?
:[\\/]* ) # Absolute path.
30057 ac_srcdir
=$srcdir$ac_dir_suffix;
30058 ac_top_srcdir
=$srcdir ;;
30059 *) # Relative path.
30060 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30061 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30064 # Do not use `cd foo && pwd` to compute absolute paths, because
30065 # the directories may not exist.
30067 .
) ac_abs_builddir
="$ac_dir";;
30070 .
) ac_abs_builddir
=`pwd`;;
30071 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30072 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30075 case $ac_abs_builddir in
30076 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30078 case ${ac_top_builddir}.
in
30079 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30080 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30081 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30084 case $ac_abs_builddir in
30085 .
) ac_abs_srcdir
=$ac_srcdir;;
30088 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30089 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30090 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30093 case $ac_abs_builddir in
30094 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30096 case $ac_top_srcdir in
30097 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30098 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30099 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30104 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30105 echo "$as_me: executing $ac_dest commands" >&6;}
30107 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30108 # Strip MF so we end up with the name of the file.
30109 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30110 # Check whether this is an Automake generated Makefile or not.
30111 # We used to match only the files named `Makefile.in', but
30112 # some people rename them; so instead we look at the file content.
30113 # Grep'ing the first line is not enough: some people post-process
30114 # each Makefile.in and add a new line on top of each file to say so.
30115 # So let's grep whole file.
30116 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30117 dirpart
=`(dirname "$mf") 2>/dev/null ||
30118 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30119 X"$mf" : 'X\(//\)[^/]' \| \
30120 X"$mf" : 'X\(//\)$' \| \
30121 X"$mf" : 'X\(/\)' \| \
30122 . : '\(.\)' 2>/dev/null ||
30124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30126 /^X\(\/\/\)$/{ s//\1/; q; }
30127 /^X\(\/\).*/{ s//\1/; q; }
30132 # Extract the definition of DEPDIR, am__include, and am__quote
30133 # from the Makefile without running `make'.
30134 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30135 test -z "$DEPDIR" && continue
30136 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30137 test -z "am__include" && continue
30138 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30139 # When using ansi2knr, U may be empty or an underscore; expand it
30140 U
=`sed -n 's/^U = //p' < "$mf"`
30141 # Find all dependency output files, they are included files with
30142 # $(DEPDIR) in their names. We invoke sed twice because it is the
30143 # simplest approach to changing $(DEPDIR) to its actual value in the
30145 for file in `sed -n "
30146 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30147 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30148 # Make sure the directory exists.
30149 test -f "$dirpart/$file" && continue
30150 fdir
=`(dirname "$file") 2>/dev/null ||
30151 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30152 X"$file" : 'X\(//\)[^/]' \| \
30153 X"$file" : 'X\(//\)$' \| \
30154 X"$file" : 'X\(/\)' \| \
30155 . : '\(.\)' 2>/dev/null ||
30157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30159 /^X\(\/\/\)$/{ s//\1/; q; }
30160 /^X\(\/\).*/{ s//\1/; q; }
30162 { if $as_mkdir_p; then
30163 mkdir
-p $dirpart/$fdir
30165 as_dir
=$dirpart/$fdir
30167 while test ! -d "$as_dir"; do
30168 as_dirs
="$as_dir $as_dirs"
30169 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30171 X"$as_dir" : 'X\(//\)[^/]' \| \
30172 X"$as_dir" : 'X\(//\)$' \| \
30173 X"$as_dir" : 'X\(/\)' \| \
30174 . : '\(.\)' 2>/dev/null ||
30176 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30177 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30178 /^X\(\/\/\)$/{ s//\1/; q; }
30179 /^X\(\/\).*/{ s//\1/; q; }
30182 test ! -n "$as_dirs" || mkdir
$as_dirs
30183 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30184 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30185 { (exit 1); exit 1; }; }; }
30187 # echo "creating $dirpart/$file"
30188 echo '# dummy' > "$dirpart/$file"
30193 if test "$GCC" = yes; then
30194 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
30196 echo "/* generated for $CC */" > tmp-stdint.h
30199 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30201 #ifndef GCC_GENERATED_STDINT_H
30202 #define GCC_GENERATED_STDINT_H 1
30204 #include <sys/types.h>
30207 if test "$acx_cv_header_stdint" != stdint.h
; then
30208 echo "#include <stddef.h>" >> tmp-stdint.h
30210 if test "$acx_cv_header_stdint" != stddef.h
; then
30211 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
30214 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30215 /* glibc uses these symbols as guards to prevent redefinitions. */
30216 #ifdef __int8_t_defined
30221 #ifdef __uint32_t_defined
30227 # ----------------- done header, emit basic int types -------------
30228 if test "$acx_cv_header_stdint" = stddef.h
; then
30229 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30233 #ifndef __uint8_t_defined
30234 #define __uint8_t_defined
30235 typedef unsigned $acx_cv_type_int8_t uint8_t;
30241 #ifndef __uint16_t_defined
30242 #define __uint16_t_defined
30243 typedef unsigned $acx_cv_type_int16_t uint16_t;
30249 #ifndef __uint32_t_defined
30250 #define __uint32_t_defined
30251 typedef unsigned $acx_cv_type_int32_t uint32_t;
30257 #ifndef __int8_t_defined
30258 #define __int8_t_defined
30259 typedef $acx_cv_type_int8_t int8_t;
30265 #ifndef __int16_t_defined
30266 #define __int16_t_defined
30267 typedef $acx_cv_type_int16_t int16_t;
30273 #ifndef __int32_t_defined
30274 #define __int32_t_defined
30275 typedef $acx_cv_type_int32_t int32_t;
30279 elif test "$ac_cv_type_u_int32_t" = yes; then
30280 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30282 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
30295 #ifndef __uint8_t_defined
30296 #define __uint8_t_defined
30297 typedef u_int8_t uint8_t;
30303 #ifndef __uint16_t_defined
30304 #define __uint16_t_defined
30305 typedef u_int16_t uint16_t;
30311 #ifndef __uint32_t_defined
30312 #define __uint32_t_defined
30313 typedef u_int32_t uint32_t;
30318 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30320 /* Some systems have guard macros to prevent redefinitions, define them. */
30342 # ------------- done basic int types, emit int64_t types ------------
30343 if test "$ac_cv_type_uint64_t" = yes; then
30344 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30346 /* system headers have good uint64_t and int64_t */
30354 elif test "$ac_cv_type_u_int64_t" = yes; then
30355 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30357 /* system headers have an u_int64_t (and int64_t) */
30363 #ifndef __uint64_t_defined
30364 #define __uint64_t_defined
30365 typedef u_int64_t uint64_t;
30369 elif test -n "$acx_cv_type_int64_t"; then
30370 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30372 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
30375 typedef $acx_cv_type_int64_t int64_t;
30379 #ifndef __uint64_t_defined
30380 #define __uint64_t_defined
30381 typedef unsigned $acx_cv_type_int64_t uint64_t;
30386 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30388 /* some common heuristics for int64_t, using compiler-specific tests */
30389 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
30392 #ifndef __int64_t_defined
30393 typedef long long int64_t;
30398 typedef unsigned long long uint64_t;
30401 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
30402 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
30403 does not implement __extension__. But that compiler doesn't define
30405 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
30406 # define __extension__
30411 __extension__ typedef long long int64_t;
30415 __extension__ typedef unsigned long long uint64_t;
30418 #elif !defined __STRICT_ANSI__
30419 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
30423 typedef __int64 int64_t;
30427 typedef unsigned __int64 uint64_t;
30429 # endif /* compiler */
30431 #endif /* ANSI version */
30435 # ------------- done int64_t types, emit intptr types ------------
30436 if test "$ac_cv_type_uintptr_t" != yes; then
30437 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30439 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
30440 #ifndef __uintptr_t_defined
30441 typedef u$acx_cv_type_intptr_t uintptr_t;
30443 #ifndef __intptr_t_defined
30444 typedef $acx_cv_type_intptr_t intptr_t;
30449 # ------------- done intptr types, emit int_least types ------------
30450 if test "$ac_cv_type_int_least32_t" != yes; then
30451 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30453 /* Define int_least types */
30454 typedef int8_t int_least8_t;
30455 typedef int16_t int_least16_t;
30456 typedef int32_t int_least32_t;
30458 typedef int64_t int_least64_t;
30461 typedef uint8_t uint_least8_t;
30462 typedef uint16_t uint_least16_t;
30463 typedef uint32_t uint_least32_t;
30465 typedef uint64_t uint_least64_t;
30470 # ------------- done intptr types, emit int_fast types ------------
30471 if test "$ac_cv_type_int_fast32_t" != yes; then
30472 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30474 /* Define int_fast types. short is often slow */
30475 typedef int8_t int_fast8_t;
30476 typedef int int_fast16_t;
30477 typedef int32_t int_fast32_t;
30479 typedef int64_t int_fast64_t;
30482 typedef uint8_t uint_fast8_t;
30483 typedef unsigned int uint_fast16_t;
30484 typedef uint32_t uint_fast32_t;
30486 typedef uint64_t uint_fast64_t;
30491 if test "$ac_cv_type_uintmax_t" != yes; then
30492 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30494 /* Define intmax based on what we found */
30496 typedef int64_t intmax_t;
30498 typedef long intmax_t;
30501 typedef uint64_t uintmax_t;
30503 typedef unsigned long uintmax_t;
30508 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30510 #endif /* GCC_GENERATED_STDINT_H */
30513 if test -r gdb_stdint.h
&& cmp -s tmp-stdint.h gdb_stdint.h
; then
30516 mv -f tmp-stdint.h gdb_stdint.h
30522 sed -e '/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
30523 mv -f Makefile.tmp Makefile
30526 case x
$CONFIG_HEADERS in
30527 xconfig.h
:config.
in)
30535 cat >>$CONFIG_STATUS <<\_ACEOF
30537 { (exit 0); exit 0; }
30539 chmod +x
$CONFIG_STATUS
30540 ac_clean_files
=$ac_clean_files_save
30543 # configure is writing to config.log, and then calls config.status.
30544 # config.status does its own redirection, appending to config.log.
30545 # Unfortunately, on DOS this fails, as config.log is still kept open
30546 # by configure, so config.status won't be able to write to it; its
30547 # output is simply discarded. So we exec the FD to /dev/null,
30548 # effectively closing config.log, so it can be properly (re)opened and
30549 # appended to by config.status. When coming back to configure, we
30550 # need to make the FD available again.
30551 if test "$no_create" != yes; then
30553 ac_config_status_args
=
30554 test "$silent" = yes &&
30555 ac_config_status_args
="$ac_config_status_args --quiet"
30557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
30559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30560 # would make configure fail if this is the last instruction.
30561 $ac_cs_success ||
{ (exit 1); exit 1; }
30565 # CONFIG_SUBDIRS section.
30567 if test "$no_recursion" != yes; then
30569 # Remove --cache-file and --srcdir arguments so they do not pile up.
30570 ac_sub_configure_args
=
30572 for ac_arg
in $ac_configure_args; do
30573 if test -n "$ac_prev"; then
30578 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
30579 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
30580 ac_prev
=cache_file
;;
30581 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
30582 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
30585 --config-cache |
-C)
30587 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
30589 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
30591 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
30593 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
30595 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
30599 # Always prepend --prefix to ensure using the same prefix
30600 # in subdir configurations.
30601 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
30604 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
30606 # Do not complain, so a configure script can configure whichever
30607 # parts of a large source tree are present.
30608 test -d $srcdir/$ac_dir ||
continue
30610 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
30611 echo "$as_me: configuring in $ac_dir" >&6;}
30612 { if $as_mkdir_p; then
30617 while test ! -d "$as_dir"; do
30618 as_dirs
="$as_dir $as_dirs"
30619 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30621 X"$as_dir" : 'X\(//\)[^/]' \| \
30622 X"$as_dir" : 'X\(//\)$' \| \
30623 X"$as_dir" : 'X\(/\)' \| \
30624 . : '\(.\)' 2>/dev/null ||
30626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30628 /^X\(\/\/\)$/{ s//\1/; q; }
30629 /^X\(\/\).*/{ s//\1/; q; }
30632 test ! -n "$as_dirs" || mkdir
$as_dirs
30633 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30634 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30635 { (exit 1); exit 1; }; }; }
30639 if test "$ac_dir" != .
; then
30640 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30641 # A "../" for each directory in $ac_dir_suffix.
30642 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30644 ac_dir_suffix
= ac_top_builddir
=
30648 .
) # No --srcdir option. We are building in place.
30650 if test -z "$ac_top_builddir"; then
30653 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30655 [\\/]* | ?
:[\\/]* ) # Absolute path.
30656 ac_srcdir
=$srcdir$ac_dir_suffix;
30657 ac_top_srcdir
=$srcdir ;;
30658 *) # Relative path.
30659 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30660 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30663 # Do not use `cd foo && pwd` to compute absolute paths, because
30664 # the directories may not exist.
30666 .
) ac_abs_builddir
="$ac_dir";;
30669 .
) ac_abs_builddir
=`pwd`;;
30670 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30671 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30674 case $ac_abs_builddir in
30675 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30677 case ${ac_top_builddir}.
in
30678 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30679 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30680 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30683 case $ac_abs_builddir in
30684 .
) ac_abs_srcdir
=$ac_srcdir;;
30687 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30688 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30689 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30692 case $ac_abs_builddir in
30693 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30695 case $ac_top_srcdir in
30696 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30697 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30698 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30705 # Check for guested configure; otherwise get Cygnus style configure.
30706 if test -f $ac_srcdir/configure.gnu
; then
30707 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
30708 elif test -f $ac_srcdir/configure
; then
30709 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
30710 elif test -f $ac_srcdir/configure.
in; then
30711 ac_sub_configure
=$ac_configure
30713 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
30714 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
30718 # The recursion is here.
30719 if test -n "$ac_sub_configure"; then
30720 # Make the cache file name correct relative to the subdirectory.
30721 case $cache_file in
30722 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
30723 *) # Relative path.
30724 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
30727 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
30728 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
30729 # The eval makes quoting arguments work.
30730 eval $ac_sub_configure $ac_sub_configure_args \
30731 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
30732 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
30733 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
30734 { (exit 1); exit 1; }; }