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 am__leading_dot DEPDIR CCDEPMODE MAKE GMAKE_TRUE GMAKE_FALSE SET_MAKE 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 GNULIB_STDINT_H 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 AMTAR am__tar am__untar am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH am__fastdepCC_TRUE am__fastdepCC_FALSE subdirs TARGET_OBS PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI 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 PYTHON_CFLAGS 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_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_INCLUDE TCL_LIBRARY TCL_DEPS TK_VERSION TK_BIN_DIR TK_SRC_DIR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_INCLUDE TK_LIBRARY TK_DEPS TK_XINCLUDES X_CFLAGS X_LDFLAGS X_LIBS 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'
321 # Initialize some variables set by options.
323 ac_init_version
=false
324 # The variables have the same names as the options, with
325 # dashes changed to underlines.
333 program_transform_name
=s
,x
,x
,
341 # Installation directory options.
342 # These are left unexpanded so users can "make install exec_prefix=/foo"
343 # and all the variables that are supposed to be based on exec_prefix
344 # by default will actually change.
345 # Use braces instead of parens because sh, perl, etc. also accept them.
346 bindir
='${exec_prefix}/bin'
347 sbindir
='${exec_prefix}/sbin'
348 libexecdir
='${exec_prefix}/libexec'
349 datadir
='${prefix}/share'
350 sysconfdir
='${prefix}/etc'
351 sharedstatedir
='${prefix}/com'
352 localstatedir
='${prefix}/var'
353 libdir
='${exec_prefix}/lib'
354 includedir
='${prefix}/include'
355 oldincludedir
='/usr/include'
356 infodir
='${prefix}/info'
357 mandir
='${prefix}/man'
362 # If the previous option needs an argument, assign it.
363 if test -n "$ac_prev"; then
364 eval "$ac_prev=\$ac_option"
369 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
371 # Accept the important Cygnus configure options, so we can diagnose typos.
375 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
377 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
380 -build |
--build |
--buil |
--bui |
--bu)
381 ac_prev
=build_alias
;;
382 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
383 build_alias
=$ac_optarg ;;
385 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
386 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
387 ac_prev
=cache_file
;;
388 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
389 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
390 cache_file
=$ac_optarg ;;
393 cache_file
=config.cache
;;
395 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
397 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
399 datadir
=$ac_optarg ;;
401 -disable-* |
--disable-*)
402 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
403 # Reject names that are not valid shell variable names.
404 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
405 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
406 { (exit 1); exit 1; }; }
407 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
408 eval "enable_$ac_feature=no" ;;
410 -enable-* |
--enable-*)
411 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
412 # Reject names that are not valid shell variable names.
413 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
414 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
415 { (exit 1); exit 1; }; }
416 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
418 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
421 eval "enable_$ac_feature='$ac_optarg'" ;;
423 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
424 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
425 |
--exec |
--exe |
--ex)
426 ac_prev
=exec_prefix
;;
427 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
428 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
429 |
--exec=* |
--exe=* |
--ex=*)
430 exec_prefix
=$ac_optarg ;;
432 -gas |
--gas |
--ga |
--g)
433 # Obsolete; use --with-gas.
436 -help |
--help |
--hel |
--he |
-h)
438 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
439 ac_init_help
=recursive
;;
440 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
441 ac_init_help
=short
;;
443 -host |
--host |
--hos |
--ho)
444 ac_prev
=host_alias
;;
445 -host=* |
--host=* |
--hos=* |
--ho=*)
446 host_alias
=$ac_optarg ;;
448 -includedir |
--includedir |
--includedi |
--included |
--include \
449 |
--includ |
--inclu |
--incl |
--inc)
450 ac_prev
=includedir
;;
451 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
452 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
453 includedir
=$ac_optarg ;;
455 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
457 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
458 infodir
=$ac_optarg ;;
460 -libdir |
--libdir |
--libdi |
--libd)
462 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
465 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
466 |
--libexe |
--libex |
--libe)
467 ac_prev
=libexecdir
;;
468 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
469 |
--libexe=* |
--libex=* |
--libe=*)
470 libexecdir
=$ac_optarg ;;
472 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
473 |
--localstate |
--localstat |
--localsta |
--localst \
474 |
--locals |
--local |
--loca |
--loc |
--lo)
475 ac_prev
=localstatedir
;;
476 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
477 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
478 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
479 localstatedir
=$ac_optarg ;;
481 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
483 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
487 # Obsolete; use --without-fp.
490 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
491 |
--no-cr |
--no-c |
-n)
494 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
495 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
498 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
499 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
500 |
--oldin |
--oldi |
--old |
--ol |
--o)
501 ac_prev
=oldincludedir
;;
502 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
503 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
504 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
505 oldincludedir
=$ac_optarg ;;
507 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
509 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
512 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
513 |
--program-pre |
--program-pr |
--program-p)
514 ac_prev
=program_prefix
;;
515 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
516 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
517 program_prefix
=$ac_optarg ;;
519 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
520 |
--program-suf |
--program-su |
--program-s)
521 ac_prev
=program_suffix
;;
522 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
523 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
524 program_suffix
=$ac_optarg ;;
526 -program-transform-name |
--program-transform-name \
527 |
--program-transform-nam |
--program-transform-na \
528 |
--program-transform-n |
--program-transform- \
529 |
--program-transform |
--program-transfor \
530 |
--program-transfo |
--program-transf \
531 |
--program-trans |
--program-tran \
532 |
--progr-tra |
--program-tr |
--program-t)
533 ac_prev
=program_transform_name
;;
534 -program-transform-name=* |
--program-transform-name=* \
535 |
--program-transform-nam=* |
--program-transform-na=* \
536 |
--program-transform-n=* |
--program-transform-=* \
537 |
--program-transform=* |
--program-transfor=* \
538 |
--program-transfo=* |
--program-transf=* \
539 |
--program-trans=* |
--program-tran=* \
540 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
541 program_transform_name
=$ac_optarg ;;
543 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
544 |
-silent |
--silent |
--silen |
--sile |
--sil)
547 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
549 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
551 sbindir
=$ac_optarg ;;
553 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
554 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
555 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
557 ac_prev
=sharedstatedir
;;
558 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
559 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
560 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
562 sharedstatedir
=$ac_optarg ;;
564 -site |
--site |
--sit)
566 -site=* |
--site=* |
--sit=*)
569 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
571 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
574 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
575 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
576 ac_prev
=sysconfdir
;;
577 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
578 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
579 sysconfdir
=$ac_optarg ;;
581 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
582 ac_prev
=target_alias
;;
583 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
584 target_alias
=$ac_optarg ;;
586 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
589 -version |
--version |
--versio |
--versi |
--vers |
-V)
593 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
596 { echo "$as_me: error: invalid package name: $ac_package" >&2
597 { (exit 1); exit 1; }; }
598 ac_package
=`echo $ac_package| sed 's/-/_/g'`
600 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
603 eval "with_$ac_package='$ac_optarg'" ;;
605 -without-* |
--without-*)
606 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
607 # Reject names that are not valid shell variable names.
608 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
609 { echo "$as_me: error: invalid package name: $ac_package" >&2
610 { (exit 1); exit 1; }; }
611 ac_package
=`echo $ac_package | sed 's/-/_/g'`
612 eval "with_$ac_package=no" ;;
615 # Obsolete; use --with-x.
618 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
619 |
--x-incl |
--x-inc |
--x-in |
--x-i)
620 ac_prev
=x_includes
;;
621 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
622 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
623 x_includes
=$ac_optarg ;;
625 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
626 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
627 ac_prev
=x_libraries
;;
628 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
629 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
630 x_libraries
=$ac_optarg ;;
632 -*) { echo "$as_me: error: unrecognized option: $ac_option
633 Try \`$0 --help' for more information." >&2
634 { (exit 1); exit 1; }; }
638 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
639 # Reject names that are not valid shell variable names.
640 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
641 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
642 { (exit 1); exit 1; }; }
643 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
644 eval "$ac_envvar='$ac_optarg'"
648 # FIXME: should be removed in autoconf 3.0.
649 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
650 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
651 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
652 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
658 if test -n "$ac_prev"; then
659 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
660 { echo "$as_me: error: missing argument to $ac_option" >&2
661 { (exit 1); exit 1; }; }
664 # Be sure to have absolute paths.
665 for ac_var
in exec_prefix prefix
667 eval ac_val
=$
`echo $ac_var`
669 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
670 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
671 { (exit 1); exit 1; }; };;
675 # Be sure to have absolute paths.
676 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
677 localstatedir libdir includedir oldincludedir infodir mandir
679 eval ac_val
=$
`echo $ac_var`
681 [\\/$
]* | ?
:[\\/]* ) ;;
682 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
683 { (exit 1); exit 1; }; };;
687 # There might be people who depend on the old broken behavior: `$host'
688 # used to hold the argument of --host etc.
689 # FIXME: To remove some day.
694 # FIXME: To remove some day.
695 if test "x$host_alias" != x
; then
696 if test "x$build_alias" = x
; then
697 cross_compiling
=maybe
698 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
699 If a cross compiler is detected then cross compile mode will be used." >&2
700 elif test "x$build_alias" != "x$host_alias"; then
706 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
708 test "$silent" = yes && exec 6>/dev
/null
711 # Find the source files, if location was not specified.
712 if test -z "$srcdir"; then
713 ac_srcdir_defaulted
=yes
714 # Try the directory containing this script, then its parent.
715 ac_confdir
=`(dirname "$0") 2>/dev/null ||
716 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
717 X"$0" : 'X\(//\)[^/]' \| \
718 X"$0" : 'X\(//\)$' \| \
719 X"$0" : 'X\(/\)' \| \
720 . : '\(.\)' 2>/dev/null ||
722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
724 /^X\(\/\/\)$/{ s//\1/; q; }
725 /^X\(\/\).*/{ s//\1/; q; }
728 if test ! -r $srcdir/$ac_unique_file; then
732 ac_srcdir_defaulted
=no
734 if test ! -r $srcdir/$ac_unique_file; then
735 if test "$ac_srcdir_defaulted" = yes; then
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
737 { (exit 1); exit 1; }; }
739 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
740 { (exit 1); exit 1; }; }
743 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
744 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
745 { (exit 1); exit 1; }; }
746 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
747 ac_env_build_alias_set
=${build_alias+set}
748 ac_env_build_alias_value
=$build_alias
749 ac_cv_env_build_alias_set
=${build_alias+set}
750 ac_cv_env_build_alias_value
=$build_alias
751 ac_env_host_alias_set
=${host_alias+set}
752 ac_env_host_alias_value
=$host_alias
753 ac_cv_env_host_alias_set
=${host_alias+set}
754 ac_cv_env_host_alias_value
=$host_alias
755 ac_env_target_alias_set
=${target_alias+set}
756 ac_env_target_alias_value
=$target_alias
757 ac_cv_env_target_alias_set
=${target_alias+set}
758 ac_cv_env_target_alias_value
=$target_alias
759 ac_env_CC_set
=${CC+set}
761 ac_cv_env_CC_set
=${CC+set}
762 ac_cv_env_CC_value
=$CC
763 ac_env_CFLAGS_set
=${CFLAGS+set}
764 ac_env_CFLAGS_value
=$CFLAGS
765 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
766 ac_cv_env_CFLAGS_value
=$CFLAGS
767 ac_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_env_LDFLAGS_value
=$LDFLAGS
769 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
770 ac_cv_env_LDFLAGS_value
=$LDFLAGS
771 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
774 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
775 ac_env_CPP_set
=${CPP+set}
776 ac_env_CPP_value
=$CPP
777 ac_cv_env_CPP_set
=${CPP+set}
778 ac_cv_env_CPP_value
=$CPP
781 # Report the --help message.
783 if test "$ac_init_help" = "long"; then
784 # Omit some internal or obsolete options to make the list less imposing.
785 # This message is too long to be a string in the A/UX 3.1 sh.
787 \`configure' configures this package to adapt to many kinds of systems.
789 Usage: $0 [OPTION]... [VAR=VALUE]...
791 To assign environment variables (e.g., CC, CFLAGS...), specify them as
792 VAR=VALUE. See below for descriptions of some of the useful variables.
794 Defaults for the options are specified in brackets.
797 -h, --help display this help and exit
798 --help=short display options specific to this package
799 --help=recursive display the short help of all the included packages
800 -V, --version display version information and exit
801 -q, --quiet, --silent do not print \`checking...' messages
802 --cache-file=FILE cache test results in FILE [disabled]
803 -C, --config-cache alias for \`--cache-file=config.cache'
804 -n, --no-create do not create output files
805 --srcdir=DIR find the sources in DIR [configure dir or \`..']
810 Installation directories:
811 --prefix=PREFIX install architecture-independent files in PREFIX
813 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
816 By default, \`make install' will install all the files in
817 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
818 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
819 for instance \`--prefix=\$HOME'.
821 For better control, use the options below.
823 Fine tuning of the installation directories:
824 --bindir=DIR user executables [EPREFIX/bin]
825 --sbindir=DIR system admin executables [EPREFIX/sbin]
826 --libexecdir=DIR program executables [EPREFIX/libexec]
827 --datadir=DIR read-only architecture-independent data [PREFIX/share]
828 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
829 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
830 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
831 --libdir=DIR object code libraries [EPREFIX/lib]
832 --includedir=DIR C header files [PREFIX/include]
833 --oldincludedir=DIR C header files for non-gcc [/usr/include]
834 --infodir=DIR info documentation [PREFIX/info]
835 --mandir=DIR man documentation [PREFIX/man]
841 --program-prefix=PREFIX prepend PREFIX to installed program names
842 --program-suffix=SUFFIX append SUFFIX to installed program names
843 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
846 --x-includes=DIR X include files are
in DIR
847 --x-libraries=DIR X library files are
in DIR
850 --build=BUILD configure
for building on BUILD
[guessed
]
851 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
852 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
856 if test -n "$ac_init_help"; then
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --enable-maintainer-mode enable make rules and dependencies not useful
864 (and sometimes confusing
) to the casual installer
865 --disable-dependency-tracking speeds up one-time build
866 --enable-dependency-tracking do not reject slow dependency extractors
867 --enable-targets alternative target configurations
868 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
869 --disable-gdbcli disable command-line interface
(CLI
)
870 --disable-gdbmi disable machine-interface
(MI
)
871 --enable-tui enable full-screen terminal user interface
(TUI
)
872 --enable-gdbtk enable gdbtk graphical user interface
(GUI
)
873 --enable-profiling enable profiling of GDB
874 --disable-rpath do not hardcode runtime library paths
875 --enable-werror treat compile warnings as errors
876 --enable-build-warnings Enable build-time compiler warnings
if gcc is used
877 --enable-gdb-build-warnings Enable GDB specific build-time compiler warnings
if gcc is used
878 --enable-sim Link gdb with simulator
879 --enable-multi-ice build the multi-ice-gdb-server
882 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
883 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
884 --with-separate-debug-dir=path Look
for global separate debug info
in this path LIBDIR
/debug
885 --with-libunwind Use libunwind frame unwinding support
886 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GDB"
887 --with-bugurl=URL Direct users to URL to report a bug
888 --with-system-readline use installed readline library
889 --with-expat include expat support
(auto
/yes
/no
)
890 --with-gnu-ld assume the C compiler uses GNU ld default
=no
891 --with-libexpat-prefix[=DIR
] search
for libexpat
in DIR
/include and DIR
/lib
892 --without-libexpat-prefix don
't search for libexpat in includedir and libdir
893 --with-python include python support (auto/yes/no/<path>)
894 --without-included-regex don't use included regex
; this is the default
895 on systems with version
2 of the GNU C library
896 (use with caution on other system
)
897 --with-sysroot=DIR Search
for usr
/lib et al within DIR.
898 --with-tcl directory containing tcl configuration
(tclConfig.sh
)
899 --with-tk directory containing tk configuration
(tkConfig.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 # differences in whitespace do not lead to failure.
1297 ac_old_val_w=`echo x $ac_old_val`
1298 ac_new_val_w=`echo x $ac_new_val`
1299 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1300 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1301 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1302 ac_cache_corrupted=:
1304 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1305 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1306 eval $ac_var=\$ac_old_val
1308 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1309 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1310 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1311 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1314 # Pass precious variables to config.status.
1315 if test "$ac_new_set" = set; then
1317 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1318 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1319 *) ac_arg=$ac_var=$ac_new_val ;;
1321 case " $ac_configure_args " in
1322 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1323 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327 if $ac_cache_corrupted; then
1328 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1329 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1330 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1331 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1332 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1333 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1334 { (exit 1); exit 1; }; }
1338 ac_cpp='$CPP $CPPFLAGS'
1339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1344 gl_header_list="$gl_header_list stdint.h"
1345 gl_header_list="$gl_header_list wchar.h"
1346 gl_header_list="$gl_header_list string.h"
1367 ac_config_headers="$ac_config_headers config.h:config.in"
1369 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1370 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1371 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1372 if test "${enable_maintainer_mode+set}" = set; then
1373 enableval="$enable_maintainer_mode"
1374 USE_MAINTAINER_MODE=$enableval
1376 USE_MAINTAINER_MODE=no
1378 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1379 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1382 if test $USE_MAINTAINER_MODE = yes; then
1383 MAINTAINER_MODE_TRUE=
1384 MAINTAINER_MODE_FALSE='#'
1386 MAINTAINER_MODE_TRUE='#'
1387 MAINTAINER_MODE_FALSE=
1390 MAINT=$MAINTAINER_MODE_TRUE
1395 ac_cpp='$CPP $CPPFLAGS'
1396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1399 if test -n "$ac_tool_prefix"; then
1400 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1401 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1402 echo "$as_me:$LINENO: checking for $ac_word" >&5
1403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1404 if test "${ac_cv_prog_CC+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 if test -n "$CC"; then
1408 ac_cv_prog_CC="$CC" # Let the user override the test.
1410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1414 test -z "$as_dir" && as_dir=.
1415 for ac_exec_ext in '' $ac_executable_extensions; do
1416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1417 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1427 if test -n "$CC"; then
1428 echo "$as_me:$LINENO: result: $CC" >&5
1429 echo "${ECHO_T}$CC" >&6
1431 echo "$as_me:$LINENO: result: no" >&5
1432 echo "${ECHO_T}no" >&6
1436 if test -z "$ac_cv_prog_CC"; then
1438 # Extract the first word of "gcc", so it can be a program name with args.
1439 set dummy gcc; ac_word=$2
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1442 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
1445 if test -n "$ac_ct_CC"; then
1446 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir=.
1453 for ac_exec_ext in '' $ac_executable_extensions; do
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1455 ac_cv_prog_ac_ct_CC="gcc"
1456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1464 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1465 if test -n "$ac_ct_CC"; then
1466 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1467 echo "${ECHO_T}$ac_ct_CC" >&6
1469 echo "$as_me:$LINENO: result: no" >&5
1470 echo "${ECHO_T}no" >&6
1478 if test -z "$CC"; then
1479 if test -n "$ac_tool_prefix"; then
1480 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1481 set dummy ${ac_tool_prefix}cc; ac_word=$2
1482 echo "$as_me:$LINENO: checking for $ac_word" >&5
1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484 if test "${ac_cv_prog_CC+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 if test -n "$CC"; then
1488 ac_cv_prog_CC="$CC" # Let the user override the test.
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 test -z "$as_dir" && as_dir=.
1495 for ac_exec_ext in '' $ac_executable_extensions; do
1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1497 ac_cv_prog_CC="${ac_tool_prefix}cc"
1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1507 if test -n "$CC"; then
1508 echo "$as_me:$LINENO: result: $CC" >&5
1509 echo "${ECHO_T}$CC" >&6
1511 echo "$as_me:$LINENO: result: no" >&5
1512 echo "${ECHO_T}no" >&6
1516 if test -z "$ac_cv_prog_CC"; then
1518 # Extract the first word of "cc", so it can be a program name with args.
1519 set dummy cc; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 if test -n "$ac_ct_CC"; then
1526 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_prog_ac_ct_CC="cc"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1544 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1545 if test -n "$ac_ct_CC"; then
1546 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1547 echo "${ECHO_T}$ac_ct_CC" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1559 if test -z "$CC"; then
1560 # Extract the first word of "cc", so it can be a program name with args.
1561 set dummy cc; ac_word=$2
1562 echo "$as_me:$LINENO: checking for $ac_word" >&5
1563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1564 if test "${ac_cv_prog_CC+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 if test -n "$CC"; then
1568 ac_cv_prog_CC="$CC" # Let the user override the test.
1571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1575 test -z "$as_dir" && as_dir=.
1576 for ac_exec_ext in '' $ac_executable_extensions; do
1577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1578 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1579 ac_prog_rejected=yes
1583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1589 if test $ac_prog_rejected = yes; then
1590 # We found a bogon in the path, so make sure we never use it.
1591 set dummy $ac_cv_prog_CC
1593 if test $# != 0; then
1594 # We chose a different compiler from the bogus one.
1595 # However, it has the same basename, so the bogon will be chosen
1596 # first if we set CC to just the basename; use the full file name.
1598 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1604 if test -n "$CC"; then
1605 echo "$as_me:$LINENO: result: $CC" >&5
1606 echo "${ECHO_T}$CC" >&6
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1613 if test -z "$CC"; then
1614 if test -n "$ac_tool_prefix"; then
1617 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1618 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1619 echo "$as_me:$LINENO: checking for $ac_word" >&5
1620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1621 if test "${ac_cv_prog_CC+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1624 if test -n "$CC"; then
1625 ac_cv_prog_CC="$CC" # Let the user override the test.
1627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631 test -z "$as_dir" && as_dir=.
1632 for ac_exec_ext in '' $ac_executable_extensions; do
1633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1634 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1644 if test -n "$CC"; then
1645 echo "$as_me:$LINENO: result: $CC" >&5
1646 echo "${ECHO_T}$CC" >&6
1648 echo "$as_me:$LINENO: result: no" >&5
1649 echo "${ECHO_T}no" >&6
1652 test -n "$CC" && break
1655 if test -z "$CC"; then
1659 # Extract the first word of "$ac_prog", so it can be a program name with args.
1660 set dummy $ac_prog; ac_word=$2
1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 if test -n "$ac_ct_CC"; then
1667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 test -z "$as_dir" && as_dir=.
1674 for ac_exec_ext in '' $ac_executable_extensions; do
1675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1676 ac_cv_prog_ac_ct_CC="$ac_prog"
1677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1686 if test -n "$ac_ct_CC"; then
1687 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1688 echo "${ECHO_T}$ac_ct_CC" >&6
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1694 test -n "$ac_ct_CC" && break
1703 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1704 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1705 { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1706 See \
`config.log' for more details." >&5
1707 echo "$as_me: error: no acceptable C compiler found in \$PATH
1708 See \`config.log
' for more details." >&2;}
1709 { (exit 1); exit 1; }; }; }
1711 # Provide some information about the compiler.
1712 echo "$as_me:$LINENO:" \
1713 "checking for C compiler version" >&5
1714 ac_compiler=`set X $ac_compile; echo $2`
1715 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1716 (eval $ac_compiler --version </dev/null >&5) 2>&5
1718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1719 (exit $ac_status); }
1720 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1721 (eval $ac_compiler -v </dev/null >&5) 2>&5
1723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1724 (exit $ac_status); }
1725 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1726 (eval $ac_compiler -V </dev/null >&5) 2>&5
1728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1729 (exit $ac_status); }
1731 cat >conftest.$ac_ext <<_ACEOF
1734 cat confdefs.h >>conftest.$ac_ext
1735 cat >>conftest.$ac_ext <<_ACEOF
1736 /* end confdefs.h. */
1746 ac_clean_files_save=$ac_clean_files
1747 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1748 # Try to create an executable without -o first, disregard a.out.
1749 # It will help us diagnose broken compilers, and finding out an intuition
1751 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1752 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1753 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1754 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1755 (eval $ac_link_default) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }; then
1759 # Find the output, starting from the most likely. This scheme is
1760 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1763 # Be careful to initialize this variable, since it used to be cached.
1764 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1766 # b.out is created by i960 compilers.
1767 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1769 test -f "$ac_file" ||
continue
1771 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1774 # This is the source file.
1777 # We found the default executable, but exeext='' is most
1781 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1782 # FIXME: I believe we export ac_cv_exeext for Libtool,
1783 # but it would be cool to find out if it's true. Does anybody
1784 # maintain Libtool? --akim.
1792 echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.
$ac_ext >&5
1795 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1796 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1797 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1798 See \`config.log' for more details." >&5
1799 echo "$as_me: error: C compiler cannot create executables
1800 See \`config.log' for more details." >&2;}
1801 { (exit 77); exit 77; }; }; }
1804 ac_exeext
=$ac_cv_exeext
1805 echo "$as_me:$LINENO: result: $ac_file" >&5
1806 echo "${ECHO_T}$ac_file" >&6
1808 # Check the compiler produces executables we can run. If not, either
1809 # the compiler is broken, or we cross compile.
1810 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1811 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1812 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1813 # If not cross compiling, check that we can run a simple program.
1814 if test "$cross_compiling" != yes; then
1815 if { ac_try
='./$ac_file'
1816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 (exit $ac_status); }; }; then
1823 if test "$cross_compiling" = maybe
; then
1826 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1827 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1828 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1829 If you meant to cross compile, use \`--host'.
1830 See \`config.log' for more details." >&5
1831 echo "$as_me: error: cannot run C compiled programs.
1832 If you meant to cross compile, use \`--host'.
1833 See \`config.log' for more details." >&2;}
1834 { (exit 1); exit 1; }; }; }
1838 echo "$as_me:$LINENO: result: yes" >&5
1839 echo "${ECHO_T}yes" >&6
1841 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1842 ac_clean_files
=$ac_clean_files_save
1843 # Check the compiler produces executables we can run. If not, either
1844 # the compiler is broken, or we cross compile.
1845 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1846 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1847 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1848 echo "${ECHO_T}$cross_compiling" >&6
1850 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1851 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1853 (eval $ac_link) 2>&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }; then
1857 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1858 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1859 # work properly (i.e., refer to `conftest.exe'), while it won't with
1861 for ac_file
in conftest.exe conftest conftest.
*; do
1862 test -f "$ac_file" ||
continue
1864 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1865 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1872 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1873 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1874 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1875 See \`config.log' for more details." >&5
1876 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1877 See \`config.log' for more details." >&2;}
1878 { (exit 1); exit 1; }; }; }
1881 rm -f conftest
$ac_cv_exeext
1882 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1883 echo "${ECHO_T}$ac_cv_exeext" >&6
1885 rm -f conftest.
$ac_ext
1886 EXEEXT
=$ac_cv_exeext
1888 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1889 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1890 if test "${ac_cv_objext+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 cat >conftest.
$ac_ext <<_ACEOF
1896 cat confdefs.h
>>conftest.
$ac_ext
1897 cat >>conftest.
$ac_ext <<_ACEOF
1898 /* end confdefs.h. */
1908 rm -f conftest.o conftest.obj
1909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1910 (eval $ac_compile) 2>&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); }; then
1914 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1916 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1917 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1922 echo "$as_me: failed program was:" >&5
1923 sed 's/^/| /' conftest.
$ac_ext >&5
1925 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1926 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1927 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1928 See \`config.log' for more details." >&5
1929 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1930 See \`config.log' for more details." >&2;}
1931 { (exit 1); exit 1; }; }; }
1934 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1936 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1937 echo "${ECHO_T}$ac_cv_objext" >&6
1938 OBJEXT
=$ac_cv_objext
1940 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1941 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1942 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1943 echo $ECHO_N "(cached) $ECHO_C" >&6
1945 cat >conftest.
$ac_ext <<_ACEOF
1948 cat confdefs.h
>>conftest.
$ac_ext
1949 cat >>conftest.
$ac_ext <<_ACEOF
1950 /* end confdefs.h. */
1963 rm -f conftest.
$ac_objext
1964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1965 (eval $ac_compile) 2>conftest.er1
1967 grep -v '^ *+' conftest.er1
>conftest.err
1969 cat conftest.err
>&5
1970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971 (exit $ac_status); } &&
1972 { ac_try
='test -z "$ac_c_werror_flag"
1973 || test ! -s conftest.err'
1974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1978 (exit $ac_status); }; } &&
1979 { ac_try
='test -s conftest.$ac_objext'
1980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); }; }; then
1987 echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.
$ac_ext >&5
1992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1993 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1996 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1997 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1998 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1999 ac_test_CFLAGS
=${CFLAGS+set}
2000 ac_save_CFLAGS
=$CFLAGS
2002 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2003 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2004 if test "${ac_cv_prog_cc_g+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2007 cat >conftest.
$ac_ext <<_ACEOF
2010 cat confdefs.h
>>conftest.
$ac_ext
2011 cat >>conftest.
$ac_ext <<_ACEOF
2012 /* end confdefs.h. */
2022 rm -f conftest.
$ac_objext
2023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2024 (eval $ac_compile) 2>conftest.er1
2026 grep -v '^ *+' conftest.er1
>conftest.err
2028 cat conftest.err
>&5
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); } &&
2031 { ac_try
='test -z "$ac_c_werror_flag"
2032 || test ! -s conftest.err'
2033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }; } &&
2038 { ac_try
='test -s conftest.$ac_objext'
2039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2043 (exit $ac_status); }; }; then
2046 echo "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.
$ac_ext >&5
2051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2053 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2054 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2055 if test "$ac_test_CFLAGS" = set; then
2056 CFLAGS
=$ac_save_CFLAGS
2057 elif test $ac_cv_prog_cc_g = yes; then
2058 if test "$GCC" = yes; then
2064 if test "$GCC" = yes; then
2070 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2071 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2072 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 ac_cv_prog_cc_stdc
=no
2077 cat >conftest.
$ac_ext <<_ACEOF
2080 cat confdefs.h
>>conftest.
$ac_ext
2081 cat >>conftest.
$ac_ext <<_ACEOF
2082 /* end confdefs.h. */
2085 #include <sys/types.h>
2086 #include <sys/stat.h>
2087 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2088 struct buf { int x; };
2089 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2090 static char *e (p, i)
2096 static char *f (char * (*g) (char **, int), char **p, ...)
2101 s = g (p, va_arg (v,int));
2106 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2107 function prototypes and stuff, but not '\xHH' hex character constants.
2108 These don't provoke an error unfortunately, instead are silently treated
2109 as 'x'. The following induces an error, until -std1 is added to get
2110 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2111 array size at least. It's necessary to write '\x00'==0 to get something
2112 that's true only with -std1. */
2113 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2115 int test (int i, double x);
2116 struct s1 {int (*f) (int a);};
2117 struct s2 {int (*f) (double a);};
2118 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2124 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2129 # Don't try gcc -ansi; that turns off useful extensions and
2130 # breaks some systems' header files.
2131 # AIX -qlanglvl=ansi
2132 # Ultrix and OSF/1 -std1
2133 # HP-UX 10.20 and later -Ae
2134 # HP-UX older versions -Aa -D_HPUX_SOURCE
2135 # SVR4 -Xc -D__EXTENSIONS__
2136 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2138 CC
="$ac_save_CC $ac_arg"
2139 rm -f conftest.
$ac_objext
2140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2141 (eval $ac_compile) 2>conftest.er1
2143 grep -v '^ *+' conftest.er1
>conftest.err
2145 cat conftest.err
>&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); } &&
2148 { ac_try
='test -z "$ac_c_werror_flag"
2149 || test ! -s conftest.err'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; } &&
2155 { ac_try
='test -s conftest.$ac_objext'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; }; then
2161 ac_cv_prog_cc_stdc
=$ac_arg
2164 echo "$as_me: failed program was:" >&5
2165 sed 's/^/| /' conftest.
$ac_ext >&5
2168 rm -f conftest.err conftest.
$ac_objext
2170 rm -f conftest.
$ac_ext conftest.
$ac_objext
2175 case "x$ac_cv_prog_cc_stdc" in
2177 echo "$as_me:$LINENO: result: none needed" >&5
2178 echo "${ECHO_T}none needed" >&6 ;;
2180 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2181 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2182 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2185 # Some people use a C++ compiler to compile C. Since we use `exit',
2186 # in C++ we need to declare it. In case someone uses the same compiler
2187 # for both compiling C and C++ we need to have the C++ compiler decide
2188 # the declaration of exit, since it's the most demanding environment.
2189 cat >conftest.
$ac_ext <<_ACEOF
2194 rm -f conftest.
$ac_objext
2195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2196 (eval $ac_compile) 2>conftest.er1
2198 grep -v '^ *+' conftest.er1
>conftest.err
2200 cat conftest.err
>&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); } &&
2203 { ac_try
='test -z "$ac_c_werror_flag"
2204 || test ! -s conftest.err'
2205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209 (exit $ac_status); }; } &&
2210 { ac_try
='test -s conftest.$ac_objext'
2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); }; }; then
2216 for ac_declaration
in \
2218 'extern "C" void std::exit (int) throw (); using std::exit;' \
2219 'extern "C" void std::exit (int); using std::exit;' \
2220 'extern "C" void exit (int) throw ();' \
2221 'extern "C" void exit (int);' \
2224 cat >conftest.
$ac_ext <<_ACEOF
2227 cat confdefs.h
>>conftest.
$ac_ext
2228 cat >>conftest.
$ac_ext <<_ACEOF
2229 /* end confdefs.h. */
2240 rm -f conftest.
$ac_objext
2241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2242 (eval $ac_compile) 2>conftest.er1
2244 grep -v '^ *+' conftest.er1
>conftest.err
2246 cat conftest.err
>&5
2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248 (exit $ac_status); } &&
2249 { ac_try
='test -z "$ac_c_werror_flag"
2250 || test ! -s conftest.err'
2251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); }; } &&
2256 { ac_try
='test -s conftest.$ac_objext'
2257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }; }; then
2264 echo "$as_me: failed program was:" >&5
2265 sed 's/^/| /' conftest.
$ac_ext >&5
2269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2270 cat >conftest.
$ac_ext <<_ACEOF
2273 cat confdefs.h
>>conftest.
$ac_ext
2274 cat >>conftest.
$ac_ext <<_ACEOF
2275 /* end confdefs.h. */
2285 rm -f conftest.
$ac_objext
2286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2287 (eval $ac_compile) 2>conftest.er1
2289 grep -v '^ *+' conftest.er1
>conftest.err
2291 cat conftest.err
>&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); } &&
2294 { ac_try
='test -z "$ac_c_werror_flag"
2295 || test ! -s conftest.err'
2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; } &&
2301 { ac_try
='test -s conftest.$ac_objext'
2302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; }; then
2309 echo "$as_me: failed program was:" >&5
2310 sed 's/^/| /' conftest.
$ac_ext >&5
2313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2316 if test -n "$ac_declaration"; then
2317 echo '#ifdef __cplusplus' >>confdefs.h
2318 echo $ac_declaration >>confdefs.h
2319 echo '#endif' >>confdefs.h
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.
$ac_ext >&5
2327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2329 ac_cpp
='$CPP $CPPFLAGS'
2330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2335 cat >>confdefs.h
<<\_ACEOF
2336 #define _GNU_SOURCE 1
2342 ac_cpp
='$CPP $CPPFLAGS'
2343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2346 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2347 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2348 # On Suns, sometimes $CPP names a directory.
2349 if test -n "$CPP" && test -d "$CPP"; then
2352 if test -z "$CPP"; then
2353 if test "${ac_cv_prog_CPP+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 # Double quotes because CPP needs to be expanded
2357 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2360 for ac_c_preproc_warn_flag
in '' yes
2362 # Use a header file that comes with gcc, so configuring glibc
2363 # with a fresh cross-compiler works.
2364 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2365 # <limits.h> exists even on freestanding compilers.
2366 # On the NeXT, cc -E runs the code through the compiler's parser,
2367 # not just through cpp. "Syntax error" is here to catch this case.
2368 cat >conftest.
$ac_ext <<_ACEOF
2371 cat confdefs.h
>>conftest.
$ac_ext
2372 cat >>conftest.
$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2375 # include <limits.h>
2377 # include <assert.h>
2381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2382 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2384 grep -v '^ *+' conftest.er1
>conftest.err
2386 cat conftest.err
>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); } >/dev
/null
; then
2389 if test -s conftest.err
; then
2390 ac_cpp_err
=$ac_c_preproc_warn_flag
2391 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2398 if test -z "$ac_cpp_err"; then
2401 echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.
$ac_ext >&5
2404 # Broken: fails on valid input.
2407 rm -f conftest.err conftest.
$ac_ext
2409 # OK, works on sane cases. Now check whether non-existent headers
2410 # can be detected and how.
2411 cat >conftest.
$ac_ext <<_ACEOF
2414 cat confdefs.h
>>conftest.
$ac_ext
2415 cat >>conftest.
$ac_ext <<_ACEOF
2416 /* end confdefs.h. */
2417 #include <ac_nonexistent.h>
2419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2422 grep -v '^ *+' conftest.er1
>conftest.err
2424 cat conftest.err
>&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); } >/dev
/null
; then
2427 if test -s conftest.err
; then
2428 ac_cpp_err
=$ac_c_preproc_warn_flag
2429 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2436 if test -z "$ac_cpp_err"; then
2437 # Broken: success on invalid input.
2440 echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.
$ac_ext >&5
2443 # Passes both tests.
2447 rm -f conftest.err conftest.
$ac_ext
2450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2451 rm -f conftest.err conftest.
$ac_ext
2452 if $ac_preproc_ok; then
2464 echo "$as_me:$LINENO: result: $CPP" >&5
2465 echo "${ECHO_T}$CPP" >&6
2467 for ac_c_preproc_warn_flag
in '' yes
2469 # Use a header file that comes with gcc, so configuring glibc
2470 # with a fresh cross-compiler works.
2471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2472 # <limits.h> exists even on freestanding compilers.
2473 # On the NeXT, cc -E runs the code through the compiler's parser,
2474 # not just through cpp. "Syntax error" is here to catch this case.
2475 cat >conftest.
$ac_ext <<_ACEOF
2478 cat confdefs.h
>>conftest.
$ac_ext
2479 cat >>conftest.
$ac_ext <<_ACEOF
2480 /* end confdefs.h. */
2482 # include <limits.h>
2484 # include <assert.h>
2488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2489 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2491 grep -v '^ *+' conftest.er1
>conftest.err
2493 cat conftest.err
>&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); } >/dev
/null
; then
2496 if test -s conftest.err
; then
2497 ac_cpp_err
=$ac_c_preproc_warn_flag
2498 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2505 if test -z "$ac_cpp_err"; then
2508 echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.
$ac_ext >&5
2511 # Broken: fails on valid input.
2514 rm -f conftest.err conftest.
$ac_ext
2516 # OK, works on sane cases. Now check whether non-existent headers
2517 # can be detected and how.
2518 cat >conftest.
$ac_ext <<_ACEOF
2521 cat confdefs.h
>>conftest.
$ac_ext
2522 cat >>conftest.
$ac_ext <<_ACEOF
2523 /* end confdefs.h. */
2524 #include <ac_nonexistent.h>
2526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2527 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2529 grep -v '^ *+' conftest.er1
>conftest.err
2531 cat conftest.err
>&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); } >/dev
/null
; then
2534 if test -s conftest.err
; then
2535 ac_cpp_err
=$ac_c_preproc_warn_flag
2536 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2543 if test -z "$ac_cpp_err"; then
2544 # Broken: success on invalid input.
2547 echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.
$ac_ext >&5
2550 # Passes both tests.
2554 rm -f conftest.err conftest.
$ac_ext
2557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2558 rm -f conftest.err conftest.
$ac_ext
2559 if $ac_preproc_ok; then
2562 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2563 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2564 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2565 See \`config.log' for more details." >&5
2566 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2567 See \`config.log' for more details." >&2;}
2568 { (exit 1); exit 1; }; }; }
2572 ac_cpp
='$CPP $CPPFLAGS'
2573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2578 echo "$as_me:$LINENO: checking for egrep" >&5
2579 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2580 if test "${ac_cv_prog_egrep+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2584 then ac_cv_prog_egrep
='grep -E'
2585 else ac_cv_prog_egrep
='egrep'
2588 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2589 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2590 EGREP
=$ac_cv_prog_egrep
2594 echo "$as_me:$LINENO: checking for AIX" >&5
2595 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2596 cat >conftest.
$ac_ext <<_ACEOF
2599 cat confdefs.h
>>conftest.
$ac_ext
2600 cat >>conftest.
$ac_ext <<_ACEOF
2601 /* end confdefs.h. */
2607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2608 $EGREP "yes" >/dev
/null
2>&1; then
2609 echo "$as_me:$LINENO: result: yes" >&5
2610 echo "${ECHO_T}yes" >&6
2611 cat >>confdefs.h
<<\_ACEOF
2612 #define _ALL_SOURCE 1
2616 echo "$as_me:$LINENO: result: no" >&5
2617 echo "${ECHO_T}no" >&6
2622 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2623 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2624 if test "${ac_cv_search_strerror+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 ac_func_search_save_LIBS
=$LIBS
2628 ac_cv_search_strerror
=no
2629 cat >conftest.
$ac_ext <<_ACEOF
2632 cat confdefs.h
>>conftest.
$ac_ext
2633 cat >>conftest.
$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2636 /* Override any gcc2 internal prototype to avoid an error. */
2640 /* We use char because int might match the return type of a gcc2
2641 builtin and then its argument prototype would still apply. */
2651 rm -f conftest.
$ac_objext conftest
$ac_exeext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2653 (eval $ac_link) 2>conftest.er1
2655 grep -v '^ *+' conftest.er1
>conftest.err
2657 cat conftest.err
>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try
='test -z "$ac_c_werror_flag"
2661 || test ! -s conftest.err'
2662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; } &&
2667 { ac_try
='test -s conftest$ac_exeext'
2668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }; }; then
2673 ac_cv_search_strerror
="none required"
2675 echo "$as_me: failed program was:" >&5
2676 sed 's/^/| /' conftest.
$ac_ext >&5
2679 rm -f conftest.err conftest.
$ac_objext \
2680 conftest
$ac_exeext conftest.
$ac_ext
2681 if test "$ac_cv_search_strerror" = no
; then
2682 for ac_lib
in cposix
; do
2683 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2684 cat >conftest.
$ac_ext <<_ACEOF
2687 cat confdefs.h
>>conftest.
$ac_ext
2688 cat >>conftest.
$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2691 /* Override any gcc2 internal prototype to avoid an error. */
2695 /* We use char because int might match the return type of a gcc2
2696 builtin and then its argument prototype would still apply. */
2706 rm -f conftest.
$ac_objext conftest
$ac_exeext
2707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2708 (eval $ac_link) 2>conftest.er1
2710 grep -v '^ *+' conftest.er1
>conftest.err
2712 cat conftest.err
>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); } &&
2715 { ac_try
='test -z "$ac_c_werror_flag"
2716 || test ! -s conftest.err'
2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; } &&
2722 { ac_try
='test -s conftest$ac_exeext'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; }; then
2728 ac_cv_search_strerror
="-l$ac_lib"
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.
$ac_ext >&5
2735 rm -f conftest.err conftest.
$ac_objext \
2736 conftest
$ac_exeext conftest.
$ac_ext
2739 LIBS
=$ac_func_search_save_LIBS
2741 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2742 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2743 if test "$ac_cv_search_strerror" != no
; then
2744 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2748 if test -n "$ac_tool_prefix"; then
2749 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2750 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2751 echo "$as_me:$LINENO: checking for $ac_word" >&5
2752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2753 if test "${ac_cv_prog_RANLIB+set}" = set; then
2754 echo $ECHO_N "(cached) $ECHO_C" >&6
2756 if test -n "$RANLIB"; then
2757 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir
=.
2764 for ac_exec_ext
in '' $ac_executable_extensions; do
2765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2766 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 RANLIB
=$ac_cv_prog_RANLIB
2776 if test -n "$RANLIB"; then
2777 echo "$as_me:$LINENO: result: $RANLIB" >&5
2778 echo "${ECHO_T}$RANLIB" >&6
2780 echo "$as_me:$LINENO: result: no" >&5
2781 echo "${ECHO_T}no" >&6
2785 if test -z "$ac_cv_prog_RANLIB"; then
2786 ac_ct_RANLIB
=$RANLIB
2787 # Extract the first word of "ranlib", so it can be a program name with args.
2788 set dummy ranlib
; ac_word
=$2
2789 echo "$as_me:$LINENO: checking for $ac_word" >&5
2790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2791 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2792 echo $ECHO_N "(cached) $ECHO_C" >&6
2794 if test -n "$ac_ct_RANLIB"; then
2795 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2801 test -z "$as_dir" && as_dir
=.
2802 for ac_exec_ext
in '' $ac_executable_extensions; do
2803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2804 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2814 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2815 if test -n "$ac_ct_RANLIB"; then
2816 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2817 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2819 echo "$as_me:$LINENO: result: no" >&5
2820 echo "${ECHO_T}no" >&6
2823 RANLIB
=$ac_ct_RANLIB
2825 RANLIB
="$ac_cv_prog_RANLIB"
2828 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2829 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2830 if test "${ac_cv_header_stdc+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 cat >conftest.
$ac_ext <<_ACEOF
2836 cat confdefs.h
>>conftest.
$ac_ext
2837 cat >>conftest.
$ac_ext <<_ACEOF
2838 /* end confdefs.h. */
2852 rm -f conftest.
$ac_objext
2853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2854 (eval $ac_compile) 2>conftest.er1
2856 grep -v '^ *+' conftest.er1
>conftest.err
2858 cat conftest.err
>&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); } &&
2861 { ac_try
='test -z "$ac_c_werror_flag"
2862 || test ! -s conftest.err'
2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; } &&
2868 { ac_try
='test -s conftest.$ac_objext'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2874 ac_cv_header_stdc
=yes
2876 echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.
$ac_ext >&5
2879 ac_cv_header_stdc
=no
2881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2883 if test $ac_cv_header_stdc = yes; then
2884 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2885 cat >conftest.
$ac_ext <<_ACEOF
2888 cat confdefs.h
>>conftest.
$ac_ext
2889 cat >>conftest.
$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2895 $EGREP "memchr" >/dev
/null
2>&1; then
2898 ac_cv_header_stdc
=no
2904 if test $ac_cv_header_stdc = yes; then
2905 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2906 cat >conftest.
$ac_ext <<_ACEOF
2909 cat confdefs.h
>>conftest.
$ac_ext
2910 cat >>conftest.
$ac_ext <<_ACEOF
2911 /* end confdefs.h. */
2915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2916 $EGREP "free" >/dev
/null
2>&1; then
2919 ac_cv_header_stdc
=no
2925 if test $ac_cv_header_stdc = yes; then
2926 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2927 if test "$cross_compiling" = yes; then
2930 cat >conftest.
$ac_ext <<_ACEOF
2933 cat confdefs.h
>>conftest.
$ac_ext
2934 cat >>conftest.
$ac_ext <<_ACEOF
2935 /* end confdefs.h. */
2937 #if ((' ' & 0x0FF) == 0x020)
2938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2941 # define ISLOWER(c) \
2942 (('a' <= (c) && (c) <= 'i') \
2943 || ('j' <= (c) && (c) <= 'r') \
2944 || ('s' <= (c) && (c) <= 'z'))
2945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2953 for (i = 0; i < 256; i++)
2954 if (XOR (islower (i), ISLOWER (i))
2955 || toupper (i) != TOUPPER (i))
2960 rm -f conftest
$ac_exeext
2961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2962 (eval $ac_link) 2>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then
2973 echo "$as_me: program exited with status $ac_status" >&5
2974 echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.
$ac_ext >&5
2978 ac_cv_header_stdc
=no
2980 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2984 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2985 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2986 if test $ac_cv_header_stdc = yes; then
2988 cat >>confdefs.h
<<\_ACEOF
2989 #define STDC_HEADERS 1
2994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3004 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3005 inttypes.h stdint.h unistd.h
3007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3008 echo "$as_me:$LINENO: checking for $ac_header" >&5
3009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 cat >conftest.
$ac_ext <<_ACEOF
3016 cat confdefs.h
>>conftest.
$ac_ext
3017 cat >>conftest.
$ac_ext <<_ACEOF
3018 /* end confdefs.h. */
3019 $ac_includes_default
3021 #include <$ac_header>
3023 rm -f conftest.
$ac_objext
3024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3025 (eval $ac_compile) 2>conftest.er1
3027 grep -v '^ *+' conftest.er1
>conftest.err
3029 cat conftest.err
>&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } &&
3032 { ac_try
='test -z "$ac_c_werror_flag"
3033 || test ! -s conftest.err'
3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); }; } &&
3039 { ac_try
='test -s conftest.$ac_objext'
3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }; }; then
3045 eval "$as_ac_Header=yes"
3047 echo "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.
$ac_ext >&5
3050 eval "$as_ac_Header=no"
3052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3057 cat >>confdefs.h
<<_ACEOF
3058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3067 if test "${ac_cv_header_minix_config_h+set}" = set; then
3068 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3069 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3070 if test "${ac_cv_header_minix_config_h+set}" = set; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3074 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3076 # Is the header compilable?
3077 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3078 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3079 cat >conftest.
$ac_ext <<_ACEOF
3082 cat confdefs.h
>>conftest.
$ac_ext
3083 cat >>conftest.
$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3085 $ac_includes_default
3086 #include <minix/config.h>
3088 rm -f conftest.
$ac_objext
3089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3090 (eval $ac_compile) 2>conftest.er1
3092 grep -v '^ *+' conftest.er1
>conftest.err
3094 cat conftest.err
>&5
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); } &&
3097 { ac_try
='test -z "$ac_c_werror_flag"
3098 || test ! -s conftest.err'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; } &&
3104 { ac_try
='test -s conftest.$ac_objext'
3105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); }; }; then
3110 ac_header_compiler
=yes
3112 echo "$as_me: failed program was:" >&5
3113 sed 's/^/| /' conftest.
$ac_ext >&5
3115 ac_header_compiler
=no
3117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3119 echo "${ECHO_T}$ac_header_compiler" >&6
3121 # Is the header present?
3122 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3123 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3124 cat >conftest.
$ac_ext <<_ACEOF
3127 cat confdefs.h
>>conftest.
$ac_ext
3128 cat >>conftest.
$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3130 #include <minix/config.h>
3132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3135 grep -v '^ *+' conftest.er1
>conftest.err
3137 cat conftest.err
>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } >/dev
/null
; then
3140 if test -s conftest.err
; then
3141 ac_cpp_err
=$ac_c_preproc_warn_flag
3142 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3149 if test -z "$ac_cpp_err"; then
3150 ac_header_preproc
=yes
3152 echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.
$ac_ext >&5
3155 ac_header_preproc
=no
3157 rm -f conftest.err conftest.
$ac_ext
3158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3159 echo "${ECHO_T}$ac_header_preproc" >&6
3161 # So? What about this header?
3162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3164 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3165 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3166 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3167 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3168 ac_header_preproc
=yes
3171 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3172 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3173 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3174 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3175 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3176 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3177 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3178 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3179 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3180 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3181 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3182 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3185 ## ------------------------------------------ ##
3186 ## Report this to the AC_PACKAGE_NAME lists. ##
3187 ## ------------------------------------------ ##
3190 sed "s/^/$as_me: WARNING: /" >&2
3193 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3194 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3195 if test "${ac_cv_header_minix_config_h+set}" = set; then
3196 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 ac_cv_header_minix_config_h
=$ac_header_preproc
3200 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3201 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3204 if test $ac_cv_header_minix_config_h = yes; then
3211 if test "$MINIX" = yes; then
3213 cat >>confdefs.h
<<\_ACEOF
3214 #define _POSIX_SOURCE 1
3218 cat >>confdefs.h
<<\_ACEOF
3219 #define _POSIX_1_SOURCE 2
3223 cat >>confdefs.h
<<\_ACEOF
3231 echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3232 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
3233 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 cat >conftest.
$ac_ext <<_ACEOF
3239 cat confdefs.h
>>conftest.
$ac_ext
3240 cat >>conftest.
$ac_ext <<_ACEOF
3241 /* end confdefs.h. */
3243 # define __EXTENSIONS__ 1
3244 $ac_includes_default
3253 rm -f conftest.
$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255 (eval $ac_compile) 2>conftest.er1
3257 grep -v '^ *+' conftest.er1
>conftest.err
3259 cat conftest.err
>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try
='test -z "$ac_c_werror_flag"
3263 || test ! -s conftest.err'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; } &&
3269 { ac_try
='test -s conftest.$ac_objext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3275 ac_cv_safe_to_define___extensions__
=yes
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.
$ac_ext >&5
3280 ac_cv_safe_to_define___extensions__
=no
3282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3284 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3285 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
3286 test $ac_cv_safe_to_define___extensions__ = yes &&
3287 cat >>confdefs.h
<<\_ACEOF
3288 #define __EXTENSIONS__ 1
3291 cat >>confdefs.h
<<\_ACEOF
3292 #define _ALL_SOURCE 1
3295 cat >>confdefs.h
<<\_ACEOF
3296 #define _GNU_SOURCE 1
3299 cat >>confdefs.h
<<\_ACEOF
3300 #define _POSIX_PTHREAD_SEMANTICS 1
3303 cat >>confdefs.h
<<\_ACEOF
3304 #define _TANDEM_SOURCE 1
3316 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3317 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3318 if test "${am_cv_prog_cc_stdc+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 am_cv_prog_cc_stdc
=no
3323 # Don't try gcc -ansi; that turns off useful extensions and
3324 # breaks some systems' header files.
3325 # AIX -qlanglvl=ansi
3326 # Ultrix and OSF/1 -std1
3327 # HP-UX 10.20 and later -Ae
3328 # HP-UX older versions -Aa -D_HPUX_SOURCE
3329 # SVR4 -Xc -D__EXTENSIONS__
3330 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3332 CC
="$ac_save_CC $ac_arg"
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3341 #include <sys/types.h>
3342 #include <sys/stat.h>
3343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3344 struct buf { int x; };
3345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3346 static char *e (p, i)
3352 static char *f (char * (*g) (char **, int), char **p, ...)
3357 s = g (p, va_arg (v,int));
3361 int test (int i, double x);
3362 struct s1 {int (*f) (int a);};
3363 struct s2 {int (*f) (double a);};
3364 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3372 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3378 rm -f conftest.
$ac_objext
3379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3380 (eval $ac_compile) 2>conftest.er1
3382 grep -v '^ *+' conftest.er1
>conftest.err
3384 cat conftest.err
>&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } &&
3387 { ac_try
='test -z "$ac_c_werror_flag"
3388 || test ! -s conftest.err'
3389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); }; } &&
3394 { ac_try
='test -s conftest.$ac_objext'
3395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); }; }; then
3400 am_cv_prog_cc_stdc
="$ac_arg"; break
3402 echo "$as_me: failed program was:" >&5
3403 sed 's/^/| /' conftest.
$ac_ext >&5
3406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3412 if test -z "$am_cv_prog_cc_stdc"; then
3413 echo "$as_me:$LINENO: result: none needed" >&5
3414 echo "${ECHO_T}none needed" >&6
3416 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3417 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3419 case "x$am_cv_prog_cc_stdc" in
3421 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
3426 for ac_dir
in ..
$srcdir/..
; do
3427 if test -f $ac_dir/install-sh
; then
3429 ac_install_sh
="$ac_aux_dir/install-sh -c"
3431 elif test -f $ac_dir/install.sh
; then
3433 ac_install_sh
="$ac_aux_dir/install.sh -c"
3435 elif test -f $ac_dir/shtool
; then
3437 ac_install_sh
="$ac_aux_dir/shtool install -c"
3441 if test -z "$ac_aux_dir"; then
3442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
3443 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
3444 { (exit 1); exit 1; }; }
3446 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
3447 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
3448 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3450 # Make sure we can run config.sub.
3451 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3452 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3453 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3454 { (exit 1); exit 1; }; }
3456 echo "$as_me:$LINENO: checking build system type" >&5
3457 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3458 if test "${ac_cv_build+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3461 ac_cv_build_alias
=$build_alias
3462 test -z "$ac_cv_build_alias" &&
3463 ac_cv_build_alias
=`$ac_config_guess`
3464 test -z "$ac_cv_build_alias" &&
3465 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3466 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3467 { (exit 1); exit 1; }; }
3468 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3469 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3470 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3471 { (exit 1); exit 1; }; }
3474 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3475 echo "${ECHO_T}$ac_cv_build" >&6
3477 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3478 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3479 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3482 echo "$as_me:$LINENO: checking host system type" >&5
3483 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3484 if test "${ac_cv_host+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 ac_cv_host_alias
=$host_alias
3488 test -z "$ac_cv_host_alias" &&
3489 ac_cv_host_alias
=$ac_cv_build_alias
3490 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3491 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3492 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3493 { (exit 1); exit 1; }; }
3496 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3497 echo "${ECHO_T}$ac_cv_host" >&6
3499 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3500 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3501 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3504 echo "$as_me:$LINENO: checking target system type" >&5
3505 echo $ECHO_N "checking target system type... $ECHO_C" >&6
3506 if test "${ac_cv_target+set}" = set; then
3507 echo $ECHO_N "(cached) $ECHO_C" >&6
3509 ac_cv_target_alias
=$target_alias
3510 test "x$ac_cv_target_alias" = "x" &&
3511 ac_cv_target_alias
=$ac_cv_host_alias
3512 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
3513 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
3514 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
3515 { (exit 1); exit 1; }; }
3518 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
3519 echo "${ECHO_T}$ac_cv_target" >&6
3520 target
=$ac_cv_target
3521 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3522 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3523 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3526 # The aliases save the names the user supplied, while $host etc.
3527 # will get canonicalized.
3528 test -n "$target_alias" &&
3529 test "$program_prefix$program_suffix$program_transform_name" = \
3531 program_prefix
=${target_alias}-
3533 # Dependency checking.
3534 rm -rf .tst
2>/dev
/null
3535 mkdir .tst
2>/dev
/null
3536 if test -d .tst
; then
3541 rmdir .tst
2>/dev
/null
3543 DEPDIR
="${am__leading_dot}deps"
3545 ac_config_commands
="$ac_config_commands depdir"
3548 depcc
="$CC" am_compiler_list
=
3550 am_depcomp
=$ac_aux_dir/depcomp
3551 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3552 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3553 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 if test -f "$am_depcomp"; then
3557 # We make a subdir and do the tests there. Otherwise we can end up
3558 # making bogus files that we don't know about and never remove. For
3559 # instance it was reported that on HP-UX the gcc test will end up
3560 # making a dummy file named `D' -- because `-MD' means `put the output
3563 # Copy depcomp to subdir because otherwise we won't find it if we're
3564 # using a relative directory.
3565 cp "$am_depcomp" conftest.dir
3567 # We will build objects and dependencies in a subdirectory because
3568 # it helps to detect inapplicable dependency modes. For instance
3569 # both Tru64's cc and ICC support -MD to output dependencies as a
3570 # side effect of compilation, but ICC will put the dependencies in
3571 # the current directory while Tru64 will put them in the object
3575 am_cv_CC_dependencies_compiler_type
=none
3576 if test "$am_compiler_list" = ""; then
3577 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3579 for depmode
in $am_compiler_list; do
3580 if test $depmode = none
; then break; fi
3582 echo "$as_me:$LINENO: trying $depmode" >&5
3583 # Setup a source with many dependencies, because some compilers
3584 # like to wrap large dependency lists on column 80 (with \), and
3585 # we should not choose a depcomp mode which is confused by this.
3587 # We need to recreate these files for each test, as the compiler may
3588 # overwrite some of them when testing with obscure command lines.
3589 # This happens at least with the AIX C compiler.
3591 for i
in 1 2 3 4 5 6; do
3592 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3593 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3594 # Solaris 8's {/usr,}/bin/sh.
3595 touch sub
/conftst
$i.h
3597 echo "include sub/conftest.Po" > confmf
3599 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3600 # mode. It turns out that the SunPro C++ compiler does not properly
3601 # handle `-M -o', and we need to detect this.
3602 depcmd
="depmode=$depmode \
3603 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3604 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3605 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
3606 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
3607 if env
$depcmd > conftest.err
2>&1 &&
3608 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
3609 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
3610 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
3611 # icc doesn't choke on unknown options, it will just issue warnings
3612 # or remarks (even with -Werror). So we grep stderr for any message
3613 # that says an option was ignored or not supported.
3614 # When given -MP, icc 7.0 and 7.1 complain thusly:
3615 # icc: Command line warning: ignoring option '-M'; no argument required
3616 # The diagnosis changed in icc 8.0:
3617 # icc: Command line remark: option '-MP' not supported
3618 if (grep 'ignoring option' conftest.err ||
3619 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3620 am_cv_CC_dependencies_compiler_type
=$depmode
3621 echo "$as_me:$LINENO: success" >&5
3625 echo "$as_me:$LINENO: failure, diagnostics are:" >&5
3626 sed -e 's/^/| /' < conftest.err
>&5
3632 am_cv_CC_dependencies_compiler_type
=none
3636 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3637 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3638 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
3639 then { { echo "$as_me:$LINENO: error: no usable dependency style found" >&5
3640 echo "$as_me: error: no usable dependency style found" >&2;}
3641 { (exit 1); exit 1; }; }
3642 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3647 # Check for the 'make' the user wants to use.
3650 # Extract the first word of "$ac_prog", so it can be a program name with args.
3651 set dummy
$ac_prog; ac_word
=$2
3652 echo "$as_me:$LINENO: checking for $ac_word" >&5
3653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3654 if test "${ac_cv_prog_MAKE+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 if test -n "$MAKE"; then
3658 ac_cv_prog_MAKE
="$MAKE" # Let the user override the test.
3660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3664 test -z "$as_dir" && as_dir
=.
3665 for ac_exec_ext
in '' $ac_executable_extensions; do
3666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3667 ac_cv_prog_MAKE
="$ac_prog"
3668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 MAKE
=$ac_cv_prog_MAKE
3677 if test -n "$MAKE"; then
3678 echo "$as_me:$LINENO: result: $MAKE" >&5
3679 echo "${ECHO_T}$MAKE" >&6
3681 echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6
3685 test -n "$MAKE" && break
3689 case "`$MAKE --version 2>&1 | sed 1q`" in
3696 if test "$MAKE_IS_GNU" = yes; then
3704 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3705 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3706 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3707 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 cat >conftest.
make <<\_ACEOF
3712 @
echo 'ac_maketemp="$(MAKE)"'
3714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3715 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3716 if test -n "$ac_maketemp"; then
3717 eval ac_cv_prog_make_
${ac_make}_set
=yes
3719 eval ac_cv_prog_make_
${ac_make}_set
=no
3723 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3724 echo "$as_me:$LINENO: result: yes" >&5
3725 echo "${ECHO_T}yes" >&6
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3730 SET_MAKE
="MAKE=${MAKE-make}"
3745 # If we haven't got the data from the intl directory,
3746 # assume NLS is disabled.
3755 if test -f ..
/intl
/config.intl
; then
3756 . ..
/intl
/config.intl
3758 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3759 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3760 if test x
"$USE_NLS" != xyes
; then
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3764 echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6
3767 cat >>confdefs.h
<<\_ACEOF
3768 #define ENABLE_NLS 1
3772 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3773 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3774 # Look for .po and .gmo files in the source directory.
3777 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
3778 # If there aren't any .gmo files the shell will give us the
3779 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3781 case "$cat" in *\
**)
3784 # The quadruple backslash is collapsed to a double backslash
3785 # by the backticks, then collapsed again by the double quotes,
3786 # leaving us with one backslash in the sed expression (right
3787 # before the dot that mustn't act as a wildcard).
3788 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3789 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
3790 # The user is allowed to set LINGUAS to a list of languages to
3791 # install catalogs for. If it's empty that means "all of them."
3792 if test "x$LINGUAS" = x
; then
3793 CATALOGS
="$CATALOGS $cat"
3794 XLINGUAS
="$XLINGUAS $lang"
3796 case "$LINGUAS" in *$lang*)
3797 CATALOGS
="$CATALOGS $cat"
3798 XLINGUAS
="$XLINGUAS $lang"
3804 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3805 echo "${ECHO_T}$LINGUAS" >&6
3818 localedir
='${datadir}/locale'
3821 if test x
"$USE_NLS" = xyes
; then
3822 CONFIG_ALL
="$CONFIG_ALL all-po"
3823 CONFIG_CLEAN
="$CONFIG_CLEAN clean-po"
3824 CONFIG_INSTALL
="$CONFIG_INSTALL install-po"
3825 CONFIG_UNINSTALL
="$CONFIG_UNINSTALL uninstall-po"
3841 GNULIB_STRCASESTR
=0;
3848 GNULIB_MBSCASECMP
=0;
3849 GNULIB_MBSNCASECMP
=0;
3850 GNULIB_MBSPCASECMP
=0;
3851 GNULIB_MBSCASESTR
=0;
3861 HAVE_DECL_MEMRCHR
=1;
3867 HAVE_DECL_STRNDUP
=1;
3868 HAVE_DECL_STRNLEN
=1;
3872 HAVE_DECL_STRTOK_R
=1;
3873 HAVE_DECL_STRERROR
=1;
3874 HAVE_DECL_STRSIGNAL
=1;
3876 REPLACE_STRSIGNAL
=0;
3878 REPLACE_STRCASESTR
=0;
3882 echo "$as_me:$LINENO: checking whether memmem is declared" >&5
3883 echo $ECHO_N "checking whether memmem is declared... $ECHO_C" >&6
3884 if test "${ac_cv_have_decl_memmem+set}" = set; then
3885 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 cat >conftest.
$ac_ext <<_ACEOF
3890 cat confdefs.h
>>conftest.
$ac_ext
3891 cat >>conftest.
$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3893 $ac_includes_default
3898 char *p = (char *) memmem;
3905 rm -f conftest.
$ac_objext
3906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3907 (eval $ac_compile) 2>conftest.er1
3909 grep -v '^ *+' conftest.er1
>conftest.err
3911 cat conftest.err
>&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } &&
3914 { ac_try
='test -z "$ac_c_werror_flag"
3915 || test ! -s conftest.err'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; } &&
3921 { ac_try
='test -s conftest.$ac_objext'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; }; then
3927 ac_cv_have_decl_memmem
=yes
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.
$ac_ext >&5
3932 ac_cv_have_decl_memmem
=no
3934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3936 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memmem" >&5
3937 echo "${ECHO_T}$ac_cv_have_decl_memmem" >&6
3938 if test $ac_cv_have_decl_memmem = yes; then
3940 cat >>confdefs.h
<<_ACEOF
3941 #define HAVE_DECL_MEMMEM 1
3946 cat >>confdefs.h
<<_ACEOF
3947 #define HAVE_DECL_MEMMEM 0
3967 for ac_func
in memmem
3969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3970 echo "$as_me:$LINENO: checking for $ac_func" >&5
3971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3972 if eval "test \"\${$as_ac_var+set}\" = set"; then
3973 echo $ECHO_N "(cached) $ECHO_C" >&6
3975 cat >conftest.
$ac_ext <<_ACEOF
3978 cat confdefs.h
>>conftest.
$ac_ext
3979 cat >>conftest.
$ac_ext <<_ACEOF
3980 /* end confdefs.h. */
3981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3983 #define $ac_func innocuous_$ac_func
3985 /* System header to define __stub macros and hopefully few prototypes,
3986 which can conflict with char $ac_func (); below.
3987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3988 <limits.h> exists even on freestanding compilers. */
3991 # include <limits.h>
3993 # include <assert.h>
3998 /* Override any gcc2 internal prototype to avoid an error. */
4003 /* We use char because int might match the return type of a gcc2
4004 builtin and then its argument prototype would still apply. */
4006 /* The GNU C library defines this for functions which it implements
4007 to always fail with ENOSYS. Some functions are actually named
4008 something starting with __ and the normal name is an alias. */
4009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4012 char (*f) () = $ac_func;
4021 return f != $ac_func;
4026 rm -f conftest.
$ac_objext conftest
$ac_exeext
4027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4028 (eval $ac_link) 2>conftest.er1
4030 grep -v '^ *+' conftest.er1
>conftest.err
4032 cat conftest.err
>&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); } &&
4035 { ac_try
='test -z "$ac_c_werror_flag"
4036 || test ! -s conftest.err'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try
='test -s conftest$ac_exeext'
4043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; }; then
4048 eval "$as_ac_var=yes"
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.
$ac_ext >&5
4053 eval "$as_ac_var=no"
4055 rm -f conftest.err conftest.
$ac_objext \
4056 conftest
$ac_exeext conftest.
$ac_ext
4058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4060 if test `eval echo '${'$as_ac_var'}'` = yes; then
4061 cat >>confdefs.h
<<_ACEOF
4062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4067 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
4080 if test $ac_cv_have_decl_memmem = no
; then
4086 echo "$as_me:$LINENO: checking for long long int" >&5
4087 echo $ECHO_N "checking for long long int... $ECHO_C" >&6
4088 if test "${ac_cv_type_long_long_int+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 cat >conftest.
$ac_ext <<_ACEOF
4095 cat confdefs.h
>>conftest.
$ac_ext
4096 cat >>conftest.
$ac_ext <<_ACEOF
4097 /* end confdefs.h. */
4098 /* For now, do not test the preprocessor; as of 2007 there are too many
4099 implementations with broken preprocessors. Perhaps this can
4100 be revisited in 2012. In the meantime, code should not expect
4101 #if to work with literals wider than 32 bits. */
4102 /* Test literals. */
4103 long long int ll = 9223372036854775807ll;
4104 long long int nll = -9223372036854775807LL;
4105 unsigned long long int ull = 18446744073709551615ULL;
4106 /* Test constant expressions. */
4107 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4109 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4115 /* Test availability of runtime routines for shift and division. */
4116 long long int llmax = 9223372036854775807ll;
4117 unsigned long long int ullmax = 18446744073709551615ull;
4118 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4119 | (llmax / ll) | (llmax % ll)
4120 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4121 | (ullmax / ull) | (ullmax % ull));
4127 rm -f conftest.
$ac_objext conftest
$ac_exeext
4128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4129 (eval $ac_link) 2>conftest.er1
4131 grep -v '^ *+' conftest.er1
>conftest.err
4133 cat conftest.err
>&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } &&
4136 { ac_try
='test -z "$ac_c_werror_flag"
4137 || test ! -s conftest.err'
4138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); }; } &&
4143 { ac_try
='test -s conftest$ac_exeext'
4144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); }; }; then
4149 if test "$cross_compiling" = yes; then
4150 ac_cv_type_long_long_int
=yes
4152 cat >conftest.
$ac_ext <<_ACEOF
4155 cat confdefs.h
>>conftest.
$ac_ext
4156 cat >>conftest.
$ac_ext <<_ACEOF
4157 /* end confdefs.h. */
4161 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
4162 # define LLONG_MAX (HALF - 1 + HALF)
4167 long long int n = 1;
4171 long long int m = n << i;
4174 if (LLONG_MAX / 2 < m)
4182 rm -f conftest
$ac_exeext
4183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4184 (eval $ac_link) 2>&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; }; then
4193 ac_cv_type_long_long_int
=yes
4195 echo "$as_me: program exited with status $ac_status" >&5
4196 echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.
$ac_ext >&5
4200 ac_cv_type_long_long_int
=no
4202 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4205 echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.
$ac_ext >&5
4208 ac_cv_type_long_long_int
=no
4210 rm -f conftest.err conftest.
$ac_objext \
4211 conftest
$ac_exeext conftest.
$ac_ext
4213 echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
4214 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
4215 if test $ac_cv_type_long_long_int = yes; then
4217 cat >>confdefs.h
<<\_ACEOF
4218 #define HAVE_LONG_LONG_INT 1
4224 echo "$as_me:$LINENO: checking for unsigned long long int" >&5
4225 echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6
4226 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4236 /* For now, do not test the preprocessor; as of 2007 there are too many
4237 implementations with broken preprocessors. Perhaps this can
4238 be revisited in 2012. In the meantime, code should not expect
4239 #if to work with literals wider than 32 bits. */
4240 /* Test literals. */
4241 long long int ll = 9223372036854775807ll;
4242 long long int nll = -9223372036854775807LL;
4243 unsigned long long int ull = 18446744073709551615ULL;
4244 /* Test constant expressions. */
4245 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
4247 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
4253 /* Test availability of runtime routines for shift and division. */
4254 long long int llmax = 9223372036854775807ll;
4255 unsigned long long int ullmax = 18446744073709551615ull;
4256 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
4257 | (llmax / ll) | (llmax % ll)
4258 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
4259 | (ullmax / ull) | (ullmax % ull));
4265 rm -f conftest.
$ac_objext conftest
$ac_exeext
4266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4267 (eval $ac_link) 2>conftest.er1
4269 grep -v '^ *+' conftest.er1
>conftest.err
4271 cat conftest.err
>&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); } &&
4274 { ac_try
='test -z "$ac_c_werror_flag"
4275 || test ! -s conftest.err'
4276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280 (exit $ac_status); }; } &&
4281 { ac_try
='test -s conftest$ac_exeext'
4282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286 (exit $ac_status); }; }; then
4287 ac_cv_type_unsigned_long_long_int
=yes
4289 echo "$as_me: failed program was:" >&5
4290 sed 's/^/| /' conftest.
$ac_ext >&5
4292 ac_cv_type_unsigned_long_long_int
=no
4294 rm -f conftest.err conftest.
$ac_objext \
4295 conftest
$ac_exeext conftest.
$ac_ext
4297 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
4298 echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6
4299 if test $ac_cv_type_unsigned_long_long_int = yes; then
4301 cat >>confdefs.h
<<\_ACEOF
4302 #define HAVE_UNSIGNED_LONG_LONG_INT 1
4309 echo "$as_me:$LINENO: checking whether the preprocessor supports include_next" >&5
4310 echo $ECHO_N "checking whether the preprocessor supports include_next... $ECHO_C" >&6
4311 if test "${gl_cv_have_include_next+set}" = set; then
4312 echo $ECHO_N "(cached) $ECHO_C" >&6
4314 rm -rf conftestd1 conftestd2
4315 mkdir conftestd1 conftestd2
4316 cat <<EOF > conftestd1/conftest.h
4317 #define DEFINED_IN_CONFTESTD1
4318 #include_next <conftest.h>
4319 #ifdef DEFINED_IN_CONFTESTD2
4322 #error "include_next doesn't work"
4325 cat <<EOF > conftestd2/conftest.h
4326 #ifndef DEFINED_IN_CONFTESTD1
4327 #error "include_next test doesn't work"
4329 #define DEFINED_IN_CONFTESTD2
4331 save_CPPFLAGS
="$CPPFLAGS"
4332 CPPFLAGS
="$CPPFLAGS -Iconftestd1 -Iconftestd2"
4333 cat >conftest.
$ac_ext <<_ACEOF
4334 #include <conftest.h>
4336 rm -f conftest.
$ac_objext
4337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4338 (eval $ac_compile) 2>conftest.er1
4340 grep -v '^ *+' conftest.er1
>conftest.err
4342 cat conftest.err
>&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); } &&
4345 { ac_try
='test -z "$ac_c_werror_flag"
4346 || test ! -s conftest.err'
4347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); }; } &&
4352 { ac_try
='test -s conftest.$ac_objext'
4353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); }; }; then
4358 gl_cv_have_include_next
=yes
4360 echo "$as_me: failed program was:" >&5
4361 sed 's/^/| /' conftest.
$ac_ext >&5
4363 gl_cv_have_include_next
=no
4365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4366 CPPFLAGS
="$save_CPPFLAGS"
4367 rm -rf conftestd1 conftestd2
4370 echo "$as_me:$LINENO: result: $gl_cv_have_include_next" >&5
4371 echo "${ECHO_T}$gl_cv_have_include_next" >&6
4372 if test $gl_cv_have_include_next = yes; then
4375 cat >>confdefs.h
<<\_ACEOF
4376 #define HAVE_INCLUDE_NEXT 1
4380 INCLUDE_NEXT
=include_next
4382 INCLUDE_NEXT
=include
4391 for ac_header
in $gl_header_list
4393 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4395 echo "$as_me:$LINENO: checking for $ac_header" >&5
4396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4398 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4403 # Is the header compilable?
4404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4406 cat >conftest.
$ac_ext <<_ACEOF
4409 cat confdefs.h
>>conftest.
$ac_ext
4410 cat >>conftest.
$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4412 $ac_includes_default
4413 #include <$ac_header>
4415 rm -f conftest.
$ac_objext
4416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4417 (eval $ac_compile) 2>conftest.er1
4419 grep -v '^ *+' conftest.er1
>conftest.err
4421 cat conftest.err
>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } &&
4424 { ac_try
='test -z "$ac_c_werror_flag"
4425 || test ! -s conftest.err'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; } &&
4431 { ac_try
='test -s conftest.$ac_objext'
4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; }; then
4437 ac_header_compiler
=yes
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.
$ac_ext >&5
4442 ac_header_compiler
=no
4444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4446 echo "${ECHO_T}$ac_header_compiler" >&6
4448 # Is the header present?
4449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4451 cat >conftest.
$ac_ext <<_ACEOF
4454 cat confdefs.h
>>conftest.
$ac_ext
4455 cat >>conftest.
$ac_ext <<_ACEOF
4456 /* end confdefs.h. */
4457 #include <$ac_header>
4459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4462 grep -v '^ *+' conftest.er1
>conftest.err
4464 cat conftest.err
>&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); } >/dev
/null
; then
4467 if test -s conftest.err
; then
4468 ac_cpp_err
=$ac_c_preproc_warn_flag
4469 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4476 if test -z "$ac_cpp_err"; then
4477 ac_header_preproc
=yes
4479 echo "$as_me: failed program was:" >&5
4480 sed 's/^/| /' conftest.
$ac_ext >&5
4482 ac_header_preproc
=no
4484 rm -f conftest.err conftest.
$ac_ext
4485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4486 echo "${ECHO_T}$ac_header_preproc" >&6
4488 # So? What about this header?
4489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4495 ac_header_preproc
=yes
4498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4512 ## ------------------------------------------ ##
4513 ## Report this to the AC_PACKAGE_NAME lists. ##
4514 ## ------------------------------------------ ##
4517 sed "s/^/$as_me: WARNING: /" >&2
4520 echo "$as_me:$LINENO: checking for $ac_header" >&5
4521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 eval "$as_ac_Header=\$ac_header_preproc"
4527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4532 cat >>confdefs.h
<<_ACEOF
4533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4551 echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
4552 echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6
4553 if test "${ac_cv_c_restrict+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 # The order here caters to the fact that C++ does not require restrict.
4558 for ac_kw
in __restrict __restrict__ _Restrict restrict
; do
4559 cat >conftest.
$ac_ext <<_ACEOF
4562 cat confdefs.h
>>conftest.
$ac_ext
4563 cat >>conftest.
$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4565 typedef int * int_ptr;
4566 int foo (int_ptr $ac_kw ip) {
4580 rm -f conftest.
$ac_objext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4582 (eval $ac_compile) 2>conftest.er1
4584 grep -v '^ *+' conftest.er1
>conftest.err
4586 cat conftest.err
>&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } &&
4589 { ac_try
='test -z "$ac_c_werror_flag"
4590 || test ! -s conftest.err'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; } &&
4596 { ac_try
='test -s conftest.$ac_objext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4602 ac_cv_c_restrict
=$ac_kw
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.
$ac_ext >&5
4608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4609 test "$ac_cv_c_restrict" != no
&& break
4613 echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5
4614 echo "${ECHO_T}$ac_cv_c_restrict" >&6
4617 case $ac_cv_c_restrict in
4619 no
) cat >>confdefs.h
<<\_ACEOF
4623 *) cat >>confdefs.h
<<_ACEOF
4624 #define restrict $ac_cv_c_restrict
4649 if test $gl_cv_have_include_next = yes; then
4650 gl_cv_next_string_h
='<'string.h
'>'
4652 echo "$as_me:$LINENO: checking absolute name of <string.h>" >&5
4653 echo $ECHO_N "checking absolute name of <string.h>... $ECHO_C" >&6
4654 if test "${gl_cv_next_string_h+set}" = set; then
4655 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 if test $ac_cv_header_string_h = yes; then
4659 cat >conftest.
$ac_ext <<_ACEOF
4662 cat confdefs.h
>>conftest.
$ac_ext
4663 cat >>conftest.
$ac_ext <<_ACEOF
4664 /* end confdefs.h. */
4668 gl_cv_next_string_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4669 sed -n '\#/string.h#{
4670 s#.*"\(.*/string.h\)".*#\1#
4676 gl_cv_next_string_h
='<'string.h
'>'
4680 echo "$as_me:$LINENO: result: $gl_cv_next_string_h" >&5
4681 echo "${ECHO_T}$gl_cv_next_string_h" >&6
4683 NEXT_STRING_H
=$gl_cv_next_string_h
4690 HAVE_DECL_WCWIDTH
=1;
4699 GL_COND_LIBTOOL_TRUE
=
4700 GL_COND_LIBTOOL_FALSE
='#'
4702 GL_COND_LIBTOOL_TRUE
='#'
4703 GL_COND_LIBTOOL_FALSE
=
4706 gl_cond_libtool
=false
4712 gl_source_base
='gnulib'
4722 for ac_func
in memchr
4724 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4725 echo "$as_me:$LINENO: checking for $ac_func" >&5
4726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4727 if eval "test \"\${$as_ac_var+set}\" = set"; then
4728 echo $ECHO_N "(cached) $ECHO_C" >&6
4730 cat >conftest.
$ac_ext <<_ACEOF
4733 cat confdefs.h
>>conftest.
$ac_ext
4734 cat >>conftest.
$ac_ext <<_ACEOF
4735 /* end confdefs.h. */
4736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4738 #define $ac_func innocuous_$ac_func
4740 /* System header to define __stub macros and hopefully few prototypes,
4741 which can conflict with char $ac_func (); below.
4742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4743 <limits.h> exists even on freestanding compilers. */
4746 # include <limits.h>
4748 # include <assert.h>
4753 /* Override any gcc2 internal prototype to avoid an error. */
4758 /* We use char because int might match the return type of a gcc2
4759 builtin and then its argument prototype would still apply. */
4761 /* The GNU C library defines this for functions which it implements
4762 to always fail with ENOSYS. Some functions are actually named
4763 something starting with __ and the normal name is an alias. */
4764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4767 char (*f) () = $ac_func;
4776 return f != $ac_func;
4781 rm -f conftest.
$ac_objext conftest
$ac_exeext
4782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4783 (eval $ac_link) 2>conftest.er1
4785 grep -v '^ *+' conftest.er1
>conftest.err
4787 cat conftest.err
>&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } &&
4790 { ac_try
='test -z "$ac_c_werror_flag"
4791 || test ! -s conftest.err'
4792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); }; } &&
4797 { ac_try
='test -s conftest$ac_exeext'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; }; then
4803 eval "$as_ac_var=yes"
4805 echo "$as_me: failed program was:" >&5
4806 sed 's/^/| /' conftest.
$ac_ext >&5
4808 eval "$as_ac_var=no"
4810 rm -f conftest.err conftest.
$ac_objext \
4811 conftest
$ac_exeext conftest.
$ac_ext
4813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4815 if test `eval echo '${'$as_ac_var'}'` = yes; then
4816 cat >>confdefs.h
<<_ACEOF
4817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4822 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
4828 if test $ac_cv_func_memchr = no
; then
4831 for ac_header
in bp-sym.h
4833 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4835 echo "$as_me:$LINENO: checking for $ac_header" >&5
4836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4843 # Is the header compilable?
4844 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4845 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4846 cat >conftest.
$ac_ext <<_ACEOF
4849 cat confdefs.h
>>conftest.
$ac_ext
4850 cat >>conftest.
$ac_ext <<_ACEOF
4851 /* end confdefs.h. */
4852 $ac_includes_default
4853 #include <$ac_header>
4855 rm -f conftest.
$ac_objext
4856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4857 (eval $ac_compile) 2>conftest.er1
4859 grep -v '^ *+' conftest.er1
>conftest.err
4861 cat conftest.err
>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } &&
4864 { ac_try
='test -z "$ac_c_werror_flag"
4865 || test ! -s conftest.err'
4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; } &&
4871 { ac_try
='test -s conftest.$ac_objext'
4872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); }; }; then
4877 ac_header_compiler
=yes
4879 echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.
$ac_ext >&5
4882 ac_header_compiler
=no
4884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4886 echo "${ECHO_T}$ac_header_compiler" >&6
4888 # Is the header present?
4889 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4890 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4891 cat >conftest.
$ac_ext <<_ACEOF
4894 cat confdefs.h
>>conftest.
$ac_ext
4895 cat >>conftest.
$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4897 #include <$ac_header>
4899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4900 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4902 grep -v '^ *+' conftest.er1
>conftest.err
4904 cat conftest.err
>&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); } >/dev
/null
; then
4907 if test -s conftest.err
; then
4908 ac_cpp_err
=$ac_c_preproc_warn_flag
4909 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4916 if test -z "$ac_cpp_err"; then
4917 ac_header_preproc
=yes
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.
$ac_ext >&5
4922 ac_header_preproc
=no
4924 rm -f conftest.err conftest.
$ac_ext
4925 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4926 echo "${ECHO_T}$ac_header_preproc" >&6
4928 # So? What about this header?
4929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4931 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4932 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4934 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4935 ac_header_preproc
=yes
4938 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4939 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4940 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4941 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4942 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4943 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4944 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4945 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4947 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4948 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4949 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4952 ## ------------------------------------------ ##
4953 ## Report this to the AC_PACKAGE_NAME lists. ##
4954 ## ------------------------------------------ ##
4957 sed "s/^/$as_me: WARNING: /" >&2
4960 echo "$as_me:$LINENO: checking for $ac_header" >&5
4961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 eval "$as_ac_Header=\$ac_header_preproc"
4967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4971 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4972 cat >>confdefs.h
<<_ACEOF
4973 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4984 echo "$as_me:$LINENO: checking for working memcmp" >&5
4985 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4986 if test "${ac_cv_func_memcmp_working+set}" = set; then
4987 echo $ECHO_N "(cached) $ECHO_C" >&6
4989 if test "$cross_compiling" = yes; then
4990 ac_cv_func_memcmp_working
=no
4992 cat >conftest.
$ac_ext <<_ACEOF
4995 cat confdefs.h
>>conftest.
$ac_ext
4996 cat >>conftest.
$ac_ext <<_ACEOF
4997 /* end confdefs.h. */
4998 $ac_includes_default
5003 /* Some versions of memcmp are not 8-bit clean. */
5004 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
5005 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
5008 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
5009 or more and with at least one buffer not starting on a 4-byte boundary.
5010 William Lewis provided this test program. */
5015 for (i = 0; i < 4; i++)
5019 strcpy (a, "--------01111111");
5020 strcpy (b, "--------10000000");
5021 if (memcmp (a, b, 16) >= 0)
5031 rm -f conftest
$ac_exeext
5032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5033 (eval $ac_link) 2>&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; }; then
5042 ac_cv_func_memcmp_working
=yes
5044 echo "$as_me: program exited with status $ac_status" >&5
5045 echo "$as_me: failed program was:" >&5
5046 sed 's/^/| /' conftest.
$ac_ext >&5
5049 ac_cv_func_memcmp_working
=no
5051 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5054 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
5055 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
5056 test $ac_cv_func_memcmp_working = no
&&
5063 gl_LIBOBJS
="$gl_LIBOBJS memcmp.$ac_objext"
5066 if test $ac_cv_func_memcmp_working = no
; then
5068 cat >>confdefs.h
<<\_ACEOF
5069 #define memcmp rpl_memcmp
5077 if test $ac_cv_have_decl_memmem = yes; then
5078 echo "$as_me:$LINENO: checking whether memmem works in linear time" >&5
5079 echo $ECHO_N "checking whether memmem works in linear time... $ECHO_C" >&6
5080 if test "${gl_cv_func_memmem_works+set}" = set; then
5081 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 if test "$cross_compiling" = yes; then
5084 gl_cv_func_memmem_works
="guessing no"
5086 cat >conftest.
$ac_ext <<_ACEOF
5089 cat confdefs.h
>>conftest.
$ac_ext
5090 cat >>conftest.
$ac_ext <<_ACEOF
5091 /* end confdefs.h. */
5093 #include <string.h> /* for memmem */
5094 #include <stdlib.h> /* for malloc */
5095 #include <unistd.h> /* for alarm */
5101 char *haystack = (char *) malloc (2 * m + 1);
5102 char *needle = (char *) malloc (m + 1);
5104 /* Failure to compile this test due to missing alarm is okay,
5105 since all such platforms (mingw) also lack memmem. */
5107 /* Check for quadratic performance. */
5108 if (haystack && needle)
5110 memset (haystack, 'A', 2 * m);
5111 haystack[2 * m] = 'B';
5112 memset (needle, 'A', m);
5114 result = memmem (haystack, 2 * m + 1, needle, m + 1);
5116 /* Check for empty needle behavior. */
5117 return !result || !memmem ("a", 1, 0, 0);
5122 rm -f conftest
$ac_exeext
5123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5124 (eval $ac_link) 2>&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); }; }; then
5133 gl_cv_func_memmem_works
=yes
5135 echo "$as_me: program exited with status $ac_status" >&5
5136 echo "$as_me: failed program was:" >&5
5137 sed 's/^/| /' conftest.
$ac_ext >&5
5140 gl_cv_func_memmem_works
=no
5142 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5145 echo "$as_me:$LINENO: result: $gl_cv_func_memmem_works" >&5
5146 echo "${ECHO_T}$gl_cv_func_memmem_works" >&6
5147 if test "$gl_cv_func_memmem_works" != yes; then
5156 gl_LIBOBJS
="$gl_LIBOBJS memmem.$ac_objext"
5173 for ac_func
in memmem
5175 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5176 echo "$as_me:$LINENO: checking for $ac_func" >&5
5177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5178 if eval "test \"\${$as_ac_var+set}\" = set"; then
5179 echo $ECHO_N "(cached) $ECHO_C" >&6
5181 cat >conftest.
$ac_ext <<_ACEOF
5184 cat confdefs.h
>>conftest.
$ac_ext
5185 cat >>conftest.
$ac_ext <<_ACEOF
5186 /* end confdefs.h. */
5187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5189 #define $ac_func innocuous_$ac_func
5191 /* System header to define __stub macros and hopefully few prototypes,
5192 which can conflict with char $ac_func (); below.
5193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5194 <limits.h> exists even on freestanding compilers. */
5197 # include <limits.h>
5199 # include <assert.h>
5204 /* Override any gcc2 internal prototype to avoid an error. */
5209 /* We use char because int might match the return type of a gcc2
5210 builtin and then its argument prototype would still apply. */
5212 /* The GNU C library defines this for functions which it implements
5213 to always fail with ENOSYS. Some functions are actually named
5214 something starting with __ and the normal name is an alias. */
5215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5218 char (*f) () = $ac_func;
5227 return f != $ac_func;
5232 rm -f conftest.
$ac_objext conftest
$ac_exeext
5233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5234 (eval $ac_link) 2>conftest.er1
5236 grep -v '^ *+' conftest.er1
>conftest.err
5238 cat conftest.err
>&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); } &&
5241 { ac_try
='test -z "$ac_c_werror_flag"
5242 || test ! -s conftest.err'
5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; } &&
5248 { ac_try
='test -s conftest$ac_exeext'
5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; }; then
5254 eval "$as_ac_var=yes"
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.
$ac_ext >&5
5259 eval "$as_ac_var=no"
5261 rm -f conftest.err conftest.
$ac_objext \
5262 conftest
$ac_exeext conftest.
$ac_ext
5264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5266 if test `eval echo '${'$as_ac_var'}'` = yes; then
5267 cat >>confdefs.h
<<_ACEOF
5268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5273 gl_LIBOBJS
="$gl_LIBOBJS $ac_func.$ac_objext"
5286 if test $ac_cv_have_decl_memmem = no
; then
5298 if test $ac_cv_type_long_long_int = yes; then
5299 HAVE_LONG_LONG_INT
=1
5301 HAVE_LONG_LONG_INT
=0
5305 if test $ac_cv_type_unsigned_long_long_int = yes; then
5306 HAVE_UNSIGNED_LONG_LONG_INT
=1
5308 HAVE_UNSIGNED_LONG_LONG_INT
=0
5312 if test $ac_cv_header_inttypes_h = yes; then
5319 if test $ac_cv_header_sys_types_h = yes; then
5337 if test $gl_cv_have_include_next = yes; then
5338 gl_cv_next_stdint_h
='<'stdint.h
'>'
5340 echo "$as_me:$LINENO: checking absolute name of <stdint.h>" >&5
5341 echo $ECHO_N "checking absolute name of <stdint.h>... $ECHO_C" >&6
5342 if test "${gl_cv_next_stdint_h+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 if test $ac_cv_header_stdint_h = yes; then
5347 cat >conftest.
$ac_ext <<_ACEOF
5350 cat confdefs.h
>>conftest.
$ac_ext
5351 cat >>conftest.
$ac_ext <<_ACEOF
5352 /* end confdefs.h. */
5356 gl_cv_next_stdint_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5357 sed -n '\#/stdint.h#{
5358 s#.*"\(.*/stdint.h\)".*#\1#
5364 gl_cv_next_stdint_h
='<'stdint.h
'>'
5368 echo "$as_me:$LINENO: result: $gl_cv_next_stdint_h" >&5
5369 echo "${ECHO_T}$gl_cv_next_stdint_h" >&6
5371 NEXT_STDINT_H
=$gl_cv_next_stdint_h
5375 if test $ac_cv_header_stdint_h = yes; then
5382 if test $ac_cv_header_stdint_h = yes; then
5383 echo "$as_me:$LINENO: checking whether stdint.h conforms to C99" >&5
5384 echo $ECHO_N "checking whether stdint.h conforms to C99... $ECHO_C" >&6
5385 if test "${gl_cv_header_working_stdint_h+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 gl_cv_header_working_stdint_h
=no
5389 cat >conftest.
$ac_ext <<_ACEOF
5393 cat confdefs.h
>>conftest.
$ac_ext
5394 cat >>conftest.
$ac_ext <<_ACEOF
5395 /* end confdefs.h. */
5397 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */
5398 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */
5399 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */
5401 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */
5402 #if !(defined WCHAR_MIN && defined WCHAR_MAX)
5403 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>"
5407 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5408 included before <wchar.h>. */
5419 int8_t a1 = INT8_MAX;
5420 int8_t a1min = INT8_MIN;
5423 int16_t a2 = INT16_MAX;
5424 int16_t a2min = INT16_MIN;
5427 int32_t a3 = INT32_MAX;
5428 int32_t a3min = INT32_MIN;
5431 int64_t a4 = INT64_MAX;
5432 int64_t a4min = INT64_MIN;
5435 uint8_t b1 = UINT8_MAX;
5437 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1];
5440 uint16_t b2 = UINT16_MAX;
5443 uint32_t b3 = UINT32_MAX;
5446 uint64_t b4 = UINT64_MAX;
5448 int_least8_t c1 = INT8_C (0x7f);
5449 int_least8_t c1max = INT_LEAST8_MAX;
5450 int_least8_t c1min = INT_LEAST8_MIN;
5451 int_least16_t c2 = INT16_C (0x7fff);
5452 int_least16_t c2max = INT_LEAST16_MAX;
5453 int_least16_t c2min = INT_LEAST16_MIN;
5454 int_least32_t c3 = INT32_C (0x7fffffff);
5455 int_least32_t c3max = INT_LEAST32_MAX;
5456 int_least32_t c3min = INT_LEAST32_MIN;
5457 int_least64_t c4 = INT64_C (0x7fffffffffffffff);
5458 int_least64_t c4max = INT_LEAST64_MAX;
5459 int_least64_t c4min = INT_LEAST64_MIN;
5460 uint_least8_t d1 = UINT8_C (0xff);
5461 uint_least8_t d1max = UINT_LEAST8_MAX;
5462 uint_least16_t d2 = UINT16_C (0xffff);
5463 uint_least16_t d2max = UINT_LEAST16_MAX;
5464 uint_least32_t d3 = UINT32_C (0xffffffff);
5465 uint_least32_t d3max = UINT_LEAST32_MAX;
5466 uint_least64_t d4 = UINT64_C (0xffffffffffffffff);
5467 uint_least64_t d4max = UINT_LEAST64_MAX;
5468 int_fast8_t e1 = INT_FAST8_MAX;
5469 int_fast8_t e1min = INT_FAST8_MIN;
5470 int_fast16_t e2 = INT_FAST16_MAX;
5471 int_fast16_t e2min = INT_FAST16_MIN;
5472 int_fast32_t e3 = INT_FAST32_MAX;
5473 int_fast32_t e3min = INT_FAST32_MIN;
5474 int_fast64_t e4 = INT_FAST64_MAX;
5475 int_fast64_t e4min = INT_FAST64_MIN;
5476 uint_fast8_t f1 = UINT_FAST8_MAX;
5477 uint_fast16_t f2 = UINT_FAST16_MAX;
5478 uint_fast32_t f3 = UINT_FAST32_MAX;
5479 uint_fast64_t f4 = UINT_FAST64_MAX;
5481 intptr_t g = INTPTR_MAX;
5482 intptr_t gmin = INTPTR_MIN;
5485 uintptr_t h = UINTPTR_MAX;
5487 intmax_t i = INTMAX_MAX;
5488 uintmax_t j = UINTMAX_MAX;
5490 #include <limits.h> /* for CHAR_BIT */
5491 #define TYPE_MINIMUM(t) \
5492 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))
5493 #define TYPE_MAXIMUM(t) \
5494 ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
5497 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
5498 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t)
5500 /* Detect bug in FreeBSD 6.0 / ia64. */
5501 int check_SIG_ATOMIC:
5502 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t)
5503 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t)
5505 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1;
5507 WCHAR_MIN == TYPE_MINIMUM (wchar_t)
5508 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t)
5510 /* Detect bug in mingw. */
5512 WINT_MIN == TYPE_MINIMUM (wint_t)
5513 && WINT_MAX == TYPE_MAXIMUM (wint_t)
5516 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */
5518 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1;
5520 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1;
5522 /* Detect bugs in OpenBSD 3.9 stdint.h. */
5524 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1;
5527 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1;
5530 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1;
5533 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1;
5535 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1;
5536 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1;
5537 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1;
5538 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1;
5539 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1;
5540 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1;
5541 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1;
5542 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1;
5543 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1;
5544 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1;
5545 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1;
5556 rm -f conftest.
$ac_objext
5557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5558 (eval $ac_compile) 2>conftest.er1
5560 grep -v '^ *+' conftest.er1
>conftest.err
5562 cat conftest.err
>&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); } &&
5565 { ac_try
='test -z "$ac_c_werror_flag"
5566 || test ! -s conftest.err'
5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); }; } &&
5572 { ac_try
='test -s conftest.$ac_objext'
5573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); }; }; then
5578 gl_cv_header_working_stdint_h
=yes
5580 echo "$as_me: failed program was:" >&5
5581 sed 's/^/| /' conftest.
$ac_ext >&5
5584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5586 echo "$as_me:$LINENO: result: $gl_cv_header_working_stdint_h" >&5
5587 echo "${ECHO_T}$gl_cv_header_working_stdint_h" >&6
5589 if test "$gl_cv_header_working_stdint_h" = yes; then
5594 for ac_header
in sys
/inttypes.h sys
/bitypes.h
5596 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5598 echo "$as_me:$LINENO: checking for $ac_header" >&5
5599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5601 echo $ECHO_N "(cached) $ECHO_C" >&6
5603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5606 # Is the header compilable?
5607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5609 cat >conftest.
$ac_ext <<_ACEOF
5612 cat confdefs.h
>>conftest.
$ac_ext
5613 cat >>conftest.
$ac_ext <<_ACEOF
5614 /* end confdefs.h. */
5615 $ac_includes_default
5616 #include <$ac_header>
5618 rm -f conftest.
$ac_objext
5619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5620 (eval $ac_compile) 2>conftest.er1
5622 grep -v '^ *+' conftest.er1
>conftest.err
5624 cat conftest.err
>&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } &&
5627 { ac_try
='test -z "$ac_c_werror_flag"
5628 || test ! -s conftest.err'
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); }; } &&
5634 { ac_try
='test -s conftest.$ac_objext'
5635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; }; then
5640 ac_header_compiler
=yes
5642 echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.
$ac_ext >&5
5645 ac_header_compiler
=no
5647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5649 echo "${ECHO_T}$ac_header_compiler" >&6
5651 # Is the header present?
5652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5654 cat >conftest.
$ac_ext <<_ACEOF
5657 cat confdefs.h
>>conftest.
$ac_ext
5658 cat >>conftest.
$ac_ext <<_ACEOF
5659 /* end confdefs.h. */
5660 #include <$ac_header>
5662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5665 grep -v '^ *+' conftest.er1
>conftest.err
5667 cat conftest.err
>&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); } >/dev
/null
; then
5670 if test -s conftest.err
; then
5671 ac_cpp_err
=$ac_c_preproc_warn_flag
5672 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5679 if test -z "$ac_cpp_err"; then
5680 ac_header_preproc
=yes
5682 echo "$as_me: failed program was:" >&5
5683 sed 's/^/| /' conftest.
$ac_ext >&5
5685 ac_header_preproc
=no
5687 rm -f conftest.err conftest.
$ac_ext
5688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5689 echo "${ECHO_T}$ac_header_preproc" >&6
5691 # So? What about this header?
5692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5698 ac_header_preproc
=yes
5701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5715 ## ------------------------------------------ ##
5716 ## Report this to the AC_PACKAGE_NAME lists. ##
5717 ## ------------------------------------------ ##
5720 sed "s/^/$as_me: WARNING: /" >&2
5723 echo "$as_me:$LINENO: checking for $ac_header" >&5
5724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 eval "$as_ac_Header=\$ac_header_preproc"
5730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5735 cat >>confdefs.h
<<_ACEOF
5736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5743 if test $ac_cv_header_sys_inttypes_h = yes; then
5744 HAVE_SYS_INTTYPES_H
=1
5746 HAVE_SYS_INTTYPES_H
=0
5749 if test $ac_cv_header_sys_bitypes_h = yes; then
5750 HAVE_SYS_BITYPES_H
=1
5752 HAVE_SYS_BITYPES_H
=0
5772 for gltype
in ptrdiff_t sig_atomic_t size_t wchar_t wint_t
; do
5773 echo "$as_me:$LINENO: checking for bit size of $gltype" >&5
5774 echo $ECHO_N "checking for bit size of $gltype... $ECHO_C" >&6
5775 if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\" = set"; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5778 if test "$cross_compiling" = yes; then
5779 # Depending upon the size, compute the lo and hi bounds.
5780 cat >conftest.
$ac_ext <<_ACEOF
5783 cat confdefs.h
>>conftest.
$ac_ext
5784 cat >>conftest.
$ac_ext <<_ACEOF
5785 /* end confdefs.h. */
5787 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5788 included before <wchar.h>. */
5801 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= 0)];
5808 rm -f conftest.
$ac_objext
5809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5810 (eval $ac_compile) 2>conftest.er1
5812 grep -v '^ *+' conftest.er1
>conftest.err
5814 cat conftest.err
>&5
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); } &&
5817 { ac_try
='test -z "$ac_c_werror_flag"
5818 || test ! -s conftest.err'
5819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 (exit $ac_status); }; } &&
5824 { ac_try
='test -s conftest.$ac_objext'
5825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); }; }; then
5832 cat >conftest.
$ac_ext <<_ACEOF
5835 cat confdefs.h
>>conftest.
$ac_ext
5836 cat >>conftest.
$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5839 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5840 included before <wchar.h>. */
5853 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)];
5860 rm -f conftest.
$ac_objext
5861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5862 (eval $ac_compile) 2>conftest.er1
5864 grep -v '^ *+' conftest.er1
>conftest.err
5866 cat conftest.err
>&5
5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868 (exit $ac_status); } &&
5869 { ac_try
='test -z "$ac_c_werror_flag"
5870 || test ! -s conftest.err'
5871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); }; } &&
5876 { ac_try
='test -s conftest.$ac_objext'
5877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); }; }; then
5882 ac_hi
=$ac_mid; break
5884 echo "$as_me: failed program was:" >&5
5885 sed 's/^/| /' conftest.
$ac_ext >&5
5887 ac_lo
=`expr $ac_mid + 1`
5888 if test $ac_lo -le $ac_mid; then
5892 ac_mid
=`expr 2 '*' $ac_mid + 1`
5894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5897 echo "$as_me: failed program was:" >&5
5898 sed 's/^/| /' conftest.
$ac_ext >&5
5900 cat >conftest.
$ac_ext <<_ACEOF
5903 cat confdefs.h
>>conftest.
$ac_ext
5904 cat >>conftest.
$ac_ext <<_ACEOF
5905 /* end confdefs.h. */
5907 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5908 included before <wchar.h>. */
5921 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) < 0)];
5928 rm -f conftest.
$ac_objext
5929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5930 (eval $ac_compile) 2>conftest.er1
5932 grep -v '^ *+' conftest.er1
>conftest.err
5934 cat conftest.err
>&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } &&
5937 { ac_try
='test -z "$ac_c_werror_flag"
5938 || test ! -s conftest.err'
5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); }; } &&
5944 { ac_try
='test -s conftest.$ac_objext'
5945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); }; }; then
5952 cat >conftest.
$ac_ext <<_ACEOF
5955 cat confdefs.h
>>conftest.
$ac_ext
5956 cat >>conftest.
$ac_ext <<_ACEOF
5957 /* end confdefs.h. */
5959 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
5960 included before <wchar.h>. */
5973 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) >= $ac_mid)];
5980 rm -f conftest.
$ac_objext
5981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5982 (eval $ac_compile) 2>conftest.er1
5984 grep -v '^ *+' conftest.er1
>conftest.err
5986 cat conftest.err
>&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); } &&
5989 { ac_try
='test -z "$ac_c_werror_flag"
5990 || test ! -s conftest.err'
5991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; } &&
5996 { ac_try
='test -s conftest.$ac_objext'
5997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; }; then
6002 ac_lo
=$ac_mid; break
6004 echo "$as_me: failed program was:" >&5
6005 sed 's/^/| /' conftest.
$ac_ext >&5
6007 ac_hi
=`expr '(' $ac_mid ')' - 1`
6008 if test $ac_mid -le $ac_hi; then
6012 ac_mid
=`expr 2 '*' $ac_mid`
6014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6017 echo "$as_me: failed program was:" >&5
6018 sed 's/^/| /' conftest.
$ac_ext >&5
6022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6025 # Binary search between lo and hi bounds.
6026 while test "x$ac_lo" != "x$ac_hi"; do
6027 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6028 cat >conftest.
$ac_ext <<_ACEOF
6031 cat confdefs.h
>>conftest.
$ac_ext
6032 cat >>conftest.
$ac_ext <<_ACEOF
6033 /* end confdefs.h. */
6035 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
6036 included before <wchar.h>. */
6049 static int test_array [1 - 2 * !((sizeof ($gltype) * CHAR_BIT) <= $ac_mid)];
6056 rm -f conftest.
$ac_objext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058 (eval $ac_compile) 2>conftest.er1
6060 grep -v '^ *+' conftest.er1
>conftest.err
6062 cat conftest.err
>&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } &&
6065 { ac_try
='test -z "$ac_c_werror_flag"
6066 || test ! -s conftest.err'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; } &&
6072 { ac_try
='test -s conftest.$ac_objext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.
$ac_ext >&5
6083 ac_lo
=`expr '(' $ac_mid ')' + 1`
6085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6089 '') result
=unknown
;;
6092 if test "$cross_compiling" = yes; then
6093 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6094 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6095 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6096 See \`config.log' for more details." >&5
6097 echo "$as_me: error: cannot run test program while cross compiling
6098 See \`config.log' for more details." >&2;}
6099 { (exit 1); exit 1; }; }; }
6101 cat >conftest.
$ac_ext <<_ACEOF
6104 cat confdefs.h
>>conftest.
$ac_ext
6105 cat >>conftest.
$ac_ext <<_ACEOF
6106 /* end confdefs.h. */
6108 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
6109 included before <wchar.h>. */
6119 long longval () { return sizeof ($gltype) * CHAR_BIT; }
6120 unsigned long ulongval () { return sizeof ($gltype) * CHAR_BIT; }
6127 FILE *f = fopen ("conftest.val", "w");
6130 if ((sizeof ($gltype) * CHAR_BIT) < 0)
6132 long i = longval ();
6133 if (i != (sizeof ($gltype) * CHAR_BIT))
6135 fprintf (f, "%ld\n", i);
6139 unsigned long i = ulongval ();
6140 if (i != (sizeof ($gltype) * CHAR_BIT))
6142 fprintf (f, "%lu\n", i);
6144 exit (ferror (f) || fclose (f) != 0);
6150 rm -f conftest
$ac_exeext
6151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6152 (eval $ac_link) 2>&5
6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); }; }; then
6161 result
=`cat conftest.val`
6163 echo "$as_me: program exited with status $ac_status" >&5
6164 echo "$as_me: failed program was:" >&5
6165 sed 's/^/| /' conftest.
$ac_ext >&5
6170 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6174 eval gl_cv_bitsizeof_
${gltype}=\
$result
6177 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_bitsizeof_${gltype}'}'`" >&5
6178 echo "${ECHO_T}`eval echo '${'gl_cv_bitsizeof_${gltype}'}'`" >&6
6179 eval result
=\
$gl_cv_bitsizeof_${gltype}
6180 if test $result = unknown
; then
6183 GLTYPE
=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6184 cat >>confdefs.h
<<_ACEOF
6185 #define BITSIZEOF_${GLTYPE} $result
6188 eval BITSIZEOF_
${GLTYPE}=\
$result
6197 for gltype
in sig_atomic_t wchar_t wint_t
; do
6198 echo "$as_me:$LINENO: checking whether $gltype is signed" >&5
6199 echo $ECHO_N "checking whether $gltype is signed... $ECHO_C" >&6
6200 if eval "test \"\${gl_cv_type_${gltype}_signed+set}\" = set"; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 cat >conftest.
$ac_ext <<_ACEOF
6206 cat confdefs.h
>>conftest.
$ac_ext
6207 cat >>conftest.
$ac_ext <<_ACEOF
6208 /* end confdefs.h. */
6210 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
6211 included before <wchar.h>. */
6220 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];
6229 rm -f conftest.
$ac_objext
6230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6231 (eval $ac_compile) 2>conftest.er1
6233 grep -v '^ *+' conftest.er1
>conftest.err
6235 cat conftest.err
>&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); } &&
6238 { ac_try
='test -z "$ac_c_werror_flag"
6239 || test ! -s conftest.err'
6240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); }; } &&
6245 { ac_try
='test -s conftest.$ac_objext'
6246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); }; }; then
6253 echo "$as_me: failed program was:" >&5
6254 sed 's/^/| /' conftest.
$ac_ext >&5
6258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6259 eval gl_cv_type_
${gltype}_signed
=\
$result
6262 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_type_${gltype}_signed'}'`" >&5
6263 echo "${ECHO_T}`eval echo '${'gl_cv_type_${gltype}_signed'}'`" >&6
6264 eval result
=\
$gl_cv_type_${gltype}_signed
6265 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6266 if test "$result" = yes; then
6267 cat >>confdefs.h
<<_ACEOF
6268 #define HAVE_SIGNED_${GLTYPE} 1
6271 eval HAVE_SIGNED_
${GLTYPE}=1
6273 eval HAVE_SIGNED_
${GLTYPE}=0
6278 gl_cv_type_ptrdiff_t_signed
=yes
6279 gl_cv_type_size_t_signed
=no
6287 for gltype
in ptrdiff_t sig_atomic_t size_t wchar_t wint_t
; do
6288 echo "$as_me:$LINENO: checking for $gltype integer literal suffix" >&5
6289 echo $ECHO_N "checking for $gltype integer literal suffix... $ECHO_C" >&6
6290 if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\" = set"; then
6291 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 eval gl_cv_type_
${gltype}_suffix
=no
6294 eval result
=\
$gl_cv_type_${gltype}_signed
6295 if test "$result" = yes; then
6300 for glsuf
in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64
; do
6303 l
) gltype1
='long int';;
6304 ll
) gltype1
='long long int';;
6305 i64
) gltype1
='__int64';;
6306 u
) gltype1
='unsigned int';;
6307 ul
) gltype1
='unsigned long int';;
6308 ull
) gltype1
='unsigned long long int';;
6309 ui64
)gltype1
='unsigned __int64';;
6311 cat >conftest.
$ac_ext <<_ACEOF
6314 cat confdefs.h
>>conftest.
$ac_ext
6315 cat >>conftest.
$ac_ext <<_ACEOF
6316 /* end confdefs.h. */
6318 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
6319 included before <wchar.h>. */
6329 extern $gltype1 foo;
6338 rm -f conftest.
$ac_objext
6339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6340 (eval $ac_compile) 2>conftest.er1
6342 grep -v '^ *+' conftest.er1
>conftest.err
6344 cat conftest.err
>&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); } &&
6347 { ac_try
='test -z "$ac_c_werror_flag"
6348 || test ! -s conftest.err'
6349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); }; } &&
6354 { ac_try
='test -s conftest.$ac_objext'
6355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); }; }; then
6360 eval gl_cv_type_
${gltype}_suffix
=\
$glsuf
6362 echo "$as_me: failed program was:" >&5
6363 sed 's/^/| /' conftest.
$ac_ext >&5
6366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6367 eval result
=\
$gl_cv_type_${gltype}_suffix
6368 test "$result" != no
&& break
6371 echo "$as_me:$LINENO: result: `eval echo '${'gl_cv_type_${gltype}_suffix'}'`" >&5
6372 echo "${ECHO_T}`eval echo '${'gl_cv_type_${gltype}_suffix'}'`" >&6
6373 GLTYPE
=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
6374 eval result
=\
$gl_cv_type_${gltype}_suffix
6375 test "$result" = no
&& result
=
6376 eval ${GLTYPE}_SUFFIX
=\
$result
6377 cat >>confdefs.h
<<_ACEOF
6378 #define ${GLTYPE}_SUFFIX $result
6394 echo "$as_me:$LINENO: checking whether <wchar.h> is standalone" >&5
6395 echo $ECHO_N "checking whether <wchar.h> is standalone... $ECHO_C" >&6
6396 if test "${gl_cv_header_wchar_h_standalone+set}" = set; then
6397 echo $ECHO_N "(cached) $ECHO_C" >&6
6399 cat >conftest.
$ac_ext <<_ACEOF
6403 rm -f conftest.
$ac_objext
6404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6405 (eval $ac_compile) 2>conftest.er1
6407 grep -v '^ *+' conftest.er1
>conftest.err
6409 cat conftest.err
>&5
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); } &&
6412 { ac_try
='test -z "$ac_c_werror_flag"
6413 || test ! -s conftest.err'
6414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); }; } &&
6419 { ac_try
='test -s conftest.$ac_objext'
6420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); }; }; then
6425 gl_cv_header_wchar_h_standalone
=yes
6427 echo "$as_me: failed program was:" >&5
6428 sed 's/^/| /' conftest.
$ac_ext >&5
6430 gl_cv_header_wchar_h_standalone
=no
6432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6434 echo "$as_me:$LINENO: result: $gl_cv_header_wchar_h_standalone" >&5
6435 echo "${ECHO_T}$gl_cv_header_wchar_h_standalone" >&6
6436 if test $gl_cv_header_wchar_h_standalone != yes; then
6447 if test $ac_cv_header_wchar_h = yes; then
6464 if test $gl_cv_have_include_next = yes; then
6465 gl_cv_next_wchar_h
='<'wchar.h
'>'
6467 echo "$as_me:$LINENO: checking absolute name of <wchar.h>" >&5
6468 echo $ECHO_N "checking absolute name of <wchar.h>... $ECHO_C" >&6
6469 if test "${gl_cv_next_wchar_h+set}" = set; then
6470 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 if test $ac_cv_header_wchar_h = yes; then
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6483 gl_cv_next_wchar_h
='"'`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 sed -n '\#/wchar.h#{
6485 s#.*"\(.*/wchar.h\)".*#\1#
6491 gl_cv_next_wchar_h
='<'wchar.h
'>'
6495 echo "$as_me:$LINENO: result: $gl_cv_next_wchar_h" >&5
6496 echo "${ECHO_T}$gl_cv_next_wchar_h" >&6
6498 NEXT_WCHAR_H
=$gl_cv_next_wchar_h
6512 gl_source_base
='tests'
6517 LIBGNU_LIBDEPS
="$gl_libdeps"
6519 LIBGNU_LTLIBDEPS
="$gl_ltlibdeps"
6523 # For Makefile dependencies.
6525 if test x
"$STDINT_H" != x
; then
6526 GNULIB_STDINT_H
=gnulib
/$STDINT_H
6532 cat >>confdefs.h
<<_ACEOF
6533 #define PACKAGE "$PACKAGE"
6538 # GDB does not use automake, but gnulib does. This line lets us
6539 # generate its Makefile.in.
6540 am__api_version
="1.9"
6541 # Find a good install program. We prefer a C program (faster),
6542 # so one script is as good as another. But avoid the broken or
6543 # incompatible versions:
6544 # SysV /etc/install, /usr/sbin/install
6545 # SunOS /usr/etc/install
6546 # IRIX /sbin/install
6548 # AmigaOS /C/install, which installs bootblocks on floppy discs
6549 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6550 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6551 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6552 # OS/2's system install, which has a completely different semantic
6553 # ./install, which can be erroneously created by make from ./install.sh.
6554 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6555 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6556 if test -z "$INSTALL"; then
6557 if test "${ac_cv_path_install+set}" = set; then
6558 echo $ECHO_N "(cached) $ECHO_C" >&6
6560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6564 test -z "$as_dir" && as_dir
=.
6565 # Account for people who put trailing slashes in PATH elements.
6567 .
/ | .
// |
/cC
/* | \
6568 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6569 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6572 # OSF1 and SCO ODT 3.0 have their own names for install.
6573 # Don't use installbsd from OSF since it installs stuff as root
6575 for ac_prog
in ginstall scoinst
install; do
6576 for ac_exec_ext
in '' $ac_executable_extensions; do
6577 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6578 if test $ac_prog = install &&
6579 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6580 # AIX install. It has an incompatible calling convention.
6582 elif test $ac_prog = install &&
6583 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6584 # program-specific install script used by HP pwplus--don't use.
6587 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6599 if test "${ac_cv_path_install+set}" = set; then
6600 INSTALL
=$ac_cv_path_install
6602 # As a last resort, use the slow shell script. We don't cache a
6603 # path for INSTALL within a source directory, because that will
6604 # break other packages using the cache if that directory is
6605 # removed, or if the path is relative.
6606 INSTALL
=$ac_install_sh
6609 echo "$as_me:$LINENO: result: $INSTALL" >&5
6610 echo "${ECHO_T}$INSTALL" >&6
6612 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6613 # It thinks the first close brace ends the variable substitution.
6614 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6616 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6618 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6620 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
6621 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
6624 echo timestamp
> conftest.
file
6625 # Do `set' in a subshell so we don't clobber the current shell's
6626 # arguments. Must try -L first in case configure is actually a
6627 # symlink; some systems play weird games with the mod time of symlinks
6628 # (eg FreeBSD returns the mod time of the symlink's containing
6631 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
6632 if test "$*" = "X"; then
6634 set X
`ls -t $srcdir/configure conftest.file`
6637 if test "$*" != "X $srcdir/configure conftest.file" \
6638 && test "$*" != "X conftest.file $srcdir/configure"; then
6640 # If neither matched, then we have a broken ls. This can happen
6641 # if, for instance, CONFIG_SHELL is bash and it inherits a
6642 # broken ls alias from the environment. This has actually
6643 # happened. Such a system could not be considered "sane".
6644 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
6645 alias in your environment" >&5
6646 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
6647 alias in your environment" >&2;}
6648 { (exit 1); exit 1; }; }
6651 test "$2" = conftest.
file
6657 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
6658 Check your system clock" >&5
6659 echo "$as_me: error: newly created file is older than distributed files!
6660 Check your system clock" >&2;}
6661 { (exit 1); exit 1; }; }
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6665 test "$program_prefix" != NONE
&&
6666 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
6667 # Use a double $ so make ignores it.
6668 test "$program_suffix" != NONE
&&
6669 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
6670 # Double any \ or $. echo might interpret backslashes.
6671 # By default was `s,x,x', remove it if useless.
6672 cat <<\_ACEOF
>conftest.
sed
6673 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
6675 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
6678 # expand $ac_aux_dir to an absolute path
6679 am_aux_dir
=`cd $ac_aux_dir && pwd`
6681 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
6682 # Use eval to expand $SHELL
6683 if eval "$MISSING --run true"; then
6684 am_missing_run
="$MISSING --run "
6687 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
6688 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
6691 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
6692 # We used to keeping the `.' as first argument, in order to
6693 # allow $(mkdir_p) to be used without argument. As in
6694 # $(mkdir_p) $(somedir)
6695 # where $(somedir) is conditionally defined. However this is wrong
6697 # 1. if the package is installed by a user who cannot write `.'
6698 # make install will fail,
6699 # 2. the above comment should most certainly read
6700 # $(mkdir_p) $(DESTDIR)$(somedir)
6701 # so it does not work when $(somedir) is undefined and
6702 # $(DESTDIR) is not.
6703 # To support the latter case, we have to write
6704 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
6705 # so the `.' trick is pointless.
6706 mkdir_p
='mkdir -p --'
6708 # On NextStep and OpenStep, the `mkdir' command does not
6709 # recognize any option. It will interpret all options as
6710 # directories to create, and then abort because `.' already
6712 for d
in .
/-p .
/--version;
6714 test -d $d && rmdir $d
6716 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
6717 if test -f "$ac_aux_dir/mkinstalldirs"; then
6718 mkdir_p
='$(mkinstalldirs)'
6720 mkdir_p
='$(install_sh) -d'
6724 for ac_prog
in gawk mawk nawk
awk
6726 # Extract the first word of "$ac_prog", so it can be a program name with args.
6727 set dummy
$ac_prog; ac_word
=$2
6728 echo "$as_me:$LINENO: checking for $ac_word" >&5
6729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6730 if test "${ac_cv_prog_AWK+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 if test -n "$AWK"; then
6734 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6740 test -z "$as_dir" && as_dir
=.
6741 for ac_exec_ext
in '' $ac_executable_extensions; do
6742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6743 ac_cv_prog_AWK
="$ac_prog"
6744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6753 if test -n "$AWK"; then
6754 echo "$as_me:$LINENO: result: $AWK" >&5
6755 echo "${ECHO_T}$AWK" >&6
6757 echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6
6761 test -n "$AWK" && break
6764 ac_config_commands
="$ac_config_commands depfiles"
6767 am_make
=${MAKE-make}
6768 cat > confinc
<< 'END'
6773 # If we don't find an include directive, just comment out the code.
6774 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
6775 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
6779 # First try GNU make style include.
6780 echo "include confinc" > confmf
6781 # We grep out `Entering directory' and `Leaving directory'
6782 # messages which can occur if `w' ends up in MAKEFLAGS.
6783 # In particular we don't look at `^make:' because GNU make might
6784 # be invoked under some other name (usually "gmake"), in which
6785 # case it prints its new name instead of `make'.
6786 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
6791 # Now try BSD make style include.
6792 if test "$am__include" = "#"; then
6793 echo '.include "confinc"' > confmf
6794 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
6795 am__include
=.include
6802 echo "$as_me:$LINENO: result: $_am_result" >&5
6803 echo "${ECHO_T}$_am_result" >&6
6804 rm -f confinc confmf
6806 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
6807 if test "${enable_dependency_tracking+set}" = set; then
6808 enableval
="$enable_dependency_tracking"
6811 if test "x$enable_dependency_tracking" != xno
; then
6812 am_depcomp
="$ac_aux_dir/depcomp"
6817 if test "x$enable_dependency_tracking" != xno; then
6827 # test to see if srcdir already configured
6828 if test "`cd $srcdir && pwd`" != "`pwd`" &&
6829 test -f $srcdir/config.status
; then
6830 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
6831 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
6832 { (exit 1); exit 1; }; }
6835 # test whether we have cygpath
6836 if test -z "$CYGPATH_W"; then
6837 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
6838 CYGPATH_W
='cygpath -w'
6845 # Define the identity of the package.
6847 VERSION
=UNUSED-VERSION
6850 # Some tools Automake needs.
6852 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6855 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
6858 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6861 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
6864 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
6866 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
6868 # Installed binaries are usually stripped using `strip' when the user
6869 # run `make install-strip'. However `strip' might not be the right
6870 # tool to use in cross-compilation environments, therefore Automake
6871 # will honor the `STRIP' environment variable to overrule this program.
6872 if test "$cross_compiling" != no
; then
6873 if test -n "$ac_tool_prefix"; then
6874 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6875 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6876 echo "$as_me:$LINENO: checking for $ac_word" >&5
6877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6878 if test "${ac_cv_prog_STRIP+set}" = set; then
6879 echo $ECHO_N "(cached) $ECHO_C" >&6
6881 if test -n "$STRIP"; then
6882 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6888 test -z "$as_dir" && as_dir
=.
6889 for ac_exec_ext
in '' $ac_executable_extensions; do
6890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6891 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6900 STRIP
=$ac_cv_prog_STRIP
6901 if test -n "$STRIP"; then
6902 echo "$as_me:$LINENO: result: $STRIP" >&5
6903 echo "${ECHO_T}$STRIP" >&6
6905 echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6
6910 if test -z "$ac_cv_prog_STRIP"; then
6912 # Extract the first word of "strip", so it can be a program name with args.
6913 set dummy strip
; ac_word
=$2
6914 echo "$as_me:$LINENO: checking for $ac_word" >&5
6915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6916 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6917 echo $ECHO_N "(cached) $ECHO_C" >&6
6919 if test -n "$ac_ct_STRIP"; then
6920 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6926 test -z "$as_dir" && as_dir
=.
6927 for ac_exec_ext
in '' $ac_executable_extensions; do
6928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6929 ac_cv_prog_ac_ct_STRIP
="strip"
6930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6936 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
6939 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6940 if test -n "$ac_ct_STRIP"; then
6941 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6942 echo "${ECHO_T}$ac_ct_STRIP" >&6
6944 echo "$as_me:$LINENO: result: no" >&5
6945 echo "${ECHO_T}no" >&6
6950 STRIP
="$ac_cv_prog_STRIP"
6954 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
6956 # We need awk for the "check" target. The system "awk" is bad on
6958 # Always define AMTAR for backward compatibility.
6960 AMTAR
=${AMTAR-"${am_missing_run}tar"}
6962 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
6967 depcc
="$CC" am_compiler_list
=
6969 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6970 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6971 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
6972 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6975 # We make a subdir and do the tests there. Otherwise we can end up
6976 # making bogus files that we don't know about and never remove. For
6977 # instance it was reported that on HP-UX the gcc test will end up
6978 # making a dummy file named `D' -- because `-MD' means `put the output
6981 # Copy depcomp to subdir because otherwise we won't find it if we're
6982 # using a relative directory.
6983 cp "$am_depcomp" conftest.dir
6985 # We will build objects and dependencies in a subdirectory because
6986 # it helps to detect inapplicable dependency modes. For instance
6987 # both Tru64's cc and ICC support -MD to output dependencies as a
6988 # side effect of compilation, but ICC will put the dependencies in
6989 # the current directory while Tru64 will put them in the object
6993 am_cv_CC_dependencies_compiler_type
=none
6994 if test "$am_compiler_list" = ""; then
6995 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6997 for depmode
in $am_compiler_list; do
6998 # Setup a source with many dependencies, because some compilers
6999 # like to wrap large dependency lists on column 80 (with \), and
7000 # we should not choose a depcomp mode which is confused by this.
7002 # We need to recreate these files for each test, as the compiler may
7003 # overwrite some of them when testing with obscure command lines.
7004 # This happens at least with the AIX C compiler.
7006 for i
in 1 2 3 4 5 6; do
7007 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
7008 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7009 # Solaris 8's {/usr,}/bin/sh.
7010 touch sub
/conftst
$i.h
7012 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7016 # after this tag, mechanisms are not by side-effect, so they'll
7017 # only be used when explicitly requested
7018 if test "x$enable_dependency_tracking" = xyes
; then
7026 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7027 # mode. It turns out that the SunPro C++ compiler does not properly
7028 # handle `-M -o', and we need to detect this.
7029 if depmode
=$depmode \
7030 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
7031 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
7032 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
7033 >/dev
/null
2>conftest.err
&&
7034 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
7035 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
7036 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
7037 # icc doesn't choke on unknown options, it will just issue warnings
7038 # or remarks (even with -Werror). So we grep stderr for any message
7039 # that says an option was ignored or not supported.
7040 # When given -MP, icc 7.0 and 7.1 complain thusly:
7041 # icc: Command line warning: ignoring option '-M'; no argument required
7042 # The diagnosis changed in icc 8.0:
7043 # icc: Command line remark: option '-MP' not supported
7044 if (grep 'ignoring option' conftest.err ||
7045 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
7046 am_cv_CC_dependencies_compiler_type
=$depmode
7055 am_cv_CC_dependencies_compiler_type
=none
7059 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
7060 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
7061 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
7066 test "x$enable_dependency_tracking" != xno \
7067 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
7069 am__fastdepCC_FALSE
='#'
7071 am__fastdepCC_TRUE
='#'
7072 am__fastdepCC_FALSE
=
7078 debugdir
=${libdir}/debug
7081 # Check whether --with-separate-debug-dir or --without-separate-debug-dir was given.
7082 if test "${with_separate_debug_dir+set}" = set; then
7083 withval
="$with_separate_debug_dir"
7084 debugdir
="${withval}"
7088 test "x$prefix" = xNONE
&& prefix
="$ac_default_prefix"
7089 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7090 ac_define_dir
=`eval echo $debugdir`
7091 ac_define_dir
=`eval echo $ac_define_dir`
7093 cat >>confdefs.h
<<_ACEOF
7094 #define DEBUGDIR "$ac_define_dir"
7098 #AC_DEFINE_UNQUOTED(DEBUGDIR, "$debugdir"),
7100 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
7101 if test "x$prefix" = xNONE
; then
7102 test_prefix
=/usr
/local
7107 test_prefix
=$exec_prefix
7110 "${test_prefix}"|
"${test_prefix}/"*|\
7111 '${exec_prefix}'|
'${exec_prefix}/'*)
7113 cat >>confdefs.h
<<\_ACEOF
7114 #define DEBUGDIR_RELOCATABLE 1
7122 subdirs
="$subdirs doc testsuite"
7125 # Check whether to support alternative target configurations
7126 # Check whether --enable-targets or --disable-targets was given.
7127 if test "${enable_targets+set}" = set; then
7128 enableval
="$enable_targets"
7129 case "${enableval}" in
7130 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
7131 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
7132 { (exit 1); exit 1; }; }
7134 no
) enable_targets
= ;;
7135 *) enable_targets
=$enableval ;;
7139 # Check whether to enable 64-bit support on 32-bit hosts
7140 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
7141 if test "${enable_64_bit_bfd+set}" = set; then
7142 enableval
="$enable_64_bit_bfd"
7143 case "${enableval}" in
7146 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
7147 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
7148 { (exit 1); exit 1; }; } ;;
7153 # Provide defaults for some variables set by the per-host and per-target
7155 gdb_host_obs
=posix-hdep.o
7157 if test "${target}" = "${host}"; then
7163 .
$srcdir/configure.
host
7165 # Accumulate some settings from configure.tgt over all enabled targets
7170 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
7172 if test "$targ_alias" = "all"; then
7175 # Canonicalize the secondary target names.
7176 result
=`$ac_config_sub $targ_alias 2>/dev/null`
7177 if test -n "$result"; then
7183 .
${srcdir}/configure.tgt
7185 # Target-specific object files
7186 for i
in ${gdb_target_obs}; do
7187 case " $TARGET_OBS " in
7190 TARGET_OBS
="$TARGET_OBS ${i}"
7195 # Check whether this target needs 64-bit CORE_ADDR
7196 if test x
${want64} = xfalse
; then
7197 .
${srcdir}/..
/bfd
/config.bfd
7202 if test x
${all_targets} = xtrue
; then
7204 # We want all 64-bit targets if we either:
7205 # - run on a 64-bit host or
7206 # - already require 64-bit support for some other target or
7207 # - the --enable-64-bit-bfd option was supplied
7208 # Otherwise we only support all 32-bit targets.
7210 # NOTE: This test must be in sync with the corresponding
7213 if test x
${want64} = xfalse
; then
7214 echo "$as_me:$LINENO: checking for long" >&5
7215 echo $ECHO_N "checking for long... $ECHO_C" >&6
7216 if test "${ac_cv_type_long+set}" = set; then
7217 echo $ECHO_N "(cached) $ECHO_C" >&6
7219 cat >conftest.
$ac_ext <<_ACEOF
7222 cat confdefs.h
>>conftest.
$ac_ext
7223 cat >>conftest.
$ac_ext <<_ACEOF
7224 /* end confdefs.h. */
7225 $ac_includes_default
7237 rm -f conftest.
$ac_objext
7238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7239 (eval $ac_compile) 2>conftest.er1
7241 grep -v '^ *+' conftest.er1
>conftest.err
7243 cat conftest.err
>&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); } &&
7246 { ac_try
='test -z "$ac_c_werror_flag"
7247 || test ! -s conftest.err'
7248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); }; } &&
7253 { ac_try
='test -s conftest.$ac_objext'
7254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; }; then
7261 echo "$as_me: failed program was:" >&5
7262 sed 's/^/| /' conftest.
$ac_ext >&5
7266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7268 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7269 echo "${ECHO_T}$ac_cv_type_long" >&6
7271 echo "$as_me:$LINENO: checking size of long" >&5
7272 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7273 if test "${ac_cv_sizeof_long+set}" = set; then
7274 echo $ECHO_N "(cached) $ECHO_C" >&6
7276 if test "$ac_cv_type_long" = yes; then
7277 # The cast to unsigned long works around a bug in the HP C Compiler
7278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7280 # This bug is HP SR number 8606223364.
7281 if test "$cross_compiling" = yes; then
7282 # Depending upon the size, compute the lo and hi bounds.
7283 cat >conftest.
$ac_ext <<_ACEOF
7286 cat confdefs.h
>>conftest.
$ac_ext
7287 cat >>conftest.
$ac_ext <<_ACEOF
7288 /* end confdefs.h. */
7289 $ac_includes_default
7293 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
7300 rm -f conftest.
$ac_objext
7301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7302 (eval $ac_compile) 2>conftest.er1
7304 grep -v '^ *+' conftest.er1
>conftest.err
7306 cat conftest.err
>&5
7307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308 (exit $ac_status); } &&
7309 { ac_try
='test -z "$ac_c_werror_flag"
7310 || test ! -s conftest.err'
7311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); }; } &&
7316 { ac_try
='test -s conftest.$ac_objext'
7317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); }; }; then
7324 cat >conftest.
$ac_ext <<_ACEOF
7327 cat confdefs.h
>>conftest.
$ac_ext
7328 cat >>conftest.
$ac_ext <<_ACEOF
7329 /* end confdefs.h. */
7330 $ac_includes_default
7334 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7341 rm -f conftest.
$ac_objext
7342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7343 (eval $ac_compile) 2>conftest.er1
7345 grep -v '^ *+' conftest.er1
>conftest.err
7347 cat conftest.err
>&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); } &&
7350 { ac_try
='test -z "$ac_c_werror_flag"
7351 || test ! -s conftest.err'
7352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); }; } &&
7357 { ac_try
='test -s conftest.$ac_objext'
7358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); }; }; then
7363 ac_hi
=$ac_mid; break
7365 echo "$as_me: failed program was:" >&5
7366 sed 's/^/| /' conftest.
$ac_ext >&5
7368 ac_lo
=`expr $ac_mid + 1`
7369 if test $ac_lo -le $ac_mid; then
7373 ac_mid
=`expr 2 '*' $ac_mid + 1`
7375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.
$ac_ext >&5
7381 cat >conftest.
$ac_ext <<_ACEOF
7384 cat confdefs.h
>>conftest.
$ac_ext
7385 cat >>conftest.
$ac_ext <<_ACEOF
7386 /* end confdefs.h. */
7387 $ac_includes_default
7391 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
7398 rm -f conftest.
$ac_objext
7399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7400 (eval $ac_compile) 2>conftest.er1
7402 grep -v '^ *+' conftest.er1
>conftest.err
7404 cat conftest.err
>&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); } &&
7407 { ac_try
='test -z "$ac_c_werror_flag"
7408 || test ! -s conftest.err'
7409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); }; } &&
7414 { ac_try
='test -s conftest.$ac_objext'
7415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419 (exit $ac_status); }; }; then
7422 cat >conftest.
$ac_ext <<_ACEOF
7425 cat confdefs.h
>>conftest.
$ac_ext
7426 cat >>conftest.
$ac_ext <<_ACEOF
7427 /* end confdefs.h. */
7428 $ac_includes_default
7432 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7439 rm -f conftest.
$ac_objext
7440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7441 (eval $ac_compile) 2>conftest.er1
7443 grep -v '^ *+' conftest.er1
>conftest.err
7445 cat conftest.err
>&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); } &&
7448 { ac_try
='test -z "$ac_c_werror_flag"
7449 || test ! -s conftest.err'
7450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; } &&
7455 { ac_try
='test -s conftest.$ac_objext'
7456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); }; }; then
7461 ac_lo
=$ac_mid; break
7463 echo "$as_me: failed program was:" >&5
7464 sed 's/^/| /' conftest.
$ac_ext >&5
7466 ac_hi
=`expr '(' $ac_mid ')' - 1`
7467 if test $ac_mid -le $ac_hi; then
7471 ac_mid
=`expr 2 '*' $ac_mid`
7473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7476 echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.
$ac_ext >&5
7481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7484 # Binary search between lo and hi bounds.
7485 while test "x$ac_lo" != "x$ac_hi"; do
7486 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7487 cat >conftest.
$ac_ext <<_ACEOF
7490 cat confdefs.h
>>conftest.
$ac_ext
7491 cat >>conftest.
$ac_ext <<_ACEOF
7492 /* end confdefs.h. */
7493 $ac_includes_default
7497 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7504 rm -f conftest.
$ac_objext
7505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7506 (eval $ac_compile) 2>conftest.er1
7508 grep -v '^ *+' conftest.er1
>conftest.err
7510 cat conftest.err
>&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } &&
7513 { ac_try
='test -z "$ac_c_werror_flag"
7514 || test ! -s conftest.err'
7515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); }; } &&
7520 { ac_try
='test -s conftest.$ac_objext'
7521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); }; }; then
7528 echo "$as_me: failed program was:" >&5
7529 sed 's/^/| /' conftest.
$ac_ext >&5
7531 ac_lo
=`expr '(' $ac_mid ')' + 1`
7533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7536 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7537 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7538 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7539 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7540 See \`config.log' for more details." >&5
7541 echo "$as_me: error: cannot compute sizeof (long), 77
7542 See \`config.log' for more details." >&2;}
7543 { (exit 1); exit 1; }; }; } ;;
7546 if test "$cross_compiling" = yes; then
7547 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7548 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7549 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7550 See \`config.log' for more details." >&5
7551 echo "$as_me: error: cannot run test program while cross compiling
7552 See \`config.log' for more details." >&2;}
7553 { (exit 1); exit 1; }; }; }
7555 cat >conftest.
$ac_ext <<_ACEOF
7558 cat confdefs.h
>>conftest.
$ac_ext
7559 cat >>conftest.
$ac_ext <<_ACEOF
7560 /* end confdefs.h. */
7561 $ac_includes_default
7562 long longval () { return (long) (sizeof (long)); }
7563 unsigned long ulongval () { return (long) (sizeof (long)); }
7570 FILE *f = fopen ("conftest.val", "w");
7573 if (((long) (sizeof (long))) < 0)
7575 long i = longval ();
7576 if (i != ((long) (sizeof (long))))
7578 fprintf (f, "%ld\n", i);
7582 unsigned long i = ulongval ();
7583 if (i != ((long) (sizeof (long))))
7585 fprintf (f, "%lu\n", i);
7587 exit (ferror (f) || fclose (f) != 0);
7593 rm -f conftest
$ac_exeext
7594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7595 (eval $ac_link) 2>&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; }; then
7604 ac_cv_sizeof_long
=`cat conftest.val`
7606 echo "$as_me: program exited with status $ac_status" >&5
7607 echo "$as_me: failed program was:" >&5
7608 sed 's/^/| /' conftest.
$ac_ext >&5
7611 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7612 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7614 See \`config.log' for more details." >&5
7615 echo "$as_me: error: cannot compute sizeof (long), 77
7616 See \`config.log' for more details." >&2;}
7617 { (exit 1); exit 1; }; }; }
7619 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7627 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7628 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7629 cat >>confdefs.h
<<_ACEOF
7630 #define SIZEOF_LONG $ac_cv_sizeof_long
7634 if test "x${ac_cv_sizeof_long}" = "x8"; then
7638 if test x
${want64} = xtrue
; then
7639 TARGET_OBS
='$(ALL_TARGET_OBS) $(ALL_64_TARGET_OBS)'
7641 TARGET_OBS
='$(ALL_TARGET_OBS)'
7647 # For other settings, only the main target counts.
7651 targ
=$target; .
${srcdir}/configure.tgt
7653 # Fetch the default architecture and default target vector from BFD.
7654 targ
=$target; .
$srcdir/..
/bfd
/config.bfd
7656 # We only want the first architecture, so strip off the others if
7657 # there is more than one.
7658 targ_archs
=`echo $targ_archs | sed 's/ .*//'`
7660 if test "x$targ_archs" != x
; then
7662 cat >>confdefs.h
<<_ACEOF
7663 #define DEFAULT_BFD_ARCH $targ_archs
7667 if test "x$targ_defvec" != x
; then
7669 cat >>confdefs.h
<<_ACEOF
7670 #define DEFAULT_BFD_VEC $targ_defvec
7675 # The CLI cannot be disabled yet, but may be in the future.
7678 # Check whether --enable-gdbcli or --disable-gdbcli was given.
7679 if test "${enable_gdbcli+set}" = set; then
7680 enableval
="$enable_gdbcli"
7685 { { echo "$as_me:$LINENO: error: the command-line interface cannot be disabled yet" >&5
7686 echo "$as_me: error: the command-line interface cannot be disabled yet" >&2;}
7687 { (exit 1); exit 1; }; } ;;
7689 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbcli" >&5
7690 echo "$as_me: error: bad value $enableval for --enable-gdbcli" >&2;}
7691 { (exit 1); exit 1; }; } ;;
7696 if test x
"$enable_gdbcli" = xyes
; then
7697 if test -d $srcdir/cli
; then
7698 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_CLI_OBS)"
7699 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_CLI_DEPS)"
7700 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_CLI_SRCS)"
7701 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_CLI_CFLAGS)"
7706 # Check whether --enable-gdbmi or --disable-gdbmi was given.
7707 if test "${enable_gdbmi+set}" = set; then
7708 enableval
="$enable_gdbmi"
7713 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbmi" >&5
7714 echo "$as_me: error: bad value $enableval for --enable-gdbmi" >&2;}
7715 { (exit 1); exit 1; }; } ;;
7720 if test x
"$enable_gdbmi" = xyes
; then
7721 if test -d $srcdir/mi
; then
7722 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_MI_OBS)"
7723 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_MI_DEPS)"
7724 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_MI_SRCS)"
7725 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_MI_CFLAGS)"
7730 # Check whether --enable-tui or --disable-tui was given.
7731 if test "${enable_tui+set}" = set; then
7732 enableval
="$enable_tui"
7737 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-tui" >&5
7738 echo "$as_me: error: bad value $enableval for --enable-tui" >&2;}
7739 { (exit 1); exit 1; }; } ;;
7746 # Check whether --enable-gdbtk or --disable-gdbtk was given.
7747 if test "${enable_gdbtk+set}" = set; then
7748 enableval
="$enable_gdbtk"
7753 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-gdbtk" >&5
7754 echo "$as_me: error: bad value $enableval for --enable-gdbtk" >&2;}
7755 { (exit 1); exit 1; }; } ;;
7758 if test -d $srcdir/gdbtk
; then
7764 # We unconditionally disable gdbtk tests on selected platforms.
7767 { echo "$as_me:$LINENO: WARNING: gdbtk isn't supported on $host; disabling" >&5
7768 echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;}
7772 # Libunwind support.
7774 # Check whether --with-libunwind or --without-libunwind was given.
7775 if test "${with_libunwind+set}" = set; then
7776 withval
="$with_libunwind"
7777 case "${withval}" in
7778 yes) enable_libunwind
=yes ;;
7779 no
) enable_libunwind
=no
;;
7780 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for GDB with-libunwind option" >&5
7781 echo "$as_me: error: bad value ${withval} for GDB with-libunwind option" >&2;}
7782 { (exit 1); exit 1; }; } ;;
7787 for ac_header
in libunwind.h
7789 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7791 echo "$as_me:$LINENO: checking for $ac_header" >&5
7792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7799 # Is the header compilable?
7800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7802 cat >conftest.
$ac_ext <<_ACEOF
7805 cat confdefs.h
>>conftest.
$ac_ext
7806 cat >>conftest.
$ac_ext <<_ACEOF
7807 /* end confdefs.h. */
7808 $ac_includes_default
7809 #include <$ac_header>
7811 rm -f conftest.
$ac_objext
7812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7813 (eval $ac_compile) 2>conftest.er1
7815 grep -v '^ *+' conftest.er1
>conftest.err
7817 cat conftest.err
>&5
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); } &&
7820 { ac_try
='test -z "$ac_c_werror_flag"
7821 || test ! -s conftest.err'
7822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826 (exit $ac_status); }; } &&
7827 { ac_try
='test -s conftest.$ac_objext'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; }; then
7833 ac_header_compiler
=yes
7835 echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.
$ac_ext >&5
7838 ac_header_compiler
=no
7840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7842 echo "${ECHO_T}$ac_header_compiler" >&6
7844 # Is the header present?
7845 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7847 cat >conftest.
$ac_ext <<_ACEOF
7850 cat confdefs.h
>>conftest.
$ac_ext
7851 cat >>conftest.
$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7853 #include <$ac_header>
7855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7856 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7858 grep -v '^ *+' conftest.er1
>conftest.err
7860 cat conftest.err
>&5
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); } >/dev
/null
; then
7863 if test -s conftest.err
; then
7864 ac_cpp_err
=$ac_c_preproc_warn_flag
7865 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7872 if test -z "$ac_cpp_err"; then
7873 ac_header_preproc
=yes
7875 echo "$as_me: failed program was:" >&5
7876 sed 's/^/| /' conftest.
$ac_ext >&5
7878 ac_header_preproc
=no
7880 rm -f conftest.err conftest.
$ac_ext
7881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7882 echo "${ECHO_T}$ac_header_preproc" >&6
7884 # So? What about this header?
7885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7890 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7891 ac_header_preproc
=yes
7894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7898 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7899 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7900 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7901 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7904 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7905 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7908 ## ------------------------------------------ ##
7909 ## Report this to the AC_PACKAGE_NAME lists. ##
7910 ## ------------------------------------------ ##
7913 sed "s/^/$as_me: WARNING: /" >&2
7916 echo "$as_me:$LINENO: checking for $ac_header" >&5
7917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 eval "$as_ac_Header=\$ac_header_preproc"
7923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7928 cat >>confdefs.h
<<_ACEOF
7929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7937 for ac_header
in libunwind-ia64.h
7939 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7941 echo "$as_me:$LINENO: checking for $ac_header" >&5
7942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7949 # Is the header compilable?
7950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7951 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
7959 #include <$ac_header>
7961 rm -f conftest.
$ac_objext
7962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7963 (eval $ac_compile) 2>conftest.er1
7965 grep -v '^ *+' conftest.er1
>conftest.err
7967 cat conftest.err
>&5
7968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); } &&
7970 { ac_try
='test -z "$ac_c_werror_flag"
7971 || test ! -s conftest.err'
7972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7976 (exit $ac_status); }; } &&
7977 { ac_try
='test -s conftest.$ac_objext'
7978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7982 (exit $ac_status); }; }; then
7983 ac_header_compiler
=yes
7985 echo "$as_me: failed program was:" >&5
7986 sed 's/^/| /' conftest.
$ac_ext >&5
7988 ac_header_compiler
=no
7990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7992 echo "${ECHO_T}$ac_header_compiler" >&6
7994 # Is the header present?
7995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7997 cat >conftest.
$ac_ext <<_ACEOF
8000 cat confdefs.h
>>conftest.
$ac_ext
8001 cat >>conftest.
$ac_ext <<_ACEOF
8002 /* end confdefs.h. */
8003 #include <$ac_header>
8005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8008 grep -v '^ *+' conftest.er1
>conftest.err
8010 cat conftest.err
>&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); } >/dev
/null
; then
8013 if test -s conftest.err
; then
8014 ac_cpp_err
=$ac_c_preproc_warn_flag
8015 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8022 if test -z "$ac_cpp_err"; then
8023 ac_header_preproc
=yes
8025 echo "$as_me: failed program was:" >&5
8026 sed 's/^/| /' conftest.
$ac_ext >&5
8028 ac_header_preproc
=no
8030 rm -f conftest.err conftest.
$ac_ext
8031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8032 echo "${ECHO_T}$ac_header_preproc" >&6
8034 # So? What about this header?
8035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8041 ac_header_preproc
=yes
8044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8058 ## ------------------------------------------ ##
8059 ## Report this to the AC_PACKAGE_NAME lists. ##
8060 ## ------------------------------------------ ##
8063 sed "s/^/$as_me: WARNING: /" >&2
8066 echo "$as_me:$LINENO: checking for $ac_header" >&5
8067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8069 echo $ECHO_N "(cached) $ECHO_C" >&6
8071 eval "$as_ac_Header=\$ac_header_preproc"
8073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8078 cat >>confdefs.h
<<_ACEOF
8079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 if test x
"$ac_cv_header_libunwind_h" = xyes
-a x
"$ac_cv_header_libunwind_ia64_h" = xyes
; then
8087 enable_libunwind
=yes;
8092 if test x
"$enable_libunwind" = xyes
; then
8094 for ac_header
in libunwind.h
8096 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8098 echo "$as_me:$LINENO: checking for $ac_header" >&5
8099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8101 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8106 # Is the header compilable?
8107 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8109 cat >conftest.
$ac_ext <<_ACEOF
8112 cat confdefs.h
>>conftest.
$ac_ext
8113 cat >>conftest.
$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8115 $ac_includes_default
8116 #include <$ac_header>
8118 rm -f conftest.
$ac_objext
8119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8120 (eval $ac_compile) 2>conftest.er1
8122 grep -v '^ *+' conftest.er1
>conftest.err
8124 cat conftest.err
>&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); } &&
8127 { ac_try
='test -z "$ac_c_werror_flag"
8128 || test ! -s conftest.err'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; } &&
8134 { ac_try
='test -s conftest.$ac_objext'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; }; then
8140 ac_header_compiler
=yes
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.
$ac_ext >&5
8145 ac_header_compiler
=no
8147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8149 echo "${ECHO_T}$ac_header_compiler" >&6
8151 # Is the header present?
8152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8154 cat >conftest.
$ac_ext <<_ACEOF
8157 cat confdefs.h
>>conftest.
$ac_ext
8158 cat >>conftest.
$ac_ext <<_ACEOF
8159 /* end confdefs.h. */
8160 #include <$ac_header>
8162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8165 grep -v '^ *+' conftest.er1
>conftest.err
8167 cat conftest.err
>&5
8168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8169 (exit $ac_status); } >/dev
/null
; then
8170 if test -s conftest.err
; then
8171 ac_cpp_err
=$ac_c_preproc_warn_flag
8172 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8179 if test -z "$ac_cpp_err"; then
8180 ac_header_preproc
=yes
8182 echo "$as_me: failed program was:" >&5
8183 sed 's/^/| /' conftest.
$ac_ext >&5
8185 ac_header_preproc
=no
8187 rm -f conftest.err conftest.
$ac_ext
8188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8189 echo "${ECHO_T}$ac_header_preproc" >&6
8191 # So? What about this header?
8192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8198 ac_header_preproc
=yes
8201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8205 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8207 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8208 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8211 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8215 ## ------------------------------------------ ##
8216 ## Report this to the AC_PACKAGE_NAME lists. ##
8217 ## ------------------------------------------ ##
8220 sed "s/^/$as_me: WARNING: /" >&2
8223 echo "$as_me:$LINENO: checking for $ac_header" >&5
8224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8226 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 eval "$as_ac_Header=\$ac_header_preproc"
8230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8235 cat >>confdefs.h
<<_ACEOF
8236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8244 for ac_header
in libunwind-ia64.h
8246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8248 echo "$as_me:$LINENO: checking for $ac_header" >&5
8249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8251 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8256 # Is the header compilable?
8257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8259 cat >conftest.
$ac_ext <<_ACEOF
8262 cat confdefs.h
>>conftest.
$ac_ext
8263 cat >>conftest.
$ac_ext <<_ACEOF
8264 /* end confdefs.h. */
8265 $ac_includes_default
8266 #include <$ac_header>
8268 rm -f conftest.
$ac_objext
8269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8270 (eval $ac_compile) 2>conftest.er1
8272 grep -v '^ *+' conftest.er1
>conftest.err
8274 cat conftest.err
>&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); } &&
8277 { ac_try
='test -z "$ac_c_werror_flag"
8278 || test ! -s conftest.err'
8279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 (exit $ac_status); }; } &&
8284 { ac_try
='test -s conftest.$ac_objext'
8285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); }; }; then
8290 ac_header_compiler
=yes
8292 echo "$as_me: failed program was:" >&5
8293 sed 's/^/| /' conftest.
$ac_ext >&5
8295 ac_header_compiler
=no
8297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8299 echo "${ECHO_T}$ac_header_compiler" >&6
8301 # Is the header present?
8302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8304 cat >conftest.
$ac_ext <<_ACEOF
8307 cat confdefs.h
>>conftest.
$ac_ext
8308 cat >>conftest.
$ac_ext <<_ACEOF
8309 /* end confdefs.h. */
8310 #include <$ac_header>
8312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8315 grep -v '^ *+' conftest.er1
>conftest.err
8317 cat conftest.err
>&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); } >/dev
/null
; then
8320 if test -s conftest.err
; then
8321 ac_cpp_err
=$ac_c_preproc_warn_flag
8322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8329 if test -z "$ac_cpp_err"; then
8330 ac_header_preproc
=yes
8332 echo "$as_me: failed program was:" >&5
8333 sed 's/^/| /' conftest.
$ac_ext >&5
8335 ac_header_preproc
=no
8337 rm -f conftest.err conftest.
$ac_ext
8338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8339 echo "${ECHO_T}$ac_header_preproc" >&6
8341 # So? What about this header?
8342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8348 ac_header_preproc
=yes
8351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8365 ## ------------------------------------------ ##
8366 ## Report this to the AC_PACKAGE_NAME lists. ##
8367 ## ------------------------------------------ ##
8370 sed "s/^/$as_me: WARNING: /" >&2
8373 echo "$as_me:$LINENO: checking for $ac_header" >&5
8374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8376 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 eval "$as_ac_Header=\$ac_header_preproc"
8380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8385 cat >>confdefs.h
<<_ACEOF
8386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8394 cat >>confdefs.h
<<\_ACEOF
8395 #define HAVE_LIBUNWIND 1
8398 CONFIG_OBS
="$CONFIG_OBS libunwind-frame.o"
8399 CONFIG_DEPS
="$CONFIG_DEPS libunwind-frame.o"
8400 CONFIG_SRCS
="$CONFIG_SRCS libunwind-frame.c"
8403 # Profiling support.
8404 # Check whether --enable-profiling or --disable-profiling was given.
8405 if test "${enable_profiling+set}" = set; then
8406 enableval
="$enable_profiling"
8411 { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-profile" >&5
8412 echo "$as_me: error: bad value $enableval for --enable-profile" >&2;}
8413 { (exit 1); exit 1; }; } ;;
8421 for ac_func
in monstartup _mcleanup
8423 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8424 echo "$as_me:$LINENO: checking for $ac_func" >&5
8425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8426 if eval "test \"\${$as_ac_var+set}\" = set"; then
8427 echo $ECHO_N "(cached) $ECHO_C" >&6
8429 cat >conftest.
$ac_ext <<_ACEOF
8432 cat confdefs.h
>>conftest.
$ac_ext
8433 cat >>conftest.
$ac_ext <<_ACEOF
8434 /* end confdefs.h. */
8435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8437 #define $ac_func innocuous_$ac_func
8439 /* System header to define __stub macros and hopefully few prototypes,
8440 which can conflict with char $ac_func (); below.
8441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8442 <limits.h> exists even on freestanding compilers. */
8445 # include <limits.h>
8447 # include <assert.h>
8452 /* Override any gcc2 internal prototype to avoid an error. */
8457 /* We use char because int might match the return type of a gcc2
8458 builtin and then its argument prototype would still apply. */
8460 /* The GNU C library defines this for functions which it implements
8461 to always fail with ENOSYS. Some functions are actually named
8462 something starting with __ and the normal name is an alias. */
8463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8466 char (*f) () = $ac_func;
8475 return f != $ac_func;
8480 rm -f conftest.
$ac_objext conftest
$ac_exeext
8481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8482 (eval $ac_link) 2>conftest.er1
8484 grep -v '^ *+' conftest.er1
>conftest.err
8486 cat conftest.err
>&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } &&
8489 { ac_try
='test -z "$ac_c_werror_flag"
8490 || test ! -s conftest.err'
8491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; } &&
8496 { ac_try
='test -s conftest$ac_exeext'
8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); }; }; then
8502 eval "$as_ac_var=yes"
8504 echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.
$ac_ext >&5
8507 eval "$as_ac_var=no"
8509 rm -f conftest.err conftest.
$ac_objext \
8510 conftest
$ac_exeext conftest.
$ac_ext
8512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8514 if test `eval echo '${'$as_ac_var'}'` = yes; then
8515 cat >>confdefs.h
<<_ACEOF
8516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8522 echo "$as_me:$LINENO: checking for _etext" >&5
8523 echo $ECHO_N "checking for _etext... $ECHO_C" >&6
8524 if test "${ac_cv_var__etext+set}" = set; then
8525 echo $ECHO_N "(cached) $ECHO_C" >&6
8527 cat >conftest.
$ac_ext <<_ACEOF
8530 cat confdefs.h
>>conftest.
$ac_ext
8531 cat >>conftest.
$ac_ext <<_ACEOF
8532 /* end confdefs.h. */
8544 rm -f conftest.
$ac_objext conftest
$ac_exeext
8545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8546 (eval $ac_link) 2>conftest.er1
8548 grep -v '^ *+' conftest.er1
>conftest.err
8550 cat conftest.err
>&5
8551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); } &&
8553 { ac_try
='test -z "$ac_c_werror_flag"
8554 || test ! -s conftest.err'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; } &&
8560 { ac_try
='test -s conftest$ac_exeext'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; }; then
8566 ac_cv_var__etext
=yes
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.
$ac_ext >&5
8573 rm -f conftest.err conftest.
$ac_objext \
8574 conftest
$ac_exeext conftest.
$ac_ext
8576 echo "$as_me:$LINENO: result: $ac_cv_var__etext" >&5
8577 echo "${ECHO_T}$ac_cv_var__etext" >&6
8578 if test $ac_cv_var__etext = yes; then
8580 cat >>confdefs.h
<<\_ACEOF
8581 #define HAVE__ETEXT 1
8585 echo "$as_me:$LINENO: checking for etext" >&5
8586 echo $ECHO_N "checking for etext... $ECHO_C" >&6
8587 if test "${ac_cv_var_etext+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8590 cat >conftest.
$ac_ext <<_ACEOF
8593 cat confdefs.h
>>conftest.
$ac_ext
8594 cat >>conftest.
$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8607 rm -f conftest.
$ac_objext conftest
$ac_exeext
8608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8609 (eval $ac_link) 2>conftest.er1
8611 grep -v '^ *+' conftest.er1
>conftest.err
8613 cat conftest.err
>&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } &&
8616 { ac_try
='test -z "$ac_c_werror_flag"
8617 || test ! -s conftest.err'
8618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); }; } &&
8623 { ac_try
='test -s conftest$ac_exeext'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; }; then
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.
$ac_ext >&5
8636 rm -f conftest.err conftest.
$ac_objext \
8637 conftest
$ac_exeext conftest.
$ac_ext
8639 echo "$as_me:$LINENO: result: $ac_cv_var_etext" >&5
8640 echo "${ECHO_T}$ac_cv_var_etext" >&6
8641 if test $ac_cv_var_etext = yes; then
8643 cat >>confdefs.h
<<\_ACEOF
8644 #define HAVE_ETEXT 1
8648 if test "$enable_profiling" = yes ; then
8649 if test $ac_cv_func_monstartup = no ||
test $ac_cv_func__mcleanup = no
; then
8650 { { echo "$as_me:$LINENO: error: --enable-profiling requires monstartup and _mcleanup" >&5
8651 echo "$as_me: error: --enable-profiling requires monstartup and _mcleanup" >&2;}
8652 { (exit 1); exit 1; }; }
8655 OLD_CFLAGS
="$CFLAGS"
8656 CFLAGS
="$CFLAGS $PROFILE_CFLAGS"
8658 echo "$as_me:$LINENO: checking whether $CC supports -pg" >&5
8659 echo $ECHO_N "checking whether $CC supports -pg... $ECHO_C" >&6
8660 if test "${ac_cv_cc_supports_pg+set}" = set; then
8661 echo $ECHO_N "(cached) $ECHO_C" >&6
8663 cat >conftest.
$ac_ext <<_ACEOF
8666 cat confdefs.h
>>conftest.
$ac_ext
8667 cat >>conftest.
$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8678 rm -f conftest.
$ac_objext
8679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8680 (eval $ac_compile) 2>conftest.er1
8682 grep -v '^ *+' conftest.er1
>conftest.err
8684 cat conftest.err
>&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); } &&
8687 { ac_try
='test -z "$ac_c_werror_flag"
8688 || test ! -s conftest.err'
8689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); }; } &&
8694 { ac_try
='test -s conftest.$ac_objext'
8695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); }; }; then
8700 ac_cv_cc_supports_pg
=yes
8702 echo "$as_me: failed program was:" >&5
8703 sed 's/^/| /' conftest.
$ac_ext >&5
8705 ac_cv_cc_supports_pg
=no
8707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8709 echo "$as_me:$LINENO: result: $ac_cv_cc_supports_pg" >&5
8710 echo "${ECHO_T}$ac_cv_cc_supports_pg" >&6
8712 if test $ac_cv_cc_supports_pg = no
; then
8713 { { echo "$as_me:$LINENO: error: --enable-profiling requires a compiler which supports -pg" >&5
8714 echo "$as_me: error: --enable-profiling requires a compiler which supports -pg" >&2;}
8715 { (exit 1); exit 1; }; }
8718 CFLAGS
="$OLD_CFLAGS"
8723 # Check whether --with-pkgversion or --without-pkgversion was given.
8724 if test "${with_pkgversion+set}" = set; then
8725 withval
="$with_pkgversion"
8727 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
8728 echo "$as_me: error: package version not specified" >&2;}
8729 { (exit 1); exit 1; }; } ;;
8731 *) PKGVERSION
="($withval) " ;;
8741 # Check whether --with-bugurl or --without-bugurl was given.
8742 if test "${with_bugurl+set}" = set; then
8743 withval
="$with_bugurl"
8745 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
8746 echo "$as_me: error: bug URL not specified" >&2;}
8747 { (exit 1); exit 1; }; } ;;
8750 *) BUGURL
="$withval"
8754 BUGURL
="http://www.gnu.org/software/gdb/bugs/"
8763 REPORT_BUGS_TO
="<$BUGURL>"
8764 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
8771 cat >>confdefs.h
<<_ACEOF
8772 #define PKGVERSION "$PKGVERSION"
8776 cat >>confdefs.h
<<_ACEOF
8777 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
8781 # --------------------- #
8782 # Checks for programs. #
8783 # --------------------- #
8785 for ac_prog
in gawk mawk nawk
awk
8787 # Extract the first word of "$ac_prog", so it can be a program name with args.
8788 set dummy
$ac_prog; ac_word
=$2
8789 echo "$as_me:$LINENO: checking for $ac_word" >&5
8790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8791 if test "${ac_cv_prog_AWK+set}" = set; then
8792 echo $ECHO_N "(cached) $ECHO_C" >&6
8794 if test -n "$AWK"; then
8795 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
8797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8801 test -z "$as_dir" && as_dir
=.
8802 for ac_exec_ext
in '' $ac_executable_extensions; do
8803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8804 ac_cv_prog_AWK
="$ac_prog"
8805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8814 if test -n "$AWK"; then
8815 echo "$as_me:$LINENO: result: $AWK" >&5
8816 echo "${ECHO_T}$AWK" >&6
8818 echo "$as_me:$LINENO: result: no" >&5
8819 echo "${ECHO_T}no" >&6
8822 test -n "$AWK" && break
8825 # Find a good install program. We prefer a C program (faster),
8826 # so one script is as good as another. But avoid the broken or
8827 # incompatible versions:
8828 # SysV /etc/install, /usr/sbin/install
8829 # SunOS /usr/etc/install
8830 # IRIX /sbin/install
8832 # AmigaOS /C/install, which installs bootblocks on floppy discs
8833 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8834 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8835 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8836 # OS/2's system install, which has a completely different semantic
8837 # ./install, which can be erroneously created by make from ./install.sh.
8838 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8839 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8840 if test -z "$INSTALL"; then
8841 if test "${ac_cv_path_install+set}" = set; then
8842 echo $ECHO_N "(cached) $ECHO_C" >&6
8844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8848 test -z "$as_dir" && as_dir
=.
8849 # Account for people who put trailing slashes in PATH elements.
8851 .
/ | .
// |
/cC
/* | \
8852 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8853 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8856 # OSF1 and SCO ODT 3.0 have their own names for install.
8857 # Don't use installbsd from OSF since it installs stuff as root
8859 for ac_prog
in ginstall scoinst
install; do
8860 for ac_exec_ext
in '' $ac_executable_extensions; do
8861 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8862 if test $ac_prog = install &&
8863 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8864 # AIX install. It has an incompatible calling convention.
8866 elif test $ac_prog = install &&
8867 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8868 # program-specific install script used by HP pwplus--don't use.
8871 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8883 if test "${ac_cv_path_install+set}" = set; then
8884 INSTALL
=$ac_cv_path_install
8886 # As a last resort, use the slow shell script. We don't cache a
8887 # path for INSTALL within a source directory, because that will
8888 # break other packages using the cache if that directory is
8889 # removed, or if the path is relative.
8890 INSTALL
=$ac_install_sh
8893 echo "$as_me:$LINENO: result: $INSTALL" >&5
8894 echo "${ECHO_T}$INSTALL" >&6
8896 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8897 # It thinks the first close brace ends the variable substitution.
8898 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8900 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8902 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8904 echo "$as_me:$LINENO: checking whether ln -s works" >&5
8905 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8907 if test "$LN_S" = "ln -s"; then
8908 echo "$as_me:$LINENO: result: yes" >&5
8909 echo "${ECHO_T}yes" >&6
8911 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8912 echo "${ECHO_T}no, using $LN_S" >&6
8915 if test -n "$ac_tool_prefix"; then
8916 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8917 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8918 echo "$as_me:$LINENO: checking for $ac_word" >&5
8919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8920 if test "${ac_cv_prog_RANLIB+set}" = set; then
8921 echo $ECHO_N "(cached) $ECHO_C" >&6
8923 if test -n "$RANLIB"; then
8924 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8930 test -z "$as_dir" && as_dir
=.
8931 for ac_exec_ext
in '' $ac_executable_extensions; do
8932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8933 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8942 RANLIB
=$ac_cv_prog_RANLIB
8943 if test -n "$RANLIB"; then
8944 echo "$as_me:$LINENO: result: $RANLIB" >&5
8945 echo "${ECHO_T}$RANLIB" >&6
8947 echo "$as_me:$LINENO: result: no" >&5
8948 echo "${ECHO_T}no" >&6
8952 if test -z "$ac_cv_prog_RANLIB"; then
8953 ac_ct_RANLIB
=$RANLIB
8954 # Extract the first word of "ranlib", so it can be a program name with args.
8955 set dummy ranlib
; ac_word
=$2
8956 echo "$as_me:$LINENO: checking for $ac_word" >&5
8957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8958 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8959 echo $ECHO_N "(cached) $ECHO_C" >&6
8961 if test -n "$ac_ct_RANLIB"; then
8962 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8968 test -z "$as_dir" && as_dir
=.
8969 for ac_exec_ext
in '' $ac_executable_extensions; do
8970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8971 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8978 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
8981 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8982 if test -n "$ac_ct_RANLIB"; then
8983 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8984 echo "${ECHO_T}$ac_ct_RANLIB" >&6
8986 echo "$as_me:$LINENO: result: no" >&5
8987 echo "${ECHO_T}no" >&6
8990 RANLIB
=$ac_ct_RANLIB
8992 RANLIB
="$ac_cv_prog_RANLIB"
8995 for ac_prog
in 'bison -y' byacc
8997 # Extract the first word of "$ac_prog", so it can be a program name with args.
8998 set dummy
$ac_prog; ac_word
=$2
8999 echo "$as_me:$LINENO: checking for $ac_word" >&5
9000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9001 if test "${ac_cv_prog_YACC+set}" = set; then
9002 echo $ECHO_N "(cached) $ECHO_C" >&6
9004 if test -n "$YACC"; then
9005 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9011 test -z "$as_dir" && as_dir
=.
9012 for ac_exec_ext
in '' $ac_executable_extensions; do
9013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9014 ac_cv_prog_YACC
="$ac_prog"
9015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9023 YACC
=$ac_cv_prog_YACC
9024 if test -n "$YACC"; then
9025 echo "$as_me:$LINENO: result: $YACC" >&5
9026 echo "${ECHO_T}$YACC" >&6
9028 echo "$as_me:$LINENO: result: no" >&5
9029 echo "${ECHO_T}no" >&6
9032 test -n "$YACC" && break
9034 test -n "$YACC" || YACC
="yacc"
9037 if test -n "$ac_tool_prefix"; then
9038 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9039 set dummy
${ac_tool_prefix}ar; ac_word
=$2
9040 echo "$as_me:$LINENO: checking for $ac_word" >&5
9041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9042 if test "${ac_cv_prog_AR+set}" = set; then
9043 echo $ECHO_N "(cached) $ECHO_C" >&6
9045 if test -n "$AR"; then
9046 ac_cv_prog_AR
="$AR" # Let the user override the test.
9048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9052 test -z "$as_dir" && as_dir
=.
9053 for ac_exec_ext
in '' $ac_executable_extensions; do
9054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9055 ac_cv_prog_AR
="${ac_tool_prefix}ar"
9056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9065 if test -n "$AR"; then
9066 echo "$as_me:$LINENO: result: $AR" >&5
9067 echo "${ECHO_T}$AR" >&6
9069 echo "$as_me:$LINENO: result: no" >&5
9070 echo "${ECHO_T}no" >&6
9074 if test -z "$ac_cv_prog_AR"; then
9076 # Extract the first word of "ar", so it can be a program name with args.
9077 set dummy
ar; ac_word
=$2
9078 echo "$as_me:$LINENO: checking for $ac_word" >&5
9079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9080 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9083 if test -n "$ac_ct_AR"; then
9084 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
9086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9090 test -z "$as_dir" && as_dir
=.
9091 for ac_exec_ext
in '' $ac_executable_extensions; do
9092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9093 ac_cv_prog_ac_ct_AR
="ar"
9094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9102 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
9103 if test -n "$ac_ct_AR"; then
9104 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9105 echo "${ECHO_T}$ac_ct_AR" >&6
9107 echo "$as_me:$LINENO: result: no" >&5
9108 echo "${ECHO_T}no" >&6
9116 if test -n "$ac_tool_prefix"; then
9117 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9118 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9119 echo "$as_me:$LINENO: checking for $ac_word" >&5
9120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9121 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9122 echo $ECHO_N "(cached) $ECHO_C" >&6
9124 if test -n "$DLLTOOL"; then
9125 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9131 test -z "$as_dir" && as_dir
=.
9132 for ac_exec_ext
in '' $ac_executable_extensions; do
9133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9134 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9143 DLLTOOL
=$ac_cv_prog_DLLTOOL
9144 if test -n "$DLLTOOL"; then
9145 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9146 echo "${ECHO_T}$DLLTOOL" >&6
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9153 if test -z "$ac_cv_prog_DLLTOOL"; then
9154 ac_ct_DLLTOOL
=$DLLTOOL
9155 # Extract the first word of "dlltool", so it can be a program name with args.
9156 set dummy dlltool
; ac_word
=$2
9157 echo "$as_me:$LINENO: checking for $ac_word" >&5
9158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9159 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
9160 echo $ECHO_N "(cached) $ECHO_C" >&6
9162 if test -n "$ac_ct_DLLTOOL"; then
9163 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9169 test -z "$as_dir" && as_dir
=.
9170 for ac_exec_ext
in '' $ac_executable_extensions; do
9171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9172 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9181 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9182 if test -n "$ac_ct_DLLTOOL"; then
9183 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
9184 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9190 DLLTOOL
=$ac_ct_DLLTOOL
9192 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9195 if test -n "$ac_tool_prefix"; then
9196 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
9197 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
9198 echo "$as_me:$LINENO: checking for $ac_word" >&5
9199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9200 if test "${ac_cv_prog_WINDRES+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 if test -n "$WINDRES"; then
9204 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
9206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9210 test -z "$as_dir" && as_dir
=.
9211 for ac_exec_ext
in '' $ac_executable_extensions; do
9212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9213 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
9214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9222 WINDRES
=$ac_cv_prog_WINDRES
9223 if test -n "$WINDRES"; then
9224 echo "$as_me:$LINENO: result: $WINDRES" >&5
9225 echo "${ECHO_T}$WINDRES" >&6
9227 echo "$as_me:$LINENO: result: no" >&5
9228 echo "${ECHO_T}no" >&6
9232 if test -z "$ac_cv_prog_WINDRES"; then
9233 ac_ct_WINDRES
=$WINDRES
9234 # Extract the first word of "windres", so it can be a program name with args.
9235 set dummy windres
; ac_word
=$2
9236 echo "$as_me:$LINENO: checking for $ac_word" >&5
9237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9238 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 if test -n "$ac_ct_WINDRES"; then
9242 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
9244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9248 test -z "$as_dir" && as_dir
=.
9249 for ac_exec_ext
in '' $ac_executable_extensions; do
9250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9251 ac_cv_prog_ac_ct_WINDRES
="windres"
9252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9260 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
9261 if test -n "$ac_ct_WINDRES"; then
9262 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
9263 echo "${ECHO_T}$ac_ct_WINDRES" >&6
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9269 WINDRES
=$ac_ct_WINDRES
9271 WINDRES
="$ac_cv_prog_WINDRES"
9275 # Needed for GNU/Hurd.
9276 if test -n "$ac_tool_prefix"; then
9277 # Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args.
9278 set dummy
${ac_tool_prefix}mig
; ac_word
=$2
9279 echo "$as_me:$LINENO: checking for $ac_word" >&5
9280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9281 if test "${ac_cv_prog_MIG+set}" = set; then
9282 echo $ECHO_N "(cached) $ECHO_C" >&6
9284 if test -n "$MIG"; then
9285 ac_cv_prog_MIG
="$MIG" # Let the user override the test.
9287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9291 test -z "$as_dir" && as_dir
=.
9292 for ac_exec_ext
in '' $ac_executable_extensions; do
9293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9294 ac_cv_prog_MIG
="${ac_tool_prefix}mig"
9295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9304 if test -n "$MIG"; then
9305 echo "$as_me:$LINENO: result: $MIG" >&5
9306 echo "${ECHO_T}$MIG" >&6
9308 echo "$as_me:$LINENO: result: no" >&5
9309 echo "${ECHO_T}no" >&6
9313 if test -z "$ac_cv_prog_MIG"; then
9315 # Extract the first word of "mig", so it can be a program name with args.
9316 set dummy mig
; ac_word
=$2
9317 echo "$as_me:$LINENO: checking for $ac_word" >&5
9318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9319 if test "${ac_cv_prog_ac_ct_MIG+set}" = set; then
9320 echo $ECHO_N "(cached) $ECHO_C" >&6
9322 if test -n "$ac_ct_MIG"; then
9323 ac_cv_prog_ac_ct_MIG
="$ac_ct_MIG" # Let the user override the test.
9325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9329 test -z "$as_dir" && as_dir
=.
9330 for ac_exec_ext
in '' $ac_executable_extensions; do
9331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9332 ac_cv_prog_ac_ct_MIG
="mig"
9333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9341 ac_ct_MIG
=$ac_cv_prog_ac_ct_MIG
9342 if test -n "$ac_ct_MIG"; then
9343 echo "$as_me:$LINENO: result: $ac_ct_MIG" >&5
9344 echo "${ECHO_T}$ac_ct_MIG" >&6
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9352 MIG
="$ac_cv_prog_MIG"
9356 # ---------------------- #
9357 # Checks for libraries. #
9358 # ---------------------- #
9360 # We might need to link with -lm; most simulators need it.
9362 echo "$as_me:$LINENO: checking for main in -lm" >&5
9363 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
9364 if test "${ac_cv_lib_m_main+set}" = set; then
9365 echo $ECHO_N "(cached) $ECHO_C" >&6
9367 ac_check_lib_save_LIBS
=$LIBS
9369 cat >conftest.
$ac_ext <<_ACEOF
9372 cat confdefs.h
>>conftest.
$ac_ext
9373 cat >>conftest.
$ac_ext <<_ACEOF
9374 /* end confdefs.h. */
9385 rm -f conftest.
$ac_objext conftest
$ac_exeext
9386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9387 (eval $ac_link) 2>conftest.er1
9389 grep -v '^ *+' conftest.er1
>conftest.err
9391 cat conftest.err
>&5
9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); } &&
9394 { ac_try
='test -z "$ac_c_werror_flag"
9395 || test ! -s conftest.err'
9396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); }; } &&
9401 { ac_try
='test -s conftest$ac_exeext'
9402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); }; }; then
9407 ac_cv_lib_m_main
=yes
9409 echo "$as_me: failed program was:" >&5
9410 sed 's/^/| /' conftest.
$ac_ext >&5
9414 rm -f conftest.err conftest.
$ac_objext \
9415 conftest
$ac_exeext conftest.
$ac_ext
9416 LIBS
=$ac_check_lib_save_LIBS
9418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
9419 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
9420 if test $ac_cv_lib_m_main = yes; then
9421 cat >>confdefs.h
<<_ACEOF
9430 # We need to link with -lw to get `wctype' on Solaris before Solaris
9431 # 2.6. Solaris 2.6 and beyond have this function in libc, and have a
9432 # libw that some versions of the GNU linker cannot hanle (GNU ld 2.9.1
9433 # is known to have this problem). Therefore we avoid libw if we can.
9434 echo "$as_me:$LINENO: checking for wctype" >&5
9435 echo $ECHO_N "checking for wctype... $ECHO_C" >&6
9436 if test "${ac_cv_func_wctype+set}" = set; then
9437 echo $ECHO_N "(cached) $ECHO_C" >&6
9439 cat >conftest.
$ac_ext <<_ACEOF
9442 cat confdefs.h
>>conftest.
$ac_ext
9443 cat >>conftest.
$ac_ext <<_ACEOF
9444 /* end confdefs.h. */
9445 /* Define wctype to an innocuous variant, in case <limits.h> declares wctype.
9446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9447 #define wctype innocuous_wctype
9449 /* System header to define __stub macros and hopefully few prototypes,
9450 which can conflict with char wctype (); below.
9451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9452 <limits.h> exists even on freestanding compilers. */
9455 # include <limits.h>
9457 # include <assert.h>
9462 /* Override any gcc2 internal prototype to avoid an error. */
9467 /* We use char because int might match the return type of a gcc2
9468 builtin and then its argument prototype would still apply. */
9470 /* The GNU C library defines this for functions which it implements
9471 to always fail with ENOSYS. Some functions are actually named
9472 something starting with __ and the normal name is an alias. */
9473 #if defined (__stub_wctype) || defined (__stub___wctype)
9476 char (*f) () = wctype;
9490 rm -f conftest.
$ac_objext conftest
$ac_exeext
9491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9492 (eval $ac_link) 2>conftest.er1
9494 grep -v '^ *+' conftest.er1
>conftest.err
9496 cat conftest.err
>&5
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); } &&
9499 { ac_try
='test -z "$ac_c_werror_flag"
9500 || test ! -s conftest.err'
9501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); }; } &&
9506 { ac_try
='test -s conftest$ac_exeext'
9507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); }; }; then
9512 ac_cv_func_wctype
=yes
9514 echo "$as_me: failed program was:" >&5
9515 sed 's/^/| /' conftest.
$ac_ext >&5
9517 ac_cv_func_wctype
=no
9519 rm -f conftest.err conftest.
$ac_objext \
9520 conftest
$ac_exeext conftest.
$ac_ext
9522 echo "$as_me:$LINENO: result: $ac_cv_func_wctype" >&5
9523 echo "${ECHO_T}$ac_cv_func_wctype" >&6
9524 if test $ac_cv_func_wctype = yes; then
9528 echo "$as_me:$LINENO: checking for wctype in -lw" >&5
9529 echo $ECHO_N "checking for wctype in -lw... $ECHO_C" >&6
9530 if test "${ac_cv_lib_w_wctype+set}" = set; then
9531 echo $ECHO_N "(cached) $ECHO_C" >&6
9533 ac_check_lib_save_LIBS
=$LIBS
9535 cat >conftest.
$ac_ext <<_ACEOF
9538 cat confdefs.h
>>conftest.
$ac_ext
9539 cat >>conftest.
$ac_ext <<_ACEOF
9540 /* end confdefs.h. */
9542 /* Override any gcc2 internal prototype to avoid an error. */
9546 /* We use char because int might match the return type of a gcc2
9547 builtin and then its argument prototype would still apply. */
9557 rm -f conftest.
$ac_objext conftest
$ac_exeext
9558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9559 (eval $ac_link) 2>conftest.er1
9561 grep -v '^ *+' conftest.er1
>conftest.err
9563 cat conftest.err
>&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); } &&
9566 { ac_try
='test -z "$ac_c_werror_flag"
9567 || test ! -s conftest.err'
9568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); }; } &&
9573 { ac_try
='test -s conftest$ac_exeext'
9574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); }; }; then
9579 ac_cv_lib_w_wctype
=yes
9581 echo "$as_me: failed program was:" >&5
9582 sed 's/^/| /' conftest.
$ac_ext >&5
9584 ac_cv_lib_w_wctype
=no
9586 rm -f conftest.err conftest.
$ac_objext \
9587 conftest
$ac_exeext conftest.
$ac_ext
9588 LIBS
=$ac_check_lib_save_LIBS
9590 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wctype" >&5
9591 echo "${ECHO_T}$ac_cv_lib_w_wctype" >&6
9592 if test $ac_cv_lib_w_wctype = yes; then
9593 cat >>confdefs.h
<<_ACEOF
9604 # Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
9605 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
9606 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
9607 if test "${ac_cv_search_gethostbyname+set}" = set; then
9608 echo $ECHO_N "(cached) $ECHO_C" >&6
9610 ac_func_search_save_LIBS
=$LIBS
9611 ac_cv_search_gethostbyname
=no
9612 cat >conftest.
$ac_ext <<_ACEOF
9615 cat confdefs.h
>>conftest.
$ac_ext
9616 cat >>conftest.
$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9619 /* Override any gcc2 internal prototype to avoid an error. */
9623 /* We use char because int might match the return type of a gcc2
9624 builtin and then its argument prototype would still apply. */
9625 char gethostbyname ();
9634 rm -f conftest.
$ac_objext conftest
$ac_exeext
9635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9636 (eval $ac_link) 2>conftest.er1
9638 grep -v '^ *+' conftest.er1
>conftest.err
9640 cat conftest.err
>&5
9641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642 (exit $ac_status); } &&
9643 { ac_try
='test -z "$ac_c_werror_flag"
9644 || test ! -s conftest.err'
9645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649 (exit $ac_status); }; } &&
9650 { ac_try
='test -s conftest$ac_exeext'
9651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); }; }; then
9656 ac_cv_search_gethostbyname
="none required"
9658 echo "$as_me: failed program was:" >&5
9659 sed 's/^/| /' conftest.
$ac_ext >&5
9662 rm -f conftest.err conftest.
$ac_objext \
9663 conftest
$ac_exeext conftest.
$ac_ext
9664 if test "$ac_cv_search_gethostbyname" = no
; then
9665 for ac_lib
in nsl
; do
9666 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9667 cat >conftest.
$ac_ext <<_ACEOF
9670 cat confdefs.h
>>conftest.
$ac_ext
9671 cat >>conftest.
$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9674 /* Override any gcc2 internal prototype to avoid an error. */
9678 /* We use char because int might match the return type of a gcc2
9679 builtin and then its argument prototype would still apply. */
9680 char gethostbyname ();
9689 rm -f conftest.
$ac_objext conftest
$ac_exeext
9690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9691 (eval $ac_link) 2>conftest.er1
9693 grep -v '^ *+' conftest.er1
>conftest.err
9695 cat conftest.err
>&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); } &&
9698 { ac_try
='test -z "$ac_c_werror_flag"
9699 || test ! -s conftest.err'
9700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); }; } &&
9705 { ac_try
='test -s conftest$ac_exeext'
9706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); }; }; then
9711 ac_cv_search_gethostbyname
="-l$ac_lib"
9714 echo "$as_me: failed program was:" >&5
9715 sed 's/^/| /' conftest.
$ac_ext >&5
9718 rm -f conftest.err conftest.
$ac_objext \
9719 conftest
$ac_exeext conftest.
$ac_ext
9722 LIBS
=$ac_func_search_save_LIBS
9724 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
9725 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
9726 if test "$ac_cv_search_gethostbyname" != no
; then
9727 test "$ac_cv_search_gethostbyname" = "none required" || LIBS
="$ac_cv_search_gethostbyname $LIBS"
9732 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
9733 echo "$as_me:$LINENO: checking for library containing socketpair" >&5
9734 echo $ECHO_N "checking for library containing socketpair... $ECHO_C" >&6
9735 if test "${ac_cv_search_socketpair+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 ac_func_search_save_LIBS
=$LIBS
9739 ac_cv_search_socketpair
=no
9740 cat >conftest.
$ac_ext <<_ACEOF
9743 cat confdefs.h
>>conftest.
$ac_ext
9744 cat >>conftest.
$ac_ext <<_ACEOF
9745 /* end confdefs.h. */
9747 /* Override any gcc2 internal prototype to avoid an error. */
9751 /* We use char because int might match the return type of a gcc2
9752 builtin and then its argument prototype would still apply. */
9762 rm -f conftest.
$ac_objext conftest
$ac_exeext
9763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9764 (eval $ac_link) 2>conftest.er1
9766 grep -v '^ *+' conftest.er1
>conftest.err
9768 cat conftest.err
>&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); } &&
9771 { ac_try
='test -z "$ac_c_werror_flag"
9772 || test ! -s conftest.err'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; } &&
9778 { ac_try
='test -s conftest$ac_exeext'
9779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 (exit $ac_status); }; }; then
9784 ac_cv_search_socketpair
="none required"
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.
$ac_ext >&5
9790 rm -f conftest.err conftest.
$ac_objext \
9791 conftest
$ac_exeext conftest.
$ac_ext
9792 if test "$ac_cv_search_socketpair" = no
; then
9793 for ac_lib
in socket
; do
9794 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9795 cat >conftest.
$ac_ext <<_ACEOF
9798 cat confdefs.h
>>conftest.
$ac_ext
9799 cat >>conftest.
$ac_ext <<_ACEOF
9800 /* end confdefs.h. */
9802 /* Override any gcc2 internal prototype to avoid an error. */
9806 /* We use char because int might match the return type of a gcc2
9807 builtin and then its argument prototype would still apply. */
9817 rm -f conftest.
$ac_objext conftest
$ac_exeext
9818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9819 (eval $ac_link) 2>conftest.er1
9821 grep -v '^ *+' conftest.er1
>conftest.err
9823 cat conftest.err
>&5
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); } &&
9826 { ac_try
='test -z "$ac_c_werror_flag"
9827 || test ! -s conftest.err'
9828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); }; } &&
9833 { ac_try
='test -s conftest$ac_exeext'
9834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); }; }; then
9839 ac_cv_search_socketpair
="-l$ac_lib"
9842 echo "$as_me: failed program was:" >&5
9843 sed 's/^/| /' conftest.
$ac_ext >&5
9846 rm -f conftest.err conftest.
$ac_objext \
9847 conftest
$ac_exeext conftest.
$ac_ext
9850 LIBS
=$ac_func_search_save_LIBS
9852 echo "$as_me:$LINENO: result: $ac_cv_search_socketpair" >&5
9853 echo "${ECHO_T}$ac_cv_search_socketpair" >&6
9854 if test "$ac_cv_search_socketpair" != no
; then
9855 test "$ac_cv_search_socketpair" = "none required" || LIBS
="$ac_cv_search_socketpair $LIBS"
9860 # Link in zlib if we can. This allows us to read compressed debug sections.
9861 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
9862 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
9863 if test "${ac_cv_search_zlibVersion+set}" = set; then
9864 echo $ECHO_N "(cached) $ECHO_C" >&6
9866 ac_func_search_save_LIBS
=$LIBS
9867 ac_cv_search_zlibVersion
=no
9868 cat >conftest.
$ac_ext <<_ACEOF
9871 cat confdefs.h
>>conftest.
$ac_ext
9872 cat >>conftest.
$ac_ext <<_ACEOF
9873 /* end confdefs.h. */
9875 /* Override any gcc2 internal prototype to avoid an error. */
9879 /* We use char because int might match the return type of a gcc2
9880 builtin and then its argument prototype would still apply. */
9881 char zlibVersion ();
9890 rm -f conftest.
$ac_objext conftest
$ac_exeext
9891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9892 (eval $ac_link) 2>conftest.er1
9894 grep -v '^ *+' conftest.er1
>conftest.err
9896 cat conftest.err
>&5
9897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9898 (exit $ac_status); } &&
9899 { ac_try
='test -z "$ac_c_werror_flag"
9900 || test ! -s conftest.err'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; } &&
9906 { ac_try
='test -s conftest$ac_exeext'
9907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; }; then
9912 ac_cv_search_zlibVersion
="none required"
9914 echo "$as_me: failed program was:" >&5
9915 sed 's/^/| /' conftest.
$ac_ext >&5
9918 rm -f conftest.err conftest.
$ac_objext \
9919 conftest
$ac_exeext conftest.
$ac_ext
9920 if test "$ac_cv_search_zlibVersion" = no
; then
9922 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9923 cat >conftest.
$ac_ext <<_ACEOF
9926 cat confdefs.h
>>conftest.
$ac_ext
9927 cat >>conftest.
$ac_ext <<_ACEOF
9928 /* end confdefs.h. */
9930 /* Override any gcc2 internal prototype to avoid an error. */
9934 /* We use char because int might match the return type of a gcc2
9935 builtin and then its argument prototype would still apply. */
9936 char zlibVersion ();
9945 rm -f conftest.
$ac_objext conftest
$ac_exeext
9946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9947 (eval $ac_link) 2>conftest.er1
9949 grep -v '^ *+' conftest.er1
>conftest.err
9951 cat conftest.err
>&5
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); } &&
9954 { ac_try
='test -z "$ac_c_werror_flag"
9955 || test ! -s conftest.err'
9956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); }; } &&
9961 { ac_try
='test -s conftest$ac_exeext'
9962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }; }; then
9967 ac_cv_search_zlibVersion
="-l$ac_lib"
9970 echo "$as_me: failed program was:" >&5
9971 sed 's/^/| /' conftest.
$ac_ext >&5
9974 rm -f conftest.err conftest.
$ac_objext \
9975 conftest
$ac_exeext conftest.
$ac_ext
9978 LIBS
=$ac_func_search_save_LIBS
9980 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
9981 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
9982 if test "$ac_cv_search_zlibVersion" != no
; then
9983 test "$ac_cv_search_zlibVersion" = "none required" || LIBS
="$ac_cv_search_zlibVersion $LIBS"
9985 for ac_header
in zlib.h
9987 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9989 echo "$as_me:$LINENO: checking for $ac_header" >&5
9990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9997 # Is the header compilable?
9998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10000 cat >conftest.
$ac_ext <<_ACEOF
10003 cat confdefs.h
>>conftest.
$ac_ext
10004 cat >>conftest.
$ac_ext <<_ACEOF
10005 /* end confdefs.h. */
10006 $ac_includes_default
10007 #include <$ac_header>
10009 rm -f conftest.
$ac_objext
10010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10011 (eval $ac_compile) 2>conftest.er1
10013 grep -v '^ *+' conftest.er1
>conftest.err
10015 cat conftest.err
>&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); } &&
10018 { ac_try
='test -z "$ac_c_werror_flag"
10019 || test ! -s conftest.err'
10020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10021 (eval $ac_try) 2>&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); }; } &&
10025 { ac_try
='test -s conftest.$ac_objext'
10026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10027 (eval $ac_try) 2>&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }; }; then
10031 ac_header_compiler
=yes
10033 echo "$as_me: failed program was:" >&5
10034 sed 's/^/| /' conftest.
$ac_ext >&5
10036 ac_header_compiler
=no
10038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10040 echo "${ECHO_T}$ac_header_compiler" >&6
10042 # Is the header present?
10043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10045 cat >conftest.
$ac_ext <<_ACEOF
10048 cat confdefs.h
>>conftest.
$ac_ext
10049 cat >>conftest.
$ac_ext <<_ACEOF
10050 /* end confdefs.h. */
10051 #include <$ac_header>
10053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10056 grep -v '^ *+' conftest.er1
>conftest.err
10058 cat conftest.err
>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); } >/dev
/null
; then
10061 if test -s conftest.err
; then
10062 ac_cpp_err
=$ac_c_preproc_warn_flag
10063 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10070 if test -z "$ac_cpp_err"; then
10071 ac_header_preproc
=yes
10073 echo "$as_me: failed program was:" >&5
10074 sed 's/^/| /' conftest.
$ac_ext >&5
10076 ac_header_preproc
=no
10078 rm -f conftest.err conftest.
$ac_ext
10079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10080 echo "${ECHO_T}$ac_header_preproc" >&6
10082 # So? What about this header?
10083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10089 ac_header_preproc
=yes
10092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10106 ## ------------------------------------------ ##
10107 ## Report this to the AC_PACKAGE_NAME lists. ##
10108 ## ------------------------------------------ ##
10111 sed "s/^/$as_me: WARNING: /" >&2
10114 echo "$as_me:$LINENO: checking for $ac_header" >&5
10115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10117 echo $ECHO_N "(cached) $ECHO_C" >&6
10119 eval "$as_ac_Header=\$ac_header_preproc"
10121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10126 cat >>confdefs.h
<<_ACEOF
10127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10137 # For the TUI, we need enhanced curses functionality.
10139 # FIXME: kettenis/20040905: We prefer ncurses over the vendor-supplied
10140 # curses library because the latter might not provide all the
10141 # functionality we need. However, this leads to problems on systems
10142 # where the linker searches /usr/local/lib, but the compiler doesn't
10143 # search /usr/local/include, if ncurses is installed in /usr/local. A
10144 # default installation of ncurses on alpha*-dec-osf* will lead to such
10146 echo "$as_me:$LINENO: checking for library containing waddstr" >&5
10147 echo $ECHO_N "checking for library containing waddstr... $ECHO_C" >&6
10148 if test "${ac_cv_search_waddstr+set}" = set; then
10149 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 ac_func_search_save_LIBS
=$LIBS
10152 ac_cv_search_waddstr
=no
10153 cat >conftest.
$ac_ext <<_ACEOF
10156 cat confdefs.h
>>conftest.
$ac_ext
10157 cat >>conftest.
$ac_ext <<_ACEOF
10158 /* end confdefs.h. */
10160 /* Override any gcc2 internal prototype to avoid an error. */
10164 /* We use char because int might match the return type of a gcc2
10165 builtin and then its argument prototype would still apply. */
10175 rm -f conftest.
$ac_objext conftest
$ac_exeext
10176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10177 (eval $ac_link) 2>conftest.er1
10179 grep -v '^ *+' conftest.er1
>conftest.err
10181 cat conftest.err
>&5
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); } &&
10184 { ac_try
='test -z "$ac_c_werror_flag"
10185 || test ! -s conftest.err'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; } &&
10191 { ac_try
='test -s conftest$ac_exeext'
10192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10193 (eval $ac_try) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; }; then
10197 ac_cv_search_waddstr
="none required"
10199 echo "$as_me: failed program was:" >&5
10200 sed 's/^/| /' conftest.
$ac_ext >&5
10203 rm -f conftest.err conftest.
$ac_objext \
10204 conftest
$ac_exeext conftest.
$ac_ext
10205 if test "$ac_cv_search_waddstr" = no
; then
10206 for ac_lib
in ncurses cursesX curses
; do
10207 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10208 cat >conftest.
$ac_ext <<_ACEOF
10211 cat confdefs.h
>>conftest.
$ac_ext
10212 cat >>conftest.
$ac_ext <<_ACEOF
10213 /* end confdefs.h. */
10215 /* Override any gcc2 internal prototype to avoid an error. */
10219 /* We use char because int might match the return type of a gcc2
10220 builtin and then its argument prototype would still apply. */
10230 rm -f conftest.
$ac_objext conftest
$ac_exeext
10231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10232 (eval $ac_link) 2>conftest.er1
10234 grep -v '^ *+' conftest.er1
>conftest.err
10236 cat conftest.err
>&5
10237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); } &&
10239 { ac_try
='test -z "$ac_c_werror_flag"
10240 || test ! -s conftest.err'
10241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10242 (eval $ac_try) 2>&5
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); }; } &&
10246 { ac_try
='test -s conftest$ac_exeext'
10247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10248 (eval $ac_try) 2>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }; }; then
10252 ac_cv_search_waddstr
="-l$ac_lib"
10255 echo "$as_me: failed program was:" >&5
10256 sed 's/^/| /' conftest.
$ac_ext >&5
10259 rm -f conftest.err conftest.
$ac_objext \
10260 conftest
$ac_exeext conftest.
$ac_ext
10263 LIBS
=$ac_func_search_save_LIBS
10265 echo "$as_me:$LINENO: result: $ac_cv_search_waddstr" >&5
10266 echo "${ECHO_T}$ac_cv_search_waddstr" >&6
10267 if test "$ac_cv_search_waddstr" != no
; then
10268 test "$ac_cv_search_waddstr" = "none required" || LIBS
="$ac_cv_search_waddstr $LIBS"
10273 # On HP/UX we may need libxpdl for dlgetmodinfo (used by solib-pa64.c).
10274 echo "$as_me:$LINENO: checking for library containing dlgetmodinfo" >&5
10275 echo $ECHO_N "checking for library containing dlgetmodinfo... $ECHO_C" >&6
10276 if test "${ac_cv_search_dlgetmodinfo+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10279 ac_func_search_save_LIBS
=$LIBS
10280 ac_cv_search_dlgetmodinfo
=no
10281 cat >conftest.
$ac_ext <<_ACEOF
10284 cat confdefs.h
>>conftest.
$ac_ext
10285 cat >>conftest.
$ac_ext <<_ACEOF
10286 /* end confdefs.h. */
10288 /* Override any gcc2 internal prototype to avoid an error. */
10292 /* We use char because int might match the return type of a gcc2
10293 builtin and then its argument prototype would still apply. */
10294 char dlgetmodinfo ();
10303 rm -f conftest.
$ac_objext conftest
$ac_exeext
10304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10305 (eval $ac_link) 2>conftest.er1
10307 grep -v '^ *+' conftest.er1
>conftest.err
10309 cat conftest.err
>&5
10310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 (exit $ac_status); } &&
10312 { ac_try
='test -z "$ac_c_werror_flag"
10313 || test ! -s conftest.err'
10314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10315 (eval $ac_try) 2>&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); }; } &&
10319 { ac_try
='test -s conftest$ac_exeext'
10320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10321 (eval $ac_try) 2>&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); }; }; then
10325 ac_cv_search_dlgetmodinfo
="none required"
10327 echo "$as_me: failed program was:" >&5
10328 sed 's/^/| /' conftest.
$ac_ext >&5
10331 rm -f conftest.err conftest.
$ac_objext \
10332 conftest
$ac_exeext conftest.
$ac_ext
10333 if test "$ac_cv_search_dlgetmodinfo" = no
; then
10334 for ac_lib
in dl xpdl
; do
10335 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10336 cat >conftest.
$ac_ext <<_ACEOF
10339 cat confdefs.h
>>conftest.
$ac_ext
10340 cat >>conftest.
$ac_ext <<_ACEOF
10341 /* end confdefs.h. */
10343 /* Override any gcc2 internal prototype to avoid an error. */
10347 /* We use char because int might match the return type of a gcc2
10348 builtin and then its argument prototype would still apply. */
10349 char dlgetmodinfo ();
10358 rm -f conftest.
$ac_objext conftest
$ac_exeext
10359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10360 (eval $ac_link) 2>conftest.er1
10362 grep -v '^ *+' conftest.er1
>conftest.err
10364 cat conftest.err
>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); } &&
10367 { ac_try
='test -z "$ac_c_werror_flag"
10368 || test ! -s conftest.err'
10369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370 (eval $ac_try) 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; } &&
10374 { ac_try
='test -s conftest$ac_exeext'
10375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10376 (eval $ac_try) 2>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); }; }; then
10380 ac_cv_search_dlgetmodinfo
="-l$ac_lib"
10383 echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.
$ac_ext >&5
10387 rm -f conftest.err conftest.
$ac_objext \
10388 conftest
$ac_exeext conftest.
$ac_ext
10391 LIBS
=$ac_func_search_save_LIBS
10393 echo "$as_me:$LINENO: result: $ac_cv_search_dlgetmodinfo" >&5
10394 echo "${ECHO_T}$ac_cv_search_dlgetmodinfo" >&6
10395 if test "$ac_cv_search_dlgetmodinfo" != no
; then
10396 test "$ac_cv_search_dlgetmodinfo" = "none required" || LIBS
="$ac_cv_search_dlgetmodinfo $LIBS"
10401 # Since GDB uses Readline, we need termcap functionality. In many
10402 # cases this will be provided by the curses library, but some systems
10403 # have a seperate termcap library, or no curses library at all.
10407 if test -d $srcdir/libtermcap
; then
10408 LIBS
="../libtermcap/libtermcap.a $LIBS"
10409 ac_cv_search_tgetent
="../libtermcap/libtermcap.a"
10412 ac_cv_search_tgetent
="none required"
10415 ac_cv_search_tgetent
="none required"
10416 CONFIG_OBS
="$CONFIG_OBS win32-termcap.o"
10420 # These are the libraries checked by Readline.
10421 echo "$as_me:$LINENO: checking for library containing tgetent" >&5
10422 echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
10423 if test "${ac_cv_search_tgetent+set}" = set; then
10424 echo $ECHO_N "(cached) $ECHO_C" >&6
10426 ac_func_search_save_LIBS
=$LIBS
10427 ac_cv_search_tgetent
=no
10428 cat >conftest.
$ac_ext <<_ACEOF
10431 cat confdefs.h
>>conftest.
$ac_ext
10432 cat >>conftest.
$ac_ext <<_ACEOF
10433 /* end confdefs.h. */
10435 /* Override any gcc2 internal prototype to avoid an error. */
10439 /* We use char because int might match the return type of a gcc2
10440 builtin and then its argument prototype would still apply. */
10450 rm -f conftest.
$ac_objext conftest
$ac_exeext
10451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10452 (eval $ac_link) 2>conftest.er1
10454 grep -v '^ *+' conftest.er1
>conftest.err
10456 cat conftest.err
>&5
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); } &&
10459 { ac_try
='test -z "$ac_c_werror_flag"
10460 || test ! -s conftest.err'
10461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462 (eval $ac_try) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; } &&
10466 { ac_try
='test -s conftest$ac_exeext'
10467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468 (eval $ac_try) 2>&5
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); }; }; then
10472 ac_cv_search_tgetent
="none required"
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.
$ac_ext >&5
10478 rm -f conftest.err conftest.
$ac_objext \
10479 conftest
$ac_exeext conftest.
$ac_ext
10480 if test "$ac_cv_search_tgetent" = no
; then
10481 for ac_lib
in termcap tinfo curses ncurses
; do
10482 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10483 cat >conftest.
$ac_ext <<_ACEOF
10486 cat confdefs.h
>>conftest.
$ac_ext
10487 cat >>conftest.
$ac_ext <<_ACEOF
10488 /* end confdefs.h. */
10490 /* Override any gcc2 internal prototype to avoid an error. */
10494 /* We use char because int might match the return type of a gcc2
10495 builtin and then its argument prototype would still apply. */
10505 rm -f conftest.
$ac_objext conftest
$ac_exeext
10506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10507 (eval $ac_link) 2>conftest.er1
10509 grep -v '^ *+' conftest.er1
>conftest.err
10511 cat conftest.err
>&5
10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10513 (exit $ac_status); } &&
10514 { ac_try
='test -z "$ac_c_werror_flag"
10515 || test ! -s conftest.err'
10516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10517 (eval $ac_try) 2>&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); }; } &&
10521 { ac_try
='test -s conftest$ac_exeext'
10522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10527 ac_cv_search_tgetent
="-l$ac_lib"
10530 echo "$as_me: failed program was:" >&5
10531 sed 's/^/| /' conftest.
$ac_ext >&5
10534 rm -f conftest.err conftest.
$ac_objext \
10535 conftest
$ac_exeext conftest.
$ac_ext
10538 LIBS
=$ac_func_search_save_LIBS
10540 echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5
10541 echo "${ECHO_T}$ac_cv_search_tgetent" >&6
10542 if test "$ac_cv_search_tgetent" != no
; then
10543 test "$ac_cv_search_tgetent" = "none required" || LIBS
="$ac_cv_search_tgetent $LIBS"
10548 if test "$ac_cv_search_tgetent" = no
; then
10549 { { echo "$as_me:$LINENO: error: no termcap library found" >&5
10550 echo "$as_me: error: no termcap library found" >&2;}
10551 { (exit 1); exit 1; }; }
10555 # Check whether --with-system-readline or --without-system-readline was given.
10556 if test "${with_system_readline+set}" = set; then
10557 withval
="$with_system_readline"
10561 if test "$with_system_readline" = yes; then
10562 READLINE
=-lreadline
10566 READLINE
='$(READLINE_DIR)/libreadline.a'
10567 READLINE_DEPS
='$(READLINE)'
10568 READLINE_CFLAGS
='-I$(READLINE_SRC)/..'
10575 # Check whether --with-expat or --without-expat was given.
10576 if test "${with_expat+set}" = set; then
10577 withval
="$with_expat"
10582 echo "$as_me:$LINENO: checking whether to use expat" >&5
10583 echo $ECHO_N "checking whether to use expat... $ECHO_C" >&6
10584 echo "$as_me:$LINENO: result: $with_expat" >&5
10585 echo "${ECHO_T}$with_expat" >&6
10587 if test "${with_expat}" = no
; then
10588 { echo "$as_me:$LINENO: WARNING: expat support disabled; some features may be unavailable." >&5
10589 echo "$as_me: WARNING: expat support disabled; some features may be unavailable." >&2;}
10593 if test "X$prefix" = "XNONE"; then
10594 acl_final_prefix
="$ac_default_prefix"
10596 acl_final_prefix
="$prefix"
10598 if test "X$exec_prefix" = "XNONE"; then
10599 acl_final_exec_prefix
='${prefix}'
10601 acl_final_exec_prefix
="$exec_prefix"
10603 acl_save_prefix
="$prefix"
10604 prefix
="$acl_final_prefix"
10605 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
10606 prefix
="$acl_save_prefix"
10609 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10610 if test "${with_gnu_ld+set}" = set; then
10611 withval
="$with_gnu_ld"
10612 test "$withval" = no || with_gnu_ld
=yes
10616 # Prepare PATH_SEPARATOR.
10617 # The user is always right.
10618 if test "${PATH_SEPARATOR+set}" != set; then
10619 echo "#! /bin/sh" >conf$$.sh
10620 echo "exit 0" >>conf$$.sh
10622 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10630 if test "$GCC" = yes; then
10631 # Check if gcc -print-prog-name=ld gives a path.
10632 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10633 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10636 # gcc leaves a trailing carriage return which upsets mingw
10637 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10639 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10642 # Accept absolute paths.
10643 [\\/]* |
[A-Za-z
]:[\\/]*)
10644 re_direlt
='/[^/][^/]*/\.\./'
10645 # Canonicalize the path of ld
10646 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
10647 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
10648 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
10650 test -z "$LD" && LD
="$ac_prog"
10653 # If it fails, then pretend we aren't using GCC.
10657 # If it is relative, then search for the first ld in PATH.
10658 with_gnu_ld
=unknown
10661 elif test "$with_gnu_ld" = yes; then
10662 echo "$as_me:$LINENO: checking for GNU ld" >&5
10663 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10665 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10666 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10668 if test "${acl_cv_path_LD+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 if test -z "$LD"; then
10672 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10673 for ac_dir
in $PATH; do
10674 test -z "$ac_dir" && ac_dir
=.
10675 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
10676 acl_cv_path_LD
="$ac_dir/$ac_prog"
10677 # Check to see if the program is GNU ld. I'd rather use --version,
10678 # but apparently some GNU ld's only accept -v.
10679 # Break only if it was the GNU/non-GNU ld that we prefer.
10680 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
10681 test "$with_gnu_ld" != no
&& break
10683 test "$with_gnu_ld" != yes && break
10689 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10693 LD
="$acl_cv_path_LD"
10694 if test -n "$LD"; then
10695 echo "$as_me:$LINENO: result: $LD" >&5
10696 echo "${ECHO_T}$LD" >&6
10698 echo "$as_me:$LINENO: result: no" >&5
10699 echo "${ECHO_T}no" >&6
10701 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10702 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10703 { (exit 1); exit 1; }; }
10704 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10705 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10706 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10707 echo $ECHO_N "(cached) $ECHO_C" >&6
10709 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10710 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10711 acl_cv_prog_gnu_ld
=yes
10713 acl_cv_prog_gnu_ld
=no
10716 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10717 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10718 with_gnu_ld
=$acl_cv_prog_gnu_ld
10722 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10723 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10724 if test "${acl_cv_rpath+set}" = set; then
10725 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10729 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10731 rm -f .
/conftest.sh
10735 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10736 echo "${ECHO_T}$acl_cv_rpath" >&6
10738 libext
="$acl_cv_libext"
10739 shlibext
="$acl_cv_shlibext"
10740 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10741 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10742 hardcode_direct
="$acl_cv_hardcode_direct"
10743 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10744 # Check whether --enable-rpath or --disable-rpath was given.
10745 if test "${enable_rpath+set}" = set; then
10746 enableval
="$enable_rpath"
10762 acl_save_prefix
="$prefix"
10763 prefix
="$acl_final_prefix"
10764 acl_save_exec_prefix
="$exec_prefix"
10765 exec_prefix
="$acl_final_exec_prefix"
10767 eval additional_includedir
=\"$includedir\"
10768 eval additional_libdir
=\"$libdir\"
10770 exec_prefix
="$acl_save_exec_prefix"
10771 prefix
="$acl_save_prefix"
10774 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
10775 if test "${with_libexpat_prefix+set}" = set; then
10776 withval
="$with_libexpat_prefix"
10778 if test "X$withval" = "Xno"; then
10781 if test "X$withval" = "X"; then
10783 acl_save_prefix
="$prefix"
10784 prefix
="$acl_final_prefix"
10785 acl_save_exec_prefix
="$exec_prefix"
10786 exec_prefix
="$acl_final_exec_prefix"
10788 eval additional_includedir
=\"$includedir\"
10789 eval additional_libdir
=\"$libdir\"
10791 exec_prefix
="$acl_save_exec_prefix"
10792 prefix
="$acl_save_prefix"
10795 additional_includedir
="$withval/include"
10796 additional_libdir
="$withval/lib"
10806 names_already_handled
=
10807 names_next_round
='expat '
10808 while test -n "$names_next_round"; do
10809 names_this_round
="$names_next_round"
10811 for name
in $names_this_round; do
10813 for n
in $names_already_handled; do
10814 if test "$n" = "$name"; then
10815 already_handled
=yes
10819 if test -z "$already_handled"; then
10820 names_already_handled
="$names_already_handled $name"
10821 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10822 eval value
=\"\
$HAVE_LIB$uppername\"
10823 if test -n "$value"; then
10824 if test "$value" = yes; then
10825 eval value
=\"\
$LIB$uppername\"
10826 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
10827 eval value
=\"\
$LTLIB$uppername\"
10828 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
10837 if test $use_additional = yes; then
10838 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10839 found_dir
="$additional_libdir"
10840 found_so
="$additional_libdir/lib$name.$shlibext"
10841 if test -f "$additional_libdir/lib$name.la"; then
10842 found_la
="$additional_libdir/lib$name.la"
10845 if test -f "$additional_libdir/lib$name.$libext"; then
10846 found_dir
="$additional_libdir"
10847 found_a
="$additional_libdir/lib$name.$libext"
10848 if test -f "$additional_libdir/lib$name.la"; then
10849 found_la
="$additional_libdir/lib$name.la"
10854 if test "X$found_dir" = "X"; then
10855 for x
in $LDFLAGS $LTLIBEXPAT; do
10857 acl_save_prefix
="$prefix"
10858 prefix
="$acl_final_prefix"
10859 acl_save_exec_prefix
="$exec_prefix"
10860 exec_prefix
="$acl_final_exec_prefix"
10862 exec_prefix
="$acl_save_exec_prefix"
10863 prefix
="$acl_save_prefix"
10867 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10868 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10870 found_so
="$dir/lib$name.$shlibext"
10871 if test -f "$dir/lib$name.la"; then
10872 found_la
="$dir/lib$name.la"
10875 if test -f "$dir/lib$name.$libext"; then
10877 found_a
="$dir/lib$name.$libext"
10878 if test -f "$dir/lib$name.la"; then
10879 found_la
="$dir/lib$name.la"
10885 if test "X$found_dir" != "X"; then
10890 if test "X$found_dir" != "X"; then
10891 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
10892 if test "X$found_so" != "X"; then
10893 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10894 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10897 for x
in $ltrpathdirs; do
10898 if test "X$x" = "X$found_dir"; then
10903 if test -z "$haveit"; then
10904 ltrpathdirs
="$ltrpathdirs $found_dir"
10906 if test "$hardcode_direct" = yes; then
10907 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10909 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10910 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10912 for x
in $rpathdirs; do
10913 if test "X$x" = "X$found_dir"; then
10918 if test -z "$haveit"; then
10919 rpathdirs
="$rpathdirs $found_dir"
10923 for x
in $LDFLAGS $LIBEXPAT; do
10925 acl_save_prefix
="$prefix"
10926 prefix
="$acl_final_prefix"
10927 acl_save_exec_prefix
="$exec_prefix"
10928 exec_prefix
="$acl_final_exec_prefix"
10930 exec_prefix
="$acl_save_exec_prefix"
10931 prefix
="$acl_save_prefix"
10933 if test "X$x" = "X-L$found_dir"; then
10938 if test -z "$haveit"; then
10939 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
10941 if test "$hardcode_minus_L" != no
; then
10942 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
10944 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
10950 if test "X$found_a" != "X"; then
10951 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
10953 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
10956 additional_includedir
=
10957 case "$found_dir" in
10959 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10960 additional_includedir
="$basedir/include"
10963 if test "X$additional_includedir" != "X"; then
10964 if test "X$additional_includedir" != "X/usr/include"; then
10966 if test "X$additional_includedir" = "X/usr/local/include"; then
10967 if test -n "$GCC"; then
10969 linux
*) haveit
=yes;;
10973 if test -z "$haveit"; then
10974 for x
in $CPPFLAGS $INCEXPAT; do
10976 acl_save_prefix
="$prefix"
10977 prefix
="$acl_final_prefix"
10978 acl_save_exec_prefix
="$exec_prefix"
10979 exec_prefix
="$acl_final_exec_prefix"
10981 exec_prefix
="$acl_save_exec_prefix"
10982 prefix
="$acl_save_prefix"
10984 if test "X$x" = "X-I$additional_includedir"; then
10989 if test -z "$haveit"; then
10990 if test -d "$additional_includedir"; then
10991 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
10997 if test -n "$found_la"; then
10998 save_libdir
="$libdir"
10999 case "$found_la" in
11000 */* |
*\\*) .
"$found_la" ;;
11001 *) .
"./$found_la" ;;
11003 libdir
="$save_libdir"
11004 for dep
in $dependency_libs; do
11007 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
11008 if test "X$additional_libdir" != "X/usr/lib"; then
11010 if test "X$additional_libdir" = "X/usr/local/lib"; then
11011 if test -n "$GCC"; then
11013 linux
*) haveit
=yes;;
11017 if test -z "$haveit"; then
11019 for x
in $LDFLAGS $LIBEXPAT; do
11021 acl_save_prefix
="$prefix"
11022 prefix
="$acl_final_prefix"
11023 acl_save_exec_prefix
="$exec_prefix"
11024 exec_prefix
="$acl_final_exec_prefix"
11026 exec_prefix
="$acl_save_exec_prefix"
11027 prefix
="$acl_save_prefix"
11029 if test "X$x" = "X-L$additional_libdir"; then
11034 if test -z "$haveit"; then
11035 if test -d "$additional_libdir"; then
11036 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
11040 for x
in $LDFLAGS $LTLIBEXPAT; do
11042 acl_save_prefix
="$prefix"
11043 prefix
="$acl_final_prefix"
11044 acl_save_exec_prefix
="$exec_prefix"
11045 exec_prefix
="$acl_final_exec_prefix"
11047 exec_prefix
="$acl_save_exec_prefix"
11048 prefix
="$acl_save_prefix"
11050 if test "X$x" = "X-L$additional_libdir"; then
11055 if test -z "$haveit"; then
11056 if test -d "$additional_libdir"; then
11057 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
11064 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
11065 if test "$enable_rpath" != no
; then
11067 for x
in $rpathdirs; do
11068 if test "X$x" = "X$dir"; then
11073 if test -z "$haveit"; then
11074 rpathdirs
="$rpathdirs $dir"
11077 for x
in $ltrpathdirs; do
11078 if test "X$x" = "X$dir"; then
11083 if test -z "$haveit"; then
11084 ltrpathdirs
="$ltrpathdirs $dir"
11089 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11092 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11095 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
11096 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
11102 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
11103 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
11109 if test "X$rpathdirs" != "X"; then
11110 if test -n "$hardcode_libdir_separator"; then
11112 for found_dir
in $rpathdirs; do
11113 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11115 acl_save_libdir
="$libdir"
11117 eval flag
=\"$hardcode_libdir_flag_spec\"
11118 libdir
="$acl_save_libdir"
11119 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
11121 for found_dir
in $rpathdirs; do
11122 acl_save_libdir
="$libdir"
11123 libdir
="$found_dir"
11124 eval flag
=\"$hardcode_libdir_flag_spec\"
11125 libdir
="$acl_save_libdir"
11126 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
11130 if test "X$ltrpathdirs" != "X"; then
11131 for found_dir
in $ltrpathdirs; do
11132 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
11137 ac_save_CPPFLAGS
="$CPPFLAGS"
11139 for element
in $INCEXPAT; do
11141 for x
in $CPPFLAGS; do
11143 acl_save_prefix
="$prefix"
11144 prefix
="$acl_final_prefix"
11145 acl_save_exec_prefix
="$exec_prefix"
11146 exec_prefix
="$acl_final_exec_prefix"
11148 exec_prefix
="$acl_save_exec_prefix"
11149 prefix
="$acl_save_prefix"
11151 if test "X$x" = "X$element"; then
11156 if test -z "$haveit"; then
11157 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
11162 echo "$as_me:$LINENO: checking for libexpat" >&5
11163 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
11164 if test "${ac_cv_libexpat+set}" = set; then
11165 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 ac_save_LIBS
="$LIBS"
11169 LIBS
="$LIBS $LIBEXPAT"
11170 cat >conftest.
$ac_ext <<_ACEOF
11173 cat confdefs.h
>>conftest.
$ac_ext
11174 cat >>conftest.
$ac_ext <<_ACEOF
11175 /* end confdefs.h. */
11180 XML_Parser p = XML_ParserCreate (0);
11185 rm -f conftest.
$ac_objext conftest
$ac_exeext
11186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11187 (eval $ac_link) 2>conftest.er1
11189 grep -v '^ *+' conftest.er1
>conftest.err
11191 cat conftest.err
>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } &&
11194 { ac_try
='test -z "$ac_c_werror_flag"
11195 || test ! -s conftest.err'
11196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11197 (eval $ac_try) 2>&5
11199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11200 (exit $ac_status); }; } &&
11201 { ac_try
='test -s conftest$ac_exeext'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; }; then
11209 echo "$as_me: failed program was:" >&5
11210 sed 's/^/| /' conftest.
$ac_ext >&5
11214 rm -f conftest.err conftest.
$ac_objext \
11215 conftest
$ac_exeext conftest.
$ac_ext
11216 LIBS
="$ac_save_LIBS"
11219 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
11220 echo "${ECHO_T}$ac_cv_libexpat" >&6
11221 if test "$ac_cv_libexpat" = yes; then
11224 cat >>confdefs.h
<<\_ACEOF
11225 #define HAVE_LIBEXPAT 1
11228 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
11229 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
11230 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
11231 echo "${ECHO_T}$LIBEXPAT" >&6
11234 CPPFLAGS
="$ac_save_CPPFLAGS"
11244 if test "$HAVE_LIBEXPAT" != yes; then
11245 if test "$with_expat" = yes; then
11246 { { echo "$as_me:$LINENO: error: expat is missing or unusable" >&5
11247 echo "$as_me: error: expat is missing or unusable" >&2;}
11248 { (exit 1); exit 1; }; }
11250 { echo "$as_me:$LINENO: WARNING: expat is missing or unusable; some features may be unavailable." >&5
11251 echo "$as_me: WARNING: expat is missing or unusable; some features may be unavailable." >&2;}
11255 LIBS
="$LIBS $LIBEXPAT"
11257 for ac_func
in XML_StopParser
11259 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11260 echo "$as_me:$LINENO: checking for $ac_func" >&5
11261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11262 if eval "test \"\${$as_ac_var+set}\" = set"; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11265 cat >conftest.
$ac_ext <<_ACEOF
11268 cat confdefs.h
>>conftest.
$ac_ext
11269 cat >>conftest.
$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11273 #define $ac_func innocuous_$ac_func
11275 /* System header to define __stub macros and hopefully few prototypes,
11276 which can conflict with char $ac_func (); below.
11277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11278 <limits.h> exists even on freestanding compilers. */
11281 # include <limits.h>
11283 # include <assert.h>
11288 /* Override any gcc2 internal prototype to avoid an error. */
11293 /* We use char because int might match the return type of a gcc2
11294 builtin and then its argument prototype would still apply. */
11296 /* The GNU C library defines this for functions which it implements
11297 to always fail with ENOSYS. Some functions are actually named
11298 something starting with __ and the normal name is an alias. */
11299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11302 char (*f) () = $ac_func;
11311 return f != $ac_func;
11316 rm -f conftest.
$ac_objext conftest
$ac_exeext
11317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11318 (eval $ac_link) 2>conftest.er1
11320 grep -v '^ *+' conftest.er1
>conftest.err
11322 cat conftest.err
>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); } &&
11325 { ac_try
='test -z "$ac_c_werror_flag"
11326 || test ! -s conftest.err'
11327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11328 (eval $ac_try) 2>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); }; } &&
11332 { ac_try
='test -s conftest$ac_exeext'
11333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334 (eval $ac_try) 2>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; }; then
11338 eval "$as_ac_var=yes"
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.
$ac_ext >&5
11343 eval "$as_ac_var=no"
11345 rm -f conftest.err conftest.
$ac_objext \
11346 conftest
$ac_exeext conftest.
$ac_ext
11348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11350 if test `eval echo '${'$as_ac_var'}'` = yes; then
11351 cat >>confdefs.h
<<_ACEOF
11352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11365 # Check whether --with-python or --without-python was given.
11366 if test "${with_python+set}" = set; then
11367 withval
="$with_python"
11372 echo "$as_me:$LINENO: checking whether to use python" >&5
11373 echo $ECHO_N "checking whether to use python... $ECHO_C" >&6
11374 echo "$as_me:$LINENO: result: $with_python" >&5
11375 echo "${ECHO_T}$with_python" >&6
11377 if test "${with_python}" = no
; then
11378 { echo "$as_me:$LINENO: WARNING: python support disabled; some features may be unavailable." >&5
11379 echo "$as_me: WARNING: python support disabled; some features may be unavailable." >&2;}
11382 case "${with_python}" in
11384 # Leave as empty, use defaults.
11389 python_includes
="-I${with_python}/include"
11390 python_libs
="-L${with_python}/lib"
11393 { { echo "$as_me:$LINENO: error: invalid value for --with-python" >&5
11394 echo "$as_me: error: invalid value for --with-python" >&2;}
11395 { (exit 1); exit 1; }; }
11399 save_CPPFLAGS
=$CPPFLAGS
11400 CPPFLAGS
="$CPPFLAGS ${python_includes}"
11402 LIBS
="$LIBS ${python_libs}"
11404 if test "${have_libpython}" = no
; then
11409 HAVE_LIBPYTHON2_6
=no
11410 echo "$as_me:$LINENO: checking for ${version}" >&5
11411 echo $ECHO_N "checking for ${version}... $ECHO_C" >&6
11413 LIBS
="$LIBS -l${version}"
11414 cat >conftest.
$ac_ext <<_ACEOF
11417 cat confdefs.h
>>conftest.
$ac_ext
11418 cat >>conftest.
$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 #include "${version}/Python.h"
11429 rm -f conftest.
$ac_objext conftest
$ac_exeext
11430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11431 (eval $ac_link) 2>conftest.er1
11433 grep -v '^ *+' conftest.er1
>conftest.err
11435 cat conftest.err
>&5
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); } &&
11438 { ac_try
='test -z "$ac_c_werror_flag"
11439 || test ! -s conftest.err'
11440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11441 (eval $ac_try) 2>&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); }; } &&
11445 { ac_try
='test -s conftest$ac_exeext'
11446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11447 (eval $ac_try) 2>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); }; }; then
11451 HAVE_LIBPYTHON2_6
=yes
11454 echo "$as_me: failed program was:" >&5
11455 sed 's/^/| /' conftest.
$ac_ext >&5
11459 rm -f conftest.err conftest.
$ac_objext \
11460 conftest
$ac_exeext conftest.
$ac_ext
11461 echo "$as_me:$LINENO: result: $HAVE_LIBPYTHON2_6" >&5
11462 echo "${ECHO_T}$HAVE_LIBPYTHON2_6" >&6
11464 if test "${HAVE_LIBPYTHON2_6}" = yes; then
11466 cat >>confdefs.h
<<\_ACEOF
11467 #define HAVE_LIBPYTHON2_6 1
11472 if test ${have_libpython} = no
; then
11477 HAVE_LIBPYTHON2_5
=no
11478 echo "$as_me:$LINENO: checking for ${version}" >&5
11479 echo $ECHO_N "checking for ${version}... $ECHO_C" >&6
11481 LIBS
="$LIBS -l${version}"
11482 cat >conftest.
$ac_ext <<_ACEOF
11485 cat confdefs.h
>>conftest.
$ac_ext
11486 cat >>conftest.
$ac_ext <<_ACEOF
11487 /* end confdefs.h. */
11488 #include "${version}/Python.h"
11497 rm -f conftest.
$ac_objext conftest
$ac_exeext
11498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11499 (eval $ac_link) 2>conftest.er1
11501 grep -v '^ *+' conftest.er1
>conftest.err
11503 cat conftest.err
>&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); } &&
11506 { ac_try
='test -z "$ac_c_werror_flag"
11507 || test ! -s conftest.err'
11508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11509 (eval $ac_try) 2>&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); }; } &&
11513 { ac_try
='test -s conftest$ac_exeext'
11514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11515 (eval $ac_try) 2>&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); }; }; then
11519 HAVE_LIBPYTHON2_5
=yes
11522 echo "$as_me: failed program was:" >&5
11523 sed 's/^/| /' conftest.
$ac_ext >&5
11527 rm -f conftest.err conftest.
$ac_objext \
11528 conftest
$ac_exeext conftest.
$ac_ext
11529 echo "$as_me:$LINENO: result: $HAVE_LIBPYTHON2_5" >&5
11530 echo "${ECHO_T}$HAVE_LIBPYTHON2_5" >&6
11532 if test "${HAVE_LIBPYTHON2_5}" = yes; then
11534 cat >>confdefs.h
<<\_ACEOF
11535 #define HAVE_LIBPYTHON2_5 1
11540 if test ${have_libpython} = no
; then
11545 HAVE_LIBPYTHON2_4
=no
11546 echo "$as_me:$LINENO: checking for ${version}" >&5
11547 echo $ECHO_N "checking for ${version}... $ECHO_C" >&6
11549 LIBS
="$LIBS -l${version}"
11550 cat >conftest.
$ac_ext <<_ACEOF
11553 cat confdefs.h
>>conftest.
$ac_ext
11554 cat >>conftest.
$ac_ext <<_ACEOF
11555 /* end confdefs.h. */
11556 #include "${version}/Python.h"
11565 rm -f conftest.
$ac_objext conftest
$ac_exeext
11566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11567 (eval $ac_link) 2>conftest.er1
11569 grep -v '^ *+' conftest.er1
>conftest.err
11571 cat conftest.err
>&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } &&
11574 { ac_try
='test -z "$ac_c_werror_flag"
11575 || test ! -s conftest.err'
11576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11577 (eval $ac_try) 2>&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; } &&
11581 { ac_try
='test -s conftest$ac_exeext'
11582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11583 (eval $ac_try) 2>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); }; }; then
11587 HAVE_LIBPYTHON2_4
=yes
11590 echo "$as_me: failed program was:" >&5
11591 sed 's/^/| /' conftest.
$ac_ext >&5
11595 rm -f conftest.err conftest.
$ac_objext \
11596 conftest
$ac_exeext conftest.
$ac_ext
11597 echo "$as_me:$LINENO: result: $HAVE_LIBPYTHON2_4" >&5
11598 echo "${ECHO_T}$HAVE_LIBPYTHON2_4" >&6
11600 if test "${HAVE_LIBPYTHON2_4}" = yes; then
11602 cat >>confdefs.h
<<\_ACEOF
11603 #define HAVE_LIBPYTHON2_4 1
11608 if test ${have_libpython} = no
; then
11609 case "${with_python}" in
11611 { { echo "$as_me:$LINENO: error: python is missing or unusable" >&5
11612 echo "$as_me: error: python is missing or unusable" >&2;}
11613 { (exit 1); exit 1; }; }
11616 { echo "$as_me:$LINENO: WARNING: python is missing or unusable; some features may be unavailable." >&5
11617 echo "$as_me: WARNING: python is missing or unusable; some features may be unavailable." >&2;}
11620 { { echo "$as_me:$LINENO: error: no usable python found at ${with_python}" >&5
11621 echo "$as_me: error: no usable python found at ${with_python}" >&2;}
11622 { (exit 1); exit 1; }; }
11625 CPPFLAGS
=$save_CPPFLAGS
11630 if test "${have_libpython}" = yes; then
11632 cat >>confdefs.h
<<\_ACEOF
11633 #define HAVE_PYTHON 1
11636 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_PYTHON_OBS)"
11637 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_PYTHON_DEPS)"
11638 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_PYTHON_SRCS)"
11639 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_PYTHON_CFLAGS)"
11641 # Flags needed to compile Python code (taken from python-config --cflags).
11642 # We cannot call python-config directly because it will output whatever was
11643 # used when compiling the Python interpreter itself, including flags which
11644 # would make the python-related objects be compiled differently from the
11645 # rest of GDB (e.g., -O2 and -fPIC).
11646 if test "${GCC}" = yes; then
11647 tentative_python_cflags
="-fno-strict-aliasing -DNDEBUG -fwrapv"
11650 if test "x${tentative_python_cflags}" != x
; then
11651 echo "$as_me:$LINENO: checking compiler flags for python code" >&5
11652 echo $ECHO_N "checking compiler flags for python code... $ECHO_C" >&6
11653 for flag
in ${tentative_python_cflags}; do
11654 # Check that the compiler accepts it
11655 saved_CFLAGS
="$CFLAGS"
11656 CFLAGS
="$CFLAGS $flag"
11657 cat >conftest.
$ac_ext <<_ACEOF
11660 cat confdefs.h
>>conftest.
$ac_ext
11661 cat >>conftest.
$ac_ext <<_ACEOF
11662 /* end confdefs.h. */
11672 rm -f conftest.
$ac_objext
11673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11674 (eval $ac_compile) 2>conftest.er1
11676 grep -v '^ *+' conftest.er1
>conftest.err
11678 cat conftest.err
>&5
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); } &&
11681 { ac_try
='test -z "$ac_c_werror_flag"
11682 || test ! -s conftest.err'
11683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684 (eval $ac_try) 2>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); }; } &&
11688 { ac_try
='test -s conftest.$ac_objext'
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; }; then
11694 PYTHON_CFLAGS
="${PYTHON_CFLAGS} $flag"
11696 echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.
$ac_ext >&5
11700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11701 CFLAGS
="$saved_CFLAGS"
11703 echo "$as_me:$LINENO: result: ${PYTHON_CFLAGS}" >&5
11704 echo "${ECHO_T}${PYTHON_CFLAGS}" >&6
11707 # Even if Python support is not compiled in, we need to have these files
11708 # included in order to recognize the GDB command "python".
11709 CONFIG_OBS
="$CONFIG_OBS python.o python-value.o"
11710 CONFIG_SRCS
="$CONFIG_SRCS python/python.c python/python-value.c"
11714 # ------------------------- #
11715 # Checks for header files. #
11716 # ------------------------- #
11723 ac_header_dirent
=no
11724 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
11725 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11726 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
11727 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
11728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11731 cat >conftest.
$ac_ext <<_ACEOF
11734 cat confdefs.h
>>conftest.
$ac_ext
11735 cat >>conftest.
$ac_ext <<_ACEOF
11736 /* end confdefs.h. */
11737 #include <sys/types.h>
11749 rm -f conftest.
$ac_objext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11751 (eval $ac_compile) 2>conftest.er1
11753 grep -v '^ *+' conftest.er1
>conftest.err
11755 cat conftest.err
>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } &&
11758 { ac_try
='test -z "$ac_c_werror_flag"
11759 || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try
='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 eval "$as_ac_Header=yes"
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.
$ac_ext >&5
11776 eval "$as_ac_Header=no"
11778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11783 cat >>confdefs.h
<<_ACEOF
11784 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11787 ac_header_dirent
=$ac_hdr; break
11791 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11792 if test $ac_header_dirent = dirent.h
; then
11793 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11794 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11795 if test "${ac_cv_search_opendir+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 ac_func_search_save_LIBS
=$LIBS
11799 ac_cv_search_opendir
=no
11800 cat >conftest.
$ac_ext <<_ACEOF
11803 cat confdefs.h
>>conftest.
$ac_ext
11804 cat >>conftest.
$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11807 /* Override any gcc2 internal prototype to avoid an error. */
11811 /* We use char because int might match the return type of a gcc2
11812 builtin and then its argument prototype would still apply. */
11822 rm -f conftest.
$ac_objext conftest
$ac_exeext
11823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11824 (eval $ac_link) 2>conftest.er1
11826 grep -v '^ *+' conftest.er1
>conftest.err
11828 cat conftest.err
>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); } &&
11831 { ac_try
='test -z "$ac_c_werror_flag"
11832 || test ! -s conftest.err'
11833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834 (eval $ac_try) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }; } &&
11838 { ac_try
='test -s conftest$ac_exeext'
11839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11840 (eval $ac_try) 2>&5
11842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11843 (exit $ac_status); }; }; then
11844 ac_cv_search_opendir
="none required"
11846 echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.
$ac_ext >&5
11850 rm -f conftest.err conftest.
$ac_objext \
11851 conftest
$ac_exeext conftest.
$ac_ext
11852 if test "$ac_cv_search_opendir" = no
; then
11853 for ac_lib
in dir
; do
11854 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11855 cat >conftest.
$ac_ext <<_ACEOF
11858 cat confdefs.h
>>conftest.
$ac_ext
11859 cat >>conftest.
$ac_ext <<_ACEOF
11860 /* end confdefs.h. */
11862 /* Override any gcc2 internal prototype to avoid an error. */
11866 /* We use char because int might match the return type of a gcc2
11867 builtin and then its argument prototype would still apply. */
11877 rm -f conftest.
$ac_objext conftest
$ac_exeext
11878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11879 (eval $ac_link) 2>conftest.er1
11881 grep -v '^ *+' conftest.er1
>conftest.err
11883 cat conftest.err
>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); } &&
11886 { ac_try
='test -z "$ac_c_werror_flag"
11887 || test ! -s conftest.err'
11888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11889 (eval $ac_try) 2>&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); }; } &&
11893 { ac_try
='test -s conftest$ac_exeext'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; }; then
11899 ac_cv_search_opendir
="-l$ac_lib"
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11906 rm -f conftest.err conftest.
$ac_objext \
11907 conftest
$ac_exeext conftest.
$ac_ext
11910 LIBS
=$ac_func_search_save_LIBS
11912 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11913 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11914 if test "$ac_cv_search_opendir" != no
; then
11915 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
11920 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11921 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11922 if test "${ac_cv_search_opendir+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 ac_func_search_save_LIBS
=$LIBS
11926 ac_cv_search_opendir
=no
11927 cat >conftest.
$ac_ext <<_ACEOF
11930 cat confdefs.h
>>conftest.
$ac_ext
11931 cat >>conftest.
$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11934 /* Override any gcc2 internal prototype to avoid an error. */
11938 /* We use char because int might match the return type of a gcc2
11939 builtin and then its argument prototype would still apply. */
11949 rm -f conftest.
$ac_objext conftest
$ac_exeext
11950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11951 (eval $ac_link) 2>conftest.er1
11953 grep -v '^ *+' conftest.er1
>conftest.err
11955 cat conftest.err
>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); } &&
11958 { ac_try
='test -z "$ac_c_werror_flag"
11959 || test ! -s conftest.err'
11960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11961 (eval $ac_try) 2>&5
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); }; } &&
11965 { ac_try
='test -s conftest$ac_exeext'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; }; then
11971 ac_cv_search_opendir
="none required"
11973 echo "$as_me: failed program was:" >&5
11974 sed 's/^/| /' conftest.
$ac_ext >&5
11977 rm -f conftest.err conftest.
$ac_objext \
11978 conftest
$ac_exeext conftest.
$ac_ext
11979 if test "$ac_cv_search_opendir" = no
; then
11980 for ac_lib
in x
; do
11981 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11982 cat >conftest.
$ac_ext <<_ACEOF
11985 cat confdefs.h
>>conftest.
$ac_ext
11986 cat >>conftest.
$ac_ext <<_ACEOF
11987 /* end confdefs.h. */
11989 /* Override any gcc2 internal prototype to avoid an error. */
11993 /* We use char because int might match the return type of a gcc2
11994 builtin and then its argument prototype would still apply. */
12004 rm -f conftest.
$ac_objext conftest
$ac_exeext
12005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12006 (eval $ac_link) 2>conftest.er1
12008 grep -v '^ *+' conftest.er1
>conftest.err
12010 cat conftest.err
>&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); } &&
12013 { ac_try
='test -z "$ac_c_werror_flag"
12014 || test ! -s conftest.err'
12015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; } &&
12020 { ac_try
='test -s conftest$ac_exeext'
12021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); }; }; then
12026 ac_cv_search_opendir
="-l$ac_lib"
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.
$ac_ext >&5
12033 rm -f conftest.err conftest.
$ac_objext \
12034 conftest
$ac_exeext conftest.
$ac_ext
12037 LIBS
=$ac_func_search_save_LIBS
12039 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
12040 echo "${ECHO_T}$ac_cv_search_opendir" >&6
12041 if test "$ac_cv_search_opendir" != no
; then
12042 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
12048 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
12049 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
12050 if test "${ac_cv_header_stat_broken+set}" = set; then
12051 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 cat >conftest.
$ac_ext <<_ACEOF
12056 cat confdefs.h
>>conftest.
$ac_ext
12057 cat >>conftest.
$ac_ext <<_ACEOF
12058 /* end confdefs.h. */
12059 #include <sys/types.h>
12060 #include <sys/stat.h>
12062 #if defined(S_ISBLK) && defined(S_IFDIR)
12063 # if S_ISBLK (S_IFDIR)
12068 #if defined(S_ISBLK) && defined(S_IFCHR)
12069 # if S_ISBLK (S_IFCHR)
12074 #if defined(S_ISLNK) && defined(S_IFREG)
12075 # if S_ISLNK (S_IFREG)
12080 #if defined(S_ISSOCK) && defined(S_IFREG)
12081 # if S_ISSOCK (S_IFREG)
12087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12088 $EGREP "You lose" >/dev
/null
2>&1; then
12089 ac_cv_header_stat_broken
=yes
12091 ac_cv_header_stat_broken
=no
12096 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
12097 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
12098 if test $ac_cv_header_stat_broken = yes; then
12100 cat >>confdefs.h
<<\_ACEOF
12101 #define STAT_MACROS_BROKEN 1
12106 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12107 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12108 if test "${ac_cv_header_stdc+set}" = set; then
12109 echo $ECHO_N "(cached) $ECHO_C" >&6
12111 cat >conftest.
$ac_ext <<_ACEOF
12114 cat confdefs.h
>>conftest.
$ac_ext
12115 cat >>conftest.
$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12117 #include <stdlib.h>
12118 #include <stdarg.h>
12119 #include <string.h>
12130 rm -f conftest.
$ac_objext
12131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12132 (eval $ac_compile) 2>conftest.er1
12134 grep -v '^ *+' conftest.er1
>conftest.err
12136 cat conftest.err
>&5
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); } &&
12139 { ac_try
='test -z "$ac_c_werror_flag"
12140 || test ! -s conftest.err'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; } &&
12146 { ac_try
='test -s conftest.$ac_objext'
12147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12148 (eval $ac_try) 2>&5
12150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151 (exit $ac_status); }; }; then
12152 ac_cv_header_stdc
=yes
12154 echo "$as_me: failed program was:" >&5
12155 sed 's/^/| /' conftest.
$ac_ext >&5
12157 ac_cv_header_stdc
=no
12159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12161 if test $ac_cv_header_stdc = yes; then
12162 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12163 cat >conftest.
$ac_ext <<_ACEOF
12166 cat confdefs.h
>>conftest.
$ac_ext
12167 cat >>conftest.
$ac_ext <<_ACEOF
12168 /* end confdefs.h. */
12169 #include <string.h>
12172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12173 $EGREP "memchr" >/dev
/null
2>&1; then
12176 ac_cv_header_stdc
=no
12182 if test $ac_cv_header_stdc = yes; then
12183 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12184 cat >conftest.
$ac_ext <<_ACEOF
12187 cat confdefs.h
>>conftest.
$ac_ext
12188 cat >>conftest.
$ac_ext <<_ACEOF
12189 /* end confdefs.h. */
12190 #include <stdlib.h>
12193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12194 $EGREP "free" >/dev
/null
2>&1; then
12197 ac_cv_header_stdc
=no
12203 if test $ac_cv_header_stdc = yes; then
12204 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12205 if test "$cross_compiling" = yes; then
12208 cat >conftest.
$ac_ext <<_ACEOF
12211 cat confdefs.h
>>conftest.
$ac_ext
12212 cat >>conftest.
$ac_ext <<_ACEOF
12213 /* end confdefs.h. */
12215 #if ((' ' & 0x0FF) == 0x020)
12216 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12217 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12219 # define ISLOWER(c) \
12220 (('a' <= (c) && (c) <= 'i') \
12221 || ('j' <= (c) && (c) <= 'r') \
12222 || ('s' <= (c) && (c) <= 'z'))
12223 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12226 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12231 for (i = 0; i < 256; i++)
12232 if (XOR (islower (i), ISLOWER (i))
12233 || toupper (i) != TOUPPER (i))
12238 rm -f conftest
$ac_exeext
12239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12240 (eval $ac_link) 2>&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12245 (eval $ac_try) 2>&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }; }; then
12251 echo "$as_me: program exited with status $ac_status" >&5
12252 echo "$as_me: failed program was:" >&5
12253 sed 's/^/| /' conftest.
$ac_ext >&5
12255 ( exit $ac_status )
12256 ac_cv_header_stdc
=no
12258 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12262 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12263 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12264 if test $ac_cv_header_stdc = yes; then
12266 cat >>confdefs.h
<<\_ACEOF
12267 #define STDC_HEADERS 1
12273 for ac_header
in nlist.h
12275 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12277 echo "$as_me:$LINENO: checking for $ac_header" >&5
12278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12280 echo $ECHO_N "(cached) $ECHO_C" >&6
12282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12285 # Is the header compilable?
12286 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12287 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12288 cat >conftest.
$ac_ext <<_ACEOF
12291 cat confdefs.h
>>conftest.
$ac_ext
12292 cat >>conftest.
$ac_ext <<_ACEOF
12293 /* end confdefs.h. */
12294 $ac_includes_default
12295 #include <$ac_header>
12297 rm -f conftest.
$ac_objext
12298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12299 (eval $ac_compile) 2>conftest.er1
12301 grep -v '^ *+' conftest.er1
>conftest.err
12303 cat conftest.err
>&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); } &&
12306 { ac_try
='test -z "$ac_c_werror_flag"
12307 || test ! -s conftest.err'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; } &&
12313 { ac_try
='test -s conftest.$ac_objext'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; }; then
12319 ac_header_compiler
=yes
12321 echo "$as_me: failed program was:" >&5
12322 sed 's/^/| /' conftest.
$ac_ext >&5
12324 ac_header_compiler
=no
12326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12328 echo "${ECHO_T}$ac_header_compiler" >&6
12330 # Is the header present?
12331 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12332 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12333 cat >conftest.
$ac_ext <<_ACEOF
12336 cat confdefs.h
>>conftest.
$ac_ext
12337 cat >>conftest.
$ac_ext <<_ACEOF
12338 /* end confdefs.h. */
12339 #include <$ac_header>
12341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12342 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12344 grep -v '^ *+' conftest.er1
>conftest.err
12346 cat conftest.err
>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } >/dev
/null
; then
12349 if test -s conftest.err
; then
12350 ac_cpp_err
=$ac_c_preproc_warn_flag
12351 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12358 if test -z "$ac_cpp_err"; then
12359 ac_header_preproc
=yes
12361 echo "$as_me: failed program was:" >&5
12362 sed 's/^/| /' conftest.
$ac_ext >&5
12364 ac_header_preproc
=no
12366 rm -f conftest.err conftest.
$ac_ext
12367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12368 echo "${ECHO_T}$ac_header_preproc" >&6
12370 # So? What about this header?
12371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12374 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12376 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12377 ac_header_preproc
=yes
12380 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12381 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12382 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12383 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12384 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12385 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12386 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12387 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12390 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12391 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12394 ## ------------------------------------------ ##
12395 ## Report this to the AC_PACKAGE_NAME lists. ##
12396 ## ------------------------------------------ ##
12399 sed "s/^/$as_me: WARNING: /" >&2
12402 echo "$as_me:$LINENO: checking for $ac_header" >&5
12403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12405 echo $ECHO_N "(cached) $ECHO_C" >&6
12407 eval "$as_ac_Header=\$ac_header_preproc"
12409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12414 cat >>confdefs.h
<<_ACEOF
12415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12423 for ac_header
in link.h
12425 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12426 echo "$as_me:$LINENO: checking for $ac_header" >&5
12427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12429 echo $ECHO_N "(cached) $ECHO_C" >&6
12431 cat >conftest.
$ac_ext <<_ACEOF
12434 cat confdefs.h
>>conftest.
$ac_ext
12435 cat >>conftest.
$ac_ext <<_ACEOF
12436 /* end confdefs.h. */
12437 #if HAVE_SYS_TYPES_H
12438 # include <sys/types.h>
12441 # include <nlist.h>
12445 #include <$ac_header>
12447 rm -f conftest.
$ac_objext
12448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12449 (eval $ac_compile) 2>conftest.er1
12451 grep -v '^ *+' conftest.er1
>conftest.err
12453 cat conftest.err
>&5
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); } &&
12456 { ac_try
='test -z "$ac_c_werror_flag"
12457 || test ! -s conftest.err'
12458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12459 (eval $ac_try) 2>&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); }; } &&
12463 { ac_try
='test -s conftest.$ac_objext'
12464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12465 (eval $ac_try) 2>&5
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); }; }; then
12469 eval "$as_ac_Header=yes"
12471 echo "$as_me: failed program was:" >&5
12472 sed 's/^/| /' conftest.
$ac_ext >&5
12474 eval "$as_ac_Header=no"
12476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12481 cat >>confdefs.h
<<_ACEOF
12482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12490 for ac_header
in machine
/reg.h
12492 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12494 echo "$as_me:$LINENO: checking for $ac_header" >&5
12495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12497 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12502 # Is the header compilable?
12503 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12504 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12505 cat >conftest.
$ac_ext <<_ACEOF
12508 cat confdefs.h
>>conftest.
$ac_ext
12509 cat >>conftest.
$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12511 $ac_includes_default
12512 #include <$ac_header>
12514 rm -f conftest.
$ac_objext
12515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12516 (eval $ac_compile) 2>conftest.er1
12518 grep -v '^ *+' conftest.er1
>conftest.err
12520 cat conftest.err
>&5
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); } &&
12523 { ac_try
='test -z "$ac_c_werror_flag"
12524 || test ! -s conftest.err'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; } &&
12530 { ac_try
='test -s conftest.$ac_objext'
12531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12532 (eval $ac_try) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; }; then
12536 ac_header_compiler
=yes
12538 echo "$as_me: failed program was:" >&5
12539 sed 's/^/| /' conftest.
$ac_ext >&5
12541 ac_header_compiler
=no
12543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12545 echo "${ECHO_T}$ac_header_compiler" >&6
12547 # Is the header present?
12548 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12550 cat >conftest.
$ac_ext <<_ACEOF
12553 cat confdefs.h
>>conftest.
$ac_ext
12554 cat >>conftest.
$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12556 #include <$ac_header>
12558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12561 grep -v '^ *+' conftest.er1
>conftest.err
12563 cat conftest.err
>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } >/dev
/null
; then
12566 if test -s conftest.err
; then
12567 ac_cpp_err
=$ac_c_preproc_warn_flag
12568 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12575 if test -z "$ac_cpp_err"; then
12576 ac_header_preproc
=yes
12578 echo "$as_me: failed program was:" >&5
12579 sed 's/^/| /' conftest.
$ac_ext >&5
12581 ac_header_preproc
=no
12583 rm -f conftest.err conftest.
$ac_ext
12584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12585 echo "${ECHO_T}$ac_header_preproc" >&6
12587 # So? What about this header?
12588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12594 ac_header_preproc
=yes
12597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12611 ## ------------------------------------------ ##
12612 ## Report this to the AC_PACKAGE_NAME lists. ##
12613 ## ------------------------------------------ ##
12616 sed "s/^/$as_me: WARNING: /" >&2
12619 echo "$as_me:$LINENO: checking for $ac_header" >&5
12620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 eval "$as_ac_Header=\$ac_header_preproc"
12626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12631 cat >>confdefs.h
<<_ACEOF
12632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12641 for ac_header
in poll.h sys
/poll.h
12643 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12645 echo "$as_me:$LINENO: checking for $ac_header" >&5
12646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12653 # Is the header compilable?
12654 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12656 cat >conftest.
$ac_ext <<_ACEOF
12659 cat confdefs.h
>>conftest.
$ac_ext
12660 cat >>conftest.
$ac_ext <<_ACEOF
12661 /* end confdefs.h. */
12662 $ac_includes_default
12663 #include <$ac_header>
12665 rm -f conftest.
$ac_objext
12666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12667 (eval $ac_compile) 2>conftest.er1
12669 grep -v '^ *+' conftest.er1
>conftest.err
12671 cat conftest.err
>&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); } &&
12674 { ac_try
='test -z "$ac_c_werror_flag"
12675 || test ! -s conftest.err'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; } &&
12681 { ac_try
='test -s conftest.$ac_objext'
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 (eval $ac_try) 2>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; }; then
12687 ac_header_compiler
=yes
12689 echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.
$ac_ext >&5
12692 ac_header_compiler
=no
12694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12696 echo "${ECHO_T}$ac_header_compiler" >&6
12698 # Is the header present?
12699 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12701 cat >conftest.
$ac_ext <<_ACEOF
12704 cat confdefs.h
>>conftest.
$ac_ext
12705 cat >>conftest.
$ac_ext <<_ACEOF
12706 /* end confdefs.h. */
12707 #include <$ac_header>
12709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12712 grep -v '^ *+' conftest.er1
>conftest.err
12714 cat conftest.err
>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); } >/dev
/null
; then
12717 if test -s conftest.err
; then
12718 ac_cpp_err
=$ac_c_preproc_warn_flag
12719 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12726 if test -z "$ac_cpp_err"; then
12727 ac_header_preproc
=yes
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.
$ac_ext >&5
12732 ac_header_preproc
=no
12734 rm -f conftest.err conftest.
$ac_ext
12735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12736 echo "${ECHO_T}$ac_header_preproc" >&6
12738 # So? What about this header?
12739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12744 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12745 ac_header_preproc
=yes
12748 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12750 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12752 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12753 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12754 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12755 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12758 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12759 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12762 ## ------------------------------------------ ##
12763 ## Report this to the AC_PACKAGE_NAME lists. ##
12764 ## ------------------------------------------ ##
12767 sed "s/^/$as_me: WARNING: /" >&2
12770 echo "$as_me:$LINENO: checking for $ac_header" >&5
12771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 eval "$as_ac_Header=\$ac_header_preproc"
12777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12782 cat >>confdefs.h
<<_ACEOF
12783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12793 for ac_header
in proc_service.h thread_db.h gnu
/libc-version.h
12795 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12797 echo "$as_me:$LINENO: checking for $ac_header" >&5
12798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12805 # Is the header compilable?
12806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12808 cat >conftest.
$ac_ext <<_ACEOF
12811 cat confdefs.h
>>conftest.
$ac_ext
12812 cat >>conftest.
$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12814 $ac_includes_default
12815 #include <$ac_header>
12817 rm -f conftest.
$ac_objext
12818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12819 (eval $ac_compile) 2>conftest.er1
12821 grep -v '^ *+' conftest.er1
>conftest.err
12823 cat conftest.err
>&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); } &&
12826 { ac_try
='test -z "$ac_c_werror_flag"
12827 || test ! -s conftest.err'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; } &&
12833 { ac_try
='test -s conftest.$ac_objext'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; }; then
12839 ac_header_compiler
=yes
12841 echo "$as_me: failed program was:" >&5
12842 sed 's/^/| /' conftest.
$ac_ext >&5
12844 ac_header_compiler
=no
12846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12848 echo "${ECHO_T}$ac_header_compiler" >&6
12850 # Is the header present?
12851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12853 cat >conftest.
$ac_ext <<_ACEOF
12856 cat confdefs.h
>>conftest.
$ac_ext
12857 cat >>conftest.
$ac_ext <<_ACEOF
12858 /* end confdefs.h. */
12859 #include <$ac_header>
12861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12862 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12864 grep -v '^ *+' conftest.er1
>conftest.err
12866 cat conftest.err
>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } >/dev
/null
; then
12869 if test -s conftest.err
; then
12870 ac_cpp_err
=$ac_c_preproc_warn_flag
12871 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12878 if test -z "$ac_cpp_err"; then
12879 ac_header_preproc
=yes
12881 echo "$as_me: failed program was:" >&5
12882 sed 's/^/| /' conftest.
$ac_ext >&5
12884 ac_header_preproc
=no
12886 rm -f conftest.err conftest.
$ac_ext
12887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12888 echo "${ECHO_T}$ac_header_preproc" >&6
12890 # So? What about this header?
12891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12897 ac_header_preproc
=yes
12900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12914 ## ------------------------------------------ ##
12915 ## Report this to the AC_PACKAGE_NAME lists. ##
12916 ## ------------------------------------------ ##
12919 sed "s/^/$as_me: WARNING: /" >&2
12922 echo "$as_me:$LINENO: checking for $ac_header" >&5
12923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12927 eval "$as_ac_Header=\$ac_header_preproc"
12929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12934 cat >>confdefs.h
<<_ACEOF
12935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12943 for ac_header
in signal.h
12945 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12947 echo "$as_me:$LINENO: checking for $ac_header" >&5
12948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12950 echo $ECHO_N "(cached) $ECHO_C" >&6
12952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12955 # Is the header compilable?
12956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12958 cat >conftest.
$ac_ext <<_ACEOF
12961 cat confdefs.h
>>conftest.
$ac_ext
12962 cat >>conftest.
$ac_ext <<_ACEOF
12963 /* end confdefs.h. */
12964 $ac_includes_default
12965 #include <$ac_header>
12967 rm -f conftest.
$ac_objext
12968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12969 (eval $ac_compile) 2>conftest.er1
12971 grep -v '^ *+' conftest.er1
>conftest.err
12973 cat conftest.err
>&5
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); } &&
12976 { ac_try
='test -z "$ac_c_werror_flag"
12977 || test ! -s conftest.err'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; } &&
12983 { ac_try
='test -s conftest.$ac_objext'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12989 ac_header_compiler
=yes
12991 echo "$as_me: failed program was:" >&5
12992 sed 's/^/| /' conftest.
$ac_ext >&5
12994 ac_header_compiler
=no
12996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12998 echo "${ECHO_T}$ac_header_compiler" >&6
13000 # Is the header present?
13001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13003 cat >conftest.
$ac_ext <<_ACEOF
13006 cat confdefs.h
>>conftest.
$ac_ext
13007 cat >>conftest.
$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13009 #include <$ac_header>
13011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13014 grep -v '^ *+' conftest.er1
>conftest.err
13016 cat conftest.err
>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } >/dev
/null
; then
13019 if test -s conftest.err
; then
13020 ac_cpp_err
=$ac_c_preproc_warn_flag
13021 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13028 if test -z "$ac_cpp_err"; then
13029 ac_header_preproc
=yes
13031 echo "$as_me: failed program was:" >&5
13032 sed 's/^/| /' conftest.
$ac_ext >&5
13034 ac_header_preproc
=no
13036 rm -f conftest.err conftest.
$ac_ext
13037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13038 echo "${ECHO_T}$ac_header_preproc" >&6
13040 # So? What about this header?
13041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13047 ac_header_preproc
=yes
13050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13064 ## ------------------------------------------ ##
13065 ## Report this to the AC_PACKAGE_NAME lists. ##
13066 ## ------------------------------------------ ##
13069 sed "s/^/$as_me: WARNING: /" >&2
13072 echo "$as_me:$LINENO: checking for $ac_header" >&5
13073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13075 echo $ECHO_N "(cached) $ECHO_C" >&6
13077 eval "$as_ac_Header=\$ac_header_preproc"
13079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13084 cat >>confdefs.h
<<_ACEOF
13085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13093 for ac_header
in stddef.h
13095 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13097 echo "$as_me:$LINENO: checking for $ac_header" >&5
13098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13105 # Is the header compilable?
13106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13108 cat >conftest.
$ac_ext <<_ACEOF
13111 cat confdefs.h
>>conftest.
$ac_ext
13112 cat >>conftest.
$ac_ext <<_ACEOF
13113 /* end confdefs.h. */
13114 $ac_includes_default
13115 #include <$ac_header>
13117 rm -f conftest.
$ac_objext
13118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13119 (eval $ac_compile) 2>conftest.er1
13121 grep -v '^ *+' conftest.er1
>conftest.err
13123 cat conftest.err
>&5
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); } &&
13126 { ac_try
='test -z "$ac_c_werror_flag"
13127 || test ! -s conftest.err'
13128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13129 (eval $ac_try) 2>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); }; } &&
13133 { ac_try
='test -s conftest.$ac_objext'
13134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13135 (eval $ac_try) 2>&5
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); }; }; then
13139 ac_header_compiler
=yes
13141 echo "$as_me: failed program was:" >&5
13142 sed 's/^/| /' conftest.
$ac_ext >&5
13144 ac_header_compiler
=no
13146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13148 echo "${ECHO_T}$ac_header_compiler" >&6
13150 # Is the header present?
13151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13153 cat >conftest.
$ac_ext <<_ACEOF
13156 cat confdefs.h
>>conftest.
$ac_ext
13157 cat >>conftest.
$ac_ext <<_ACEOF
13158 /* end confdefs.h. */
13159 #include <$ac_header>
13161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13164 grep -v '^ *+' conftest.er1
>conftest.err
13166 cat conftest.err
>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); } >/dev
/null
; then
13169 if test -s conftest.err
; then
13170 ac_cpp_err
=$ac_c_preproc_warn_flag
13171 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13178 if test -z "$ac_cpp_err"; then
13179 ac_header_preproc
=yes
13181 echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.
$ac_ext >&5
13184 ac_header_preproc
=no
13186 rm -f conftest.err conftest.
$ac_ext
13187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13188 echo "${ECHO_T}$ac_header_preproc" >&6
13190 # So? What about this header?
13191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13197 ac_header_preproc
=yes
13200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13214 ## ------------------------------------------ ##
13215 ## Report this to the AC_PACKAGE_NAME lists. ##
13216 ## ------------------------------------------ ##
13219 sed "s/^/$as_me: WARNING: /" >&2
13222 echo "$as_me:$LINENO: checking for $ac_header" >&5
13223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13225 echo $ECHO_N "(cached) $ECHO_C" >&6
13227 eval "$as_ac_Header=\$ac_header_preproc"
13229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13234 cat >>confdefs.h
<<_ACEOF
13235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13243 for ac_header
in stdlib.h
13245 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13247 echo "$as_me:$LINENO: checking for $ac_header" >&5
13248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13250 echo $ECHO_N "(cached) $ECHO_C" >&6
13252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13255 # Is the header compilable?
13256 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13257 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13258 cat >conftest.
$ac_ext <<_ACEOF
13261 cat confdefs.h
>>conftest.
$ac_ext
13262 cat >>conftest.
$ac_ext <<_ACEOF
13263 /* end confdefs.h. */
13264 $ac_includes_default
13265 #include <$ac_header>
13267 rm -f conftest.
$ac_objext
13268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13269 (eval $ac_compile) 2>conftest.er1
13271 grep -v '^ *+' conftest.er1
>conftest.err
13273 cat conftest.err
>&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); } &&
13276 { ac_try
='test -z "$ac_c_werror_flag"
13277 || test ! -s conftest.err'
13278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13279 (eval $ac_try) 2>&5
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); }; } &&
13283 { ac_try
='test -s conftest.$ac_objext'
13284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13285 (eval $ac_try) 2>&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }; }; then
13289 ac_header_compiler
=yes
13291 echo "$as_me: failed program was:" >&5
13292 sed 's/^/| /' conftest.
$ac_ext >&5
13294 ac_header_compiler
=no
13296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13298 echo "${ECHO_T}$ac_header_compiler" >&6
13300 # Is the header present?
13301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13303 cat >conftest.
$ac_ext <<_ACEOF
13306 cat confdefs.h
>>conftest.
$ac_ext
13307 cat >>conftest.
$ac_ext <<_ACEOF
13308 /* end confdefs.h. */
13309 #include <$ac_header>
13311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13314 grep -v '^ *+' conftest.er1
>conftest.err
13316 cat conftest.err
>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } >/dev
/null
; then
13319 if test -s conftest.err
; then
13320 ac_cpp_err
=$ac_c_preproc_warn_flag
13321 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13328 if test -z "$ac_cpp_err"; then
13329 ac_header_preproc
=yes
13331 echo "$as_me: failed program was:" >&5
13332 sed 's/^/| /' conftest.
$ac_ext >&5
13334 ac_header_preproc
=no
13336 rm -f conftest.err conftest.
$ac_ext
13337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13338 echo "${ECHO_T}$ac_header_preproc" >&6
13340 # So? What about this header?
13341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13347 ac_header_preproc
=yes
13350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13364 ## ------------------------------------------ ##
13365 ## Report this to the AC_PACKAGE_NAME lists. ##
13366 ## ------------------------------------------ ##
13369 sed "s/^/$as_me: WARNING: /" >&2
13372 echo "$as_me:$LINENO: checking for $ac_header" >&5
13373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13375 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 eval "$as_ac_Header=\$ac_header_preproc"
13379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13384 cat >>confdefs.h
<<_ACEOF
13385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13395 for ac_header
in string.h memory.h
strings.h
13397 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13399 echo "$as_me:$LINENO: checking for $ac_header" >&5
13400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13402 echo $ECHO_N "(cached) $ECHO_C" >&6
13404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13407 # Is the header compilable?
13408 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13409 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13410 cat >conftest.
$ac_ext <<_ACEOF
13413 cat confdefs.h
>>conftest.
$ac_ext
13414 cat >>conftest.
$ac_ext <<_ACEOF
13415 /* end confdefs.h. */
13416 $ac_includes_default
13417 #include <$ac_header>
13419 rm -f conftest.
$ac_objext
13420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13421 (eval $ac_compile) 2>conftest.er1
13423 grep -v '^ *+' conftest.er1
>conftest.err
13425 cat conftest.err
>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); } &&
13428 { ac_try
='test -z "$ac_c_werror_flag"
13429 || test ! -s conftest.err'
13430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13431 (eval $ac_try) 2>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); }; } &&
13435 { ac_try
='test -s conftest.$ac_objext'
13436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13437 (eval $ac_try) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); }; }; then
13441 ac_header_compiler
=yes
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.
$ac_ext >&5
13446 ac_header_compiler
=no
13448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13450 echo "${ECHO_T}$ac_header_compiler" >&6
13452 # Is the header present?
13453 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13455 cat >conftest.
$ac_ext <<_ACEOF
13458 cat confdefs.h
>>conftest.
$ac_ext
13459 cat >>conftest.
$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13461 #include <$ac_header>
13463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13464 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13466 grep -v '^ *+' conftest.er1
>conftest.err
13468 cat conftest.err
>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } >/dev
/null
; then
13471 if test -s conftest.err
; then
13472 ac_cpp_err
=$ac_c_preproc_warn_flag
13473 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13480 if test -z "$ac_cpp_err"; then
13481 ac_header_preproc
=yes
13483 echo "$as_me: failed program was:" >&5
13484 sed 's/^/| /' conftest.
$ac_ext >&5
13486 ac_header_preproc
=no
13488 rm -f conftest.err conftest.
$ac_ext
13489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13490 echo "${ECHO_T}$ac_header_preproc" >&6
13492 # So? What about this header?
13493 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13498 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13499 ac_header_preproc
=yes
13502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13506 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13507 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13509 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13512 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13513 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13516 ## ------------------------------------------ ##
13517 ## Report this to the AC_PACKAGE_NAME lists. ##
13518 ## ------------------------------------------ ##
13521 sed "s/^/$as_me: WARNING: /" >&2
13524 echo "$as_me:$LINENO: checking for $ac_header" >&5
13525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 eval "$as_ac_Header=\$ac_header_preproc"
13531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13536 cat >>confdefs.h
<<_ACEOF
13537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13545 for ac_header
in sys
/fault.h
13547 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13549 echo "$as_me:$LINENO: checking for $ac_header" >&5
13550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13557 # Is the header compilable?
13558 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13559 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13560 cat >conftest.
$ac_ext <<_ACEOF
13563 cat confdefs.h
>>conftest.
$ac_ext
13564 cat >>conftest.
$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13566 $ac_includes_default
13567 #include <$ac_header>
13569 rm -f conftest.
$ac_objext
13570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13571 (eval $ac_compile) 2>conftest.er1
13573 grep -v '^ *+' conftest.er1
>conftest.err
13575 cat conftest.err
>&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); } &&
13578 { ac_try
='test -z "$ac_c_werror_flag"
13579 || test ! -s conftest.err'
13580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13581 (eval $ac_try) 2>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); }; } &&
13585 { ac_try
='test -s conftest.$ac_objext'
13586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13587 (eval $ac_try) 2>&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); }; }; then
13591 ac_header_compiler
=yes
13593 echo "$as_me: failed program was:" >&5
13594 sed 's/^/| /' conftest.
$ac_ext >&5
13596 ac_header_compiler
=no
13598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13599 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13600 echo "${ECHO_T}$ac_header_compiler" >&6
13602 # Is the header present?
13603 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13604 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13605 cat >conftest.
$ac_ext <<_ACEOF
13608 cat confdefs.h
>>conftest.
$ac_ext
13609 cat >>conftest.
$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13611 #include <$ac_header>
13613 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13614 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13616 grep -v '^ *+' conftest.er1
>conftest.err
13618 cat conftest.err
>&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); } >/dev
/null
; then
13621 if test -s conftest.err
; then
13622 ac_cpp_err
=$ac_c_preproc_warn_flag
13623 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13630 if test -z "$ac_cpp_err"; then
13631 ac_header_preproc
=yes
13633 echo "$as_me: failed program was:" >&5
13634 sed 's/^/| /' conftest.
$ac_ext >&5
13636 ac_header_preproc
=no
13638 rm -f conftest.err conftest.
$ac_ext
13639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13640 echo "${ECHO_T}$ac_header_preproc" >&6
13642 # So? What about this header?
13643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13645 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13646 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13648 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13649 ac_header_preproc
=yes
13652 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13653 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13654 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13657 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13658 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13659 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13661 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13662 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13663 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13666 ## ------------------------------------------ ##
13667 ## Report this to the AC_PACKAGE_NAME lists. ##
13668 ## ------------------------------------------ ##
13671 sed "s/^/$as_me: WARNING: /" >&2
13674 echo "$as_me:$LINENO: checking for $ac_header" >&5
13675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 eval "$as_ac_Header=\$ac_header_preproc"
13681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13686 cat >>confdefs.h
<<_ACEOF
13687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13695 for ac_header
in sys
/file.h
13697 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13699 echo "$as_me:$LINENO: checking for $ac_header" >&5
13700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13707 # Is the header compilable?
13708 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13709 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13710 cat >conftest.
$ac_ext <<_ACEOF
13713 cat confdefs.h
>>conftest.
$ac_ext
13714 cat >>conftest.
$ac_ext <<_ACEOF
13715 /* end confdefs.h. */
13716 $ac_includes_default
13717 #include <$ac_header>
13719 rm -f conftest.
$ac_objext
13720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13721 (eval $ac_compile) 2>conftest.er1
13723 grep -v '^ *+' conftest.er1
>conftest.err
13725 cat conftest.err
>&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); } &&
13728 { ac_try
='test -z "$ac_c_werror_flag"
13729 || test ! -s conftest.err'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; } &&
13735 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
13741 ac_header_compiler
=yes
13743 echo "$as_me: failed program was:" >&5
13744 sed 's/^/| /' conftest.
$ac_ext >&5
13746 ac_header_compiler
=no
13748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13750 echo "${ECHO_T}$ac_header_compiler" >&6
13752 # Is the header present?
13753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13755 cat >conftest.
$ac_ext <<_ACEOF
13758 cat confdefs.h
>>conftest.
$ac_ext
13759 cat >>conftest.
$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13761 #include <$ac_header>
13763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13764 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13766 grep -v '^ *+' conftest.er1
>conftest.err
13768 cat conftest.err
>&5
13769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13770 (exit $ac_status); } >/dev
/null
; then
13771 if test -s conftest.err
; then
13772 ac_cpp_err
=$ac_c_preproc_warn_flag
13773 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13780 if test -z "$ac_cpp_err"; then
13781 ac_header_preproc
=yes
13783 echo "$as_me: failed program was:" >&5
13784 sed 's/^/| /' conftest.
$ac_ext >&5
13786 ac_header_preproc
=no
13788 rm -f conftest.err conftest.
$ac_ext
13789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13790 echo "${ECHO_T}$ac_header_preproc" >&6
13792 # So? What about this header?
13793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13795 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13798 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13799 ac_header_preproc
=yes
13802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13806 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13807 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13808 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13809 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13812 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13813 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13816 ## ------------------------------------------ ##
13817 ## Report this to the AC_PACKAGE_NAME lists. ##
13818 ## ------------------------------------------ ##
13821 sed "s/^/$as_me: WARNING: /" >&2
13824 echo "$as_me:$LINENO: checking for $ac_header" >&5
13825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13827 echo $ECHO_N "(cached) $ECHO_C" >&6
13829 eval "$as_ac_Header=\$ac_header_preproc"
13831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13836 cat >>confdefs.h
<<_ACEOF
13837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13845 for ac_header
in sys
/filio.h
13847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13849 echo "$as_me:$LINENO: checking for $ac_header" >&5
13850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13852 echo $ECHO_N "(cached) $ECHO_C" >&6
13854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13857 # Is the header compilable?
13858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13860 cat >conftest.
$ac_ext <<_ACEOF
13863 cat confdefs.h
>>conftest.
$ac_ext
13864 cat >>conftest.
$ac_ext <<_ACEOF
13865 /* end confdefs.h. */
13866 $ac_includes_default
13867 #include <$ac_header>
13869 rm -f conftest.
$ac_objext
13870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13871 (eval $ac_compile) 2>conftest.er1
13873 grep -v '^ *+' conftest.er1
>conftest.err
13875 cat conftest.err
>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } &&
13878 { ac_try
='test -z "$ac_c_werror_flag"
13879 || test ! -s conftest.err'
13880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13881 (eval $ac_try) 2>&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); }; } &&
13885 { ac_try
='test -s conftest.$ac_objext'
13886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13887 (eval $ac_try) 2>&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); }; }; then
13891 ac_header_compiler
=yes
13893 echo "$as_me: failed program was:" >&5
13894 sed 's/^/| /' conftest.
$ac_ext >&5
13896 ac_header_compiler
=no
13898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13900 echo "${ECHO_T}$ac_header_compiler" >&6
13902 # Is the header present?
13903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13905 cat >conftest.
$ac_ext <<_ACEOF
13908 cat confdefs.h
>>conftest.
$ac_ext
13909 cat >>conftest.
$ac_ext <<_ACEOF
13910 /* end confdefs.h. */
13911 #include <$ac_header>
13913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13914 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13916 grep -v '^ *+' conftest.er1
>conftest.err
13918 cat conftest.err
>&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); } >/dev
/null
; then
13921 if test -s conftest.err
; then
13922 ac_cpp_err
=$ac_c_preproc_warn_flag
13923 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13930 if test -z "$ac_cpp_err"; then
13931 ac_header_preproc
=yes
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.
$ac_ext >&5
13936 ac_header_preproc
=no
13938 rm -f conftest.err conftest.
$ac_ext
13939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13940 echo "${ECHO_T}$ac_header_preproc" >&6
13942 # So? What about this header?
13943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13949 ac_header_preproc
=yes
13952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13966 ## ------------------------------------------ ##
13967 ## Report this to the AC_PACKAGE_NAME lists. ##
13968 ## ------------------------------------------ ##
13971 sed "s/^/$as_me: WARNING: /" >&2
13974 echo "$as_me:$LINENO: checking for $ac_header" >&5
13975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13977 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 eval "$as_ac_Header=\$ac_header_preproc"
13981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13986 cat >>confdefs.h
<<_ACEOF
13987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13995 for ac_header
in sys
/ioctl.h
13997 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13999 echo "$as_me:$LINENO: checking for $ac_header" >&5
14000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14002 echo $ECHO_N "(cached) $ECHO_C" >&6
14004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14007 # Is the header compilable?
14008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14010 cat >conftest.
$ac_ext <<_ACEOF
14013 cat confdefs.h
>>conftest.
$ac_ext
14014 cat >>conftest.
$ac_ext <<_ACEOF
14015 /* end confdefs.h. */
14016 $ac_includes_default
14017 #include <$ac_header>
14019 rm -f conftest.
$ac_objext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 (eval $ac_compile) 2>conftest.er1
14023 grep -v '^ *+' conftest.er1
>conftest.err
14025 cat conftest.err
>&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try
='test -z "$ac_c_werror_flag"
14029 || test ! -s conftest.err'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try
='test -s conftest.$ac_objext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 ac_header_compiler
=yes
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.
$ac_ext >&5
14046 ac_header_compiler
=no
14048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14050 echo "${ECHO_T}$ac_header_compiler" >&6
14052 # Is the header present?
14053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14055 cat >conftest.
$ac_ext <<_ACEOF
14058 cat confdefs.h
>>conftest.
$ac_ext
14059 cat >>conftest.
$ac_ext <<_ACEOF
14060 /* end confdefs.h. */
14061 #include <$ac_header>
14063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14064 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14066 grep -v '^ *+' conftest.er1
>conftest.err
14068 cat conftest.err
>&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } >/dev
/null
; then
14071 if test -s conftest.err
; then
14072 ac_cpp_err
=$ac_c_preproc_warn_flag
14073 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14080 if test -z "$ac_cpp_err"; then
14081 ac_header_preproc
=yes
14083 echo "$as_me: failed program was:" >&5
14084 sed 's/^/| /' conftest.
$ac_ext >&5
14086 ac_header_preproc
=no
14088 rm -f conftest.err conftest.
$ac_ext
14089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14090 echo "${ECHO_T}$ac_header_preproc" >&6
14092 # So? What about this header?
14093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14099 ac_header_preproc
=yes
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14116 ## ------------------------------------------ ##
14117 ## Report this to the AC_PACKAGE_NAME lists. ##
14118 ## ------------------------------------------ ##
14121 sed "s/^/$as_me: WARNING: /" >&2
14124 echo "$as_me:$LINENO: checking for $ac_header" >&5
14125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14127 echo $ECHO_N "(cached) $ECHO_C" >&6
14129 eval "$as_ac_Header=\$ac_header_preproc"
14131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14136 cat >>confdefs.h
<<_ACEOF
14137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14145 for ac_header
in sys
/param.h
14147 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14149 echo "$as_me:$LINENO: checking for $ac_header" >&5
14150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14152 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14157 # Is the header compilable?
14158 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14160 cat >conftest.
$ac_ext <<_ACEOF
14163 cat confdefs.h
>>conftest.
$ac_ext
14164 cat >>conftest.
$ac_ext <<_ACEOF
14165 /* end confdefs.h. */
14166 $ac_includes_default
14167 #include <$ac_header>
14169 rm -f conftest.
$ac_objext
14170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14171 (eval $ac_compile) 2>conftest.er1
14173 grep -v '^ *+' conftest.er1
>conftest.err
14175 cat conftest.err
>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } &&
14178 { ac_try
='test -z "$ac_c_werror_flag"
14179 || test ! -s conftest.err'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try
='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14191 ac_header_compiler
=yes
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.
$ac_ext >&5
14196 ac_header_compiler
=no
14198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14200 echo "${ECHO_T}$ac_header_compiler" >&6
14202 # Is the header present?
14203 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14204 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14205 cat >conftest.
$ac_ext <<_ACEOF
14208 cat confdefs.h
>>conftest.
$ac_ext
14209 cat >>conftest.
$ac_ext <<_ACEOF
14210 /* end confdefs.h. */
14211 #include <$ac_header>
14213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14216 grep -v '^ *+' conftest.er1
>conftest.err
14218 cat conftest.err
>&5
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); } >/dev
/null
; then
14221 if test -s conftest.err
; then
14222 ac_cpp_err
=$ac_c_preproc_warn_flag
14223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14230 if test -z "$ac_cpp_err"; then
14231 ac_header_preproc
=yes
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.
$ac_ext >&5
14236 ac_header_preproc
=no
14238 rm -f conftest.err conftest.
$ac_ext
14239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14240 echo "${ECHO_T}$ac_header_preproc" >&6
14242 # So? What about this header?
14243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14246 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14248 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14249 ac_header_preproc
=yes
14252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14256 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14257 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14258 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14259 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14262 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14263 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14266 ## ------------------------------------------ ##
14267 ## Report this to the AC_PACKAGE_NAME lists. ##
14268 ## ------------------------------------------ ##
14271 sed "s/^/$as_me: WARNING: /" >&2
14274 echo "$as_me:$LINENO: checking for $ac_header" >&5
14275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14277 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 eval "$as_ac_Header=\$ac_header_preproc"
14281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14286 cat >>confdefs.h
<<_ACEOF
14287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14295 for ac_header
in sys
/resource.h
14297 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14299 echo "$as_me:$LINENO: checking for $ac_header" >&5
14300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14302 echo $ECHO_N "(cached) $ECHO_C" >&6
14304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14307 # Is the header compilable?
14308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14310 cat >conftest.
$ac_ext <<_ACEOF
14313 cat confdefs.h
>>conftest.
$ac_ext
14314 cat >>conftest.
$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14316 $ac_includes_default
14317 #include <$ac_header>
14319 rm -f conftest.
$ac_objext
14320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14321 (eval $ac_compile) 2>conftest.er1
14323 grep -v '^ *+' conftest.er1
>conftest.err
14325 cat conftest.err
>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try
='test -z "$ac_c_werror_flag"
14329 || test ! -s conftest.err'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; } &&
14335 { ac_try
='test -s conftest.$ac_objext'
14336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14337 (eval $ac_try) 2>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; }; then
14341 ac_header_compiler
=yes
14343 echo "$as_me: failed program was:" >&5
14344 sed 's/^/| /' conftest.
$ac_ext >&5
14346 ac_header_compiler
=no
14348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14350 echo "${ECHO_T}$ac_header_compiler" >&6
14352 # Is the header present?
14353 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14355 cat >conftest.
$ac_ext <<_ACEOF
14358 cat confdefs.h
>>conftest.
$ac_ext
14359 cat >>conftest.
$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361 #include <$ac_header>
14363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14364 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14366 grep -v '^ *+' conftest.er1
>conftest.err
14368 cat conftest.err
>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } >/dev
/null
; then
14371 if test -s conftest.err
; then
14372 ac_cpp_err
=$ac_c_preproc_warn_flag
14373 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14380 if test -z "$ac_cpp_err"; then
14381 ac_header_preproc
=yes
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.
$ac_ext >&5
14386 ac_header_preproc
=no
14388 rm -f conftest.err conftest.
$ac_ext
14389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14390 echo "${ECHO_T}$ac_header_preproc" >&6
14392 # So? What about this header?
14393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14395 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14396 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14398 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14399 ac_header_preproc
=yes
14402 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14403 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14404 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14405 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14406 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14407 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14408 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14409 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14412 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14413 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14416 ## ------------------------------------------ ##
14417 ## Report this to the AC_PACKAGE_NAME lists. ##
14418 ## ------------------------------------------ ##
14421 sed "s/^/$as_me: WARNING: /" >&2
14424 echo "$as_me:$LINENO: checking for $ac_header" >&5
14425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14427 echo $ECHO_N "(cached) $ECHO_C" >&6
14429 eval "$as_ac_Header=\$ac_header_preproc"
14431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14436 cat >>confdefs.h
<<_ACEOF
14437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14445 for ac_header
in sys
/proc.h
14447 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14448 echo "$as_me:$LINENO: checking for $ac_header" >&5
14449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14451 echo $ECHO_N "(cached) $ECHO_C" >&6
14453 cat >conftest.
$ac_ext <<_ACEOF
14456 cat confdefs.h
>>conftest.
$ac_ext
14457 cat >>conftest.
$ac_ext <<_ACEOF
14458 /* end confdefs.h. */
14459 #if HAVE_SYS_PARAM_H
14460 # include <sys/param.h>
14464 #include <$ac_header>
14466 rm -f conftest.
$ac_objext
14467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14468 (eval $ac_compile) 2>conftest.er1
14470 grep -v '^ *+' conftest.er1
>conftest.err
14472 cat conftest.err
>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); } &&
14475 { ac_try
='test -z "$ac_c_werror_flag"
14476 || test ! -s conftest.err'
14477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478 (eval $ac_try) 2>&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 (exit $ac_status); }; } &&
14482 { ac_try
='test -s conftest.$ac_objext'
14483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14484 (eval $ac_try) 2>&5
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); }; }; then
14488 eval "$as_ac_Header=yes"
14490 echo "$as_me: failed program was:" >&5
14491 sed 's/^/| /' conftest.
$ac_ext >&5
14493 eval "$as_ac_Header=no"
14495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14500 cat >>confdefs.h
<<_ACEOF
14501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14509 for ac_header
in sys
/procfs.h
14511 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14513 echo "$as_me:$LINENO: checking for $ac_header" >&5
14514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14521 # Is the header compilable?
14522 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14524 cat >conftest.
$ac_ext <<_ACEOF
14527 cat confdefs.h
>>conftest.
$ac_ext
14528 cat >>conftest.
$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14530 $ac_includes_default
14531 #include <$ac_header>
14533 rm -f conftest.
$ac_objext
14534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14535 (eval $ac_compile) 2>conftest.er1
14537 grep -v '^ *+' conftest.er1
>conftest.err
14539 cat conftest.err
>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try
='test -z "$ac_c_werror_flag"
14543 || test ! -s conftest.err'
14544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14545 (eval $ac_try) 2>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; } &&
14549 { ac_try
='test -s conftest.$ac_objext'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; }; then
14555 ac_header_compiler
=yes
14557 echo "$as_me: failed program was:" >&5
14558 sed 's/^/| /' conftest.
$ac_ext >&5
14560 ac_header_compiler
=no
14562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14564 echo "${ECHO_T}$ac_header_compiler" >&6
14566 # Is the header present?
14567 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14568 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14569 cat >conftest.
$ac_ext <<_ACEOF
14572 cat confdefs.h
>>conftest.
$ac_ext
14573 cat >>conftest.
$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14575 #include <$ac_header>
14577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14578 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14580 grep -v '^ *+' conftest.er1
>conftest.err
14582 cat conftest.err
>&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } >/dev
/null
; then
14585 if test -s conftest.err
; then
14586 ac_cpp_err
=$ac_c_preproc_warn_flag
14587 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14594 if test -z "$ac_cpp_err"; then
14595 ac_header_preproc
=yes
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.
$ac_ext >&5
14600 ac_header_preproc
=no
14602 rm -f conftest.err conftest.
$ac_ext
14603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14604 echo "${ECHO_T}$ac_header_preproc" >&6
14606 # So? What about this header?
14607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14609 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14613 ac_header_preproc
=yes
14616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14620 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14622 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14623 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14626 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14630 ## ------------------------------------------ ##
14631 ## Report this to the AC_PACKAGE_NAME lists. ##
14632 ## ------------------------------------------ ##
14635 sed "s/^/$as_me: WARNING: /" >&2
14638 echo "$as_me:$LINENO: checking for $ac_header" >&5
14639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14641 echo $ECHO_N "(cached) $ECHO_C" >&6
14643 eval "$as_ac_Header=\$ac_header_preproc"
14645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14650 cat >>confdefs.h
<<_ACEOF
14651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14660 for ac_header
in sys
/ptrace.h ptrace.h
14662 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14664 echo "$as_me:$LINENO: checking for $ac_header" >&5
14665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14667 echo $ECHO_N "(cached) $ECHO_C" >&6
14669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14672 # Is the header compilable?
14673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14675 cat >conftest.
$ac_ext <<_ACEOF
14678 cat confdefs.h
>>conftest.
$ac_ext
14679 cat >>conftest.
$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681 $ac_includes_default
14682 #include <$ac_header>
14684 rm -f conftest.
$ac_objext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14686 (eval $ac_compile) 2>conftest.er1
14688 grep -v '^ *+' conftest.er1
>conftest.err
14690 cat conftest.err
>&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } &&
14693 { ac_try
='test -z "$ac_c_werror_flag"
14694 || test ! -s conftest.err'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; } &&
14700 { ac_try
='test -s conftest.$ac_objext'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; }; then
14706 ac_header_compiler
=yes
14708 echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.
$ac_ext >&5
14711 ac_header_compiler
=no
14713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14715 echo "${ECHO_T}$ac_header_compiler" >&6
14717 # Is the header present?
14718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14720 cat >conftest.
$ac_ext <<_ACEOF
14723 cat confdefs.h
>>conftest.
$ac_ext
14724 cat >>conftest.
$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 #include <$ac_header>
14728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14731 grep -v '^ *+' conftest.er1
>conftest.err
14733 cat conftest.err
>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } >/dev
/null
; then
14736 if test -s conftest.err
; then
14737 ac_cpp_err
=$ac_c_preproc_warn_flag
14738 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14745 if test -z "$ac_cpp_err"; then
14746 ac_header_preproc
=yes
14748 echo "$as_me: failed program was:" >&5
14749 sed 's/^/| /' conftest.
$ac_ext >&5
14751 ac_header_preproc
=no
14753 rm -f conftest.err conftest.
$ac_ext
14754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14755 echo "${ECHO_T}$ac_header_preproc" >&6
14757 # So? What about this header?
14758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14764 ac_header_preproc
=yes
14767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14781 ## ------------------------------------------ ##
14782 ## Report this to the AC_PACKAGE_NAME lists. ##
14783 ## ------------------------------------------ ##
14786 sed "s/^/$as_me: WARNING: /" >&2
14789 echo "$as_me:$LINENO: checking for $ac_header" >&5
14790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14794 eval "$as_ac_Header=\$ac_header_preproc"
14796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14801 cat >>confdefs.h
<<_ACEOF
14802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14811 for ac_header
in sys
/reg.h sys
/debugreg.h
14813 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14815 echo "$as_me:$LINENO: checking for $ac_header" >&5
14816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14818 echo $ECHO_N "(cached) $ECHO_C" >&6
14820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14823 # Is the header compilable?
14824 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14826 cat >conftest.
$ac_ext <<_ACEOF
14829 cat confdefs.h
>>conftest.
$ac_ext
14830 cat >>conftest.
$ac_ext <<_ACEOF
14831 /* end confdefs.h. */
14832 $ac_includes_default
14833 #include <$ac_header>
14835 rm -f conftest.
$ac_objext
14836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14837 (eval $ac_compile) 2>conftest.er1
14839 grep -v '^ *+' conftest.er1
>conftest.err
14841 cat conftest.err
>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); } &&
14844 { ac_try
='test -z "$ac_c_werror_flag"
14845 || test ! -s conftest.err'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; } &&
14851 { ac_try
='test -s conftest.$ac_objext'
14852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14853 (eval $ac_try) 2>&5
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }; }; then
14857 ac_header_compiler
=yes
14859 echo "$as_me: failed program was:" >&5
14860 sed 's/^/| /' conftest.
$ac_ext >&5
14862 ac_header_compiler
=no
14864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14866 echo "${ECHO_T}$ac_header_compiler" >&6
14868 # Is the header present?
14869 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14871 cat >conftest.
$ac_ext <<_ACEOF
14874 cat confdefs.h
>>conftest.
$ac_ext
14875 cat >>conftest.
$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14877 #include <$ac_header>
14879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14880 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14882 grep -v '^ *+' conftest.er1
>conftest.err
14884 cat conftest.err
>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); } >/dev
/null
; then
14887 if test -s conftest.err
; then
14888 ac_cpp_err
=$ac_c_preproc_warn_flag
14889 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14896 if test -z "$ac_cpp_err"; then
14897 ac_header_preproc
=yes
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.
$ac_ext >&5
14902 ac_header_preproc
=no
14904 rm -f conftest.err conftest.
$ac_ext
14905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14906 echo "${ECHO_T}$ac_header_preproc" >&6
14908 # So? What about this header?
14909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14914 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14915 ac_header_preproc
=yes
14918 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14920 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14922 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14923 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14924 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14925 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14928 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14929 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14932 ## ------------------------------------------ ##
14933 ## Report this to the AC_PACKAGE_NAME lists. ##
14934 ## ------------------------------------------ ##
14937 sed "s/^/$as_me: WARNING: /" >&2
14940 echo "$as_me:$LINENO: checking for $ac_header" >&5
14941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14943 echo $ECHO_N "(cached) $ECHO_C" >&6
14945 eval "$as_ac_Header=\$ac_header_preproc"
14947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14952 cat >>confdefs.h
<<_ACEOF
14953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14961 for ac_header
in sys
/select.h
14963 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14965 echo "$as_me:$LINENO: checking for $ac_header" >&5
14966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14968 echo $ECHO_N "(cached) $ECHO_C" >&6
14970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14973 # Is the header compilable?
14974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14976 cat >conftest.
$ac_ext <<_ACEOF
14979 cat confdefs.h
>>conftest.
$ac_ext
14980 cat >>conftest.
$ac_ext <<_ACEOF
14981 /* end confdefs.h. */
14982 $ac_includes_default
14983 #include <$ac_header>
14985 rm -f conftest.
$ac_objext
14986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987 (eval $ac_compile) 2>conftest.er1
14989 grep -v '^ *+' conftest.er1
>conftest.err
14991 cat conftest.err
>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); } &&
14994 { ac_try
='test -z "$ac_c_werror_flag"
14995 || test ! -s conftest.err'
14996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14997 (eval $ac_try) 2>&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); }; } &&
15001 { ac_try
='test -s conftest.$ac_objext'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; }; then
15007 ac_header_compiler
=yes
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.
$ac_ext >&5
15012 ac_header_compiler
=no
15014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15016 echo "${ECHO_T}$ac_header_compiler" >&6
15018 # Is the header present?
15019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15021 cat >conftest.
$ac_ext <<_ACEOF
15024 cat confdefs.h
>>conftest.
$ac_ext
15025 cat >>conftest.
$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15027 #include <$ac_header>
15029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15030 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15032 grep -v '^ *+' conftest.er1
>conftest.err
15034 cat conftest.err
>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } >/dev
/null
; then
15037 if test -s conftest.err
; then
15038 ac_cpp_err
=$ac_c_preproc_warn_flag
15039 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15046 if test -z "$ac_cpp_err"; then
15047 ac_header_preproc
=yes
15049 echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.
$ac_ext >&5
15052 ac_header_preproc
=no
15054 rm -f conftest.err conftest.
$ac_ext
15055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15056 echo "${ECHO_T}$ac_header_preproc" >&6
15058 # So? What about this header?
15059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15065 ac_header_preproc
=yes
15068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15082 ## ------------------------------------------ ##
15083 ## Report this to the AC_PACKAGE_NAME lists. ##
15084 ## ------------------------------------------ ##
15087 sed "s/^/$as_me: WARNING: /" >&2
15090 echo "$as_me:$LINENO: checking for $ac_header" >&5
15091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15093 echo $ECHO_N "(cached) $ECHO_C" >&6
15095 eval "$as_ac_Header=\$ac_header_preproc"
15097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15102 cat >>confdefs.h
<<_ACEOF
15103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15111 for ac_header
in sys
/syscall.h
15113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15115 echo "$as_me:$LINENO: checking for $ac_header" >&5
15116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15123 # Is the header compilable?
15124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15126 cat >conftest.
$ac_ext <<_ACEOF
15129 cat confdefs.h
>>conftest.
$ac_ext
15130 cat >>conftest.
$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15132 $ac_includes_default
15133 #include <$ac_header>
15135 rm -f conftest.
$ac_objext
15136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15137 (eval $ac_compile) 2>conftest.er1
15139 grep -v '^ *+' conftest.er1
>conftest.err
15141 cat conftest.err
>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); } &&
15144 { ac_try
='test -z "$ac_c_werror_flag"
15145 || test ! -s conftest.err'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; } &&
15151 { ac_try
='test -s conftest.$ac_objext'
15152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15153 (eval $ac_try) 2>&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); }; }; then
15157 ac_header_compiler
=yes
15159 echo "$as_me: failed program was:" >&5
15160 sed 's/^/| /' conftest.
$ac_ext >&5
15162 ac_header_compiler
=no
15164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15166 echo "${ECHO_T}$ac_header_compiler" >&6
15168 # Is the header present?
15169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15171 cat >conftest.
$ac_ext <<_ACEOF
15174 cat confdefs.h
>>conftest.
$ac_ext
15175 cat >>conftest.
$ac_ext <<_ACEOF
15176 /* end confdefs.h. */
15177 #include <$ac_header>
15179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15180 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15182 grep -v '^ *+' conftest.er1
>conftest.err
15184 cat conftest.err
>&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } >/dev
/null
; then
15187 if test -s conftest.err
; then
15188 ac_cpp_err
=$ac_c_preproc_warn_flag
15189 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15196 if test -z "$ac_cpp_err"; then
15197 ac_header_preproc
=yes
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.
$ac_ext >&5
15202 ac_header_preproc
=no
15204 rm -f conftest.err conftest.
$ac_ext
15205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15206 echo "${ECHO_T}$ac_header_preproc" >&6
15208 # So? What about this header?
15209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15215 ac_header_preproc
=yes
15218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15232 ## ------------------------------------------ ##
15233 ## Report this to the AC_PACKAGE_NAME lists. ##
15234 ## ------------------------------------------ ##
15237 sed "s/^/$as_me: WARNING: /" >&2
15240 echo "$as_me:$LINENO: checking for $ac_header" >&5
15241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 eval "$as_ac_Header=\$ac_header_preproc"
15247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15252 cat >>confdefs.h
<<_ACEOF
15253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15261 for ac_header
in sys
/types.h
15263 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15265 echo "$as_me:$LINENO: checking for $ac_header" >&5
15266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15273 # Is the header compilable?
15274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15276 cat >conftest.
$ac_ext <<_ACEOF
15279 cat confdefs.h
>>conftest.
$ac_ext
15280 cat >>conftest.
$ac_ext <<_ACEOF
15281 /* end confdefs.h. */
15282 $ac_includes_default
15283 #include <$ac_header>
15285 rm -f conftest.
$ac_objext
15286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15287 (eval $ac_compile) 2>conftest.er1
15289 grep -v '^ *+' conftest.er1
>conftest.err
15291 cat conftest.err
>&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); } &&
15294 { ac_try
='test -z "$ac_c_werror_flag"
15295 || test ! -s conftest.err'
15296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15297 (eval $ac_try) 2>&5
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); }; } &&
15301 { ac_try
='test -s conftest.$ac_objext'
15302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15303 (eval $ac_try) 2>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); }; }; then
15307 ac_header_compiler
=yes
15309 echo "$as_me: failed program was:" >&5
15310 sed 's/^/| /' conftest.
$ac_ext >&5
15312 ac_header_compiler
=no
15314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15316 echo "${ECHO_T}$ac_header_compiler" >&6
15318 # Is the header present?
15319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15321 cat >conftest.
$ac_ext <<_ACEOF
15324 cat confdefs.h
>>conftest.
$ac_ext
15325 cat >>conftest.
$ac_ext <<_ACEOF
15326 /* end confdefs.h. */
15327 #include <$ac_header>
15329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15330 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15332 grep -v '^ *+' conftest.er1
>conftest.err
15334 cat conftest.err
>&5
15335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15336 (exit $ac_status); } >/dev
/null
; then
15337 if test -s conftest.err
; then
15338 ac_cpp_err
=$ac_c_preproc_warn_flag
15339 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15346 if test -z "$ac_cpp_err"; then
15347 ac_header_preproc
=yes
15349 echo "$as_me: failed program was:" >&5
15350 sed 's/^/| /' conftest.
$ac_ext >&5
15352 ac_header_preproc
=no
15354 rm -f conftest.err conftest.
$ac_ext
15355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15356 echo "${ECHO_T}$ac_header_preproc" >&6
15358 # So? What about this header?
15359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15365 ac_header_preproc
=yes
15368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15382 ## ------------------------------------------ ##
15383 ## Report this to the AC_PACKAGE_NAME lists. ##
15384 ## ------------------------------------------ ##
15387 sed "s/^/$as_me: WARNING: /" >&2
15390 echo "$as_me:$LINENO: checking for $ac_header" >&5
15391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15393 echo $ECHO_N "(cached) $ECHO_C" >&6
15395 eval "$as_ac_Header=\$ac_header_preproc"
15397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15402 cat >>confdefs.h
<<_ACEOF
15403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15411 for ac_header
in sys
/user.h
15413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15414 echo "$as_me:$LINENO: checking for $ac_header" >&5
15415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 cat >conftest.
$ac_ext <<_ACEOF
15422 cat confdefs.h
>>conftest.
$ac_ext
15423 cat >>conftest.
$ac_ext <<_ACEOF
15424 /* end confdefs.h. */
15425 #if HAVE_SYS_PARAM_H
15426 # include <sys/param.h>
15430 #include <$ac_header>
15432 rm -f conftest.
$ac_objext
15433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15434 (eval $ac_compile) 2>conftest.er1
15436 grep -v '^ *+' conftest.er1
>conftest.err
15438 cat conftest.err
>&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } &&
15441 { ac_try
='test -z "$ac_c_werror_flag"
15442 || test ! -s conftest.err'
15443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15444 (eval $ac_try) 2>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); }; } &&
15448 { ac_try
='test -s conftest.$ac_objext'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; }; then
15454 eval "$as_ac_Header=yes"
15456 echo "$as_me: failed program was:" >&5
15457 sed 's/^/| /' conftest.
$ac_ext >&5
15459 eval "$as_ac_Header=no"
15461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15466 cat >>confdefs.h
<<_ACEOF
15467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15476 for ac_header
in sys
/wait.h
wait.h
15478 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15480 echo "$as_me:$LINENO: checking for $ac_header" >&5
15481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6
15485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15488 # Is the header compilable?
15489 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15490 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15491 cat >conftest.
$ac_ext <<_ACEOF
15494 cat confdefs.h
>>conftest.
$ac_ext
15495 cat >>conftest.
$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15497 $ac_includes_default
15498 #include <$ac_header>
15500 rm -f conftest.
$ac_objext
15501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15502 (eval $ac_compile) 2>conftest.er1
15504 grep -v '^ *+' conftest.er1
>conftest.err
15506 cat conftest.err
>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); } &&
15509 { ac_try
='test -z "$ac_c_werror_flag"
15510 || test ! -s conftest.err'
15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15512 (eval $ac_try) 2>&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); }; } &&
15516 { ac_try
='test -s conftest.$ac_objext'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; }; then
15522 ac_header_compiler
=yes
15524 echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.
$ac_ext >&5
15527 ac_header_compiler
=no
15529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15531 echo "${ECHO_T}$ac_header_compiler" >&6
15533 # Is the header present?
15534 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15536 cat >conftest.
$ac_ext <<_ACEOF
15539 cat confdefs.h
>>conftest.
$ac_ext
15540 cat >>conftest.
$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542 #include <$ac_header>
15544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15545 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15547 grep -v '^ *+' conftest.er1
>conftest.err
15549 cat conftest.err
>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); } >/dev
/null
; then
15552 if test -s conftest.err
; then
15553 ac_cpp_err
=$ac_c_preproc_warn_flag
15554 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15561 if test -z "$ac_cpp_err"; then
15562 ac_header_preproc
=yes
15564 echo "$as_me: failed program was:" >&5
15565 sed 's/^/| /' conftest.
$ac_ext >&5
15567 ac_header_preproc
=no
15569 rm -f conftest.err conftest.
$ac_ext
15570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15571 echo "${ECHO_T}$ac_header_preproc" >&6
15573 # So? What about this header?
15574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15577 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15579 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15580 ac_header_preproc
=yes
15583 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15584 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15585 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15586 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15587 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15588 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15589 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15590 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15593 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15594 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15597 ## ------------------------------------------ ##
15598 ## Report this to the AC_PACKAGE_NAME lists. ##
15599 ## ------------------------------------------ ##
15602 sed "s/^/$as_me: WARNING: /" >&2
15605 echo "$as_me:$LINENO: checking for $ac_header" >&5
15606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15608 echo $ECHO_N "(cached) $ECHO_C" >&6
15610 eval "$as_ac_Header=\$ac_header_preproc"
15612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15617 cat >>confdefs.h
<<_ACEOF
15618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15628 for ac_header
in termios.h termio.h sgtty.h
15630 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15632 echo "$as_me:$LINENO: checking for $ac_header" >&5
15633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15640 # Is the header compilable?
15641 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15642 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15643 cat >conftest.
$ac_ext <<_ACEOF
15646 cat confdefs.h
>>conftest.
$ac_ext
15647 cat >>conftest.
$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15649 $ac_includes_default
15650 #include <$ac_header>
15652 rm -f conftest.
$ac_objext
15653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15654 (eval $ac_compile) 2>conftest.er1
15656 grep -v '^ *+' conftest.er1
>conftest.err
15658 cat conftest.err
>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } &&
15661 { ac_try
='test -z "$ac_c_werror_flag"
15662 || test ! -s conftest.err'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; } &&
15668 { ac_try
='test -s conftest.$ac_objext'
15669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670 (eval $ac_try) 2>&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; }; then
15674 ac_header_compiler
=yes
15676 echo "$as_me: failed program was:" >&5
15677 sed 's/^/| /' conftest.
$ac_ext >&5
15679 ac_header_compiler
=no
15681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15683 echo "${ECHO_T}$ac_header_compiler" >&6
15685 # Is the header present?
15686 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15688 cat >conftest.
$ac_ext <<_ACEOF
15691 cat confdefs.h
>>conftest.
$ac_ext
15692 cat >>conftest.
$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15694 #include <$ac_header>
15696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15697 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15699 grep -v '^ *+' conftest.er1
>conftest.err
15701 cat conftest.err
>&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); } >/dev
/null
; then
15704 if test -s conftest.err
; then
15705 ac_cpp_err
=$ac_c_preproc_warn_flag
15706 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15713 if test -z "$ac_cpp_err"; then
15714 ac_header_preproc
=yes
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.
$ac_ext >&5
15719 ac_header_preproc
=no
15721 rm -f conftest.err conftest.
$ac_ext
15722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15723 echo "${ECHO_T}$ac_header_preproc" >&6
15725 # So? What about this header?
15726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15731 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15732 ac_header_preproc
=yes
15735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15736 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15738 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15739 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15740 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15741 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15742 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15745 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15746 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15749 ## ------------------------------------------ ##
15750 ## Report this to the AC_PACKAGE_NAME lists. ##
15751 ## ------------------------------------------ ##
15754 sed "s/^/$as_me: WARNING: /" >&2
15757 echo "$as_me:$LINENO: checking for $ac_header" >&5
15758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 eval "$as_ac_Header=\$ac_header_preproc"
15764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15769 cat >>confdefs.h
<<_ACEOF
15770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15778 for ac_header
in unistd.h
15780 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15782 echo "$as_me:$LINENO: checking for $ac_header" >&5
15783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15785 echo $ECHO_N "(cached) $ECHO_C" >&6
15787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15790 # Is the header compilable?
15791 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15792 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15793 cat >conftest.
$ac_ext <<_ACEOF
15796 cat confdefs.h
>>conftest.
$ac_ext
15797 cat >>conftest.
$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15799 $ac_includes_default
15800 #include <$ac_header>
15802 rm -f conftest.
$ac_objext
15803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15804 (eval $ac_compile) 2>conftest.er1
15806 grep -v '^ *+' conftest.er1
>conftest.err
15808 cat conftest.err
>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); } &&
15811 { ac_try
='test -z "$ac_c_werror_flag"
15812 || test ! -s conftest.err'
15813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814 (eval $ac_try) 2>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); }; } &&
15818 { ac_try
='test -s conftest.$ac_objext'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; }; then
15824 ac_header_compiler
=yes
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15829 ac_header_compiler
=no
15831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15833 echo "${ECHO_T}$ac_header_compiler" >&6
15835 # Is the header present?
15836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15838 cat >conftest.
$ac_ext <<_ACEOF
15841 cat confdefs.h
>>conftest.
$ac_ext
15842 cat >>conftest.
$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15844 #include <$ac_header>
15846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15849 grep -v '^ *+' conftest.er1
>conftest.err
15851 cat conftest.err
>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); } >/dev
/null
; then
15854 if test -s conftest.err
; then
15855 ac_cpp_err
=$ac_c_preproc_warn_flag
15856 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15863 if test -z "$ac_cpp_err"; then
15864 ac_header_preproc
=yes
15866 echo "$as_me: failed program was:" >&5
15867 sed 's/^/| /' conftest.
$ac_ext >&5
15869 ac_header_preproc
=no
15871 rm -f conftest.err conftest.
$ac_ext
15872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15873 echo "${ECHO_T}$ac_header_preproc" >&6
15875 # So? What about this header?
15876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15882 ac_header_preproc
=yes
15885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15899 ## ------------------------------------------ ##
15900 ## Report this to the AC_PACKAGE_NAME lists. ##
15901 ## ------------------------------------------ ##
15904 sed "s/^/$as_me: WARNING: /" >&2
15907 echo "$as_me:$LINENO: checking for $ac_header" >&5
15908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15910 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 eval "$as_ac_Header=\$ac_header_preproc"
15914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15919 cat >>confdefs.h
<<_ACEOF
15920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15928 # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
15929 # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
15930 # think that we don't have <curses.h> if we're using GCC.
15933 if test "$GCC" = yes; then
15935 cat >>confdefs.h
<<\_ACEOF
15936 #define _MSE_INT_H 1
15945 for ac_header
in curses.h cursesX.h ncurses.h ncurses
/ncurses.h
15947 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15949 echo "$as_me:$LINENO: checking for $ac_header" >&5
15950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15952 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15957 # Is the header compilable?
15958 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15959 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15960 cat >conftest.
$ac_ext <<_ACEOF
15963 cat confdefs.h
>>conftest.
$ac_ext
15964 cat >>conftest.
$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 $ac_includes_default
15967 #include <$ac_header>
15969 rm -f conftest.
$ac_objext
15970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15971 (eval $ac_compile) 2>conftest.er1
15973 grep -v '^ *+' conftest.er1
>conftest.err
15975 cat conftest.err
>&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); } &&
15978 { ac_try
='test -z "$ac_c_werror_flag"
15979 || test ! -s conftest.err'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; } &&
15985 { ac_try
='test -s conftest.$ac_objext'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; }; then
15991 ac_header_compiler
=yes
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.
$ac_ext >&5
15996 ac_header_compiler
=no
15998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16000 echo "${ECHO_T}$ac_header_compiler" >&6
16002 # Is the header present?
16003 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16004 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16005 cat >conftest.
$ac_ext <<_ACEOF
16008 cat confdefs.h
>>conftest.
$ac_ext
16009 cat >>conftest.
$ac_ext <<_ACEOF
16010 /* end confdefs.h. */
16011 #include <$ac_header>
16013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16014 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16016 grep -v '^ *+' conftest.er1
>conftest.err
16018 cat conftest.err
>&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } >/dev
/null
; then
16021 if test -s conftest.err
; then
16022 ac_cpp_err
=$ac_c_preproc_warn_flag
16023 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16030 if test -z "$ac_cpp_err"; then
16031 ac_header_preproc
=yes
16033 echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.
$ac_ext >&5
16036 ac_header_preproc
=no
16038 rm -f conftest.err conftest.
$ac_ext
16039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16040 echo "${ECHO_T}$ac_header_preproc" >&6
16042 # So? What about this header?
16043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16045 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16046 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16048 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16049 ac_header_preproc
=yes
16052 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16053 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16054 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16055 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16056 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16057 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16058 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16059 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16062 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16063 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16066 ## ------------------------------------------ ##
16067 ## Report this to the AC_PACKAGE_NAME lists. ##
16068 ## ------------------------------------------ ##
16071 sed "s/^/$as_me: WARNING: /" >&2
16074 echo "$as_me:$LINENO: checking for $ac_header" >&5
16075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16077 echo $ECHO_N "(cached) $ECHO_C" >&6
16079 eval "$as_ac_Header=\$ac_header_preproc"
16081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16086 cat >>confdefs.h
<<_ACEOF
16087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16095 for ac_header
in ncurses
/term.h
16097 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16099 echo "$as_me:$LINENO: checking for $ac_header" >&5
16100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16107 # Is the header compilable?
16108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16110 cat >conftest.
$ac_ext <<_ACEOF
16113 cat confdefs.h
>>conftest.
$ac_ext
16114 cat >>conftest.
$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 $ac_includes_default
16117 #include <$ac_header>
16119 rm -f conftest.
$ac_objext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16121 (eval $ac_compile) 2>conftest.er1
16123 grep -v '^ *+' conftest.er1
>conftest.err
16125 cat conftest.err
>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try
='test -z "$ac_c_werror_flag"
16129 || test ! -s conftest.err'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; } &&
16135 { ac_try
='test -s conftest.$ac_objext'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; }; then
16141 ac_header_compiler
=yes
16143 echo "$as_me: failed program was:" >&5
16144 sed 's/^/| /' conftest.
$ac_ext >&5
16146 ac_header_compiler
=no
16148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16150 echo "${ECHO_T}$ac_header_compiler" >&6
16152 # Is the header present?
16153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16155 cat >conftest.
$ac_ext <<_ACEOF
16158 cat confdefs.h
>>conftest.
$ac_ext
16159 cat >>conftest.
$ac_ext <<_ACEOF
16160 /* end confdefs.h. */
16161 #include <$ac_header>
16163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16166 grep -v '^ *+' conftest.er1
>conftest.err
16168 cat conftest.err
>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } >/dev
/null
; then
16171 if test -s conftest.err
; then
16172 ac_cpp_err
=$ac_c_preproc_warn_flag
16173 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16180 if test -z "$ac_cpp_err"; then
16181 ac_header_preproc
=yes
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.
$ac_ext >&5
16186 ac_header_preproc
=no
16188 rm -f conftest.err conftest.
$ac_ext
16189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16190 echo "${ECHO_T}$ac_header_preproc" >&6
16192 # So? What about this header?
16193 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16199 ac_header_preproc
=yes
16202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16216 ## ------------------------------------------ ##
16217 ## Report this to the AC_PACKAGE_NAME lists. ##
16218 ## ------------------------------------------ ##
16221 sed "s/^/$as_me: WARNING: /" >&2
16224 echo "$as_me:$LINENO: checking for $ac_header" >&5
16225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16227 echo $ECHO_N "(cached) $ECHO_C" >&6
16229 eval "$as_ac_Header=\$ac_header_preproc"
16231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16236 cat >>confdefs.h
<<_ACEOF
16237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16245 for ac_header
in term.h
16247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16248 echo "$as_me:$LINENO: checking for $ac_header" >&5
16249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16251 echo $ECHO_N "(cached) $ECHO_C" >&6
16253 cat >conftest.
$ac_ext <<_ACEOF
16256 cat confdefs.h
>>conftest.
$ac_ext
16257 cat >>conftest.
$ac_ext <<_ACEOF
16258 /* end confdefs.h. */
16260 # include <curses.h>
16264 #include <$ac_header>
16266 rm -f conftest.
$ac_objext
16267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16268 (eval $ac_compile) 2>conftest.er1
16270 grep -v '^ *+' conftest.er1
>conftest.err
16272 cat conftest.err
>&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); } &&
16275 { ac_try
='test -z "$ac_c_werror_flag"
16276 || test ! -s conftest.err'
16277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 (eval $ac_try) 2>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }; } &&
16282 { ac_try
='test -s conftest.$ac_objext'
16283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16284 (eval $ac_try) 2>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }; }; then
16288 eval "$as_ac_Header=yes"
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.
$ac_ext >&5
16293 eval "$as_ac_Header=no"
16295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16300 cat >>confdefs.h
<<_ACEOF
16301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16309 # Check for HP/UX 64-bit shared library support
16311 for ac_header
in elf_hp.h
16313 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16315 echo "$as_me:$LINENO: checking for $ac_header" >&5
16316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16318 echo $ECHO_N "(cached) $ECHO_C" >&6
16320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16323 # Is the header compilable?
16324 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16325 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16326 cat >conftest.
$ac_ext <<_ACEOF
16329 cat confdefs.h
>>conftest.
$ac_ext
16330 cat >>conftest.
$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 $ac_includes_default
16333 #include <$ac_header>
16335 rm -f conftest.
$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>conftest.er1
16339 grep -v '^ *+' conftest.er1
>conftest.err
16341 cat conftest.err
>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try
='test -z "$ac_c_werror_flag"
16345 || test ! -s conftest.err'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; } &&
16351 { ac_try
='test -s conftest.$ac_objext'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 ac_header_compiler
=yes
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.
$ac_ext >&5
16362 ac_header_compiler
=no
16364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16365 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16366 echo "${ECHO_T}$ac_header_compiler" >&6
16368 # Is the header present?
16369 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16371 cat >conftest.
$ac_ext <<_ACEOF
16374 cat confdefs.h
>>conftest.
$ac_ext
16375 cat >>conftest.
$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 #include <$ac_header>
16379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16380 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16382 grep -v '^ *+' conftest.er1
>conftest.err
16384 cat conftest.err
>&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } >/dev
/null
; then
16387 if test -s conftest.err
; then
16388 ac_cpp_err
=$ac_c_preproc_warn_flag
16389 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16396 if test -z "$ac_cpp_err"; then
16397 ac_header_preproc
=yes
16399 echo "$as_me: failed program was:" >&5
16400 sed 's/^/| /' conftest.
$ac_ext >&5
16402 ac_header_preproc
=no
16404 rm -f conftest.err conftest.
$ac_ext
16405 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16406 echo "${ECHO_T}$ac_header_preproc" >&6
16408 # So? What about this header?
16409 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16411 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16412 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16414 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16415 ac_header_preproc
=yes
16418 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16419 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16420 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16421 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16422 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16423 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16424 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16425 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16427 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16428 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16429 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16432 ## ------------------------------------------ ##
16433 ## Report this to the AC_PACKAGE_NAME lists. ##
16434 ## ------------------------------------------ ##
16437 sed "s/^/$as_me: WARNING: /" >&2
16440 echo "$as_me:$LINENO: checking for $ac_header" >&5
16441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16443 echo $ECHO_N "(cached) $ECHO_C" >&6
16445 eval "$as_ac_Header=\$ac_header_preproc"
16447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16452 cat >>confdefs.h
<<_ACEOF
16453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16461 # FIXME: kettenis/20030102: In most cases we include these
16462 # unconditionally, so what's the point in checking these?
16465 for ac_header
in ctype.h
time.h
16467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16469 echo "$as_me:$LINENO: checking for $ac_header" >&5
16470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16472 echo $ECHO_N "(cached) $ECHO_C" >&6
16474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16477 # Is the header compilable?
16478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16480 cat >conftest.
$ac_ext <<_ACEOF
16483 cat confdefs.h
>>conftest.
$ac_ext
16484 cat >>conftest.
$ac_ext <<_ACEOF
16485 /* end confdefs.h. */
16486 $ac_includes_default
16487 #include <$ac_header>
16489 rm -f conftest.
$ac_objext
16490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16491 (eval $ac_compile) 2>conftest.er1
16493 grep -v '^ *+' conftest.er1
>conftest.err
16495 cat conftest.err
>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } &&
16498 { ac_try
='test -z "$ac_c_werror_flag"
16499 || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try
='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 ac_header_compiler
=yes
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.
$ac_ext >&5
16516 ac_header_compiler
=no
16518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16520 echo "${ECHO_T}$ac_header_compiler" >&6
16522 # Is the header present?
16523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16525 cat >conftest.
$ac_ext <<_ACEOF
16528 cat confdefs.h
>>conftest.
$ac_ext
16529 cat >>conftest.
$ac_ext <<_ACEOF
16530 /* end confdefs.h. */
16531 #include <$ac_header>
16533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16536 grep -v '^ *+' conftest.er1
>conftest.err
16538 cat conftest.err
>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } >/dev
/null
; then
16541 if test -s conftest.err
; then
16542 ac_cpp_err
=$ac_c_preproc_warn_flag
16543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16550 if test -z "$ac_cpp_err"; then
16551 ac_header_preproc
=yes
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.
$ac_ext >&5
16556 ac_header_preproc
=no
16558 rm -f conftest.err conftest.
$ac_ext
16559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16560 echo "${ECHO_T}$ac_header_preproc" >&6
16562 # So? What about this header?
16563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16569 ac_header_preproc
=yes
16572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16586 ## ------------------------------------------ ##
16587 ## Report this to the AC_PACKAGE_NAME lists. ##
16588 ## ------------------------------------------ ##
16591 sed "s/^/$as_me: WARNING: /" >&2
16594 echo "$as_me:$LINENO: checking for $ac_header" >&5
16595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 eval "$as_ac_Header=\$ac_header_preproc"
16601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16606 cat >>confdefs.h
<<_ACEOF
16607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16615 # ------------------------- #
16616 # Checks for declarations. #
16617 # ------------------------- #
16619 echo "$as_me:$LINENO: checking whether free is declared" >&5
16620 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
16621 if test "${ac_cv_have_decl_free+set}" = set; then
16622 echo $ECHO_N "(cached) $ECHO_C" >&6
16624 cat >conftest.
$ac_ext <<_ACEOF
16627 cat confdefs.h
>>conftest.
$ac_ext
16628 cat >>conftest.
$ac_ext <<_ACEOF
16629 /* end confdefs.h. */
16630 $ac_includes_default
16635 char *p = (char *) free;
16642 rm -f conftest.
$ac_objext
16643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16644 (eval $ac_compile) 2>conftest.er1
16646 grep -v '^ *+' conftest.er1
>conftest.err
16648 cat conftest.err
>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); } &&
16651 { ac_try
='test -z "$ac_c_werror_flag"
16652 || test ! -s conftest.err'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; } &&
16658 { ac_try
='test -s conftest.$ac_objext'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; }; then
16664 ac_cv_have_decl_free
=yes
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.
$ac_ext >&5
16669 ac_cv_have_decl_free
=no
16671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16673 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
16674 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
16675 if test $ac_cv_have_decl_free = yes; then
16677 cat >>confdefs.h
<<_ACEOF
16678 #define HAVE_DECL_FREE 1
16683 cat >>confdefs.h
<<_ACEOF
16684 #define HAVE_DECL_FREE 0
16689 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
16690 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
16691 if test "${ac_cv_have_decl_malloc+set}" = set; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16694 cat >conftest.
$ac_ext <<_ACEOF
16697 cat confdefs.h
>>conftest.
$ac_ext
16698 cat >>conftest.
$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 $ac_includes_default
16705 char *p = (char *) malloc;
16712 rm -f conftest.
$ac_objext
16713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16714 (eval $ac_compile) 2>conftest.er1
16716 grep -v '^ *+' conftest.er1
>conftest.err
16718 cat conftest.err
>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } &&
16721 { ac_try
='test -z "$ac_c_werror_flag"
16722 || test ! -s conftest.err'
16723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16724 (eval $ac_try) 2>&5
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); }; } &&
16728 { ac_try
='test -s conftest.$ac_objext'
16729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16730 (eval $ac_try) 2>&5
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); }; }; then
16734 ac_cv_have_decl_malloc
=yes
16736 echo "$as_me: failed program was:" >&5
16737 sed 's/^/| /' conftest.
$ac_ext >&5
16739 ac_cv_have_decl_malloc
=no
16741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16743 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
16744 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
16745 if test $ac_cv_have_decl_malloc = yes; then
16747 cat >>confdefs.h
<<_ACEOF
16748 #define HAVE_DECL_MALLOC 1
16753 cat >>confdefs.h
<<_ACEOF
16754 #define HAVE_DECL_MALLOC 0
16759 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
16760 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
16761 if test "${ac_cv_have_decl_realloc+set}" = set; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 cat >conftest.
$ac_ext <<_ACEOF
16767 cat confdefs.h
>>conftest.
$ac_ext
16768 cat >>conftest.
$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16770 $ac_includes_default
16775 char *p = (char *) realloc;
16782 rm -f conftest.
$ac_objext
16783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16784 (eval $ac_compile) 2>conftest.er1
16786 grep -v '^ *+' conftest.er1
>conftest.err
16788 cat conftest.err
>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } &&
16791 { ac_try
='test -z "$ac_c_werror_flag"
16792 || test ! -s conftest.err'
16793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16794 (eval $ac_try) 2>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; } &&
16798 { ac_try
='test -s conftest.$ac_objext'
16799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }; }; then
16804 ac_cv_have_decl_realloc
=yes
16806 echo "$as_me: failed program was:" >&5
16807 sed 's/^/| /' conftest.
$ac_ext >&5
16809 ac_cv_have_decl_realloc
=no
16811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16813 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
16814 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
16815 if test $ac_cv_have_decl_realloc = yes; then
16817 cat >>confdefs.h
<<_ACEOF
16818 #define HAVE_DECL_REALLOC 1
16823 cat >>confdefs.h
<<_ACEOF
16824 #define HAVE_DECL_REALLOC 0
16831 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
16832 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
16833 if test "${ac_cv_have_decl_strerror+set}" = set; then
16834 echo $ECHO_N "(cached) $ECHO_C" >&6
16836 cat >conftest.
$ac_ext <<_ACEOF
16839 cat confdefs.h
>>conftest.
$ac_ext
16840 cat >>conftest.
$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842 $ac_includes_default
16847 char *p = (char *) strerror;
16854 rm -f conftest.
$ac_objext
16855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16856 (eval $ac_compile) 2>conftest.er1
16858 grep -v '^ *+' conftest.er1
>conftest.err
16860 cat conftest.err
>&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); } &&
16863 { ac_try
='test -z "$ac_c_werror_flag"
16864 || test ! -s conftest.err'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; } &&
16870 { ac_try
='test -s conftest.$ac_objext'
16871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16872 (eval $ac_try) 2>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); }; }; then
16876 ac_cv_have_decl_strerror
=yes
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.
$ac_ext >&5
16881 ac_cv_have_decl_strerror
=no
16883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16885 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
16886 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
16887 if test $ac_cv_have_decl_strerror = yes; then
16889 cat >>confdefs.h
<<_ACEOF
16890 #define HAVE_DECL_STRERROR 1
16895 cat >>confdefs.h
<<_ACEOF
16896 #define HAVE_DECL_STRERROR 0
16901 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
16902 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
16903 if test "${ac_cv_have_decl_strstr+set}" = set; then
16904 echo $ECHO_N "(cached) $ECHO_C" >&6
16906 cat >conftest.
$ac_ext <<_ACEOF
16909 cat confdefs.h
>>conftest.
$ac_ext
16910 cat >>conftest.
$ac_ext <<_ACEOF
16911 /* end confdefs.h. */
16912 $ac_includes_default
16917 char *p = (char *) strstr;
16924 rm -f conftest.
$ac_objext
16925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16926 (eval $ac_compile) 2>conftest.er1
16928 grep -v '^ *+' conftest.er1
>conftest.err
16930 cat conftest.err
>&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); } &&
16933 { ac_try
='test -z "$ac_c_werror_flag"
16934 || test ! -s conftest.err'
16935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936 (eval $ac_try) 2>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; } &&
16940 { ac_try
='test -s conftest.$ac_objext'
16941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16942 (eval $ac_try) 2>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; }; then
16946 ac_cv_have_decl_strstr
=yes
16948 echo "$as_me: failed program was:" >&5
16949 sed 's/^/| /' conftest.
$ac_ext >&5
16951 ac_cv_have_decl_strstr
=no
16953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16955 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
16956 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
16957 if test $ac_cv_have_decl_strstr = yes; then
16959 cat >>confdefs.h
<<_ACEOF
16960 #define HAVE_DECL_STRSTR 1
16965 cat >>confdefs.h
<<_ACEOF
16966 #define HAVE_DECL_STRSTR 0
16973 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
16974 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
16975 if test "${ac_cv_have_decl_getopt+set}" = set; then
16976 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 cat >conftest.
$ac_ext <<_ACEOF
16981 cat confdefs.h
>>conftest.
$ac_ext
16982 cat >>conftest.
$ac_ext <<_ACEOF
16983 /* end confdefs.h. */
16984 $ac_includes_default
16989 char *p = (char *) getopt;
16996 rm -f conftest.
$ac_objext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16998 (eval $ac_compile) 2>conftest.er1
17000 grep -v '^ *+' conftest.er1
>conftest.err
17002 cat conftest.err
>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } &&
17005 { ac_try
='test -z "$ac_c_werror_flag"
17006 || test ! -s conftest.err'
17007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008 (eval $ac_try) 2>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; } &&
17012 { ac_try
='test -s conftest.$ac_objext'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; }; then
17018 ac_cv_have_decl_getopt
=yes
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.
$ac_ext >&5
17023 ac_cv_have_decl_getopt
=no
17025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17027 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
17028 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
17029 if test $ac_cv_have_decl_getopt = yes; then
17031 cat >>confdefs.h
<<_ACEOF
17032 #define HAVE_DECL_GETOPT 1
17037 cat >>confdefs.h
<<_ACEOF
17038 #define HAVE_DECL_GETOPT 0
17043 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
17044 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
17045 if test "${ac_cv_have_decl_snprintf+set}" = set; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17048 cat >conftest.
$ac_ext <<_ACEOF
17051 cat confdefs.h
>>conftest.
$ac_ext
17052 cat >>conftest.
$ac_ext <<_ACEOF
17053 /* end confdefs.h. */
17054 $ac_includes_default
17059 char *p = (char *) snprintf;
17066 rm -f conftest.
$ac_objext
17067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17068 (eval $ac_compile) 2>conftest.er1
17070 grep -v '^ *+' conftest.er1
>conftest.err
17072 cat conftest.err
>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } &&
17075 { ac_try
='test -z "$ac_c_werror_flag"
17076 || test ! -s conftest.err'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; } &&
17082 { ac_try
='test -s conftest.$ac_objext'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; }; then
17088 ac_cv_have_decl_snprintf
=yes
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.
$ac_ext >&5
17093 ac_cv_have_decl_snprintf
=no
17095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17097 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
17098 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
17099 if test $ac_cv_have_decl_snprintf = yes; then
17101 cat >>confdefs.h
<<_ACEOF
17102 #define HAVE_DECL_SNPRINTF 1
17107 cat >>confdefs.h
<<_ACEOF
17108 #define HAVE_DECL_SNPRINTF 0
17113 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
17114 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
17115 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
17116 echo $ECHO_N "(cached) $ECHO_C" >&6
17118 cat >conftest.
$ac_ext <<_ACEOF
17121 cat confdefs.h
>>conftest.
$ac_ext
17122 cat >>conftest.
$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 $ac_includes_default
17129 char *p = (char *) vsnprintf;
17136 rm -f conftest.
$ac_objext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17138 (eval $ac_compile) 2>conftest.er1
17140 grep -v '^ *+' conftest.er1
>conftest.err
17142 cat conftest.err
>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } &&
17145 { ac_try
='test -z "$ac_c_werror_flag"
17146 || test ! -s conftest.err'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; } &&
17152 { ac_try
='test -s conftest.$ac_objext'
17153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17154 (eval $ac_try) 2>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); }; }; then
17158 ac_cv_have_decl_vsnprintf
=yes
17160 echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.
$ac_ext >&5
17163 ac_cv_have_decl_vsnprintf
=no
17165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17167 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
17168 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
17169 if test $ac_cv_have_decl_vsnprintf = yes; then
17171 cat >>confdefs.h
<<_ACEOF
17172 #define HAVE_DECL_VSNPRINTF 1
17177 cat >>confdefs.h
<<_ACEOF
17178 #define HAVE_DECL_VSNPRINTF 0
17186 # ----------------------- #
17187 # Checks for structures. #
17188 # ----------------------- #
17190 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17191 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17192 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 cat >conftest.
$ac_ext <<_ACEOF
17198 cat confdefs.h
>>conftest.
$ac_ext
17199 cat >>conftest.
$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 $ac_includes_default
17205 static struct stat ac_aggr;
17206 if (ac_aggr.st_blocks)
17212 rm -f conftest.
$ac_objext
17213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17214 (eval $ac_compile) 2>conftest.er1
17216 grep -v '^ *+' conftest.er1
>conftest.err
17218 cat conftest.err
>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); } &&
17221 { ac_try
='test -z "$ac_c_werror_flag"
17222 || test ! -s conftest.err'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; } &&
17228 { ac_try
='test -s conftest.$ac_objext'
17229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17230 (eval $ac_try) 2>&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17234 ac_cv_member_struct_stat_st_blocks
=yes
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.
$ac_ext >&5
17239 cat >conftest.
$ac_ext <<_ACEOF
17242 cat confdefs.h
>>conftest.
$ac_ext
17243 cat >>conftest.
$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 $ac_includes_default
17249 static struct stat ac_aggr;
17250 if (sizeof ac_aggr.st_blocks)
17256 rm -f conftest.
$ac_objext
17257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17258 (eval $ac_compile) 2>conftest.er1
17260 grep -v '^ *+' conftest.er1
>conftest.err
17262 cat conftest.err
>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); } &&
17265 { ac_try
='test -z "$ac_c_werror_flag"
17266 || test ! -s conftest.err'
17267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17268 (eval $ac_try) 2>&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); }; } &&
17272 { ac_try
='test -s conftest.$ac_objext'
17273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17274 (eval $ac_try) 2>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); }; }; then
17278 ac_cv_member_struct_stat_st_blocks
=yes
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.
$ac_ext >&5
17283 ac_cv_member_struct_stat_st_blocks
=no
17285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17289 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17290 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17291 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17293 cat >>confdefs.h
<<_ACEOF
17294 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17300 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17301 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17302 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 cat >conftest.
$ac_ext <<_ACEOF
17308 cat confdefs.h
>>conftest.
$ac_ext
17309 cat >>conftest.
$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 $ac_includes_default
17315 static struct stat ac_aggr;
17316 if (ac_aggr.st_blksize)
17322 rm -f conftest.
$ac_objext
17323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17324 (eval $ac_compile) 2>conftest.er1
17326 grep -v '^ *+' conftest.er1
>conftest.err
17328 cat conftest.err
>&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); } &&
17331 { ac_try
='test -z "$ac_c_werror_flag"
17332 || test ! -s conftest.err'
17333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17334 (eval $ac_try) 2>&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; } &&
17338 { ac_try
='test -s conftest.$ac_objext'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; }; then
17344 ac_cv_member_struct_stat_st_blksize
=yes
17346 echo "$as_me: failed program was:" >&5
17347 sed 's/^/| /' conftest.
$ac_ext >&5
17349 cat >conftest.
$ac_ext <<_ACEOF
17352 cat confdefs.h
>>conftest.
$ac_ext
17353 cat >>conftest.
$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17355 $ac_includes_default
17359 static struct stat ac_aggr;
17360 if (sizeof ac_aggr.st_blksize)
17366 rm -f conftest.
$ac_objext
17367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17368 (eval $ac_compile) 2>conftest.er1
17370 grep -v '^ *+' conftest.er1
>conftest.err
17372 cat conftest.err
>&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); } &&
17375 { ac_try
='test -z "$ac_c_werror_flag"
17376 || test ! -s conftest.err'
17377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17378 (eval $ac_try) 2>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); }; } &&
17382 { ac_try
='test -s conftest.$ac_objext'
17383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17384 (eval $ac_try) 2>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; }; then
17388 ac_cv_member_struct_stat_st_blksize
=yes
17390 echo "$as_me: failed program was:" >&5
17391 sed 's/^/| /' conftest.
$ac_ext >&5
17393 ac_cv_member_struct_stat_st_blksize
=no
17395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17399 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17400 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17401 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17403 cat >>confdefs.h
<<_ACEOF
17404 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17411 # ------------------ #
17412 # Checks for types. #
17413 # ------------------ #
17415 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
17416 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
17417 if test "${ac_cv_type_signal+set}" = set; then
17418 echo $ECHO_N "(cached) $ECHO_C" >&6
17420 cat >conftest.
$ac_ext <<_ACEOF
17423 cat confdefs.h
>>conftest.
$ac_ext
17424 cat >>conftest.
$ac_ext <<_ACEOF
17425 /* end confdefs.h. */
17426 #include <sys/types.h>
17427 #include <signal.h>
17432 extern "C" void (*signal (int, void (*)(int)))(int);
17434 void (*signal ()) ();
17445 rm -f conftest.
$ac_objext
17446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17447 (eval $ac_compile) 2>conftest.er1
17449 grep -v '^ *+' conftest.er1
>conftest.err
17451 cat conftest.err
>&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); } &&
17454 { ac_try
='test -z "$ac_c_werror_flag"
17455 || test ! -s conftest.err'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; } &&
17461 { ac_try
='test -s conftest.$ac_objext'
17462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463 (eval $ac_try) 2>&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); }; }; then
17467 ac_cv_type_signal
=void
17469 echo "$as_me: failed program was:" >&5
17470 sed 's/^/| /' conftest.
$ac_ext >&5
17472 ac_cv_type_signal
=int
17474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17476 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
17477 echo "${ECHO_T}$ac_cv_type_signal" >&6
17479 cat >>confdefs.h
<<_ACEOF
17480 #define RETSIGTYPE $ac_cv_type_signal
17484 echo "$as_me:$LINENO: checking for socklen_t" >&5
17485 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
17486 if test "${ac_cv_type_socklen_t+set}" = set; then
17487 echo $ECHO_N "(cached) $ECHO_C" >&6
17489 cat >conftest.
$ac_ext <<_ACEOF
17492 cat confdefs.h
>>conftest.
$ac_ext
17493 cat >>conftest.
$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17495 #include <sys/types.h>
17496 #include <sys/socket.h>
17502 if ((socklen_t *) 0)
17504 if (sizeof (socklen_t))
17510 rm -f conftest.
$ac_objext
17511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17512 (eval $ac_compile) 2>conftest.er1
17514 grep -v '^ *+' conftest.er1
>conftest.err
17516 cat conftest.err
>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } &&
17519 { ac_try
='test -z "$ac_c_werror_flag"
17520 || test ! -s conftest.err'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; } &&
17526 { ac_try
='test -s conftest.$ac_objext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17532 ac_cv_type_socklen_t
=yes
17534 echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.
$ac_ext >&5
17537 ac_cv_type_socklen_t
=no
17539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17541 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
17542 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
17543 if test $ac_cv_type_socklen_t = yes; then
17545 cat >>confdefs.h
<<_ACEOF
17546 #define HAVE_SOCKLEN_T 1
17553 # ------------------------------------- #
17554 # Checks for compiler characteristics. #
17555 # ------------------------------------- #
17557 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17558 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17559 if test "${ac_cv_c_const+set}" = set; then
17560 echo $ECHO_N "(cached) $ECHO_C" >&6
17562 cat >conftest.
$ac_ext <<_ACEOF
17565 cat confdefs.h
>>conftest.
$ac_ext
17566 cat >>conftest.
$ac_ext <<_ACEOF
17567 /* end confdefs.h. */
17572 /* FIXME: Include the comments suggested by Paul. */
17573 #ifndef __cplusplus
17574 /* Ultrix mips cc rejects this. */
17575 typedef int charset[2];
17577 /* SunOS 4.1.1 cc rejects this. */
17578 char const *const *ccp;
17580 /* NEC SVR4.0.2 mips cc rejects this. */
17581 struct point {int x, y;};
17582 static struct point const zero = {0,0};
17583 /* AIX XL C 1.02.0.0 rejects this.
17584 It does not let you subtract one const X* pointer from another in
17585 an arm of an if-expression whose if-part is not a constant
17587 const char *g = "string";
17588 ccp = &g + (g ? g-g : 0);
17589 /* HPUX 7.0 cc rejects these. */
17592 ccp = (char const *const *) p;
17593 { /* SCO 3.2v4 cc rejects this. */
17595 char const *s = 0 ? (char *) 0 : (char const *) 0;
17599 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17600 int x[] = {25, 17};
17601 const int *foo = &x[0];
17604 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17605 typedef const int *iptr;
17609 { /* AIX XL C 1.02.0.0 rejects this saying
17610 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17611 struct s { int j; const int *ap[3]; };
17612 struct s *b; b->j = 5;
17614 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17615 const int foo = 10;
17623 rm -f conftest.
$ac_objext
17624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17625 (eval $ac_compile) 2>conftest.er1
17627 grep -v '^ *+' conftest.er1
>conftest.err
17629 cat conftest.err
>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); } &&
17632 { ac_try
='test -z "$ac_c_werror_flag"
17633 || test ! -s conftest.err'
17634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17635 (eval $ac_try) 2>&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; } &&
17639 { ac_try
='test -s conftest.$ac_objext'
17640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17641 (eval $ac_try) 2>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); }; }; then
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.
$ac_ext >&5
17652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17654 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17655 echo "${ECHO_T}$ac_cv_c_const" >&6
17656 if test $ac_cv_c_const = no
; then
17658 cat >>confdefs.h
<<\_ACEOF
17664 echo "$as_me:$LINENO: checking for inline" >&5
17665 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17666 if test "${ac_cv_c_inline+set}" = set; then
17667 echo $ECHO_N "(cached) $ECHO_C" >&6
17670 for ac_kw
in inline __inline__ __inline
; do
17671 cat >conftest.
$ac_ext <<_ACEOF
17674 cat confdefs.h
>>conftest.
$ac_ext
17675 cat >>conftest.
$ac_ext <<_ACEOF
17676 /* end confdefs.h. */
17677 #ifndef __cplusplus
17679 static $ac_kw foo_t static_foo () {return 0; }
17680 $ac_kw foo_t foo () {return 0; }
17684 rm -f conftest.
$ac_objext
17685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17686 (eval $ac_compile) 2>conftest.er1
17688 grep -v '^ *+' conftest.er1
>conftest.err
17690 cat conftest.err
>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); } &&
17693 { ac_try
='test -z "$ac_c_werror_flag"
17694 || test ! -s conftest.err'
17695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696 (eval $ac_try) 2>&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); }; } &&
17700 { ac_try
='test -s conftest.$ac_objext'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; }; then
17706 ac_cv_c_inline
=$ac_kw; break
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.
$ac_ext >&5
17712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17716 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17717 echo "${ECHO_T}$ac_cv_c_inline" >&6
17720 case $ac_cv_c_inline in
17723 case $ac_cv_c_inline in
17725 *) ac_val
=$ac_cv_c_inline;;
17727 cat >>confdefs.h
<<_ACEOF
17728 #ifndef __cplusplus
17729 #define inline $ac_val
17735 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17736 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17737 if test "${ac_cv_c_bigendian+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 # See if sys/param.h defines the BYTE_ORDER macro.
17741 cat >conftest.
$ac_ext <<_ACEOF
17744 cat confdefs.h
>>conftest.
$ac_ext
17745 cat >>conftest.
$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747 #include <sys/types.h>
17748 #include <sys/param.h>
17753 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17754 bogus endian macros
17761 rm -f conftest.
$ac_objext
17762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17763 (eval $ac_compile) 2>conftest.er1
17765 grep -v '^ *+' conftest.er1
>conftest.err
17767 cat conftest.err
>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } &&
17770 { ac_try
='test -z "$ac_c_werror_flag"
17771 || test ! -s conftest.err'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; } &&
17777 { ac_try
='test -s conftest.$ac_objext'
17778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17779 (eval $ac_try) 2>&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); }; }; then
17783 # It does; now see whether it defined to BIG_ENDIAN or not.
17784 cat >conftest.
$ac_ext <<_ACEOF
17787 cat confdefs.h
>>conftest.
$ac_ext
17788 cat >>conftest.
$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 #include <sys/types.h>
17791 #include <sys/param.h>
17796 #if BYTE_ORDER != BIG_ENDIAN
17804 rm -f conftest.
$ac_objext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806 (eval $ac_compile) 2>conftest.er1
17808 grep -v '^ *+' conftest.er1
>conftest.err
17810 cat conftest.err
>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } &&
17813 { ac_try
='test -z "$ac_c_werror_flag"
17814 || test ! -s conftest.err'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; } &&
17820 { ac_try
='test -s conftest.$ac_objext'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_cv_c_bigendian
=yes
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.
$ac_ext >&5
17831 ac_cv_c_bigendian
=no
17833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17835 echo "$as_me: failed program was:" >&5
17836 sed 's/^/| /' conftest.
$ac_ext >&5
17838 # It does not; compile a test program.
17839 if test "$cross_compiling" = yes; then
17840 # try to guess the endianness by grepping values into an object file
17841 ac_cv_c_bigendian
=unknown
17842 cat >conftest.
$ac_ext <<_ACEOF
17845 cat confdefs.h
>>conftest.
$ac_ext
17846 cat >>conftest.
$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17849 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17850 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
17851 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17852 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17853 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
17857 _ascii (); _ebcdic ();
17862 rm -f conftest.
$ac_objext
17863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17864 (eval $ac_compile) 2>conftest.er1
17866 grep -v '^ *+' conftest.er1
>conftest.err
17868 cat conftest.err
>&5
17869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17870 (exit $ac_status); } &&
17871 { ac_try
='test -z "$ac_c_werror_flag"
17872 || test ! -s conftest.err'
17873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17874 (eval $ac_try) 2>&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; } &&
17878 { ac_try
='test -s conftest.$ac_objext'
17879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17880 (eval $ac_try) 2>&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); }; }; then
17884 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
17885 ac_cv_c_bigendian
=yes
17887 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
17888 if test "$ac_cv_c_bigendian" = unknown
; then
17889 ac_cv_c_bigendian
=no
17891 # finding both strings is unlikely to happen, but who knows?
17892 ac_cv_c_bigendian
=unknown
17896 echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.
$ac_ext >&5
17900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17902 cat >conftest.
$ac_ext <<_ACEOF
17905 cat confdefs.h
>>conftest.
$ac_ext
17906 cat >>conftest.
$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17911 /* Are we little or big endian? From Harbison&Steele. */
17915 char c[sizeof (long)];
17918 exit (u.c[sizeof (long) - 1] == 1);
17921 rm -f conftest
$ac_exeext
17922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17923 (eval $ac_link) 2>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17932 ac_cv_c_bigendian
=no
17934 echo "$as_me: program exited with status $ac_status" >&5
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.
$ac_ext >&5
17938 ( exit $ac_status )
17939 ac_cv_c_bigendian
=yes
17941 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17944 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17946 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17947 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17948 case $ac_cv_c_bigendian in
17951 cat >>confdefs.h
<<\_ACEOF
17952 #define WORDS_BIGENDIAN 1
17958 { { echo "$as_me:$LINENO: error: unknown endianness
17959 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
17960 echo "$as_me: error: unknown endianness
17961 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
17962 { (exit 1); exit 1; }; } ;;
17966 # ------------------------------ #
17967 # Checks for library functions. #
17968 # ------------------------------ #
17970 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
17971 # for constant arguments. Useless!
17972 echo "$as_me:$LINENO: checking for working alloca.h" >&5
17973 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
17974 if test "${ac_cv_working_alloca_h+set}" = set; then
17975 echo $ECHO_N "(cached) $ECHO_C" >&6
17977 cat >conftest.
$ac_ext <<_ACEOF
17980 cat confdefs.h
>>conftest.
$ac_ext
17981 cat >>conftest.
$ac_ext <<_ACEOF
17982 /* end confdefs.h. */
17983 #include <alloca.h>
17987 char *p = (char *) alloca (2 * sizeof (int));
17992 rm -f conftest.
$ac_objext conftest
$ac_exeext
17993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17994 (eval $ac_link) 2>conftest.er1
17996 grep -v '^ *+' conftest.er1
>conftest.err
17998 cat conftest.err
>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } &&
18001 { ac_try
='test -z "$ac_c_werror_flag"
18002 || test ! -s conftest.err'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; } &&
18008 { ac_try
='test -s conftest$ac_exeext'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; }; then
18014 ac_cv_working_alloca_h
=yes
18016 echo "$as_me: failed program was:" >&5
18017 sed 's/^/| /' conftest.
$ac_ext >&5
18019 ac_cv_working_alloca_h
=no
18021 rm -f conftest.err conftest.
$ac_objext \
18022 conftest
$ac_exeext conftest.
$ac_ext
18024 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
18025 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
18026 if test $ac_cv_working_alloca_h = yes; then
18028 cat >>confdefs.h
<<\_ACEOF
18029 #define HAVE_ALLOCA_H 1
18034 echo "$as_me:$LINENO: checking for alloca" >&5
18035 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
18036 if test "${ac_cv_func_alloca_works+set}" = set; then
18037 echo $ECHO_N "(cached) $ECHO_C" >&6
18039 cat >conftest.
$ac_ext <<_ACEOF
18042 cat confdefs.h
>>conftest.
$ac_ext
18043 cat >>conftest.
$ac_ext <<_ACEOF
18044 /* end confdefs.h. */
18046 # define alloca __builtin_alloca
18049 # include <malloc.h>
18050 # define alloca _alloca
18053 # include <alloca.h>
18058 # ifndef alloca /* predefined by HP cc +Olibcalls */
18069 char *p = (char *) alloca (1);
18074 rm -f conftest.
$ac_objext conftest
$ac_exeext
18075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18076 (eval $ac_link) 2>conftest.er1
18078 grep -v '^ *+' conftest.er1
>conftest.err
18080 cat conftest.err
>&5
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); } &&
18083 { ac_try
='test -z "$ac_c_werror_flag"
18084 || test ! -s conftest.err'
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; } &&
18090 { ac_try
='test -s conftest$ac_exeext'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; }; then
18096 ac_cv_func_alloca_works
=yes
18098 echo "$as_me: failed program was:" >&5
18099 sed 's/^/| /' conftest.
$ac_ext >&5
18101 ac_cv_func_alloca_works
=no
18103 rm -f conftest.err conftest.
$ac_objext \
18104 conftest
$ac_exeext conftest.
$ac_ext
18106 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
18107 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
18109 if test $ac_cv_func_alloca_works = yes; then
18111 cat >>confdefs.h
<<\_ACEOF
18112 #define HAVE_ALLOCA 1
18116 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
18117 # that cause trouble. Some versions do not even contain alloca or
18118 # contain a buggy version. If you still want to use their alloca,
18119 # use ar to extract alloca.o from them instead of compiling alloca.c.
18121 ALLOCA
=alloca.
$ac_objext
18123 cat >>confdefs.h
<<\_ACEOF
18128 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
18129 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
18130 if test "${ac_cv_os_cray+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 cat >conftest.
$ac_ext <<_ACEOF
18136 cat confdefs.h
>>conftest.
$ac_ext
18137 cat >>conftest.
$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 #if defined(CRAY) && ! defined(CRAY2)
18146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18147 $EGREP "webecray" >/dev
/null
2>&1; then
18155 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
18156 echo "${ECHO_T}$ac_cv_os_cray" >&6
18157 if test $ac_cv_os_cray = yes; then
18158 for ac_func
in _getb67 GETB67 getb67
; do
18159 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18160 echo "$as_me:$LINENO: checking for $ac_func" >&5
18161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18162 if eval "test \"\${$as_ac_var+set}\" = set"; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18165 cat >conftest.
$ac_ext <<_ACEOF
18168 cat confdefs.h
>>conftest.
$ac_ext
18169 cat >>conftest.
$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18173 #define $ac_func innocuous_$ac_func
18175 /* System header to define __stub macros and hopefully few prototypes,
18176 which can conflict with char $ac_func (); below.
18177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18178 <limits.h> exists even on freestanding compilers. */
18181 # include <limits.h>
18183 # include <assert.h>
18188 /* Override any gcc2 internal prototype to avoid an error. */
18193 /* We use char because int might match the return type of a gcc2
18194 builtin and then its argument prototype would still apply. */
18196 /* The GNU C library defines this for functions which it implements
18197 to always fail with ENOSYS. Some functions are actually named
18198 something starting with __ and the normal name is an alias. */
18199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18202 char (*f) () = $ac_func;
18211 return f != $ac_func;
18216 rm -f conftest.
$ac_objext conftest
$ac_exeext
18217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18218 (eval $ac_link) 2>conftest.er1
18220 grep -v '^ *+' conftest.er1
>conftest.err
18222 cat conftest.err
>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } &&
18225 { ac_try
='test -z "$ac_c_werror_flag"
18226 || test ! -s conftest.err'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try
='test -s conftest$ac_exeext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
18238 eval "$as_ac_var=yes"
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.
$ac_ext >&5
18243 eval "$as_ac_var=no"
18245 rm -f conftest.err conftest.
$ac_objext \
18246 conftest
$ac_exeext conftest.
$ac_ext
18248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18250 if test `eval echo '${'$as_ac_var'}'` = yes; then
18252 cat >>confdefs.h
<<_ACEOF
18253 #define CRAY_STACKSEG_END $ac_func
18262 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
18263 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
18264 if test "${ac_cv_c_stack_direction+set}" = set; then
18265 echo $ECHO_N "(cached) $ECHO_C" >&6
18267 if test "$cross_compiling" = yes; then
18268 ac_cv_c_stack_direction
=0
18270 cat >conftest.
$ac_ext <<_ACEOF
18273 cat confdefs.h
>>conftest.
$ac_ext
18274 cat >>conftest.
$ac_ext <<_ACEOF
18275 /* end confdefs.h. */
18277 find_stack_direction ()
18279 static char *addr = 0;
18284 return find_stack_direction ();
18287 return (&dummy > addr) ? 1 : -1;
18293 exit (find_stack_direction () < 0);
18296 rm -f conftest
$ac_exeext
18297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18298 (eval $ac_link) 2>&5
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); }; }; then
18307 ac_cv_c_stack_direction
=1
18309 echo "$as_me: program exited with status $ac_status" >&5
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.
$ac_ext >&5
18313 ( exit $ac_status )
18314 ac_cv_c_stack_direction
=-1
18316 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18319 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
18320 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
18322 cat >>confdefs.h
<<_ACEOF
18323 #define STACK_DIRECTION $ac_cv_c_stack_direction
18331 for ac_header
in stdlib.h unistd.h
18333 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18335 echo "$as_me:$LINENO: checking for $ac_header" >&5
18336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18338 echo $ECHO_N "(cached) $ECHO_C" >&6
18340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18343 # Is the header compilable?
18344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18346 cat >conftest.
$ac_ext <<_ACEOF
18349 cat confdefs.h
>>conftest.
$ac_ext
18350 cat >>conftest.
$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18352 $ac_includes_default
18353 #include <$ac_header>
18355 rm -f conftest.
$ac_objext
18356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18357 (eval $ac_compile) 2>conftest.er1
18359 grep -v '^ *+' conftest.er1
>conftest.err
18361 cat conftest.err
>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } &&
18364 { ac_try
='test -z "$ac_c_werror_flag"
18365 || test ! -s conftest.err'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; } &&
18371 { ac_try
='test -s conftest.$ac_objext'
18372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18373 (eval $ac_try) 2>&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); }; }; then
18377 ac_header_compiler
=yes
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.
$ac_ext >&5
18382 ac_header_compiler
=no
18384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18386 echo "${ECHO_T}$ac_header_compiler" >&6
18388 # Is the header present?
18389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18391 cat >conftest.
$ac_ext <<_ACEOF
18394 cat confdefs.h
>>conftest.
$ac_ext
18395 cat >>conftest.
$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 #include <$ac_header>
18399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18400 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18402 grep -v '^ *+' conftest.er1
>conftest.err
18404 cat conftest.err
>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } >/dev
/null
; then
18407 if test -s conftest.err
; then
18408 ac_cpp_err
=$ac_c_preproc_warn_flag
18409 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18416 if test -z "$ac_cpp_err"; then
18417 ac_header_preproc
=yes
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.
$ac_ext >&5
18422 ac_header_preproc
=no
18424 rm -f conftest.err conftest.
$ac_ext
18425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18426 echo "${ECHO_T}$ac_header_preproc" >&6
18428 # So? What about this header?
18429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18435 ac_header_preproc
=yes
18438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18452 ## ------------------------------------------ ##
18453 ## Report this to the AC_PACKAGE_NAME lists. ##
18454 ## ------------------------------------------ ##
18457 sed "s/^/$as_me: WARNING: /" >&2
18460 echo "$as_me:$LINENO: checking for $ac_header" >&5
18461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18463 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 eval "$as_ac_Header=\$ac_header_preproc"
18467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18472 cat >>confdefs.h
<<_ACEOF
18473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18481 for ac_func
in getpagesize
18483 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18484 echo "$as_me:$LINENO: checking for $ac_func" >&5
18485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18486 if eval "test \"\${$as_ac_var+set}\" = set"; then
18487 echo $ECHO_N "(cached) $ECHO_C" >&6
18489 cat >conftest.
$ac_ext <<_ACEOF
18492 cat confdefs.h
>>conftest.
$ac_ext
18493 cat >>conftest.
$ac_ext <<_ACEOF
18494 /* end confdefs.h. */
18495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18497 #define $ac_func innocuous_$ac_func
18499 /* System header to define __stub macros and hopefully few prototypes,
18500 which can conflict with char $ac_func (); below.
18501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18502 <limits.h> exists even on freestanding compilers. */
18505 # include <limits.h>
18507 # include <assert.h>
18512 /* Override any gcc2 internal prototype to avoid an error. */
18517 /* We use char because int might match the return type of a gcc2
18518 builtin and then its argument prototype would still apply. */
18520 /* The GNU C library defines this for functions which it implements
18521 to always fail with ENOSYS. Some functions are actually named
18522 something starting with __ and the normal name is an alias. */
18523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18526 char (*f) () = $ac_func;
18535 return f != $ac_func;
18540 rm -f conftest.
$ac_objext conftest
$ac_exeext
18541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18542 (eval $ac_link) 2>conftest.er1
18544 grep -v '^ *+' conftest.er1
>conftest.err
18546 cat conftest.err
>&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } &&
18549 { ac_try
='test -z "$ac_c_werror_flag"
18550 || test ! -s conftest.err'
18551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18552 (eval $ac_try) 2>&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); }; } &&
18556 { ac_try
='test -s conftest$ac_exeext'
18557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18558 (eval $ac_try) 2>&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); }; }; then
18562 eval "$as_ac_var=yes"
18564 echo "$as_me: failed program was:" >&5
18565 sed 's/^/| /' conftest.
$ac_ext >&5
18567 eval "$as_ac_var=no"
18569 rm -f conftest.err conftest.
$ac_objext \
18570 conftest
$ac_exeext conftest.
$ac_ext
18572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18574 if test `eval echo '${'$as_ac_var'}'` = yes; then
18575 cat >>confdefs.h
<<_ACEOF
18576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18582 echo "$as_me:$LINENO: checking for working mmap" >&5
18583 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
18584 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18587 if test "$cross_compiling" = yes; then
18588 ac_cv_func_mmap_fixed_mapped
=no
18590 cat >conftest.
$ac_ext <<_ACEOF
18593 cat confdefs.h
>>conftest.
$ac_ext
18594 cat >>conftest.
$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 $ac_includes_default
18597 /* malloc might have been renamed as rpl_malloc. */
18600 /* Thanks to Mike Haertel and Jim Avera for this test.
18601 Here is a matrix of mmap possibilities:
18602 mmap private not fixed
18603 mmap private fixed at somewhere currently unmapped
18604 mmap private fixed at somewhere already mapped
18605 mmap shared not fixed
18606 mmap shared fixed at somewhere currently unmapped
18607 mmap shared fixed at somewhere already mapped
18608 For private mappings, we should verify that changes cannot be read()
18609 back from the file, nor mmap's back from the file at a different
18610 address. (There have been systems where private was not correctly
18611 implemented like the infamous i386 svr4.0, and systems where the
18612 VM page cache was not coherent with the file system buffer cache
18613 like early versions of FreeBSD and possibly contemporary NetBSD.)
18614 For shared mappings, we should conversely verify that changes get
18615 propagated back to all the places they're supposed to be.
18617 Grep wants private fixed already mapped.
18618 The main things grep needs to know about mmap are:
18619 * does it exist and is it safe to write into the mmap'd area
18620 * how to use it (BSD variants) */
18623 #include <sys/mman.h>
18625 #if !STDC_HEADERS && !HAVE_STDLIB_H
18629 /* This mess was copied from the GNU getpagesize.h. */
18630 #if !HAVE_GETPAGESIZE
18631 /* Assume that all systems that can run configure have sys/param.h. */
18632 # if !HAVE_SYS_PARAM_H
18633 # define HAVE_SYS_PARAM_H 1
18636 # ifdef _SC_PAGESIZE
18637 # define getpagesize() sysconf(_SC_PAGESIZE)
18638 # else /* no _SC_PAGESIZE */
18639 # if HAVE_SYS_PARAM_H
18640 # include <sys/param.h>
18641 # ifdef EXEC_PAGESIZE
18642 # define getpagesize() EXEC_PAGESIZE
18643 # else /* no EXEC_PAGESIZE */
18645 # define getpagesize() NBPG * CLSIZE
18648 # endif /* no CLSIZE */
18649 # else /* no NBPG */
18651 # define getpagesize() NBPC
18652 # else /* no NBPC */
18654 # define getpagesize() PAGESIZE
18655 # endif /* PAGESIZE */
18656 # endif /* no NBPC */
18657 # endif /* no NBPG */
18658 # endif /* no EXEC_PAGESIZE */
18659 # else /* no HAVE_SYS_PARAM_H */
18660 # define getpagesize() 8192 /* punt totally */
18661 # endif /* no HAVE_SYS_PARAM_H */
18662 # endif /* no _SC_PAGESIZE */
18664 #endif /* no HAVE_GETPAGESIZE */
18669 char *data, *data2, *data3;
18673 pagesize = getpagesize ();
18675 /* First, make a file with some known garbage in it. */
18676 data = (char *) malloc (pagesize);
18679 for (i = 0; i < pagesize; ++i)
18680 *(data + i) = rand ();
18682 fd = creat ("conftest.mmap", 0600);
18685 if (write (fd, data, pagesize) != pagesize)
18689 /* Next, try to mmap the file at a fixed address which already has
18690 something else allocated at it. If we can, also make sure that
18691 we see the same garbage. */
18692 fd = open ("conftest.mmap", O_RDWR);
18695 data2 = (char *) malloc (2 * pagesize);
18698 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
18699 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
18700 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18702 for (i = 0; i < pagesize; ++i)
18703 if (*(data + i) != *(data2 + i))
18706 /* Finally, make sure that changes to the mapped area do not
18707 percolate back to the file as seen by read(). (This is a bug on
18708 some variants of i386 svr4.0.) */
18709 for (i = 0; i < pagesize; ++i)
18710 *(data2 + i) = *(data2 + i) + 1;
18711 data3 = (char *) malloc (pagesize);
18714 if (read (fd, data3, pagesize) != pagesize)
18716 for (i = 0; i < pagesize; ++i)
18717 if (*(data + i) != *(data3 + i))
18723 rm -f conftest
$ac_exeext
18724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18725 (eval $ac_link) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18730 (eval $ac_try) 2>&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); }; }; then
18734 ac_cv_func_mmap_fixed_mapped
=yes
18736 echo "$as_me: program exited with status $ac_status" >&5
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.
$ac_ext >&5
18740 ( exit $ac_status )
18741 ac_cv_func_mmap_fixed_mapped
=no
18743 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18746 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
18747 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
18748 if test $ac_cv_func_mmap_fixed_mapped = yes; then
18750 cat >>confdefs.h
<<\_ACEOF
18751 #define HAVE_MMAP 1
18755 rm -f conftest.mmap
18757 echo "$as_me:$LINENO: checking for pid_t" >&5
18758 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
18759 if test "${ac_cv_type_pid_t+set}" = set; then
18760 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 cat >conftest.
$ac_ext <<_ACEOF
18765 cat confdefs.h
>>conftest.
$ac_ext
18766 cat >>conftest.
$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 $ac_includes_default
18774 if (sizeof (pid_t))
18780 rm -f conftest.
$ac_objext
18781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18782 (eval $ac_compile) 2>conftest.er1
18784 grep -v '^ *+' conftest.er1
>conftest.err
18786 cat conftest.err
>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try
='test -z "$ac_c_werror_flag"
18790 || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try
='test -s conftest.$ac_objext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18802 ac_cv_type_pid_t
=yes
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.
$ac_ext >&5
18807 ac_cv_type_pid_t
=no
18809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18811 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18812 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
18813 if test $ac_cv_type_pid_t = yes; then
18817 cat >>confdefs.h
<<_ACEOF
18825 for ac_header
in unistd.h vfork.h
18827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18829 echo "$as_me:$LINENO: checking for $ac_header" >&5
18830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18837 # Is the header compilable?
18838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18840 cat >conftest.
$ac_ext <<_ACEOF
18843 cat confdefs.h
>>conftest.
$ac_ext
18844 cat >>conftest.
$ac_ext <<_ACEOF
18845 /* end confdefs.h. */
18846 $ac_includes_default
18847 #include <$ac_header>
18849 rm -f conftest.
$ac_objext
18850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18851 (eval $ac_compile) 2>conftest.er1
18853 grep -v '^ *+' conftest.er1
>conftest.err
18855 cat conftest.err
>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } &&
18858 { ac_try
='test -z "$ac_c_werror_flag"
18859 || test ! -s conftest.err'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; } &&
18865 { ac_try
='test -s conftest.$ac_objext'
18866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867 (eval $ac_try) 2>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); }; }; then
18871 ac_header_compiler
=yes
18873 echo "$as_me: failed program was:" >&5
18874 sed 's/^/| /' conftest.
$ac_ext >&5
18876 ac_header_compiler
=no
18878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18880 echo "${ECHO_T}$ac_header_compiler" >&6
18882 # Is the header present?
18883 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18884 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18885 cat >conftest.
$ac_ext <<_ACEOF
18888 cat confdefs.h
>>conftest.
$ac_ext
18889 cat >>conftest.
$ac_ext <<_ACEOF
18890 /* end confdefs.h. */
18891 #include <$ac_header>
18893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18896 grep -v '^ *+' conftest.er1
>conftest.err
18898 cat conftest.err
>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } >/dev
/null
; then
18901 if test -s conftest.err
; then
18902 ac_cpp_err
=$ac_c_preproc_warn_flag
18903 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18910 if test -z "$ac_cpp_err"; then
18911 ac_header_preproc
=yes
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.
$ac_ext >&5
18916 ac_header_preproc
=no
18918 rm -f conftest.err conftest.
$ac_ext
18919 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18920 echo "${ECHO_T}$ac_header_preproc" >&6
18922 # So? What about this header?
18923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18925 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18926 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18928 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18929 ac_header_preproc
=yes
18932 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18933 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18934 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18935 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18936 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18937 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18938 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18939 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18941 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18942 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18943 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18946 ## ------------------------------------------ ##
18947 ## Report this to the AC_PACKAGE_NAME lists. ##
18948 ## ------------------------------------------ ##
18951 sed "s/^/$as_me: WARNING: /" >&2
18954 echo "$as_me:$LINENO: checking for $ac_header" >&5
18955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18957 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 eval "$as_ac_Header=\$ac_header_preproc"
18961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18965 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18966 cat >>confdefs.h
<<_ACEOF
18967 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18976 for ac_func
in fork vfork
18978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18979 echo "$as_me:$LINENO: checking for $ac_func" >&5
18980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18981 if eval "test \"\${$as_ac_var+set}\" = set"; then
18982 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 cat >conftest.
$ac_ext <<_ACEOF
18987 cat confdefs.h
>>conftest.
$ac_ext
18988 cat >>conftest.
$ac_ext <<_ACEOF
18989 /* end confdefs.h. */
18990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18992 #define $ac_func innocuous_$ac_func
18994 /* System header to define __stub macros and hopefully few prototypes,
18995 which can conflict with char $ac_func (); below.
18996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18997 <limits.h> exists even on freestanding compilers. */
19000 # include <limits.h>
19002 # include <assert.h>
19007 /* Override any gcc2 internal prototype to avoid an error. */
19012 /* We use char because int might match the return type of a gcc2
19013 builtin and then its argument prototype would still apply. */
19015 /* The GNU C library defines this for functions which it implements
19016 to always fail with ENOSYS. Some functions are actually named
19017 something starting with __ and the normal name is an alias. */
19018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19021 char (*f) () = $ac_func;
19030 return f != $ac_func;
19035 rm -f conftest.
$ac_objext conftest
$ac_exeext
19036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19037 (eval $ac_link) 2>conftest.er1
19039 grep -v '^ *+' conftest.er1
>conftest.err
19041 cat conftest.err
>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } &&
19044 { ac_try
='test -z "$ac_c_werror_flag"
19045 || test ! -s conftest.err'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; } &&
19051 { ac_try
='test -s conftest$ac_exeext'
19052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 (eval $ac_try) 2>&5
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }; }; then
19057 eval "$as_ac_var=yes"
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.
$ac_ext >&5
19062 eval "$as_ac_var=no"
19064 rm -f conftest.err conftest.
$ac_objext \
19065 conftest
$ac_exeext conftest.
$ac_ext
19067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19069 if test `eval echo '${'$as_ac_var'}'` = yes; then
19070 cat >>confdefs.h
<<_ACEOF
19071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19077 if test "x$ac_cv_func_fork" = xyes
; then
19078 echo "$as_me:$LINENO: checking for working fork" >&5
19079 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
19080 if test "${ac_cv_func_fork_works+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19083 if test "$cross_compiling" = yes; then
19084 ac_cv_func_fork_works
=cross
19086 cat >conftest.
$ac_ext <<_ACEOF
19087 /* By Ruediger Kuhlmann. */
19088 #include <sys/types.h>
19090 # include <unistd.h>
19092 /* Some systems only have a dummy stub for fork() */
19100 rm -f conftest
$ac_exeext
19101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19102 (eval $ac_link) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 ac_cv_func_fork_works
=yes
19113 echo "$as_me: program exited with status $ac_status" >&5
19114 echo "$as_me: failed program was:" >&5
19115 sed 's/^/| /' conftest.
$ac_ext >&5
19117 ( exit $ac_status )
19118 ac_cv_func_fork_works
=no
19120 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19123 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
19124 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
19127 ac_cv_func_fork_works
=$ac_cv_func_fork
19129 if test "x$ac_cv_func_fork_works" = xcross
; then
19131 *-*-amigaos* |
*-*-msdosdjgpp*)
19132 # Override, as these systems have only a dummy fork() stub
19133 ac_cv_func_fork_works
=no
19136 ac_cv_func_fork_works
=yes
19139 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
19140 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
19142 ac_cv_func_vfork_works
=$ac_cv_func_vfork
19143 if test "x$ac_cv_func_vfork" = xyes
; then
19144 echo "$as_me:$LINENO: checking for working vfork" >&5
19145 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
19146 if test "${ac_cv_func_vfork_works+set}" = set; then
19147 echo $ECHO_N "(cached) $ECHO_C" >&6
19149 if test "$cross_compiling" = yes; then
19150 ac_cv_func_vfork_works
=cross
19152 cat >conftest.
$ac_ext <<_ACEOF
19155 cat confdefs.h
>>conftest.
$ac_ext
19156 cat >>conftest.
$ac_ext <<_ACEOF
19157 /* end confdefs.h. */
19158 /* Thanks to Paul Eggert for this test. */
19160 #include <stdlib.h>
19161 #include <sys/types.h>
19162 #include <sys/stat.h>
19163 #include <sys/wait.h>
19165 # include <unistd.h>
19168 # include <vfork.h>
19170 /* On some sparc systems, changes by the child to local and incoming
19171 argument registers are propagated back to the parent. The compiler
19172 is told about this with #include <vfork.h>, but some compilers
19173 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
19174 static variable whose address is put into a register that is
19175 clobbered by the vfork. */
19178 sparc_address_test (int arg)
19180 sparc_address_test (arg) int arg;
19183 static pid_t child;
19201 pid_t parent = getpid ();
19204 sparc_address_test (0);
19209 /* Here is another test for sparc vfork register problems. This
19210 test uses lots of local variables, at least as many local
19211 variables as main has allocated so far including compiler
19212 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
19213 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
19214 reuse the register of parent for one of the local variables,
19215 since it will think that parent can't possibly be used any more
19216 in this routine. Assigning to the local variable will thus
19217 munge parent in the parent process. */
19219 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
19220 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
19221 /* Convince the compiler that p..p7 are live; otherwise, it might
19222 use the same hardware register for all 8 local variables. */
19223 if (p != p1 || p != p2 || p != p3 || p != p4
19224 || p != p5 || p != p6 || p != p7)
19227 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
19228 from child file descriptors. If the child closes a descriptor
19229 before it execs or exits, this munges the parent's descriptor
19230 as well. Test for this by closing stdout in the child. */
19231 _exit(close(fileno(stdout)) != 0);
19236 while (wait(&status) != child)
19239 /* Was there some problem with vforking? */
19242 /* Did the child fail? (This shouldn't happen.) */
19245 /* Did the vfork/compiler bug occur? */
19246 || parent != getpid()
19248 /* Did the file descriptor bug occur? */
19249 || fstat(fileno(stdout), &st) != 0
19254 rm -f conftest
$ac_exeext
19255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19256 (eval $ac_link) 2>&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; }; then
19265 ac_cv_func_vfork_works
=yes
19267 echo "$as_me: program exited with status $ac_status" >&5
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.
$ac_ext >&5
19271 ( exit $ac_status )
19272 ac_cv_func_vfork_works
=no
19274 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19277 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
19278 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
19281 if test "x$ac_cv_func_fork_works" = xcross
; then
19282 ac_cv_func_vfork_works
=$ac_cv_func_vfork
19283 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
19284 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
19287 if test "x$ac_cv_func_vfork_works" = xyes
; then
19289 cat >>confdefs.h
<<\_ACEOF
19290 #define HAVE_WORKING_VFORK 1
19295 cat >>confdefs.h
<<\_ACEOF
19300 if test "x$ac_cv_func_fork_works" = xyes
; then
19302 cat >>confdefs.h
<<\_ACEOF
19303 #define HAVE_WORKING_FORK 1
19310 for ac_func
in canonicalize_file_name realpath
19312 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19313 echo "$as_me:$LINENO: checking for $ac_func" >&5
19314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19315 if eval "test \"\${$as_ac_var+set}\" = set"; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19318 cat >conftest.
$ac_ext <<_ACEOF
19321 cat confdefs.h
>>conftest.
$ac_ext
19322 cat >>conftest.
$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19326 #define $ac_func innocuous_$ac_func
19328 /* System header to define __stub macros and hopefully few prototypes,
19329 which can conflict with char $ac_func (); below.
19330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19331 <limits.h> exists even on freestanding compilers. */
19334 # include <limits.h>
19336 # include <assert.h>
19341 /* Override any gcc2 internal prototype to avoid an error. */
19346 /* We use char because int might match the return type of a gcc2
19347 builtin and then its argument prototype would still apply. */
19349 /* The GNU C library defines this for functions which it implements
19350 to always fail with ENOSYS. Some functions are actually named
19351 something starting with __ and the normal name is an alias. */
19352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19355 char (*f) () = $ac_func;
19364 return f != $ac_func;
19369 rm -f conftest.
$ac_objext conftest
$ac_exeext
19370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19371 (eval $ac_link) 2>conftest.er1
19373 grep -v '^ *+' conftest.er1
>conftest.err
19375 cat conftest.err
>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } &&
19378 { ac_try
='test -z "$ac_c_werror_flag"
19379 || test ! -s conftest.err'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; } &&
19385 { ac_try
='test -s conftest$ac_exeext'
19386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19387 (eval $ac_try) 2>&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; }; then
19391 eval "$as_ac_var=yes"
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.
$ac_ext >&5
19396 eval "$as_ac_var=no"
19398 rm -f conftest.err conftest.
$ac_objext \
19399 conftest
$ac_exeext conftest.
$ac_ext
19401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19403 if test `eval echo '${'$as_ac_var'}'` = yes; then
19404 cat >>confdefs.h
<<_ACEOF
19405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19412 for ac_func
in getrusage
19414 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19415 echo "$as_me:$LINENO: checking for $ac_func" >&5
19416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19417 if eval "test \"\${$as_ac_var+set}\" = set"; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 cat >conftest.
$ac_ext <<_ACEOF
19423 cat confdefs.h
>>conftest.
$ac_ext
19424 cat >>conftest.
$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19428 #define $ac_func innocuous_$ac_func
19430 /* System header to define __stub macros and hopefully few prototypes,
19431 which can conflict with char $ac_func (); below.
19432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19433 <limits.h> exists even on freestanding compilers. */
19436 # include <limits.h>
19438 # include <assert.h>
19443 /* Override any gcc2 internal prototype to avoid an error. */
19448 /* We use char because int might match the return type of a gcc2
19449 builtin and then its argument prototype would still apply. */
19451 /* The GNU C library defines this for functions which it implements
19452 to always fail with ENOSYS. Some functions are actually named
19453 something starting with __ and the normal name is an alias. */
19454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19457 char (*f) () = $ac_func;
19466 return f != $ac_func;
19471 rm -f conftest.
$ac_objext conftest
$ac_exeext
19472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19473 (eval $ac_link) 2>conftest.er1
19475 grep -v '^ *+' conftest.er1
>conftest.err
19477 cat conftest.err
>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try
='test -z "$ac_c_werror_flag"
19481 || test ! -s conftest.err'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; } &&
19487 { ac_try
='test -s conftest$ac_exeext'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; }; then
19493 eval "$as_ac_var=yes"
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.
$ac_ext >&5
19498 eval "$as_ac_var=no"
19500 rm -f conftest.err conftest.
$ac_objext \
19501 conftest
$ac_exeext conftest.
$ac_ext
19503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19505 if test `eval echo '${'$as_ac_var'}'` = yes; then
19506 cat >>confdefs.h
<<_ACEOF
19507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19515 for ac_func
in getuid getgid
19517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19518 echo "$as_me:$LINENO: checking for $ac_func" >&5
19519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19520 if eval "test \"\${$as_ac_var+set}\" = set"; then
19521 echo $ECHO_N "(cached) $ECHO_C" >&6
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19531 #define $ac_func innocuous_$ac_func
19533 /* System header to define __stub macros and hopefully few prototypes,
19534 which can conflict with char $ac_func (); below.
19535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19536 <limits.h> exists even on freestanding compilers. */
19539 # include <limits.h>
19541 # include <assert.h>
19546 /* Override any gcc2 internal prototype to avoid an error. */
19551 /* We use char because int might match the return type of a gcc2
19552 builtin and then its argument prototype would still apply. */
19554 /* The GNU C library defines this for functions which it implements
19555 to always fail with ENOSYS. Some functions are actually named
19556 something starting with __ and the normal name is an alias. */
19557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19560 char (*f) () = $ac_func;
19569 return f != $ac_func;
19574 rm -f conftest.
$ac_objext conftest
$ac_exeext
19575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19576 (eval $ac_link) 2>conftest.er1
19578 grep -v '^ *+' conftest.er1
>conftest.err
19580 cat conftest.err
>&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } &&
19583 { ac_try
='test -z "$ac_c_werror_flag"
19584 || test ! -s conftest.err'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; } &&
19590 { ac_try
='test -s conftest$ac_exeext'
19591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19592 (eval $ac_try) 2>&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); }; }; then
19596 eval "$as_ac_var=yes"
19598 echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.
$ac_ext >&5
19601 eval "$as_ac_var=no"
19603 rm -f conftest.err conftest.
$ac_objext \
19604 conftest
$ac_exeext conftest.
$ac_ext
19606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19608 if test `eval echo '${'$as_ac_var'}'` = yes; then
19609 cat >>confdefs.h
<<_ACEOF
19610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19617 for ac_func
in poll
19619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19620 echo "$as_me:$LINENO: checking for $ac_func" >&5
19621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19622 if eval "test \"\${$as_ac_var+set}\" = set"; then
19623 echo $ECHO_N "(cached) $ECHO_C" >&6
19625 cat >conftest.
$ac_ext <<_ACEOF
19628 cat confdefs.h
>>conftest.
$ac_ext
19629 cat >>conftest.
$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19633 #define $ac_func innocuous_$ac_func
19635 /* System header to define __stub macros and hopefully few prototypes,
19636 which can conflict with char $ac_func (); below.
19637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19638 <limits.h> exists even on freestanding compilers. */
19641 # include <limits.h>
19643 # include <assert.h>
19648 /* Override any gcc2 internal prototype to avoid an error. */
19653 /* We use char because int might match the return type of a gcc2
19654 builtin and then its argument prototype would still apply. */
19656 /* The GNU C library defines this for functions which it implements
19657 to always fail with ENOSYS. Some functions are actually named
19658 something starting with __ and the normal name is an alias. */
19659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19662 char (*f) () = $ac_func;
19671 return f != $ac_func;
19676 rm -f conftest.
$ac_objext conftest
$ac_exeext
19677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19678 (eval $ac_link) 2>conftest.er1
19680 grep -v '^ *+' conftest.er1
>conftest.err
19682 cat conftest.err
>&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } &&
19685 { ac_try
='test -z "$ac_c_werror_flag"
19686 || test ! -s conftest.err'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; } &&
19692 { ac_try
='test -s conftest$ac_exeext'
19693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694 (eval $ac_try) 2>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; }; then
19698 eval "$as_ac_var=yes"
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.
$ac_ext >&5
19703 eval "$as_ac_var=no"
19705 rm -f conftest.err conftest.
$ac_objext \
19706 conftest
$ac_exeext conftest.
$ac_ext
19708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19710 if test `eval echo '${'$as_ac_var'}'` = yes; then
19711 cat >>confdefs.h
<<_ACEOF
19712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19719 for ac_func
in pread64
19721 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19722 echo "$as_me:$LINENO: checking for $ac_func" >&5
19723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19724 if eval "test \"\${$as_ac_var+set}\" = set"; then
19725 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 cat >conftest.
$ac_ext <<_ACEOF
19730 cat confdefs.h
>>conftest.
$ac_ext
19731 cat >>conftest.
$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19735 #define $ac_func innocuous_$ac_func
19737 /* System header to define __stub macros and hopefully few prototypes,
19738 which can conflict with char $ac_func (); below.
19739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19740 <limits.h> exists even on freestanding compilers. */
19743 # include <limits.h>
19745 # include <assert.h>
19750 /* Override any gcc2 internal prototype to avoid an error. */
19755 /* We use char because int might match the return type of a gcc2
19756 builtin and then its argument prototype would still apply. */
19758 /* The GNU C library defines this for functions which it implements
19759 to always fail with ENOSYS. Some functions are actually named
19760 something starting with __ and the normal name is an alias. */
19761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19764 char (*f) () = $ac_func;
19773 return f != $ac_func;
19778 rm -f conftest.
$ac_objext conftest
$ac_exeext
19779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19780 (eval $ac_link) 2>conftest.er1
19782 grep -v '^ *+' conftest.er1
>conftest.err
19784 cat conftest.err
>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } &&
19787 { ac_try
='test -z "$ac_c_werror_flag"
19788 || test ! -s conftest.err'
19789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790 (eval $ac_try) 2>&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; } &&
19794 { ac_try
='test -s conftest$ac_exeext'
19795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19796 (eval $ac_try) 2>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); }; }; then
19800 eval "$as_ac_var=yes"
19802 echo "$as_me: failed program was:" >&5
19803 sed 's/^/| /' conftest.
$ac_ext >&5
19805 eval "$as_ac_var=no"
19807 rm -f conftest.err conftest.
$ac_objext \
19808 conftest
$ac_exeext conftest.
$ac_ext
19810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19812 if test `eval echo '${'$as_ac_var'}'` = yes; then
19813 cat >>confdefs.h
<<_ACEOF
19814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19821 for ac_func
in sbrk
19823 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19824 echo "$as_me:$LINENO: checking for $ac_func" >&5
19825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19826 if eval "test \"\${$as_ac_var+set}\" = set"; then
19827 echo $ECHO_N "(cached) $ECHO_C" >&6
19829 cat >conftest.
$ac_ext <<_ACEOF
19832 cat confdefs.h
>>conftest.
$ac_ext
19833 cat >>conftest.
$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19837 #define $ac_func innocuous_$ac_func
19839 /* System header to define __stub macros and hopefully few prototypes,
19840 which can conflict with char $ac_func (); below.
19841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19842 <limits.h> exists even on freestanding compilers. */
19845 # include <limits.h>
19847 # include <assert.h>
19852 /* Override any gcc2 internal prototype to avoid an error. */
19857 /* We use char because int might match the return type of a gcc2
19858 builtin and then its argument prototype would still apply. */
19860 /* The GNU C library defines this for functions which it implements
19861 to always fail with ENOSYS. Some functions are actually named
19862 something starting with __ and the normal name is an alias. */
19863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19866 char (*f) () = $ac_func;
19875 return f != $ac_func;
19880 rm -f conftest.
$ac_objext conftest
$ac_exeext
19881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19882 (eval $ac_link) 2>conftest.er1
19884 grep -v '^ *+' conftest.er1
>conftest.err
19886 cat conftest.err
>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } &&
19889 { ac_try
='test -z "$ac_c_werror_flag"
19890 || test ! -s conftest.err'
19891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892 (eval $ac_try) 2>&5
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try
='test -s conftest$ac_exeext'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; }; then
19902 eval "$as_ac_var=yes"
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.
$ac_ext >&5
19907 eval "$as_ac_var=no"
19909 rm -f conftest.err conftest.
$ac_objext \
19910 conftest
$ac_exeext conftest.
$ac_ext
19912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19914 if test `eval echo '${'$as_ac_var'}'` = yes; then
19915 cat >>confdefs.h
<<_ACEOF
19916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19925 for ac_func
in setpgid setpgrp setsid
19927 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19928 echo "$as_me:$LINENO: checking for $ac_func" >&5
19929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19930 if eval "test \"\${$as_ac_var+set}\" = set"; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19933 cat >conftest.
$ac_ext <<_ACEOF
19936 cat confdefs.h
>>conftest.
$ac_ext
19937 cat >>conftest.
$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19941 #define $ac_func innocuous_$ac_func
19943 /* System header to define __stub macros and hopefully few prototypes,
19944 which can conflict with char $ac_func (); below.
19945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19946 <limits.h> exists even on freestanding compilers. */
19949 # include <limits.h>
19951 # include <assert.h>
19956 /* Override any gcc2 internal prototype to avoid an error. */
19961 /* We use char because int might match the return type of a gcc2
19962 builtin and then its argument prototype would still apply. */
19964 /* The GNU C library defines this for functions which it implements
19965 to always fail with ENOSYS. Some functions are actually named
19966 something starting with __ and the normal name is an alias. */
19967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19970 char (*f) () = $ac_func;
19979 return f != $ac_func;
19984 rm -f conftest.
$ac_objext conftest
$ac_exeext
19985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19986 (eval $ac_link) 2>conftest.er1
19988 grep -v '^ *+' conftest.er1
>conftest.err
19990 cat conftest.err
>&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try
='test -z "$ac_c_werror_flag"
19994 || test ! -s conftest.err'
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); }; } &&
20000 { ac_try
='test -s conftest$ac_exeext'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 eval "$as_ac_var=yes"
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.
$ac_ext >&5
20011 eval "$as_ac_var=no"
20013 rm -f conftest.err conftest.
$ac_objext \
20014 conftest
$ac_exeext conftest.
$ac_ext
20016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20018 if test `eval echo '${'$as_ac_var'}'` = yes; then
20019 cat >>confdefs.h
<<_ACEOF
20020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20029 for ac_func
in sigaction sigprocmask sigsetmask
20031 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20032 echo "$as_me:$LINENO: checking for $ac_func" >&5
20033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20034 if eval "test \"\${$as_ac_var+set}\" = set"; then
20035 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 cat >conftest.
$ac_ext <<_ACEOF
20040 cat confdefs.h
>>conftest.
$ac_ext
20041 cat >>conftest.
$ac_ext <<_ACEOF
20042 /* end confdefs.h. */
20043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20045 #define $ac_func innocuous_$ac_func
20047 /* System header to define __stub macros and hopefully few prototypes,
20048 which can conflict with char $ac_func (); below.
20049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20050 <limits.h> exists even on freestanding compilers. */
20053 # include <limits.h>
20055 # include <assert.h>
20060 /* Override any gcc2 internal prototype to avoid an error. */
20065 /* We use char because int might match the return type of a gcc2
20066 builtin and then its argument prototype would still apply. */
20068 /* The GNU C library defines this for functions which it implements
20069 to always fail with ENOSYS. Some functions are actually named
20070 something starting with __ and the normal name is an alias. */
20071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20074 char (*f) () = $ac_func;
20083 return f != $ac_func;
20088 rm -f conftest.
$ac_objext conftest
$ac_exeext
20089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20090 (eval $ac_link) 2>conftest.er1
20092 grep -v '^ *+' conftest.er1
>conftest.err
20094 cat conftest.err
>&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); } &&
20097 { ac_try
='test -z "$ac_c_werror_flag"
20098 || test ! -s conftest.err'
20099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20100 (eval $ac_try) 2>&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); }; } &&
20104 { ac_try
='test -s conftest$ac_exeext'
20105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106 (eval $ac_try) 2>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); }; }; then
20110 eval "$as_ac_var=yes"
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.
$ac_ext >&5
20115 eval "$as_ac_var=no"
20117 rm -f conftest.err conftest.
$ac_objext \
20118 conftest
$ac_exeext conftest.
$ac_ext
20120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20122 if test `eval echo '${'$as_ac_var'}'` = yes; then
20123 cat >>confdefs.h
<<_ACEOF
20124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20131 for ac_func
in socketpair
20133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20134 echo "$as_me:$LINENO: checking for $ac_func" >&5
20135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20136 if eval "test \"\${$as_ac_var+set}\" = set"; then
20137 echo $ECHO_N "(cached) $ECHO_C" >&6
20139 cat >conftest.
$ac_ext <<_ACEOF
20142 cat confdefs.h
>>conftest.
$ac_ext
20143 cat >>conftest.
$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20147 #define $ac_func innocuous_$ac_func
20149 /* System header to define __stub macros and hopefully few prototypes,
20150 which can conflict with char $ac_func (); below.
20151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20152 <limits.h> exists even on freestanding compilers. */
20155 # include <limits.h>
20157 # include <assert.h>
20162 /* Override any gcc2 internal prototype to avoid an error. */
20167 /* We use char because int might match the return type of a gcc2
20168 builtin and then its argument prototype would still apply. */
20170 /* The GNU C library defines this for functions which it implements
20171 to always fail with ENOSYS. Some functions are actually named
20172 something starting with __ and the normal name is an alias. */
20173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20176 char (*f) () = $ac_func;
20185 return f != $ac_func;
20190 rm -f conftest.
$ac_objext conftest
$ac_exeext
20191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20192 (eval $ac_link) 2>conftest.er1
20194 grep -v '^ *+' conftest.er1
>conftest.err
20196 cat conftest.err
>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); } &&
20199 { ac_try
='test -z "$ac_c_werror_flag"
20200 || test ! -s conftest.err'
20201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202 (eval $ac_try) 2>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; } &&
20206 { ac_try
='test -s conftest$ac_exeext'
20207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20208 (eval $ac_try) 2>&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); }; }; then
20212 eval "$as_ac_var=yes"
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.
$ac_ext >&5
20217 eval "$as_ac_var=no"
20219 rm -f conftest.err conftest.
$ac_objext \
20220 conftest
$ac_exeext conftest.
$ac_ext
20222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20224 if test `eval echo '${'$as_ac_var'}'` = yes; then
20225 cat >>confdefs.h
<<_ACEOF
20226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20233 for ac_func
in syscall
20235 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20236 echo "$as_me:$LINENO: checking for $ac_func" >&5
20237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20238 if eval "test \"\${$as_ac_var+set}\" = set"; then
20239 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 cat >conftest.
$ac_ext <<_ACEOF
20244 cat confdefs.h
>>conftest.
$ac_ext
20245 cat >>conftest.
$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20249 #define $ac_func innocuous_$ac_func
20251 /* System header to define __stub macros and hopefully few prototypes,
20252 which can conflict with char $ac_func (); below.
20253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20254 <limits.h> exists even on freestanding compilers. */
20257 # include <limits.h>
20259 # include <assert.h>
20264 /* Override any gcc2 internal prototype to avoid an error. */
20269 /* We use char because int might match the return type of a gcc2
20270 builtin and then its argument prototype would still apply. */
20272 /* The GNU C library defines this for functions which it implements
20273 to always fail with ENOSYS. Some functions are actually named
20274 something starting with __ and the normal name is an alias. */
20275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20278 char (*f) () = $ac_func;
20287 return f != $ac_func;
20292 rm -f conftest.
$ac_objext conftest
$ac_exeext
20293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20294 (eval $ac_link) 2>conftest.er1
20296 grep -v '^ *+' conftest.er1
>conftest.err
20298 cat conftest.err
>&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); } &&
20301 { ac_try
='test -z "$ac_c_werror_flag"
20302 || test ! -s conftest.err'
20303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304 (eval $ac_try) 2>&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); }; } &&
20308 { ac_try
='test -s conftest$ac_exeext'
20309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310 (eval $ac_try) 2>&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); }; }; then
20314 eval "$as_ac_var=yes"
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.
$ac_ext >&5
20319 eval "$as_ac_var=no"
20321 rm -f conftest.err conftest.
$ac_objext \
20322 conftest
$ac_exeext conftest.
$ac_ext
20324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20326 if test `eval echo '${'$as_ac_var'}'` = yes; then
20327 cat >>confdefs.h
<<_ACEOF
20328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20335 for ac_func
in ttrace
20337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20338 echo "$as_me:$LINENO: checking for $ac_func" >&5
20339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20340 if eval "test \"\${$as_ac_var+set}\" = set"; then
20341 echo $ECHO_N "(cached) $ECHO_C" >&6
20343 cat >conftest.
$ac_ext <<_ACEOF
20346 cat confdefs.h
>>conftest.
$ac_ext
20347 cat >>conftest.
$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20351 #define $ac_func innocuous_$ac_func
20353 /* System header to define __stub macros and hopefully few prototypes,
20354 which can conflict with char $ac_func (); below.
20355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20356 <limits.h> exists even on freestanding compilers. */
20359 # include <limits.h>
20361 # include <assert.h>
20366 /* Override any gcc2 internal prototype to avoid an error. */
20371 /* We use char because int might match the return type of a gcc2
20372 builtin and then its argument prototype would still apply. */
20374 /* The GNU C library defines this for functions which it implements
20375 to always fail with ENOSYS. Some functions are actually named
20376 something starting with __ and the normal name is an alias. */
20377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20380 char (*f) () = $ac_func;
20389 return f != $ac_func;
20394 rm -f conftest.
$ac_objext conftest
$ac_exeext
20395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20396 (eval $ac_link) 2>conftest.er1
20398 grep -v '^ *+' conftest.er1
>conftest.err
20400 cat conftest.err
>&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); } &&
20403 { ac_try
='test -z "$ac_c_werror_flag"
20404 || test ! -s conftest.err'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; } &&
20410 { ac_try
='test -s conftest$ac_exeext'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; }; then
20416 eval "$as_ac_var=yes"
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.
$ac_ext >&5
20421 eval "$as_ac_var=no"
20423 rm -f conftest.err conftest.
$ac_objext \
20424 conftest
$ac_exeext conftest.
$ac_ext
20426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20428 if test `eval echo '${'$as_ac_var'}'` = yes; then
20429 cat >>confdefs.h
<<_ACEOF
20430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20437 for ac_func
in wborder
20439 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20440 echo "$as_me:$LINENO: checking for $ac_func" >&5
20441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20442 if eval "test \"\${$as_ac_var+set}\" = set"; then
20443 echo $ECHO_N "(cached) $ECHO_C" >&6
20445 cat >conftest.
$ac_ext <<_ACEOF
20448 cat confdefs.h
>>conftest.
$ac_ext
20449 cat >>conftest.
$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20453 #define $ac_func innocuous_$ac_func
20455 /* System header to define __stub macros and hopefully few prototypes,
20456 which can conflict with char $ac_func (); below.
20457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20458 <limits.h> exists even on freestanding compilers. */
20461 # include <limits.h>
20463 # include <assert.h>
20468 /* Override any gcc2 internal prototype to avoid an error. */
20473 /* We use char because int might match the return type of a gcc2
20474 builtin and then its argument prototype would still apply. */
20476 /* The GNU C library defines this for functions which it implements
20477 to always fail with ENOSYS. Some functions are actually named
20478 something starting with __ and the normal name is an alias. */
20479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20482 char (*f) () = $ac_func;
20491 return f != $ac_func;
20496 rm -f conftest.
$ac_objext conftest
$ac_exeext
20497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20498 (eval $ac_link) 2>conftest.er1
20500 grep -v '^ *+' conftest.er1
>conftest.err
20502 cat conftest.err
>&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); } &&
20505 { ac_try
='test -z "$ac_c_werror_flag"
20506 || test ! -s conftest.err'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; } &&
20512 { ac_try
='test -s conftest$ac_exeext'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; }; then
20518 eval "$as_ac_var=yes"
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.
$ac_ext >&5
20523 eval "$as_ac_var=no"
20525 rm -f conftest.err conftest.
$ac_objext \
20526 conftest
$ac_exeext conftest.
$ac_ext
20528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20530 if test `eval echo '${'$as_ac_var'}'` = yes; then
20531 cat >>confdefs.h
<<_ACEOF
20532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20539 # Check the return and argument types of ptrace. No canned test for
20540 # this, so roll our own.
20541 gdb_ptrace_headers
='
20542 #if HAVE_SYS_TYPES_H
20543 # include <sys/types.h>
20545 #if HAVE_SYS_PTRACE_H
20546 # include <sys/ptrace.h>
20549 # include <unistd.h>
20552 # There is no point in checking if we don't have a prototype.
20553 echo "$as_me:$LINENO: checking whether ptrace is declared" >&5
20554 echo $ECHO_N "checking whether ptrace is declared... $ECHO_C" >&6
20555 if test "${ac_cv_have_decl_ptrace+set}" = set; then
20556 echo $ECHO_N "(cached) $ECHO_C" >&6
20558 cat >conftest.
$ac_ext <<_ACEOF
20561 cat confdefs.h
>>conftest.
$ac_ext
20562 cat >>conftest.
$ac_ext <<_ACEOF
20563 /* end confdefs.h. */
20564 $gdb_ptrace_headers
20570 char *p = (char *) ptrace;
20577 rm -f conftest.
$ac_objext
20578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20579 (eval $ac_compile) 2>conftest.er1
20581 grep -v '^ *+' conftest.er1
>conftest.err
20583 cat conftest.err
>&5
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); } &&
20586 { ac_try
='test -z "$ac_c_werror_flag"
20587 || test ! -s conftest.err'
20588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20589 (eval $ac_try) 2>&5
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); }; } &&
20593 { ac_try
='test -s conftest.$ac_objext'
20594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595 (eval $ac_try) 2>&5
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); }; }; then
20599 ac_cv_have_decl_ptrace
=yes
20601 echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.
$ac_ext >&5
20604 ac_cv_have_decl_ptrace
=no
20606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20608 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ptrace" >&5
20609 echo "${ECHO_T}$ac_cv_have_decl_ptrace" >&6
20610 if test $ac_cv_have_decl_ptrace = yes; then
20612 cat >>confdefs.h
<<_ACEOF
20613 #define HAVE_DECL_PTRACE 1
20618 cat >>confdefs.h
<<_ACEOF
20619 #define HAVE_DECL_PTRACE 0
20623 : ${gdb_cv_func_ptrace_ret='int'}
20624 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
20629 # Check return type. Varargs (used on GNU/Linux) conflict with the
20630 # empty argument list, so check for that explicitly.
20631 echo "$as_me:$LINENO: checking return type of ptrace" >&5
20632 echo $ECHO_N "checking return type of ptrace... $ECHO_C" >&6
20633 if test "${gdb_cv_func_ptrace_ret+set}" = set; then
20634 echo $ECHO_N "(cached) $ECHO_C" >&6
20636 cat >conftest.
$ac_ext <<_ACEOF
20639 cat confdefs.h
>>conftest.
$ac_ext
20640 cat >>conftest.
$ac_ext <<_ACEOF
20641 /* end confdefs.h. */
20642 $gdb_ptrace_headers
20646 extern long ptrace (enum __ptrace_request, ...);
20651 rm -f conftest.
$ac_objext
20652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20653 (eval $ac_compile) 2>conftest.er1
20655 grep -v '^ *+' conftest.er1
>conftest.err
20657 cat conftest.err
>&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); } &&
20660 { ac_try
='test -z "$ac_c_werror_flag"
20661 || test ! -s conftest.err'
20662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20663 (eval $ac_try) 2>&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); }; } &&
20667 { ac_try
='test -s conftest.$ac_objext'
20668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20669 (eval $ac_try) 2>&5
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); }; }; then
20673 gdb_cv_func_ptrace_ret
='long'
20675 echo "$as_me: failed program was:" >&5
20676 sed 's/^/| /' conftest.
$ac_ext >&5
20678 cat >conftest.
$ac_ext <<_ACEOF
20681 cat confdefs.h
>>conftest.
$ac_ext
20682 cat >>conftest.
$ac_ext <<_ACEOF
20683 /* end confdefs.h. */
20684 $gdb_ptrace_headers
20688 extern int ptrace ();
20693 rm -f conftest.
$ac_objext
20694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20695 (eval $ac_compile) 2>conftest.er1
20697 grep -v '^ *+' conftest.er1
>conftest.err
20699 cat conftest.err
>&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } &&
20702 { ac_try
='test -z "$ac_c_werror_flag"
20703 || test ! -s conftest.err'
20704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; } &&
20709 { ac_try
='test -s conftest.$ac_objext'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; }; then
20715 gdb_cv_func_ptrace_ret
='int'
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.
$ac_ext >&5
20720 gdb_cv_func_ptrace_ret
='long'
20722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20726 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_ret" >&5
20727 echo "${ECHO_T}$gdb_cv_func_ptrace_ret" >&6
20729 cat >>confdefs.h
<<_ACEOF
20730 #define PTRACE_TYPE_RET $gdb_cv_func_ptrace_ret
20733 # Check argument types.
20734 echo "$as_me:$LINENO: checking types of arguments for ptrace" >&5
20735 echo $ECHO_N "checking types of arguments for ptrace... $ECHO_C" >&6
20736 if test "${gdb_cv_func_ptrace_args+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20740 cat >conftest.
$ac_ext <<_ACEOF
20743 cat confdefs.h
>>conftest.
$ac_ext
20744 cat >>conftest.
$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20746 $gdb_ptrace_headers
20750 extern long ptrace (enum __ptrace_request, ...);
20755 rm -f conftest.
$ac_objext
20756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20757 (eval $ac_compile) 2>conftest.er1
20759 grep -v '^ *+' conftest.er1
>conftest.err
20761 cat conftest.err
>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } &&
20764 { ac_try
='test -z "$ac_c_werror_flag"
20765 || test ! -s conftest.err'
20766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767 (eval $ac_try) 2>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; } &&
20771 { ac_try
='test -s conftest.$ac_objext'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; }; then
20777 gdb_cv_func_ptrace_args
='int,int,long,long'
20779 echo "$as_me: failed program was:" >&5
20780 sed 's/^/| /' conftest.
$ac_ext >&5
20783 for gdb_arg1
in 'int' 'long'; do
20784 for gdb_arg2
in 'pid_t' 'int' 'long'; do
20785 for gdb_arg3
in 'int *' 'caddr_t' 'int' 'long' 'void *'; do
20786 for gdb_arg4
in 'int' 'long'; do
20787 cat >conftest.
$ac_ext <<_ACEOF
20790 cat confdefs.h
>>conftest.
$ac_ext
20791 cat >>conftest.
$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20793 $gdb_ptrace_headers
20798 extern $gdb_cv_func_ptrace_ret
20799 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4);
20805 rm -f conftest.
$ac_objext
20806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20807 (eval $ac_compile) 2>conftest.er1
20809 grep -v '^ *+' conftest.er1
>conftest.err
20811 cat conftest.err
>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); } &&
20814 { ac_try
='test -z "$ac_c_werror_flag"
20815 || test ! -s conftest.err'
20816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20817 (eval $ac_try) 2>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); }; } &&
20821 { ac_try
='test -s conftest.$ac_objext'
20822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823 (eval $ac_try) 2>&5
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); }; }; then
20827 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4";
20830 echo "$as_me: failed program was:" >&5
20831 sed 's/^/| /' conftest.
$ac_ext >&5
20834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20835 for gdb_arg5
in 'int *' 'int' 'long'; do
20836 cat >conftest.
$ac_ext <<_ACEOF
20839 cat confdefs.h
>>conftest.
$ac_ext
20840 cat >>conftest.
$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $gdb_ptrace_headers
20847 extern $gdb_cv_func_ptrace_ret
20848 ptrace ($gdb_arg1, $gdb_arg2, $gdb_arg3, $gdb_arg4, $gdb_arg5);
20854 rm -f conftest.
$ac_objext
20855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20856 (eval $ac_compile) 2>conftest.er1
20858 grep -v '^ *+' conftest.er1
>conftest.err
20860 cat conftest.err
>&5
20861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20862 (exit $ac_status); } &&
20863 { ac_try
='test -z "$ac_c_werror_flag"
20864 || test ! -s conftest.err'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; } &&
20870 { ac_try
='test -s conftest.$ac_objext'
20871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20872 (eval $ac_try) 2>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); }; }; then
20877 gdb_cv_func_ptrace_args
="$gdb_arg1,$gdb_arg2,$gdb_arg3,$gdb_arg4,$gdb_arg5";
20880 echo "$as_me: failed program was:" >&5
20881 sed 's/^/| /' conftest.
$ac_ext >&5
20884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20890 # Provide a safe default value.
20891 : ${gdb_cv_func_ptrace_args='int,int,long,long'}
20894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20896 echo "$as_me:$LINENO: result: $gdb_cv_func_ptrace_args" >&5
20897 echo "${ECHO_T}$gdb_cv_func_ptrace_args" >&6
20898 ac_save_IFS
=$IFS; IFS
=','
20899 set dummy
`echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
20903 cat >>confdefs.h
<<_ACEOF
20904 #define PTRACE_TYPE_ARG3 $3
20907 if test -n "$5"; then
20909 cat >>confdefs.h
<<_ACEOF
20910 #define PTRACE_TYPE_ARG5 $5
20915 if test "$cross_compiling" = no
; then
20916 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
20917 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
20918 if test "${ac_cv_func_setpgrp_void+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 if test "$cross_compiling" = yes; then
20922 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
20923 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
20924 { (exit 1); exit 1; }; }
20926 cat >conftest.
$ac_ext <<_ACEOF
20929 cat confdefs.h
>>conftest.
$ac_ext
20930 cat >>conftest.
$ac_ext <<_ACEOF
20931 /* end confdefs.h. */
20933 # include <unistd.h>
20939 /* If this system has a BSD-style setpgrp which takes arguments,
20940 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
20941 exit successfully. */
20942 exit (setpgrp (1,1) == -1 ? 0 : 1);
20947 rm -f conftest
$ac_exeext
20948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20949 (eval $ac_link) 2>&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; }; then
20958 ac_cv_func_setpgrp_void
=no
20960 echo "$as_me: program exited with status $ac_status" >&5
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.
$ac_ext >&5
20964 ( exit $ac_status )
20965 ac_cv_func_setpgrp_void
=yes
20967 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20970 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
20971 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
20972 if test $ac_cv_func_setpgrp_void = yes; then
20974 cat >>confdefs.h
<<\_ACEOF
20975 #define SETPGRP_VOID 1
20981 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
20982 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
20983 if test "${ac_cv_func_setpgrp_void+set}" = set; then
20984 echo $ECHO_N "(cached) $ECHO_C" >&6
20986 cat >conftest.
$ac_ext <<_ACEOF
20989 cat confdefs.h
>>conftest.
$ac_ext
20990 cat >>conftest.
$ac_ext <<_ACEOF
20991 /* end confdefs.h. */
20993 #include <unistd.h>
20999 if (setpgrp(1,1) == -1)
21008 rm -f conftest.
$ac_objext
21009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21010 (eval $ac_compile) 2>conftest.er1
21012 grep -v '^ *+' conftest.er1
>conftest.err
21014 cat conftest.err
>&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } &&
21017 { ac_try
='test -z "$ac_c_werror_flag"
21018 || test ! -s conftest.err'
21019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21020 (eval $ac_try) 2>&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); }; } &&
21024 { ac_try
='test -s conftest.$ac_objext'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; }; then
21030 ac_cv_func_setpgrp_void
=no
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.
$ac_ext >&5
21035 ac_cv_func_setpgrp_void
=yes
21037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21039 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
21040 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
21041 if test $ac_cv_func_setpgrp_void = yes; then
21042 cat >>confdefs.h
<<\_ACEOF
21043 #define SETPGRP_VOID 1
21049 # Check if sigsetjmp is available. Using AC_CHECK_FUNCS won't do
21050 # since sigsetjmp might only be defined as a macro.
21051 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
21052 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
21053 if test "${gdb_cv_func_sigsetjmp+set}" = set; then
21054 echo $ECHO_N "(cached) $ECHO_C" >&6
21056 cat >conftest.
$ac_ext <<_ACEOF
21059 cat confdefs.h
>>conftest.
$ac_ext
21060 cat >>conftest.
$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21063 #include <setjmp.h>
21068 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21073 rm -f conftest.
$ac_objext
21074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21075 (eval $ac_compile) 2>conftest.er1
21077 grep -v '^ *+' conftest.er1
>conftest.err
21079 cat conftest.err
>&5
21080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21081 (exit $ac_status); } &&
21082 { ac_try
='test -z "$ac_c_werror_flag"
21083 || test ! -s conftest.err'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; } &&
21089 { ac_try
='test -s conftest.$ac_objext'
21090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21091 (eval $ac_try) 2>&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); }; }; then
21095 gdb_cv_func_sigsetjmp
=yes
21097 echo "$as_me: failed program was:" >&5
21098 sed 's/^/| /' conftest.
$ac_ext >&5
21100 gdb_cv_func_sigsetjmp
=no
21102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21104 echo "$as_me:$LINENO: result: $gdb_cv_func_sigsetjmp" >&5
21105 echo "${ECHO_T}$gdb_cv_func_sigsetjmp" >&6
21106 if test $gdb_cv_func_sigsetjmp = yes; then
21108 cat >>confdefs.h
<<\_ACEOF
21109 #define HAVE_SIGSETJMP 1
21114 # Assume we'll default to using the included libiberty regex.
21115 gdb_use_included_regex
=yes
21117 # However, if the system regex is GNU regex, then default to *not*
21118 # using the included regex.
21119 echo "$as_me:$LINENO: checking for GNU regex" >&5
21120 echo $ECHO_N "checking for GNU regex... $ECHO_C" >&6
21121 if test "${gdb_cv_have_gnu_regex+set}" = set; then
21122 echo $ECHO_N "(cached) $ECHO_C" >&6
21124 cat >conftest.
$ac_ext <<_ACEOF
21127 cat confdefs.h
>>conftest.
$ac_ext
21128 cat >>conftest.
$ac_ext <<_ACEOF
21129 /* end confdefs.h. */
21130 #include <gnu-versions.h>
21134 #define REGEX_INTERFACE_VERSION 1
21135 #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION
21136 # error "Version mismatch"
21142 rm -f conftest.
$ac_objext
21143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21144 (eval $ac_compile) 2>conftest.er1
21146 grep -v '^ *+' conftest.er1
>conftest.err
21148 cat conftest.err
>&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); } &&
21151 { ac_try
='test -z "$ac_c_werror_flag"
21152 || test ! -s conftest.err'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; } &&
21158 { ac_try
='test -s conftest.$ac_objext'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164 gdb_cv_have_gnu_regex
=yes
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.
$ac_ext >&5
21169 gdb_cv_have_gnu_regex
=no
21171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21173 echo "$as_me:$LINENO: result: $gdb_cv_have_gnu_regex" >&5
21174 echo "${ECHO_T}$gdb_cv_have_gnu_regex" >&6
21175 if test $gdb_cv_have_gnu_regex = yes; then
21176 gdb_use_included_regex
=no
21180 # Check whether --with-included-regex or --without-included-regex was given.
21181 if test "${with_included_regex+set}" = set; then
21182 withval
="$with_included_regex"
21183 gdb_with_regex
=$withval
21185 gdb_with_regex
=$gdb_use_included_regex
21187 if test "$gdb_with_regex" = yes; then
21189 cat >>confdefs.h
<<\_ACEOF
21190 #define USE_INCLUDED_REGEX 1
21195 # Check if <sys/proc.h> defines `struct thread' with a td_pcb member.
21196 echo "$as_me:$LINENO: checking for struct thread.td_pcb" >&5
21197 echo $ECHO_N "checking for struct thread.td_pcb... $ECHO_C" >&6
21198 if test "${ac_cv_member_struct_thread_td_pcb+set}" = set; then
21199 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 cat >conftest.
$ac_ext <<_ACEOF
21204 cat confdefs.h
>>conftest.
$ac_ext
21205 cat >>conftest.
$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21207 #include <sys/param.h>
21208 #include <sys/proc.h>
21214 static struct thread ac_aggr;
21215 if (ac_aggr.td_pcb)
21221 rm -f conftest.
$ac_objext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21223 (eval $ac_compile) 2>conftest.er1
21225 grep -v '^ *+' conftest.er1
>conftest.err
21227 cat conftest.err
>&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } &&
21230 { ac_try
='test -z "$ac_c_werror_flag"
21231 || test ! -s conftest.err'
21232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21233 (eval $ac_try) 2>&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); }; } &&
21237 { ac_try
='test -s conftest.$ac_objext'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; }; then
21243 ac_cv_member_struct_thread_td_pcb
=yes
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.
$ac_ext >&5
21248 cat >conftest.
$ac_ext <<_ACEOF
21251 cat confdefs.h
>>conftest.
$ac_ext
21252 cat >>conftest.
$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 #include <sys/param.h>
21255 #include <sys/proc.h>
21261 static struct thread ac_aggr;
21262 if (sizeof ac_aggr.td_pcb)
21268 rm -f conftest.
$ac_objext
21269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21270 (eval $ac_compile) 2>conftest.er1
21272 grep -v '^ *+' conftest.er1
>conftest.err
21274 cat conftest.err
>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } &&
21277 { ac_try
='test -z "$ac_c_werror_flag"
21278 || test ! -s conftest.err'
21279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280 (eval $ac_try) 2>&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); }; } &&
21284 { ac_try
='test -s conftest.$ac_objext'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; }; then
21290 ac_cv_member_struct_thread_td_pcb
=yes
21292 echo "$as_me: failed program was:" >&5
21293 sed 's/^/| /' conftest.
$ac_ext >&5
21295 ac_cv_member_struct_thread_td_pcb
=no
21297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21301 echo "$as_me:$LINENO: result: $ac_cv_member_struct_thread_td_pcb" >&5
21302 echo "${ECHO_T}$ac_cv_member_struct_thread_td_pcb" >&6
21303 if test $ac_cv_member_struct_thread_td_pcb = yes; then
21305 cat >>confdefs.h
<<_ACEOF
21306 #define HAVE_STRUCT_THREAD_TD_PCB 1
21313 # See if <sys/lwp.h> defines `struct lwp`.
21314 echo "$as_me:$LINENO: checking for struct lwp" >&5
21315 echo $ECHO_N "checking for struct lwp... $ECHO_C" >&6
21316 if test "${gdb_cv_struct_lwp+set}" = set; then
21317 echo $ECHO_N "(cached) $ECHO_C" >&6
21319 cat >conftest.
$ac_ext <<_ACEOF
21322 cat confdefs.h
>>conftest.
$ac_ext
21323 cat >>conftest.
$ac_ext <<_ACEOF
21324 /* end confdefs.h. */
21325 #include <sys/param.h>
21326 #include <sys/lwp.h>
21335 rm -f conftest.
$ac_objext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21337 (eval $ac_compile) 2>conftest.er1
21339 grep -v '^ *+' conftest.er1
>conftest.err
21341 cat conftest.err
>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try
='test -z "$ac_c_werror_flag"
21345 || test ! -s conftest.err'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; } &&
21351 { ac_try
='test -s conftest.$ac_objext'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; }; then
21357 gdb_cv_struct_lwp
=yes
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.
$ac_ext >&5
21362 gdb_cv_struct_lwp
=no
21364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21366 echo "$as_me:$LINENO: result: $gdb_cv_struct_lwp" >&5
21367 echo "${ECHO_T}$gdb_cv_struct_lwp" >&6
21368 if test $gdb_cv_struct_lwp = yes; then
21370 cat >>confdefs.h
<<\_ACEOF
21371 #define HAVE_STRUCT_LWP 1
21376 # See if <machine/reg.h> degines `struct reg'.
21377 echo "$as_me:$LINENO: checking for struct reg in machine/reg.h" >&5
21378 echo $ECHO_N "checking for struct reg in machine/reg.h... $ECHO_C" >&6
21379 if test "${gdb_cv_struct_reg+set}" = set; then
21380 echo $ECHO_N "(cached) $ECHO_C" >&6
21382 cat >conftest.
$ac_ext <<_ACEOF
21385 cat confdefs.h
>>conftest.
$ac_ext
21386 cat >>conftest.
$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 #include <sys/types.h>
21389 #include <machine/reg.h>
21398 rm -f conftest.
$ac_objext
21399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21400 (eval $ac_compile) 2>conftest.er1
21402 grep -v '^ *+' conftest.er1
>conftest.err
21404 cat conftest.err
>&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } &&
21407 { ac_try
='test -z "$ac_c_werror_flag"
21408 || test ! -s conftest.err'
21409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21410 (eval $ac_try) 2>&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; } &&
21414 { ac_try
='test -s conftest.$ac_objext'
21415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21416 (eval $ac_try) 2>&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21419 (exit $ac_status); }; }; then
21420 gdb_cv_struct_reg
=yes
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.
$ac_ext >&5
21425 gdb_cv_struct_reg
=no
21427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21429 echo "$as_me:$LINENO: result: $gdb_cv_struct_reg" >&5
21430 echo "${ECHO_T}$gdb_cv_struct_reg" >&6
21431 if test $gdb_cv_struct_reg = yes; then
21433 cat >>confdefs.h
<<\_ACEOF
21434 #define HAVE_STRUCT_REG 1
21439 # See if <machine/reg.h> supports the %fs and %gs i386 segment registers.
21440 # Older i386 BSD's don't have the r_fs and r_gs members of `struct reg'.
21441 echo "$as_me:$LINENO: checking for struct reg.r_fs" >&5
21442 echo $ECHO_N "checking for struct reg.r_fs... $ECHO_C" >&6
21443 if test "${ac_cv_member_struct_reg_r_fs+set}" = set; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 cat >conftest.
$ac_ext <<_ACEOF
21449 cat confdefs.h
>>conftest.
$ac_ext
21450 cat >>conftest.
$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 #include <machine/reg.h>
21457 static struct reg ac_aggr;
21464 rm -f conftest.
$ac_objext
21465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21466 (eval $ac_compile) 2>conftest.er1
21468 grep -v '^ *+' conftest.er1
>conftest.err
21470 cat conftest.err
>&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } &&
21473 { ac_try
='test -z "$ac_c_werror_flag"
21474 || test ! -s conftest.err'
21475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476 (eval $ac_try) 2>&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); }; } &&
21480 { ac_try
='test -s conftest.$ac_objext'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 ac_cv_member_struct_reg_r_fs
=yes
21488 echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.
$ac_ext >&5
21491 cat >conftest.
$ac_ext <<_ACEOF
21494 cat confdefs.h
>>conftest.
$ac_ext
21495 cat >>conftest.
$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 #include <machine/reg.h>
21502 static struct reg ac_aggr;
21503 if (sizeof ac_aggr.r_fs)
21509 rm -f conftest.
$ac_objext
21510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21511 (eval $ac_compile) 2>conftest.er1
21513 grep -v '^ *+' conftest.er1
>conftest.err
21515 cat conftest.err
>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } &&
21518 { ac_try
='test -z "$ac_c_werror_flag"
21519 || test ! -s conftest.err'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; } &&
21525 { ac_try
='test -s conftest.$ac_objext'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; }; then
21531 ac_cv_member_struct_reg_r_fs
=yes
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.
$ac_ext >&5
21536 ac_cv_member_struct_reg_r_fs
=no
21538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21542 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_fs" >&5
21543 echo "${ECHO_T}$ac_cv_member_struct_reg_r_fs" >&6
21544 if test $ac_cv_member_struct_reg_r_fs = yes; then
21546 cat >>confdefs.h
<<_ACEOF
21547 #define HAVE_STRUCT_REG_R_FS 1
21552 echo "$as_me:$LINENO: checking for struct reg.r_gs" >&5
21553 echo $ECHO_N "checking for struct reg.r_gs... $ECHO_C" >&6
21554 if test "${ac_cv_member_struct_reg_r_gs+set}" = set; then
21555 echo $ECHO_N "(cached) $ECHO_C" >&6
21557 cat >conftest.
$ac_ext <<_ACEOF
21560 cat confdefs.h
>>conftest.
$ac_ext
21561 cat >>conftest.
$ac_ext <<_ACEOF
21562 /* end confdefs.h. */
21563 #include <machine/reg.h>
21568 static struct reg ac_aggr;
21575 rm -f conftest.
$ac_objext
21576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21577 (eval $ac_compile) 2>conftest.er1
21579 grep -v '^ *+' conftest.er1
>conftest.err
21581 cat conftest.err
>&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } &&
21584 { ac_try
='test -z "$ac_c_werror_flag"
21585 || test ! -s conftest.err'
21586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21587 (eval $ac_try) 2>&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); }; } &&
21591 { ac_try
='test -s conftest.$ac_objext'
21592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21593 (eval $ac_try) 2>&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; }; then
21597 ac_cv_member_struct_reg_r_gs
=yes
21599 echo "$as_me: failed program was:" >&5
21600 sed 's/^/| /' conftest.
$ac_ext >&5
21602 cat >conftest.
$ac_ext <<_ACEOF
21605 cat confdefs.h
>>conftest.
$ac_ext
21606 cat >>conftest.
$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21608 #include <machine/reg.h>
21613 static struct reg ac_aggr;
21614 if (sizeof ac_aggr.r_gs)
21620 rm -f conftest.
$ac_objext
21621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21622 (eval $ac_compile) 2>conftest.er1
21624 grep -v '^ *+' conftest.er1
>conftest.err
21626 cat conftest.err
>&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); } &&
21629 { ac_try
='test -z "$ac_c_werror_flag"
21630 || test ! -s conftest.err'
21631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21632 (eval $ac_try) 2>&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); }; } &&
21636 { ac_try
='test -s conftest.$ac_objext'
21637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21638 (eval $ac_try) 2>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); }; }; then
21642 ac_cv_member_struct_reg_r_gs
=yes
21644 echo "$as_me: failed program was:" >&5
21645 sed 's/^/| /' conftest.
$ac_ext >&5
21647 ac_cv_member_struct_reg_r_gs
=no
21649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21653 echo "$as_me:$LINENO: result: $ac_cv_member_struct_reg_r_gs" >&5
21654 echo "${ECHO_T}$ac_cv_member_struct_reg_r_gs" >&6
21655 if test $ac_cv_member_struct_reg_r_gs = yes; then
21657 cat >>confdefs.h
<<_ACEOF
21658 #define HAVE_STRUCT_REG_R_GS 1
21665 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request.
21666 echo "$as_me:$LINENO: checking for PTRACE_GETREGS" >&5
21667 echo $ECHO_N "checking for PTRACE_GETREGS... $ECHO_C" >&6
21668 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then
21669 echo $ECHO_N "(cached) $ECHO_C" >&6
21671 cat >conftest.
$ac_ext <<_ACEOF
21674 cat confdefs.h
>>conftest.
$ac_ext
21675 cat >>conftest.
$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 #include <sys/ptrace.h>
21686 rm -f conftest.
$ac_objext
21687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21688 (eval $ac_compile) 2>conftest.er1
21690 grep -v '^ *+' conftest.er1
>conftest.err
21692 cat conftest.err
>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } &&
21695 { ac_try
='test -z "$ac_c_werror_flag"
21696 || test ! -s conftest.err'
21697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21698 (eval $ac_try) 2>&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); }; } &&
21702 { ac_try
='test -s conftest.$ac_objext'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; }; then
21708 gdb_cv_have_ptrace_getregs
=yes
21710 echo "$as_me: failed program was:" >&5
21711 sed 's/^/| /' conftest.
$ac_ext >&5
21713 gdb_cv_have_ptrace_getregs
=no
21715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21718 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
21719 echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
21720 if test $gdb_cv_have_ptrace_getregs = yes; then
21722 cat >>confdefs.h
<<\_ACEOF
21723 #define HAVE_PTRACE_GETREGS 1
21728 # See if <sys/ptrace.h> provides the PTRACE_GETFPXREGS request.
21729 echo "$as_me:$LINENO: checking for PTRACE_GETFPXREGS" >&5
21730 echo $ECHO_N "checking for PTRACE_GETFPXREGS... $ECHO_C" >&6
21731 if test "${gdb_cv_have_ptrace_getfpxregs+set}" = set; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21734 cat >conftest.
$ac_ext <<_ACEOF
21737 cat confdefs.h
>>conftest.
$ac_ext
21738 cat >>conftest.
$ac_ext <<_ACEOF
21739 /* end confdefs.h. */
21740 #include <sys/ptrace.h>
21749 rm -f conftest.
$ac_objext
21750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21751 (eval $ac_compile) 2>conftest.er1
21753 grep -v '^ *+' conftest.er1
>conftest.err
21755 cat conftest.err
>&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } &&
21758 { ac_try
='test -z "$ac_c_werror_flag"
21759 || test ! -s conftest.err'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; } &&
21765 { ac_try
='test -s conftest.$ac_objext'
21766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 (eval $ac_try) 2>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; }; then
21771 gdb_cv_have_ptrace_getfpxregs
=yes
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.
$ac_ext >&5
21776 gdb_cv_have_ptrace_getfpxregs
=no
21778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21781 echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
21782 echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
21783 if test $gdb_cv_have_ptrace_getfpxregs = yes; then
21785 cat >>confdefs.h
<<\_ACEOF
21786 #define HAVE_PTRACE_GETFPXREGS 1
21791 # See if <sys/ptrace.h> provides the PT_GETDBREGS request.
21792 echo "$as_me:$LINENO: checking for PT_GETDBREGS" >&5
21793 echo $ECHO_N "checking for PT_GETDBREGS... $ECHO_C" >&6
21794 if test "${gdb_cv_have_pt_getdbregs+set}" = set; then
21795 echo $ECHO_N "(cached) $ECHO_C" >&6
21797 cat >conftest.
$ac_ext <<_ACEOF
21800 cat confdefs.h
>>conftest.
$ac_ext
21801 cat >>conftest.
$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21803 #include <sys/types.h>
21804 #include <sys/ptrace.h>
21813 rm -f conftest.
$ac_objext
21814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21815 (eval $ac_compile) 2>conftest.er1
21817 grep -v '^ *+' conftest.er1
>conftest.err
21819 cat conftest.err
>&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } &&
21822 { ac_try
='test -z "$ac_c_werror_flag"
21823 || test ! -s conftest.err'
21824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825 (eval $ac_try) 2>&5
21827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828 (exit $ac_status); }; } &&
21829 { ac_try
='test -s conftest.$ac_objext'
21830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21831 (eval $ac_try) 2>&5
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); }; }; then
21835 gdb_cv_have_pt_getdbregs
=yes
21837 echo "$as_me: failed program was:" >&5
21838 sed 's/^/| /' conftest.
$ac_ext >&5
21840 gdb_cv_have_pt_getdbregs
=no
21842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21845 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
21846 echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
21847 if test $gdb_cv_have_pt_getdbregs = yes; then
21849 cat >>confdefs.h
<<\_ACEOF
21850 #define HAVE_PT_GETDBREGS 1
21855 # See if <sys/ptrace.h> provides the PT_GETXMMREGS request.
21856 echo "$as_me:$LINENO: checking for PT_GETXMMREGS" >&5
21857 echo $ECHO_N "checking for PT_GETXMMREGS... $ECHO_C" >&6
21858 if test "${gdb_cv_have_pt_getxmmregs+set}" = set; then
21859 echo $ECHO_N "(cached) $ECHO_C" >&6
21861 cat >conftest.
$ac_ext <<_ACEOF
21864 cat confdefs.h
>>conftest.
$ac_ext
21865 cat >>conftest.
$ac_ext <<_ACEOF
21866 /* end confdefs.h. */
21867 #include <sys/types.h>
21868 #include <sys/ptrace.h>
21877 rm -f conftest.
$ac_objext
21878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21879 (eval $ac_compile) 2>conftest.er1
21881 grep -v '^ *+' conftest.er1
>conftest.err
21883 cat conftest.err
>&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); } &&
21886 { ac_try
='test -z "$ac_c_werror_flag"
21887 || test ! -s conftest.err'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; } &&
21893 { ac_try
='test -s conftest.$ac_objext'
21894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21895 (eval $ac_try) 2>&5
21897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898 (exit $ac_status); }; }; then
21899 gdb_cv_have_pt_getxmmregs
=yes
21901 echo "$as_me: failed program was:" >&5
21902 sed 's/^/| /' conftest.
$ac_ext >&5
21904 gdb_cv_have_pt_getxmmregs
=no
21906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21909 echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
21910 echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
21911 if test $gdb_cv_have_pt_getxmmregs = yes; then
21913 cat >>confdefs.h
<<\_ACEOF
21914 #define HAVE_PT_GETXMMREGS 1
21919 # Detect which type of /proc is in use, such as for Unixware or Solaris.
21921 if test "${target}" = "${host}"; then
21923 *-*-unixware* |
*-*-sysv4.2
* |
*-*-sysv5* |
*-*-interix* )
21925 cat >>confdefs.h
<<\_ACEOF
21926 #define NEW_PROC_API 1
21930 *-*-solaris2.
[6789] |
*-*-solaris2.1
[0-9]*)
21932 cat >>confdefs.h
<<\_ACEOF
21933 #define NEW_PROC_API 1
21938 # Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
21940 cat >>confdefs.h
<<\_ACEOF
21941 #define _KMEMUSER 1
21948 if test "$ac_cv_header_sys_procfs_h" = yes; then
21949 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
21950 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
21951 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
21952 echo $ECHO_N "(cached) $ECHO_C" >&6
21954 cat >conftest.
$ac_ext <<_ACEOF
21957 cat confdefs.h
>>conftest.
$ac_ext
21958 cat >>conftest.
$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21962 #include <sys/procfs.h>
21971 rm -f conftest.
$ac_objext
21972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21973 (eval $ac_compile) 2>conftest.er1
21975 grep -v '^ *+' conftest.er1
>conftest.err
21977 cat conftest.err
>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } &&
21980 { ac_try
='test -z "$ac_c_werror_flag"
21981 || test ! -s conftest.err'
21982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21983 (eval $ac_try) 2>&5
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); }; } &&
21987 { ac_try
='test -s conftest.$ac_objext'
21988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989 (eval $ac_try) 2>&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; }; then
21993 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
21995 echo "$as_me: failed program was:" >&5
21996 sed 's/^/| /' conftest.
$ac_ext >&5
21998 bfd_cv_have_sys_procfs_type_pstatus_t
=no
22001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22004 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
22006 cat >>confdefs.h
<<\_ACEOF
22007 #define HAVE_PSTATUS_T 1
22011 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
22012 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
22014 echo "$as_me:$LINENO: checking for prrun_t in sys/procfs.h" >&5
22015 echo $ECHO_N "checking for prrun_t in sys/procfs.h... $ECHO_C" >&6
22016 if test "${bfd_cv_have_sys_procfs_type_prrun_t+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22019 cat >conftest.
$ac_ext <<_ACEOF
22022 cat confdefs.h
>>conftest.
$ac_ext
22023 cat >>conftest.
$ac_ext <<_ACEOF
22024 /* end confdefs.h. */
22027 #include <sys/procfs.h>
22036 rm -f conftest.
$ac_objext
22037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22038 (eval $ac_compile) 2>conftest.er1
22040 grep -v '^ *+' conftest.er1
>conftest.err
22042 cat conftest.err
>&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } &&
22045 { ac_try
='test -z "$ac_c_werror_flag"
22046 || test ! -s conftest.err'
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; } &&
22052 { ac_try
='test -s conftest.$ac_objext'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; }; then
22058 bfd_cv_have_sys_procfs_type_prrun_t
=yes
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.
$ac_ext >&5
22063 bfd_cv_have_sys_procfs_type_prrun_t
=no
22066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22069 if test $bfd_cv_have_sys_procfs_type_prrun_t = yes; then
22071 cat >>confdefs.h
<<\_ACEOF
22072 #define HAVE_PRRUN_T 1
22076 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prrun_t" >&5
22077 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prrun_t" >&6
22079 echo "$as_me:$LINENO: checking for gregset_t in sys/procfs.h" >&5
22080 echo $ECHO_N "checking for gregset_t in sys/procfs.h... $ECHO_C" >&6
22081 if test "${bfd_cv_have_sys_procfs_type_gregset_t+set}" = set; then
22082 echo $ECHO_N "(cached) $ECHO_C" >&6
22084 cat >conftest.
$ac_ext <<_ACEOF
22087 cat confdefs.h
>>conftest.
$ac_ext
22088 cat >>conftest.
$ac_ext <<_ACEOF
22089 /* end confdefs.h. */
22092 #include <sys/procfs.h>
22101 rm -f conftest.
$ac_objext
22102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22103 (eval $ac_compile) 2>conftest.er1
22105 grep -v '^ *+' conftest.er1
>conftest.err
22107 cat conftest.err
>&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } &&
22110 { ac_try
='test -z "$ac_c_werror_flag"
22111 || test ! -s conftest.err'
22112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22113 (eval $ac_try) 2>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); }; } &&
22117 { ac_try
='test -s conftest.$ac_objext'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; }; then
22123 bfd_cv_have_sys_procfs_type_gregset_t
=yes
22125 echo "$as_me: failed program was:" >&5
22126 sed 's/^/| /' conftest.
$ac_ext >&5
22128 bfd_cv_have_sys_procfs_type_gregset_t
=no
22131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22134 if test $bfd_cv_have_sys_procfs_type_gregset_t = yes; then
22136 cat >>confdefs.h
<<\_ACEOF
22137 #define HAVE_GREGSET_T 1
22141 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_gregset_t" >&5
22142 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_gregset_t" >&6
22144 echo "$as_me:$LINENO: checking for fpregset_t in sys/procfs.h" >&5
22145 echo $ECHO_N "checking for fpregset_t in sys/procfs.h... $ECHO_C" >&6
22146 if test "${bfd_cv_have_sys_procfs_type_fpregset_t+set}" = set; then
22147 echo $ECHO_N "(cached) $ECHO_C" >&6
22149 cat >conftest.
$ac_ext <<_ACEOF
22152 cat confdefs.h
>>conftest.
$ac_ext
22153 cat >>conftest.
$ac_ext <<_ACEOF
22154 /* end confdefs.h. */
22157 #include <sys/procfs.h>
22166 rm -f conftest.
$ac_objext
22167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22168 (eval $ac_compile) 2>conftest.er1
22170 grep -v '^ *+' conftest.er1
>conftest.err
22172 cat conftest.err
>&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); } &&
22175 { ac_try
='test -z "$ac_c_werror_flag"
22176 || test ! -s conftest.err'
22177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22178 (eval $ac_try) 2>&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); }; } &&
22182 { ac_try
='test -s conftest.$ac_objext'
22183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22184 (eval $ac_try) 2>&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); }; }; then
22188 bfd_cv_have_sys_procfs_type_fpregset_t
=yes
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.
$ac_ext >&5
22193 bfd_cv_have_sys_procfs_type_fpregset_t
=no
22196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22199 if test $bfd_cv_have_sys_procfs_type_fpregset_t = yes; then
22201 cat >>confdefs.h
<<\_ACEOF
22202 #define HAVE_FPREGSET_T 1
22206 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_fpregset_t" >&5
22207 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_fpregset_t" >&6
22209 echo "$as_me:$LINENO: checking for prgregset_t in sys/procfs.h" >&5
22210 echo $ECHO_N "checking for prgregset_t in sys/procfs.h... $ECHO_C" >&6
22211 if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22214 cat >conftest.
$ac_ext <<_ACEOF
22217 cat confdefs.h
>>conftest.
$ac_ext
22218 cat >>conftest.
$ac_ext <<_ACEOF
22219 /* end confdefs.h. */
22222 #include <sys/procfs.h>
22231 rm -f conftest.
$ac_objext
22232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22233 (eval $ac_compile) 2>conftest.er1
22235 grep -v '^ *+' conftest.er1
>conftest.err
22237 cat conftest.err
>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } &&
22240 { ac_try
='test -z "$ac_c_werror_flag"
22241 || test ! -s conftest.err'
22242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22243 (eval $ac_try) 2>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); }; } &&
22247 { ac_try
='test -s conftest.$ac_objext'
22248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22249 (eval $ac_try) 2>&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); }; }; then
22253 bfd_cv_have_sys_procfs_type_prgregset_t
=yes
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.
$ac_ext >&5
22258 bfd_cv_have_sys_procfs_type_prgregset_t
=no
22261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22264 if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
22266 cat >>confdefs.h
<<\_ACEOF
22267 #define HAVE_PRGREGSET_T 1
22271 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
22272 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset_t" >&6
22274 echo "$as_me:$LINENO: checking for prfpregset_t in sys/procfs.h" >&5
22275 echo $ECHO_N "checking for prfpregset_t in sys/procfs.h... $ECHO_C" >&6
22276 if test "${bfd_cv_have_sys_procfs_type_prfpregset_t+set}" = set; then
22277 echo $ECHO_N "(cached) $ECHO_C" >&6
22279 cat >conftest.
$ac_ext <<_ACEOF
22282 cat confdefs.h
>>conftest.
$ac_ext
22283 cat >>conftest.
$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22287 #include <sys/procfs.h>
22296 rm -f conftest.
$ac_objext
22297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22298 (eval $ac_compile) 2>conftest.er1
22300 grep -v '^ *+' conftest.er1
>conftest.err
22302 cat conftest.err
>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); } &&
22305 { ac_try
='test -z "$ac_c_werror_flag"
22306 || test ! -s conftest.err'
22307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308 (eval $ac_try) 2>&5
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; } &&
22312 { ac_try
='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22318 bfd_cv_have_sys_procfs_type_prfpregset_t
=yes
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.
$ac_ext >&5
22323 bfd_cv_have_sys_procfs_type_prfpregset_t
=no
22326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22329 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
22331 cat >>confdefs.h
<<\_ACEOF
22332 #define HAVE_PRFPREGSET_T 1
22336 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset_t" >&5
22337 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset_t" >&6
22339 echo "$as_me:$LINENO: checking for prgregset32_t in sys/procfs.h" >&5
22340 echo $ECHO_N "checking for prgregset32_t in sys/procfs.h... $ECHO_C" >&6
22341 if test "${bfd_cv_have_sys_procfs_type_prgregset32_t+set}" = set; then
22342 echo $ECHO_N "(cached) $ECHO_C" >&6
22344 cat >conftest.
$ac_ext <<_ACEOF
22347 cat confdefs.h
>>conftest.
$ac_ext
22348 cat >>conftest.
$ac_ext <<_ACEOF
22349 /* end confdefs.h. */
22352 #include <sys/procfs.h>
22361 rm -f conftest.
$ac_objext
22362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22363 (eval $ac_compile) 2>conftest.er1
22365 grep -v '^ *+' conftest.er1
>conftest.err
22367 cat conftest.err
>&5
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); } &&
22370 { ac_try
='test -z "$ac_c_werror_flag"
22371 || test ! -s conftest.err'
22372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22373 (eval $ac_try) 2>&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); }; } &&
22377 { ac_try
='test -s conftest.$ac_objext'
22378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22379 (eval $ac_try) 2>&5
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 (exit $ac_status); }; }; then
22383 bfd_cv_have_sys_procfs_type_prgregset32_t
=yes
22385 echo "$as_me: failed program was:" >&5
22386 sed 's/^/| /' conftest.
$ac_ext >&5
22388 bfd_cv_have_sys_procfs_type_prgregset32_t
=no
22391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22394 if test $bfd_cv_have_sys_procfs_type_prgregset32_t = yes; then
22396 cat >>confdefs.h
<<\_ACEOF
22397 #define HAVE_PRGREGSET32_T 1
22401 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prgregset32_t" >&5
22402 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prgregset32_t" >&6
22404 echo "$as_me:$LINENO: checking for prfpregset32_t in sys/procfs.h" >&5
22405 echo $ECHO_N "checking for prfpregset32_t in sys/procfs.h... $ECHO_C" >&6
22406 if test "${bfd_cv_have_sys_procfs_type_prfpregset32_t+set}" = set; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22409 cat >conftest.
$ac_ext <<_ACEOF
22412 cat confdefs.h
>>conftest.
$ac_ext
22413 cat >>conftest.
$ac_ext <<_ACEOF
22414 /* end confdefs.h. */
22417 #include <sys/procfs.h>
22421 prfpregset32_t avar
22426 rm -f conftest.
$ac_objext
22427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22428 (eval $ac_compile) 2>conftest.er1
22430 grep -v '^ *+' conftest.er1
>conftest.err
22432 cat conftest.err
>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); } &&
22435 { ac_try
='test -z "$ac_c_werror_flag"
22436 || test ! -s conftest.err'
22437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22438 (eval $ac_try) 2>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); }; } &&
22442 { ac_try
='test -s conftest.$ac_objext'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; }; then
22448 bfd_cv_have_sys_procfs_type_prfpregset32_t
=yes
22450 echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.
$ac_ext >&5
22453 bfd_cv_have_sys_procfs_type_prfpregset32_t
=no
22456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22459 if test $bfd_cv_have_sys_procfs_type_prfpregset32_t = yes; then
22461 cat >>confdefs.h
<<\_ACEOF
22462 #define HAVE_PRFPREGSET32_T 1
22466 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prfpregset32_t" >&5
22467 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prfpregset32_t" >&6
22469 echo "$as_me:$LINENO: checking for lwpid_t in sys/procfs.h" >&5
22470 echo $ECHO_N "checking for lwpid_t in sys/procfs.h... $ECHO_C" >&6
22471 if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then
22472 echo $ECHO_N "(cached) $ECHO_C" >&6
22474 cat >conftest.
$ac_ext <<_ACEOF
22477 cat confdefs.h
>>conftest.
$ac_ext
22478 cat >>conftest.
$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22482 #include <sys/procfs.h>
22491 rm -f conftest.
$ac_objext
22492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22493 (eval $ac_compile) 2>conftest.er1
22495 grep -v '^ *+' conftest.er1
>conftest.err
22497 cat conftest.err
>&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } &&
22500 { ac_try
='test -z "$ac_c_werror_flag"
22501 || test ! -s conftest.err'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; } &&
22507 { ac_try
='test -s conftest.$ac_objext'
22508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22509 (eval $ac_try) 2>&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); }; }; then
22513 bfd_cv_have_sys_procfs_type_lwpid_t
=yes
22515 echo "$as_me: failed program was:" >&5
22516 sed 's/^/| /' conftest.
$ac_ext >&5
22518 bfd_cv_have_sys_procfs_type_lwpid_t
=no
22521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22524 if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
22526 cat >>confdefs.h
<<\_ACEOF
22527 #define HAVE_LWPID_T 1
22531 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
22532 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpid_t" >&6
22534 echo "$as_me:$LINENO: checking for psaddr_t in sys/procfs.h" >&5
22535 echo $ECHO_N "checking for psaddr_t in sys/procfs.h... $ECHO_C" >&6
22536 if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then
22537 echo $ECHO_N "(cached) $ECHO_C" >&6
22539 cat >conftest.
$ac_ext <<_ACEOF
22542 cat confdefs.h
>>conftest.
$ac_ext
22543 cat >>conftest.
$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22547 #include <sys/procfs.h>
22556 rm -f conftest.
$ac_objext
22557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22558 (eval $ac_compile) 2>conftest.er1
22560 grep -v '^ *+' conftest.er1
>conftest.err
22562 cat conftest.err
>&5
22563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564 (exit $ac_status); } &&
22565 { ac_try
='test -z "$ac_c_werror_flag"
22566 || test ! -s conftest.err'
22567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22568 (eval $ac_try) 2>&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); }; } &&
22572 { ac_try
='test -s conftest.$ac_objext'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 bfd_cv_have_sys_procfs_type_psaddr_t
=yes
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.
$ac_ext >&5
22583 bfd_cv_have_sys_procfs_type_psaddr_t
=no
22586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22589 if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
22591 cat >>confdefs.h
<<\_ACEOF
22592 #define HAVE_PSADDR_T 1
22596 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
22597 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psaddr_t" >&6
22599 echo "$as_me:$LINENO: checking for prsysent_t in sys/procfs.h" >&5
22600 echo $ECHO_N "checking for prsysent_t in sys/procfs.h... $ECHO_C" >&6
22601 if test "${bfd_cv_have_sys_procfs_type_prsysent_t+set}" = set; then
22602 echo $ECHO_N "(cached) $ECHO_C" >&6
22604 cat >conftest.
$ac_ext <<_ACEOF
22607 cat confdefs.h
>>conftest.
$ac_ext
22608 cat >>conftest.
$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22612 #include <sys/procfs.h>
22621 rm -f conftest.
$ac_objext
22622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22623 (eval $ac_compile) 2>conftest.er1
22625 grep -v '^ *+' conftest.er1
>conftest.err
22627 cat conftest.err
>&5
22628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629 (exit $ac_status); } &&
22630 { ac_try
='test -z "$ac_c_werror_flag"
22631 || test ! -s conftest.err'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; } &&
22637 { ac_try
='test -s conftest.$ac_objext'
22638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22639 (eval $ac_try) 2>&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); }; }; then
22643 bfd_cv_have_sys_procfs_type_prsysent_t
=yes
22645 echo "$as_me: failed program was:" >&5
22646 sed 's/^/| /' conftest.
$ac_ext >&5
22648 bfd_cv_have_sys_procfs_type_prsysent_t
=no
22651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22654 if test $bfd_cv_have_sys_procfs_type_prsysent_t = yes; then
22656 cat >>confdefs.h
<<\_ACEOF
22657 #define HAVE_PRSYSENT_T 1
22661 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prsysent_t" >&5
22662 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prsysent_t" >&6
22664 echo "$as_me:$LINENO: checking for pr_sigset_t in sys/procfs.h" >&5
22665 echo $ECHO_N "checking for pr_sigset_t in sys/procfs.h... $ECHO_C" >&6
22666 if test "${bfd_cv_have_sys_procfs_type_pr_sigset_t+set}" = set; then
22667 echo $ECHO_N "(cached) $ECHO_C" >&6
22669 cat >conftest.
$ac_ext <<_ACEOF
22672 cat confdefs.h
>>conftest.
$ac_ext
22673 cat >>conftest.
$ac_ext <<_ACEOF
22674 /* end confdefs.h. */
22677 #include <sys/procfs.h>
22686 rm -f conftest.
$ac_objext
22687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22688 (eval $ac_compile) 2>conftest.er1
22690 grep -v '^ *+' conftest.er1
>conftest.err
22692 cat conftest.err
>&5
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); } &&
22695 { ac_try
='test -z "$ac_c_werror_flag"
22696 || test ! -s conftest.err'
22697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22698 (eval $ac_try) 2>&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); }; } &&
22702 { ac_try
='test -s conftest.$ac_objext'
22703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22704 (eval $ac_try) 2>&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); }; }; then
22708 bfd_cv_have_sys_procfs_type_pr_sigset_t
=yes
22710 echo "$as_me: failed program was:" >&5
22711 sed 's/^/| /' conftest.
$ac_ext >&5
22713 bfd_cv_have_sys_procfs_type_pr_sigset_t
=no
22716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22719 if test $bfd_cv_have_sys_procfs_type_pr_sigset_t = yes; then
22721 cat >>confdefs.h
<<\_ACEOF
22722 #define HAVE_PR_SIGSET_T 1
22726 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigset_t" >&5
22727 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigset_t" >&6
22729 echo "$as_me:$LINENO: checking for pr_sigaction64_t in sys/procfs.h" >&5
22730 echo $ECHO_N "checking for pr_sigaction64_t in sys/procfs.h... $ECHO_C" >&6
22731 if test "${bfd_cv_have_sys_procfs_type_pr_sigaction64_t+set}" = set; then
22732 echo $ECHO_N "(cached) $ECHO_C" >&6
22734 cat >conftest.
$ac_ext <<_ACEOF
22737 cat confdefs.h
>>conftest.
$ac_ext
22738 cat >>conftest.
$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22742 #include <sys/procfs.h>
22746 pr_sigaction64_t avar
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 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=yes
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.
$ac_ext >&5
22778 bfd_cv_have_sys_procfs_type_pr_sigaction64_t
=no
22781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22784 if test $bfd_cv_have_sys_procfs_type_pr_sigaction64_t = yes; then
22786 cat >>confdefs.h
<<\_ACEOF
22787 #define HAVE_PR_SIGACTION64_T 1
22791 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&5
22792 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_sigaction64_t" >&6
22794 echo "$as_me:$LINENO: checking for pr_siginfo64_t in sys/procfs.h" >&5
22795 echo $ECHO_N "checking for pr_siginfo64_t in sys/procfs.h... $ECHO_C" >&6
22796 if test "${bfd_cv_have_sys_procfs_type_pr_siginfo64_t+set}" = set; then
22797 echo $ECHO_N "(cached) $ECHO_C" >&6
22799 cat >conftest.
$ac_ext <<_ACEOF
22802 cat confdefs.h
>>conftest.
$ac_ext
22803 cat >>conftest.
$ac_ext <<_ACEOF
22804 /* end confdefs.h. */
22807 #include <sys/procfs.h>
22811 pr_siginfo64_t avar
22816 rm -f conftest.
$ac_objext
22817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22818 (eval $ac_compile) 2>conftest.er1
22820 grep -v '^ *+' conftest.er1
>conftest.err
22822 cat conftest.err
>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } &&
22825 { ac_try
='test -z "$ac_c_werror_flag"
22826 || test ! -s conftest.err'
22827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22828 (eval $ac_try) 2>&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; } &&
22832 { ac_try
='test -s conftest.$ac_objext'
22833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22834 (eval $ac_try) 2>&5
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); }; }; then
22838 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=yes
22840 echo "$as_me: failed program was:" >&5
22841 sed 's/^/| /' conftest.
$ac_ext >&5
22843 bfd_cv_have_sys_procfs_type_pr_siginfo64_t
=no
22846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22849 if test $bfd_cv_have_sys_procfs_type_pr_siginfo64_t = yes; then
22851 cat >>confdefs.h
<<\_ACEOF
22852 #define HAVE_PR_SIGINFO64_T 1
22856 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&5
22857 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pr_siginfo64_t" >&6
22863 if test $bfd_cv_have_sys_procfs_type_prfpregset_t = yes; then
22864 echo "$as_me:$LINENO: checking whether prfpregset_t type is broken" >&5
22865 echo $ECHO_N "checking whether prfpregset_t type is broken... $ECHO_C" >&6
22866 if test "${gdb_cv_prfpregset_t_broken+set}" = set; then
22867 echo $ECHO_N "(cached) $ECHO_C" >&6
22869 if test "$cross_compiling" = yes; then
22870 gdb_cv_prfpregset_t_broken
=yes
22872 cat >conftest.
$ac_ext <<_ACEOF
22875 cat confdefs.h
>>conftest.
$ac_ext
22876 cat >>conftest.
$ac_ext <<_ACEOF
22877 /* end confdefs.h. */
22878 #include <sys/procfs.h>
22881 if (sizeof (prfpregset_t) == sizeof (void *))
22886 rm -f conftest
$ac_exeext
22887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22888 (eval $ac_link) 2>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22893 (eval $ac_try) 2>&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); }; }; then
22897 gdb_cv_prfpregset_t_broken
=no
22899 echo "$as_me: program exited with status $ac_status" >&5
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.
$ac_ext >&5
22903 ( exit $ac_status )
22904 gdb_cv_prfpregset_t_broken
=yes
22906 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22910 echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
22911 echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
22912 if test $gdb_cv_prfpregset_t_broken = yes; then
22914 cat >>confdefs.h
<<\_ACEOF
22915 #define PRFPREGSET_T_BROKEN 1
22922 echo "$as_me:$LINENO: checking for PIOCSET ioctl entry in sys/procfs.h" >&5
22923 echo $ECHO_N "checking for PIOCSET ioctl entry in sys/procfs.h... $ECHO_C" >&6
22924 if test "${gdb_cv_have_procfs_piocset+set}" = set; then
22925 echo $ECHO_N "(cached) $ECHO_C" >&6
22927 cat >conftest.
$ac_ext <<_ACEOF
22930 cat confdefs.h
>>conftest.
$ac_ext
22931 cat >>conftest.
$ac_ext <<_ACEOF
22932 /* end confdefs.h. */
22933 #include <unistd.h>
22934 #include <sys/types.h>
22935 #include <sys/procfs.h>
22942 dummy = ioctl(0, PIOCSET, &dummy);
22948 rm -f conftest.
$ac_objext
22949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22950 (eval $ac_compile) 2>conftest.er1
22952 grep -v '^ *+' conftest.er1
>conftest.err
22954 cat conftest.err
>&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); } &&
22957 { ac_try
='test -z "$ac_c_werror_flag"
22958 || test ! -s conftest.err'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960 (eval $ac_try) 2>&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; } &&
22964 { ac_try
='test -s conftest.$ac_objext'
22965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22966 (eval $ac_try) 2>&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); }; }; then
22970 gdb_cv_have_procfs_piocset
=yes
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.
$ac_ext >&5
22975 gdb_cv_have_procfs_piocset
=no
22977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22980 echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
22981 echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
22982 if test $gdb_cv_have_procfs_piocset = yes; then
22984 cat >>confdefs.h
<<\_ACEOF
22985 #define HAVE_PROCFS_PIOCSET 1
22991 if test ${host} = ${target} ; then
22993 echo "$as_me:$LINENO: checking for member l_addr in struct link_map" >&5
22994 echo $ECHO_N "checking for member l_addr in struct link_map... $ECHO_C" >&6
22995 if test "${gdb_cv_have_struct_link_map_with_l_members+set}" = set; then
22996 echo $ECHO_N "(cached) $ECHO_C" >&6
22998 cat >conftest.
$ac_ext <<_ACEOF
23001 cat confdefs.h
>>conftest.
$ac_ext
23002 cat >>conftest.
$ac_ext <<_ACEOF
23003 /* end confdefs.h. */
23008 struct link_map lm; (void) lm.l_addr;
23013 rm -f conftest.
$ac_objext
23014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23015 (eval $ac_compile) 2>conftest.er1
23017 grep -v '^ *+' conftest.er1
>conftest.err
23019 cat conftest.err
>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } &&
23022 { ac_try
='test -z "$ac_c_werror_flag"
23023 || test ! -s conftest.err'
23024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23025 (eval $ac_try) 2>&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); }; } &&
23029 { ac_try
='test -s conftest.$ac_objext'
23030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23031 (eval $ac_try) 2>&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; }; then
23035 gdb_cv_have_struct_link_map_with_l_members
=yes
23037 echo "$as_me: failed program was:" >&5
23038 sed 's/^/| /' conftest.
$ac_ext >&5
23040 gdb_cv_have_struct_link_map_with_l_members
=no
23042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23045 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
23046 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
23047 if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
23049 cat >>confdefs.h
<<\_ACEOF
23050 #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
23056 echo "$as_me:$LINENO: checking for member lm_addr in struct link_map" >&5
23057 echo $ECHO_N "checking for member lm_addr in struct link_map... $ECHO_C" >&6
23058 if test "${gdb_cv_have_struct_link_map_with_lm_members+set}" = set; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23061 cat >conftest.
$ac_ext <<_ACEOF
23064 cat confdefs.h
>>conftest.
$ac_ext
23065 cat >>conftest.
$ac_ext <<_ACEOF
23066 /* end confdefs.h. */
23067 #include <sys/types.h>
23072 struct link_map lm; (void) lm.lm_addr;
23077 rm -f conftest.
$ac_objext
23078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23079 (eval $ac_compile) 2>conftest.er1
23081 grep -v '^ *+' conftest.er1
>conftest.err
23083 cat conftest.err
>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } &&
23086 { ac_try
='test -z "$ac_c_werror_flag"
23087 || test ! -s conftest.err'
23088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089 (eval $ac_try) 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; } &&
23093 { ac_try
='test -s conftest.$ac_objext'
23094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095 (eval $ac_try) 2>&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); }; }; then
23099 gdb_cv_have_struct_link_map_with_lm_members
=yes
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.
$ac_ext >&5
23104 gdb_cv_have_struct_link_map_with_lm_members
=no
23106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23109 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
23110 echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
23111 if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
23113 cat >>confdefs.h
<<\_ACEOF
23114 #define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
23120 echo "$as_me:$LINENO: checking for member som_addr in struct so_map" >&5
23121 echo $ECHO_N "checking for member som_addr in struct so_map... $ECHO_C" >&6
23122 if test "${gdb_cv_have_struct_so_map_with_som_members+set}" = set; then
23123 echo $ECHO_N "(cached) $ECHO_C" >&6
23125 cat >conftest.
$ac_ext <<_ACEOF
23128 cat confdefs.h
>>conftest.
$ac_ext
23129 cat >>conftest.
$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131 #include <sys/types.h>
23132 #ifdef HAVE_NLIST_H
23139 struct so_map lm; (void) lm.som_addr;
23144 rm -f conftest.
$ac_objext
23145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23146 (eval $ac_compile) 2>conftest.er1
23148 grep -v '^ *+' conftest.er1
>conftest.err
23150 cat conftest.err
>&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } &&
23153 { ac_try
='test -z "$ac_c_werror_flag"
23154 || test ! -s conftest.err'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; } &&
23160 { ac_try
='test -s conftest.$ac_objext'
23161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23162 (eval $ac_try) 2>&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); }; }; then
23166 gdb_cv_have_struct_so_map_with_som_members
=yes
23168 echo "$as_me: failed program was:" >&5
23169 sed 's/^/| /' conftest.
$ac_ext >&5
23171 gdb_cv_have_struct_so_map_with_som_members
=no
23173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23176 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
23177 echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
23178 if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
23180 cat >>confdefs.h
<<\_ACEOF
23181 #define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
23187 echo "$as_me:$LINENO: checking for struct link_map32 in sys/link.h" >&5
23188 echo $ECHO_N "checking for struct link_map32 in sys/link.h... $ECHO_C" >&6
23189 if test "${gdb_cv_have_struct_link_map32+set}" = set; then
23190 echo $ECHO_N "(cached) $ECHO_C" >&6
23192 cat >conftest.
$ac_ext <<_ACEOF
23195 cat confdefs.h
>>conftest.
$ac_ext
23196 cat >>conftest.
$ac_ext <<_ACEOF
23197 /* end confdefs.h. */
23199 #include <sys/link.h>
23203 struct link_map32 l;
23208 rm -f conftest.
$ac_objext
23209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23210 (eval $ac_compile) 2>conftest.er1
23212 grep -v '^ *+' conftest.er1
>conftest.err
23214 cat conftest.err
>&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } &&
23217 { ac_try
='test -z "$ac_c_werror_flag"
23218 || test ! -s conftest.err'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; } &&
23224 { ac_try
='test -s conftest.$ac_objext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 gdb_cv_have_struct_link_map32
=yes
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.
$ac_ext >&5
23235 gdb_cv_have_struct_link_map32
=no
23237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23240 echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
23241 echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
23242 if test $gdb_cv_have_struct_link_map32 = yes; then
23244 cat >>confdefs.h
<<\_ACEOF
23245 #define HAVE_STRUCT_LINK_MAP32 1
23249 cat >>confdefs.h
<<\_ACEOF
23250 #define _SYSCALL32 1
23256 # Check if the compiler supports the `long long' type.
23258 echo "$as_me:$LINENO: checking for long long support in compiler" >&5
23259 echo $ECHO_N "checking for long long support in compiler... $ECHO_C" >&6
23260 if test "${gdb_cv_c_long_long+set}" = set; then
23261 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 cat >conftest.
$ac_ext <<_ACEOF
23266 cat confdefs.h
>>conftest.
$ac_ext
23267 cat >>conftest.
$ac_ext <<_ACEOF
23268 /* end confdefs.h. */
23269 extern long long foo;
23273 switch (foo & 2) { case 0: return 1; }
23278 rm -f conftest.
$ac_objext
23279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23280 (eval $ac_compile) 2>conftest.er1
23282 grep -v '^ *+' conftest.er1
>conftest.err
23284 cat conftest.err
>&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } &&
23287 { ac_try
='test -z "$ac_c_werror_flag"
23288 || test ! -s conftest.err'
23289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23290 (eval $ac_try) 2>&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); }; } &&
23294 { ac_try
='test -s conftest.$ac_objext'
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; }; then
23300 gdb_cv_c_long_long
=yes
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.
$ac_ext >&5
23305 gdb_cv_c_long_long
=no
23307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23309 echo "$as_me:$LINENO: result: $gdb_cv_c_long_long" >&5
23310 echo "${ECHO_T}$gdb_cv_c_long_long" >&6
23311 if test $gdb_cv_c_long_long = yes; then
23313 cat >>confdefs.h
<<\_ACEOF
23314 #define CC_HAS_LONG_LONG 1
23319 # Check if the compiler and runtime support printing long longs.
23321 echo "$as_me:$LINENO: checking for long long support in printf" >&5
23322 echo $ECHO_N "checking for long long support in printf... $ECHO_C" >&6
23323 if test "${gdb_cv_printf_has_long_long+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 if test "$cross_compiling" = yes; then
23327 gdb_cv_printf_has_long_long
=no
23329 cat >conftest.
$ac_ext <<_ACEOF
23332 cat confdefs.h
>>conftest.
$ac_ext
23333 cat >>conftest.
$ac_ext <<_ACEOF
23334 /* end confdefs.h. */
23335 $ac_includes_default
23341 l = (l << 16) + 0x0123;
23342 l = (l << 16) + 0x4567;
23343 l = (l << 16) + 0x89ab;
23344 l = (l << 16) + 0xcdef;
23345 sprintf (buf, "0x%016llx", l);
23346 return (strcmp ("0x0123456789abcdef", buf));
23351 rm -f conftest
$ac_exeext
23352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23353 (eval $ac_link) 2>&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 gdb_cv_printf_has_long_long
=yes
23364 echo "$as_me: program exited with status $ac_status" >&5
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.
$ac_ext >&5
23368 ( exit $ac_status )
23369 gdb_cv_printf_has_long_long
=no
23371 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23374 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_long" >&5
23375 echo "${ECHO_T}$gdb_cv_printf_has_long_long" >&6
23376 if test $gdb_cv_printf_has_long_long = yes; then
23378 cat >>confdefs.h
<<\_ACEOF
23379 #define PRINTF_HAS_LONG_LONG 1
23384 # Check if the compiler and runtime support printing decfloats.
23386 echo "$as_me:$LINENO: checking for decfloat support in printf" >&5
23387 echo $ECHO_N "checking for decfloat support in printf... $ECHO_C" >&6
23388 if test "${gdb_cv_printf_has_decfloat+set}" = set; then
23389 echo $ECHO_N "(cached) $ECHO_C" >&6
23391 if test "$cross_compiling" = yes; then
23392 gdb_cv_printf_has_decfloat
=no
23394 cat >conftest.
$ac_ext <<_ACEOF
23397 cat confdefs.h
>>conftest.
$ac_ext
23398 cat >>conftest.
$ac_ext <<_ACEOF
23399 /* end confdefs.h. */
23400 $ac_includes_default
23405 _Decimal32 d32 = 1.2345df;
23406 _Decimal64 d64 = 1.2345dd;
23407 _Decimal128 d128 = 1.2345dl;
23408 sprintf (buf, "Decimal32: %H\nDecimal64: %D\nDecimal128: %DD", d32, d64, d128);
23409 return (strcmp ("Decimal32: 1.2345\nDecimal64: 1.2345\nDecimal128: 1.2345", buf));
23414 rm -f conftest
$ac_exeext
23415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23416 (eval $ac_link) 2>&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23421 (eval $ac_try) 2>&5
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); }; }; then
23425 gdb_cv_printf_has_decfloat
=yes
23427 echo "$as_me: program exited with status $ac_status" >&5
23428 echo "$as_me: failed program was:" >&5
23429 sed 's/^/| /' conftest.
$ac_ext >&5
23431 ( exit $ac_status )
23432 gdb_cv_printf_has_decfloat
=no
23434 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23437 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_decfloat" >&5
23438 echo "${ECHO_T}$gdb_cv_printf_has_decfloat" >&6
23439 if test $gdb_cv_printf_has_decfloat = yes; then
23441 cat >>confdefs.h
<<\_ACEOF
23442 #define PRINTF_HAS_DECFLOAT 1
23447 # Check if the compiler supports the `long double' type. We can't use
23448 # AC_C_LONG_DOUBLE because that one does additional checks on the
23449 # constants defined in <float.h> that fail on some systems,
23450 # e.g. FreeBSD/i386 4.7 and OpenBSD/i386 3.6.
23452 echo "$as_me:$LINENO: checking for long double support in compiler" >&5
23453 echo $ECHO_N "checking for long double support in compiler... $ECHO_C" >&6
23454 if test "${gdb_cv_c_long_double+set}" = set; then
23455 echo $ECHO_N "(cached) $ECHO_C" >&6
23457 cat >conftest.
$ac_ext <<_ACEOF
23460 cat confdefs.h
>>conftest.
$ac_ext
23461 cat >>conftest.
$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23465 rm -f conftest.
$ac_objext
23466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23467 (eval $ac_compile) 2>conftest.er1
23469 grep -v '^ *+' conftest.er1
>conftest.err
23471 cat conftest.err
>&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); } &&
23474 { ac_try
='test -z "$ac_c_werror_flag"
23475 || test ! -s conftest.err'
23476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23477 (eval $ac_try) 2>&5
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; } &&
23481 { ac_try
='test -s conftest.$ac_objext'
23482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23483 (eval $ac_try) 2>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; }; then
23487 gdb_cv_c_long_double
=yes
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.
$ac_ext >&5
23492 gdb_cv_c_long_double
=no
23494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23496 echo "$as_me:$LINENO: result: $gdb_cv_c_long_double" >&5
23497 echo "${ECHO_T}$gdb_cv_c_long_double" >&6
23498 if test $gdb_cv_c_long_double = yes; then
23500 cat >>confdefs.h
<<\_ACEOF
23501 #define HAVE_LONG_DOUBLE 1
23506 # Check if the compiler and runtime support printing long doubles.
23508 echo "$as_me:$LINENO: checking for long double support in printf" >&5
23509 echo $ECHO_N "checking for long double support in printf... $ECHO_C" >&6
23510 if test "${gdb_cv_printf_has_long_double+set}" = set; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23513 if test "$cross_compiling" = yes; then
23514 gdb_cv_printf_has_long_double
=no
23516 cat >conftest.
$ac_ext <<_ACEOF
23519 cat confdefs.h
>>conftest.
$ac_ext
23520 cat >>conftest.
$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23522 $ac_includes_default
23527 long double f = 3.141592653;
23528 sprintf (buf, "%Lg", f);
23529 return (strncmp ("3.14159", buf, 7));
23534 rm -f conftest
$ac_exeext
23535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23536 (eval $ac_link) 2>&5
23538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23539 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23541 (eval $ac_try) 2>&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); }; }; then
23545 gdb_cv_printf_has_long_double
=yes
23547 echo "$as_me: program exited with status $ac_status" >&5
23548 echo "$as_me: failed program was:" >&5
23549 sed 's/^/| /' conftest.
$ac_ext >&5
23551 ( exit $ac_status )
23552 gdb_cv_printf_has_long_double
=no
23554 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23557 echo "$as_me:$LINENO: result: $gdb_cv_printf_has_long_double" >&5
23558 echo "${ECHO_T}$gdb_cv_printf_has_long_double" >&6
23559 if test $gdb_cv_printf_has_long_double = yes; then
23561 cat >>confdefs.h
<<\_ACEOF
23562 #define PRINTF_HAS_LONG_DOUBLE 1
23567 # Check if the compiler and runtime support scanning long doubles.
23569 echo "$as_me:$LINENO: checking for long double support in scanf" >&5
23570 echo $ECHO_N "checking for long double support in scanf... $ECHO_C" >&6
23571 if test "${gdb_cv_scanf_has_long_double+set}" = set; then
23572 echo $ECHO_N "(cached) $ECHO_C" >&6
23574 if test "$cross_compiling" = yes; then
23575 gdb_cv_scanf_has_long_double
=no
23577 cat >conftest.
$ac_ext <<_ACEOF
23580 cat confdefs.h
>>conftest.
$ac_ext
23581 cat >>conftest.
$ac_ext <<_ACEOF
23582 /* end confdefs.h. */
23587 char *buf = "3.141592653";
23589 sscanf (buf, "%Lg", &f);
23590 return !(f > 3.14159 && f < 3.14160);
23595 rm -f conftest
$ac_exeext
23596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23597 (eval $ac_link) 2>&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23602 (eval $ac_try) 2>&5
23604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23605 (exit $ac_status); }; }; then
23606 gdb_cv_scanf_has_long_double
=yes
23608 echo "$as_me: program exited with status $ac_status" >&5
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.
$ac_ext >&5
23612 ( exit $ac_status )
23613 gdb_cv_scanf_has_long_double
=no
23615 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23618 echo "$as_me:$LINENO: result: $gdb_cv_scanf_has_long_double" >&5
23619 echo "${ECHO_T}$gdb_cv_scanf_has_long_double" >&6
23620 if test $gdb_cv_scanf_has_long_double = yes; then
23622 cat >>confdefs.h
<<\_ACEOF
23623 #define SCANF_HAS_LONG_DOUBLE 1
23630 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5
23631 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6
23632 if test "${gdb_cv_bigtoc+set}" = set; then
23633 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 SAVE_LDFLAGS
=$LDFLAGS
23639 yes) gdb_cv_bigtoc
=-Wl,-bbigtoc ;;
23640 *) gdb_cv_bigtoc
=-bbigtoc ;;
23643 LDFLAGS
=$LDFLAGS\
$gdb_cv_bigtoc
23644 cat >conftest.
$ac_ext <<_ACEOF
23647 cat confdefs.h
>>conftest.
$ac_ext
23648 cat >>conftest.
$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23659 rm -f conftest.
$ac_objext conftest
$ac_exeext
23660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23661 (eval $ac_link) 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_exeext'
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
23683 echo "$as_me: failed program was:" >&5
23684 sed 's/^/| /' conftest.
$ac_ext >&5
23688 rm -f conftest.err conftest.
$ac_objext \
23689 conftest
$ac_exeext conftest.
$ac_ext
23690 LDFLAGS
="${SAVE_LDFLAGS}"
23693 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5
23694 echo "${ECHO_T}$gdb_cv_bigtoc" >&6
23695 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} ${gdb_cv_bigtoc}"
23701 if test ${build} = ${host} -a ${host} = ${target} ; then
23704 echo "$as_me:$LINENO: checking for HPUX/OSF thread support" >&5
23705 echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
23706 if test -f /usr
/include
/dce
/cma_config.h
; then
23707 if test "$GCC" = "yes" ; then
23708 echo "$as_me:$LINENO: result: yes" >&5
23709 echo "${ECHO_T}yes" >&6
23711 cat >>confdefs.h
<<\_ACEOF
23712 #define HAVE_HPUX_THREAD_SUPPORT 1
23715 CONFIG_OBS
="${CONFIG_OBS} hpux-thread.o"
23716 CONFIG_SRCS
="${CONFIG_SRCS} hpux-thread.c"
23718 echo "$as_me:$LINENO: result: no (suppressed because you are not using GCC)" >&5
23719 echo "${ECHO_T}no (suppressed because you are not using GCC)" >&6
23722 echo "$as_me:$LINENO: result: no" >&5
23723 echo "${ECHO_T}no" >&6
23727 # See if thread_db library is around for Solaris thread debugging.
23728 # Note that we must explicitly test for version 1 of the library
23729 # because version 0 (present on Solaris 2.4 or earlier) doesn't have
23731 echo "$as_me:$LINENO: checking for Solaris thread debugging library" >&5
23732 echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
23733 if test -f /usr
/lib
/libthread_db.so
.1 ; then
23734 echo "$as_me:$LINENO: result: yes" >&5
23735 echo "${ECHO_T}yes" >&6
23737 cat >>confdefs.h
<<\_ACEOF
23738 #define HAVE_THREAD_DB_LIB 1
23741 CONFIG_OBS
="${CONFIG_OBS} sol-thread.o"
23742 CONFIG_SRCS
="${CONFIG_SRCS} sol-thread.c"
23744 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
23745 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
23746 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
23747 echo $ECHO_N "(cached) $ECHO_C" >&6
23749 ac_check_lib_save_LIBS
=$LIBS
23751 cat >conftest.
$ac_ext <<_ACEOF
23754 cat confdefs.h
>>conftest.
$ac_ext
23755 cat >>conftest.
$ac_ext <<_ACEOF
23756 /* end confdefs.h. */
23758 /* Override any gcc2 internal prototype to avoid an error. */
23762 /* We use char because int might match the return type of a gcc2
23763 builtin and then its argument prototype would still apply. */
23773 rm -f conftest.
$ac_objext conftest
$ac_exeext
23774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23775 (eval $ac_link) 2>conftest.er1
23777 grep -v '^ *+' conftest.er1
>conftest.err
23779 cat conftest.err
>&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); } &&
23782 { ac_try
='test -z "$ac_c_werror_flag"
23783 || test ! -s conftest.err'
23784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785 (eval $ac_try) 2>&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); }; } &&
23789 { ac_try
='test -s conftest$ac_exeext'
23790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23791 (eval $ac_try) 2>&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); }; }; then
23795 ac_cv_lib_dl_dlopen
=yes
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.
$ac_ext >&5
23800 ac_cv_lib_dl_dlopen
=no
23802 rm -f conftest.err conftest.
$ac_objext \
23803 conftest
$ac_exeext conftest.
$ac_ext
23804 LIBS
=$ac_check_lib_save_LIBS
23806 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
23807 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
23808 if test $ac_cv_lib_dl_dlopen = yes; then
23809 cat >>confdefs.h
<<_ACEOF
23810 #define HAVE_LIBDL 1
23817 if test "$GCC" = "yes" ; then
23818 # The GNU linker requires the -export-dynamic option to make
23819 # all symbols visible in the dynamic symbol table.
23820 hold_ldflags
=$LDFLAGS
23821 echo "$as_me:$LINENO: checking for the ld -export-dynamic flag" >&5
23822 echo $ECHO_N "checking for the ld -export-dynamic flag... $ECHO_C" >&6
23823 LDFLAGS
="${LDFLAGS} -Wl,-export-dynamic"
23824 cat >conftest.
$ac_ext <<_ACEOF
23827 cat confdefs.h
>>conftest.
$ac_ext
23828 cat >>conftest.
$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23839 rm -f conftest.
$ac_objext conftest
$ac_exeext
23840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23841 (eval $ac_link) 2>conftest.er1
23843 grep -v '^ *+' conftest.er1
>conftest.err
23845 cat conftest.err
>&5
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); } &&
23848 { ac_try
='test -z "$ac_c_werror_flag"
23849 || test ! -s conftest.err'
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); }; } &&
23855 { ac_try
='test -s conftest$ac_exeext'
23856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23857 (eval $ac_try) 2>&5
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); }; }; then
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.
$ac_ext >&5
23868 rm -f conftest.err conftest.
$ac_objext \
23869 conftest
$ac_exeext conftest.
$ac_ext
23870 LDFLAGS
=$hold_ldflags
23871 echo "$as_me:$LINENO: result: $found" >&5
23872 echo "${ECHO_T}$found" >&6
23873 if test $found = yes; then
23874 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -Wl,-export-dynamic"
23877 # Sun randomly tweaked the prototypes in <proc_service.h>
23879 echo "$as_me:$LINENO: checking if <proc_service.h> is old" >&5
23880 echo $ECHO_N "checking if <proc_service.h> is old... $ECHO_C" >&6
23881 if test "${gdb_cv_proc_service_is_old+set}" = set; then
23882 echo $ECHO_N "(cached) $ECHO_C" >&6
23885 cat >conftest.
$ac_ext <<_ACEOF
23888 cat confdefs.h
>>conftest.
$ac_ext
23889 cat >>conftest.
$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23892 #include <proc_service.h>
23893 ps_err_e ps_pdwrite
23894 (struct ps_prochandle*, psaddr_t, const void*, size_t);
23904 rm -f conftest.
$ac_objext
23905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23906 (eval $ac_compile) 2>conftest.er1
23908 grep -v '^ *+' conftest.er1
>conftest.err
23910 cat conftest.err
>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } &&
23913 { ac_try
='test -z "$ac_c_werror_flag"
23914 || test ! -s conftest.err'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; } &&
23920 { ac_try
='test -s conftest.$ac_objext'
23921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922 (eval $ac_try) 2>&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); }; }; then
23926 gdb_cv_proc_service_is_old
=no
23928 echo "$as_me: failed program was:" >&5
23929 sed 's/^/| /' conftest.
$ac_ext >&5
23931 gdb_cv_proc_service_is_old
=yes
23933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23937 echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
23938 echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
23939 if test $gdb_cv_proc_service_is_old = yes; then
23941 cat >>confdefs.h
<<\_ACEOF
23942 #define PROC_SERVICE_IS_OLD 1
23947 echo "$as_me:$LINENO: result: no" >&5
23948 echo "${ECHO_T}no" >&6
23952 echo "$as_me:$LINENO: checking for AiX thread debugging library" >&5
23953 echo $ECHO_N "checking for AiX thread debugging library... $ECHO_C" >&6
23954 if test "${gdb_cv_have_aix_thread_debug+set}" = set; then
23955 echo $ECHO_N "(cached) $ECHO_C" >&6
23957 cat >conftest.
$ac_ext <<_ACEOF
23960 cat confdefs.h
>>conftest.
$ac_ext
23961 cat >>conftest.
$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 #include <sys/pthdebug.h>
23967 #ifndef PTHDB_VERSION_3
23974 rm -f conftest.
$ac_objext
23975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23976 (eval $ac_compile) 2>conftest.er1
23978 grep -v '^ *+' conftest.er1
>conftest.err
23980 cat conftest.err
>&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); } &&
23983 { ac_try
='test -z "$ac_c_werror_flag"
23984 || test ! -s conftest.err'
23985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23986 (eval $ac_try) 2>&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); }; } &&
23990 { ac_try
='test -s conftest.$ac_objext'
23991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23992 (eval $ac_try) 2>&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); }; }; then
23996 gdb_cv_have_aix_thread_debug
=yes
23998 echo "$as_me: failed program was:" >&5
23999 sed 's/^/| /' conftest.
$ac_ext >&5
24001 gdb_cv_have_aix_thread_debug
=no
24003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24006 echo "$as_me:$LINENO: result: $gdb_cv_have_aix_thread_debug" >&5
24007 echo "${ECHO_T}$gdb_cv_have_aix_thread_debug" >&6
24008 if test $gdb_cv_have_aix_thread_debug = yes; then
24009 CONFIG_SRCS
="${CONFIG_SRCS} aix-thread.c"
24010 CONFIG_OBS
="${CONFIG_OBS} aix-thread.o"
24011 CONFIG_LDFLAGS
="${CONFIG_LDFLAGS} -lpthdebug"
24018 if test "x$ac_cv_header_thread_db_h" = "xyes"; then
24019 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTALLOC" >&5
24020 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTALLOC... $ECHO_C" >&6
24021 if test "${gdb_cv_thread_db_h_has_td_notalloc+set}" = set; then
24022 echo $ECHO_N "(cached) $ECHO_C" >&6
24024 cat >conftest.
$ac_ext <<_ACEOF
24027 cat confdefs.h
>>conftest.
$ac_ext
24028 cat >>conftest.
$ac_ext <<_ACEOF
24029 /* end confdefs.h. */
24030 #include <thread_db.h>
24034 int i = TD_NOTALLOC;
24039 rm -f conftest.
$ac_objext
24040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24041 (eval $ac_compile) 2>conftest.er1
24043 grep -v '^ *+' conftest.er1
>conftest.err
24045 cat conftest.err
>&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } &&
24048 { ac_try
='test -z "$ac_c_werror_flag"
24049 || test ! -s conftest.err'
24050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24051 (eval $ac_try) 2>&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); }; } &&
24055 { ac_try
='test -s conftest.$ac_objext'
24056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057 (eval $ac_try) 2>&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); }; }; then
24061 gdb_cv_thread_db_h_has_td_notalloc
=yes
24063 echo "$as_me: failed program was:" >&5
24064 sed 's/^/| /' conftest.
$ac_ext >&5
24066 gdb_cv_thread_db_h_has_td_notalloc
=no
24069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24072 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notalloc" >&5
24073 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notalloc" >&6
24074 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_VERSION" >&5
24075 echo $ECHO_N "checking whether <thread_db.h> has TD_VERSION... $ECHO_C" >&6
24076 if test "${gdb_cv_thread_db_h_has_td_version+set}" = set; then
24077 echo $ECHO_N "(cached) $ECHO_C" >&6
24079 cat >conftest.
$ac_ext <<_ACEOF
24082 cat confdefs.h
>>conftest.
$ac_ext
24083 cat >>conftest.
$ac_ext <<_ACEOF
24084 /* end confdefs.h. */
24085 #include <thread_db.h>
24089 int i = TD_VERSION;
24094 rm -f conftest.
$ac_objext
24095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24096 (eval $ac_compile) 2>conftest.er1
24098 grep -v '^ *+' conftest.er1
>conftest.err
24100 cat conftest.err
>&5
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); } &&
24103 { ac_try
='test -z "$ac_c_werror_flag"
24104 || test ! -s conftest.err'
24105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106 (eval $ac_try) 2>&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); }; } &&
24110 { ac_try
='test -s conftest.$ac_objext'
24111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24112 (eval $ac_try) 2>&5
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); }; }; then
24116 gdb_cv_thread_db_h_has_td_version
=yes
24118 echo "$as_me: failed program was:" >&5
24119 sed 's/^/| /' conftest.
$ac_ext >&5
24121 gdb_cv_thread_db_h_has_td_version
=no
24124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24127 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_version" >&5
24128 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_version" >&6
24129 echo "$as_me:$LINENO: checking whether <thread_db.h> has TD_NOTLS" >&5
24130 echo $ECHO_N "checking whether <thread_db.h> has TD_NOTLS... $ECHO_C" >&6
24131 if test "${gdb_cv_thread_db_h_has_td_notls+set}" = set; then
24132 echo $ECHO_N "(cached) $ECHO_C" >&6
24134 cat >conftest.
$ac_ext <<_ACEOF
24137 cat confdefs.h
>>conftest.
$ac_ext
24138 cat >>conftest.
$ac_ext <<_ACEOF
24139 /* end confdefs.h. */
24140 #include <thread_db.h>
24149 rm -f conftest.
$ac_objext
24150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24151 (eval $ac_compile) 2>conftest.er1
24153 grep -v '^ *+' conftest.er1
>conftest.err
24155 cat conftest.err
>&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); } &&
24158 { ac_try
='test -z "$ac_c_werror_flag"
24159 || test ! -s conftest.err'
24160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24161 (eval $ac_try) 2>&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); }; } &&
24165 { ac_try
='test -s conftest.$ac_objext'
24166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167 (eval $ac_try) 2>&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); }; }; then
24171 gdb_cv_thread_db_h_has_td_notls
=yes
24173 echo "$as_me: failed program was:" >&5
24174 sed 's/^/| /' conftest.
$ac_ext >&5
24176 gdb_cv_thread_db_h_has_td_notls
=no
24179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24182 echo "$as_me:$LINENO: result: $gdb_cv_thread_db_h_has_td_notls" >&5
24183 echo "${ECHO_T}$gdb_cv_thread_db_h_has_td_notls" >&6
24185 if test "x$gdb_cv_thread_db_h_has_td_notalloc" = "xyes"; then
24187 cat >>confdefs.h
<<\_ACEOF
24188 #define THREAD_DB_HAS_TD_NOTALLOC 1
24192 if test "x$gdb_cv_thread_db_h_has_td_version" = "xyes"; then
24194 cat >>confdefs.h
<<\_ACEOF
24195 #define THREAD_DB_HAS_TD_VERSION 1
24199 if test "x$gdb_cv_thread_db_h_has_td_notls" = "xyes"; then
24201 cat >>confdefs.h
<<\_ACEOF
24202 #define THREAD_DB_HAS_TD_NOTLS 1
24207 if test "x$ac_cv_header_sys_syscall_h" = "xyes"; then
24208 echo "$as_me:$LINENO: checking whether <sys/syscall.h> has __NR_tkill" >&5
24209 echo $ECHO_N "checking whether <sys/syscall.h> has __NR_tkill... $ECHO_C" >&6
24210 if test "${gdb_cv_sys_syscall_h_has_tkill+set}" = set; then
24211 echo $ECHO_N "(cached) $ECHO_C" >&6
24213 cat >conftest.
$ac_ext <<_ACEOF
24216 cat confdefs.h
>>conftest.
$ac_ext
24217 cat >>conftest.
$ac_ext <<_ACEOF
24218 /* end confdefs.h. */
24219 #include <sys/syscall.h>
24223 int i = __NR_tkill;
24228 rm -f conftest.
$ac_objext
24229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24230 (eval $ac_compile) 2>conftest.er1
24232 grep -v '^ *+' conftest.er1
>conftest.err
24234 cat conftest.err
>&5
24235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236 (exit $ac_status); } &&
24237 { ac_try
='test -z "$ac_c_werror_flag"
24238 || test ! -s conftest.err'
24239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24240 (eval $ac_try) 2>&5
24242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243 (exit $ac_status); }; } &&
24244 { ac_try
='test -s conftest.$ac_objext'
24245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24246 (eval $ac_try) 2>&5
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); }; }; then
24250 gdb_cv_sys_syscall_h_has_tkill
=yes
24252 echo "$as_me: failed program was:" >&5
24253 sed 's/^/| /' conftest.
$ac_ext >&5
24255 gdb_cv_sys_syscall_h_has_tkill
=no
24258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24261 echo "$as_me:$LINENO: result: $gdb_cv_sys_syscall_h_has_tkill" >&5
24262 echo "${ECHO_T}$gdb_cv_sys_syscall_h_has_tkill" >&6
24264 if test "x$gdb_cv_sys_syscall_h_has_tkill" = "xyes" && test "x$ac_cv_func_syscall" = "xyes"; then
24266 cat >>confdefs.h
<<\_ACEOF
24267 #define HAVE_TKILL_SYSCALL 1
24272 echo "$as_me:$LINENO: checking whether ADDR_NO_RANDOMIZE is declared" >&5
24273 echo $ECHO_N "checking whether ADDR_NO_RANDOMIZE is declared... $ECHO_C" >&6
24274 if test "${ac_cv_have_decl_ADDR_NO_RANDOMIZE+set}" = set; then
24275 echo $ECHO_N "(cached) $ECHO_C" >&6
24277 cat >conftest.
$ac_ext <<_ACEOF
24280 cat confdefs.h
>>conftest.
$ac_ext
24281 cat >>conftest.
$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24283 #include <sys/personality.h>
24288 #ifndef ADDR_NO_RANDOMIZE
24289 char *p = (char *) ADDR_NO_RANDOMIZE;
24296 rm -f conftest.
$ac_objext
24297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24298 (eval $ac_compile) 2>conftest.er1
24300 grep -v '^ *+' conftest.er1
>conftest.err
24302 cat conftest.err
>&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); } &&
24305 { ac_try
='test -z "$ac_c_werror_flag"
24306 || test ! -s conftest.err'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; } &&
24312 { ac_try
='test -s conftest.$ac_objext'
24313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24314 (eval $ac_try) 2>&5
24316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); }; }; then
24318 ac_cv_have_decl_ADDR_NO_RANDOMIZE
=yes
24320 echo "$as_me: failed program was:" >&5
24321 sed 's/^/| /' conftest.
$ac_ext >&5
24323 ac_cv_have_decl_ADDR_NO_RANDOMIZE
=no
24325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24327 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_NO_RANDOMIZE" >&5
24328 echo "${ECHO_T}$ac_cv_have_decl_ADDR_NO_RANDOMIZE" >&6
24329 if test $ac_cv_have_decl_ADDR_NO_RANDOMIZE = yes; then
24331 cat >>confdefs.h
<<_ACEOF
24332 #define HAVE_DECL_ADDR_NO_RANDOMIZE 1
24337 cat >>confdefs.h
<<_ACEOF
24338 #define HAVE_DECL_ADDR_NO_RANDOMIZE 0
24346 if test "$cross_compiling" = yes; then
24347 cat >conftest.
$ac_ext <<_ACEOF
24350 cat confdefs.h
>>conftest.
$ac_ext
24351 cat >>conftest.
$ac_ext <<_ACEOF
24352 /* end confdefs.h. */
24353 #include <sys/personality.h>
24358 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
24359 # define ADDR_NO_RANDOMIZE 0x0040000
24361 /* Test the flag could be set and stays set. */
24362 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
24363 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
24369 rm -f conftest.
$ac_objext conftest
$ac_exeext
24370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24371 (eval $ac_link) 2>conftest.er1
24373 grep -v '^ *+' conftest.er1
>conftest.err
24375 cat conftest.err
>&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } &&
24378 { ac_try
='test -z "$ac_c_werror_flag"
24379 || test ! -s conftest.err'
24380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381 (eval $ac_try) 2>&5
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); }; } &&
24385 { ac_try
='test -s conftest$ac_exeext'
24386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387 (eval $ac_try) 2>&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); }; }; then
24391 have_personality
=true
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.
$ac_ext >&5
24396 have_personality
=false
24398 rm -f conftest.err conftest.
$ac_objext \
24399 conftest
$ac_exeext conftest.
$ac_ext
24401 cat >conftest.
$ac_ext <<_ACEOF
24404 cat confdefs.h
>>conftest.
$ac_ext
24405 cat >>conftest.
$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24407 #include <sys/personality.h>
24412 # if !HAVE_DECL_ADDR_NO_RANDOMIZE
24413 # define ADDR_NO_RANDOMIZE 0x0040000
24415 /* Test the flag could be set and stays set. */
24416 personality (personality (0xffffffff) | ADDR_NO_RANDOMIZE);
24417 if (!(personality (personality (0xffffffff)) & ADDR_NO_RANDOMIZE))
24423 rm -f conftest
$ac_exeext
24424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24425 (eval $ac_link) 2>&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24430 (eval $ac_try) 2>&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; }; then
24434 have_personality
=true
24436 echo "$as_me: program exited with status $ac_status" >&5
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.
$ac_ext >&5
24440 ( exit $ac_status )
24441 have_personality
=false
24443 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24445 if $have_personality
24448 cat >>confdefs.h
<<\_ACEOF
24449 #define HAVE_PERSONALITY 1
24456 # Check whether --with-sysroot or --without-sysroot was given.
24457 if test "${with_sysroot+set}" = set; then
24458 withval
="$with_sysroot"
24460 case ${with_sysroot} in
24461 yes) TARGET_SYSTEM_ROOT
='${exec_prefix}/${target_alias}/sys-root' ;;
24462 *) TARGET_SYSTEM_ROOT
=$with_sysroot ;;
24465 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
24467 if test "x$prefix" = xNONE
; then
24468 test_prefix
=/usr
/local
24470 test_prefix
=$prefix
24472 if test "x$exec_prefix" = xNONE ||
test "x$exec_prefix" = 'x${prefix}'; then
24473 test_exec_prefix
=$test_prefix
24475 test_exec_prefix
=$exec_prefix
24477 case ${TARGET_SYSTEM_ROOT} in
24478 "${test_prefix}"|
"${test_prefix}/"*|\
24479 "${test_exec_prefix}"|
"${test_exec_prefix}/"*|\
24480 '${prefix}'|
'${prefix}/'*|\
24481 '${exec_prefix}'|
'${exec_prefix}/'*)
24482 t
="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
24483 TARGET_SYSTEM_ROOT_DEFINE
="$t"
24489 TARGET_SYSTEM_ROOT
=
24490 TARGET_SYSTEM_ROOT_DEFINE
='-DTARGET_SYSTEM_ROOT=\"\"'
24496 # Check whether --enable-werror or --disable-werror was given.
24497 if test "${enable_werror+set}" = set; then
24498 enableval
="$enable_werror"
24499 case "${enableval}" in
24500 yes | y
) ERROR_ON_WARNING
="yes" ;;
24501 no | n
) ERROR_ON_WARNING
="no" ;;
24502 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
24503 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
24504 { (exit 1); exit 1; }; } ;;
24508 # Enable -Werror by default when using gcc
24509 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
24510 ERROR_ON_WARNING
=yes
24514 if test "${ERROR_ON_WARNING}" = yes ; then
24515 WERROR_CFLAGS
="-Werror"
24518 # The entries after -Wno-pointer-sign are disabled warnings which may
24519 # be enabled in the future, which can not currently be used to build
24521 # NOTE: If you change this list, remember to update
24522 # gdb/doc/gdbint.texinfo.
24523 build_warnings
="-Wall -Wdeclaration-after-statement -Wpointer-arith \
24524 -Wformat-nonliteral -Wno-pointer-sign \
24525 -Wno-unused -Wno-switch -Wno-char-subscripts"
24527 # Enable -Wno-format by default when using gcc on mingw since many
24528 # GCC versions complain about %I64.
24530 *-*-mingw32*) build_warnings
="$build_warnings -Wno-format" ;;
24533 # Check whether --enable-build-warnings or --disable-build-warnings was given.
24534 if test "${enable_build_warnings+set}" = set; then
24535 enableval
="$enable_build_warnings"
24536 case "${enableval}" in
24538 no
) build_warnings
="-w";;
24539 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
24540 build_warnings
="${build_warnings} ${t}";;
24541 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
24542 build_warnings
="${t} ${build_warnings}";;
24543 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
24545 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
24546 echo "Setting compiler warning flags = $build_warnings" 6>&1
24548 fi; # Check whether --enable-gdb-build-warnings or --disable-gdb-build-warnings was given.
24549 if test "${enable_gdb_build_warnings+set}" = set; then
24550 enableval
="$enable_gdb_build_warnings"
24551 case "${enableval}" in
24553 no
) build_warnings
="-w";;
24554 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
24555 build_warnings
="${build_warnings} ${t}";;
24556 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
24557 build_warnings
="${t} ${build_warnings}";;
24558 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
24560 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
24561 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
24564 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
24566 echo "$as_me:$LINENO: checking compiler warning flags" >&5
24567 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
24568 # Separate out the -Werror flag as some files just cannot be
24569 # compiled with it enabled.
24570 for w
in ${build_warnings}; do
24572 -Werr*) WERROR_CFLAGS
=-Werror ;;
24573 *) # Check that GCC accepts it
24574 saved_CFLAGS
="$CFLAGS"
24575 CFLAGS
="$CFLAGS $w"
24576 cat >conftest.
$ac_ext <<_ACEOF
24579 cat confdefs.h
>>conftest.
$ac_ext
24580 cat >>conftest.
$ac_ext <<_ACEOF
24581 /* end confdefs.h. */
24591 rm -f conftest.
$ac_objext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24593 (eval $ac_compile) 2>conftest.er1
24595 grep -v '^ *+' conftest.er1
>conftest.err
24597 cat conftest.err
>&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } &&
24600 { ac_try
='test -z "$ac_c_werror_flag"
24601 || test ! -s conftest.err'
24602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603 (eval $ac_try) 2>&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }; } &&
24607 { ac_try
='test -s conftest.$ac_objext'
24608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24609 (eval $ac_try) 2>&5
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); }; }; then
24613 WARN_CFLAGS
="${WARN_CFLAGS} $w"
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.
$ac_ext >&5
24619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24620 CFLAGS
="$saved_CFLAGS"
24623 echo "$as_me:$LINENO: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
24624 echo "${ECHO_T}${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6
24629 # In the Cygwin environment, we need some additional flags.
24630 echo "$as_me:$LINENO: checking for cygwin" >&5
24631 echo $ECHO_N "checking for cygwin... $ECHO_C" >&6
24632 if test "${gdb_cv_os_cygwin+set}" = set; then
24633 echo $ECHO_N "(cached) $ECHO_C" >&6
24635 cat >conftest.
$ac_ext <<_ACEOF
24638 cat confdefs.h
>>conftest.
$ac_ext
24639 cat >>conftest.
$ac_ext <<_ACEOF
24640 /* end confdefs.h. */
24642 #if defined (__CYGWIN__) || defined (__CYGWIN32__)
24646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24647 $EGREP "lose" >/dev
/null
2>&1; then
24648 gdb_cv_os_cygwin
=yes
24650 gdb_cv_os_cygwin
=no
24655 echo "$as_me:$LINENO: result: $gdb_cv_os_cygwin" >&5
24656 echo "${ECHO_T}$gdb_cv_os_cygwin" >&6
24659 SER_HARDWIRE
="ser-base.o ser-unix.o ser-pipe.o ser-tcp.o"
24661 *go32
* ) SER_HARDWIRE
=ser-go32.o
;;
24662 *djgpp
* ) SER_HARDWIRE
=ser-go32.o
;;
24663 *mingw32
*) SER_HARDWIRE
="ser-base.o ser-tcp.o ser-mingw.o" ;;
24667 # libreadline needs libuser32.a in a cygwin environment
24669 if test x
$gdb_cv_os_cygwin = xyes
; then
24670 WIN32LIBS
="-luser32"
24671 case "${target}" in
24672 *cygwin
*) WIN32LIBS
="$WIN32LIBS -limagehlp"
24677 # The ser-tcp.c module requires sockets.
24681 cat >>confdefs.h
<<\_ACEOF
24682 #define USE_WIN32API 1
24685 WIN32LIBS
="$WIN32LIBS -lws2_32"
24690 # Add ELF support to GDB, but only if BFD includes ELF support.
24692 OLD_LDFLAGS
=$LDFLAGS
24694 CFLAGS
="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
24695 LDFLAGS
="$LDFLAGS -L../bfd -L../libiberty"
24696 intl
=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
24697 LIBS
="-lbfd -liberty $intl $LIBS"
24698 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
24699 echo $ECHO_N "checking for ELF support in BFD... $ECHO_C" >&6
24700 if test "${gdb_cv_var_elf+set}" = set; then
24701 echo $ECHO_N "(cached) $ECHO_C" >&6
24703 cat >conftest.
$ac_ext <<_ACEOF
24706 cat confdefs.h
>>conftest.
$ac_ext
24707 cat >>conftest.
$ac_ext <<_ACEOF
24708 /* end confdefs.h. */
24709 #include <stdlib.h>
24711 #include "elf-bfd.h"
24716 bfd *abfd = NULL; bfd_get_elf_phdr_upper_bound (abfd);
24721 rm -f conftest.
$ac_objext conftest
$ac_exeext
24722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24723 (eval $ac_link) 2>conftest.er1
24725 grep -v '^ *+' conftest.er1
>conftest.err
24727 cat conftest.err
>&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); } &&
24730 { ac_try
='test -z "$ac_c_werror_flag"
24731 || test ! -s conftest.err'
24732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24733 (eval $ac_try) 2>&5
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); }; } &&
24737 { ac_try
='test -s conftest$ac_exeext'
24738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24739 (eval $ac_try) 2>&5
24741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 (exit $ac_status); }; }; then
24745 echo "$as_me: failed program was:" >&5
24746 sed 's/^/| /' conftest.
$ac_ext >&5
24750 rm -f conftest.err conftest.
$ac_objext \
24751 conftest
$ac_exeext conftest.
$ac_ext
24753 echo "$as_me:$LINENO: result: $gdb_cv_var_elf" >&5
24754 echo "${ECHO_T}$gdb_cv_var_elf" >&6
24755 if test $gdb_cv_var_elf = yes; then
24756 CONFIG_OBS
="$CONFIG_OBS elfread.o"
24758 cat >>confdefs.h
<<\_ACEOF
24764 LDFLAGS
=$OLD_LDFLAGS
24767 # Add any host-specific objects to GDB.
24768 CONFIG_OBS
="${CONFIG_OBS} ${gdb_host_obs}"
24770 LIBGUI
="../libgui/src/libgui.a"
24771 GUI_CFLAGS_X
="-I${srcdir}/../libgui/src"
24780 *-*-cygwin* |
*-*-mingw* )
24789 if test "${enable_gdbtk}" = "yes"; then
24791 # Gdbtk must have an absolute path to srcdir in order to run
24792 # properly when not installed.
24795 GDBTK_SRC_DIR
=`pwd`
24800 # Ok, lets find the tcl configuration
24801 # First, look for one uninstalled.
24802 # the alternative search directory is invoked by --with-tcl
24805 if test x
"${no_tcl}" = x
; then
24806 # we reset no_tcl in case something fails here
24809 # Check whether --with-tcl or --without-tcl was given.
24810 if test "${with_tcl+set}" = set; then
24811 withval
="$with_tcl"
24812 with_tclconfig
=${withval}
24814 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
24815 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
24816 if test "${ac_cv_c_tclconfig+set}" = set; then
24817 echo $ECHO_N "(cached) $ECHO_C" >&6
24821 # First check to see if --with-tcl was specified.
24823 *-*-cygwin*) platDir
="win" ;;
24824 *) platDir
="unix" ;;
24826 if test x
"${with_tclconfig}" != x
; then
24827 if test -f "${with_tclconfig}/tclConfig.sh" ; then
24828 ac_cv_c_tclconfig
=`(cd ${with_tclconfig}; pwd)`
24830 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
24831 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
24832 { (exit 1); exit 1; }; }
24836 # then check for a private Tcl installation
24837 if test x
"${ac_cv_c_tclconfig}" = x
; then
24840 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
24841 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
24842 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
24844 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
24845 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
24846 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
24848 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
24849 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
24850 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do
24851 if test -f "$i/$platDir/tclConfig.sh" ; then
24852 ac_cv_c_tclconfig
=`(cd $i/$platDir; pwd)`
24858 # on Darwin, check in Framework installation locations
24859 if test "`uname -s`" = "Darwin" -a x
"${ac_cv_c_tclconfig}" = x
; then
24860 for i
in `ls -d ~/Library/Frameworks 2>/dev/null` \
24861 `ls -d /Library/Frameworks 2>/dev/null` \
24862 `ls -d /Network/Library/Frameworks 2>/dev/null` \
24863 `ls -d /System/Library/Frameworks 2>/dev/null` \
24865 if test -f "$i/Tcl.framework/tclConfig.sh" ; then
24866 ac_cv_c_tclconfig
=`(cd $i/Tcl.framework; pwd)`
24872 # check in a few common install locations
24873 if test x
"${ac_cv_c_tclconfig}" = x
; then
24874 for i
in `ls -d ${libdir} 2>/dev/null` \
24875 `ls -d ${exec_prefix}/lib 2>/dev/null` \
24876 `ls -d ${prefix}/lib 2>/dev/null` \
24877 `ls -d /usr/local/lib 2>/dev/null` \
24878 `ls -d /usr/contrib/lib 2>/dev/null` \
24879 `ls -d /usr/lib 2>/dev/null` \
24881 if test -f "$i/tclConfig.sh" ; then
24882 ac_cv_c_tclconfig
=`(cd $i; pwd)`
24888 # check in a few other private locations
24889 if test x
"${ac_cv_c_tclconfig}" = x
; then
24892 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
24893 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
24894 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do
24895 if test -f "$i/$platDir/tclConfig.sh" ; then
24896 ac_cv_c_tclconfig
=`(cd $i/$platDir; pwd)`
24905 if test x
"${ac_cv_c_tclconfig}" = x
; then
24906 TCL_BIN_DIR
="# no Tcl configs found"
24907 { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
24908 echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
24912 TCL_BIN_DIR
=${ac_cv_c_tclconfig}
24913 echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
24914 echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6
24918 if test -z "${no_tcl}"; then
24920 echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
24921 echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6
24923 if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then
24924 echo "$as_me:$LINENO: result: loading" >&5
24925 echo "${ECHO_T}loading" >&6
24926 .
${TCL_BIN_DIR}/tclConfig.sh
24928 echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
24929 echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6
24932 # eval is required to do the TCL_DBGX substitution
24933 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
24934 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
24936 # If the TCL_BIN_DIR is the build directory (not the install directory),
24937 # then set the common variable name to the value of the build variables.
24938 # For example, the variable TCL_LIB_SPEC will be set to the value
24939 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
24940 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
24941 # installed and uninstalled version of Tcl.
24942 if test -f ${TCL_BIN_DIR}/Makefile
; then
24943 TCL_LIB_SPEC
=${TCL_BUILD_LIB_SPEC}
24944 TCL_STUB_LIB_SPEC
=${TCL_BUILD_STUB_LIB_SPEC}
24945 TCL_STUB_LIB_PATH
=${TCL_BUILD_STUB_LIB_PATH}
24946 elif test "`uname -s`" = "Darwin"; then
24947 # If Tcl was built as a framework, attempt to use the libraries
24948 # from the framework at the given location so that linking works
24949 # against Tcl.framework installed in an arbitary location.
24950 case ${TCL_DEFS} in
24952 if test -f ${TCL_BIN_DIR}/${TCL_LIB_FILE}; then
24953 for i
in "`cd ${TCL_BIN_DIR}; pwd`" \
24954 "`cd ${TCL_BIN_DIR}/../..; pwd`"; do
24955 if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework"; then
24956 TCL_LIB_SPEC
="-F`dirname "$i"` -framework ${TCL_LIB_FILE}"
24961 if test -f ${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}; then
24962 TCL_STUB_LIB_SPEC
="-L${TCL_BIN_DIR} ${TCL_STUB_LIB_FLAG}"
24963 TCL_STUB_LIB_PATH
="${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"
24969 # eval is required to do the TCL_DBGX substitution
24970 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
24971 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
24972 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
24973 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
24989 # Check for in-tree tcl
24996 if test "${TCL_SRC_DIR}" = "${topdir}/tcl"; then
25000 # Find Tcl private headers
25001 if test x
"${intree}" = xno
; then
25003 echo "$as_me:$LINENO: checking for Tcl private headers" >&5
25004 echo $ECHO_N "checking for Tcl private headers... $ECHO_C" >&6
25006 dir
=`echo ${TCL_INCLUDE_SPEC}/tcl-private/generic | sed -e s/-I//`
25007 if test -f ${dir}/tclInt.h
; then
25011 if test x
"${private_dir}" = x
; then
25012 { { echo "$as_me:$LINENO: error: could not find private Tcl headers" >&5
25013 echo "$as_me: error: could not find private Tcl headers" >&2;}
25014 { (exit 1); exit 1; }; }
25016 TCL_PRIVATE_INCLUDE
="-I${private_dir}"
25017 echo "$as_me:$LINENO: result: ${private_dir}" >&5
25018 echo "${ECHO_T}${private_dir}" >&6
25021 TCL_INCLUDE
="${TCL_INCLUDE_SPEC} ${TCL_PRIVATE_INCLUDE}"
25022 TCL_LIBRARY
="${TCL_LIB_SPEC}"
25025 # If building tcl in the same src tree, private headers
25026 # are not needed, but we need to be sure to use the right
25028 TCL_INCLUDE
="-I${TCL_SRC_DIR}/generic"
25029 TCL_LIBRARY
="${TCL_BUILD_LIB_SPEC}"
25030 TCL_DEPS
="../tcl/${configdir}${TCL_LIB_FILE}"
25036 # If $no_tk is nonempty, then we can't do Tk, and there is no
25037 # point to doing Tcl.
25038 if test -z "${no_tk}"; then
25041 # Ok, lets find the tk configuration
25042 # First, look for one uninstalled.
25043 # the alternative search directory is invoked by --with-tk
25046 if test x
"${no_tk}" = x
; then
25047 # we reset no_tk in case something fails here
25050 # Check whether --with-tk or --without-tk was given.
25051 if test "${with_tk+set}" = set; then
25053 with_tkconfig
=${withval}
25055 echo "$as_me:$LINENO: checking for Tk configuration" >&5
25056 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
25057 if test "${ac_cv_c_tkconfig+set}" = set; then
25058 echo $ECHO_N "(cached) $ECHO_C" >&6
25062 # First check to see if --with-tkconfig was specified.
25063 if test x
"${with_tkconfig}" != x
; then
25064 if test -f "${with_tkconfig}/tkConfig.sh" ; then
25065 ac_cv_c_tkconfig
=`(cd ${with_tkconfig}; pwd)`
25067 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
25068 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
25069 { (exit 1); exit 1; }; }
25073 # then check for a private Tk library
25075 *-*-cygwin*) platDir
="win" ;;
25076 *) platDir
="unix" ;;
25078 if test x
"${ac_cv_c_tkconfig}" = x
; then
25081 `ls -dr ../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
25082 `ls -dr ../tk[8-9].[0-9] 2>/dev/null` \
25083 `ls -dr ../tk[8-9].[0-9]* 2>/dev/null` \
25085 `ls -dr ../../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
25086 `ls -dr ../../tk[8-9].[0-9] 2>/dev/null` \
25087 `ls -dr ../../tk[8-9].[0-9]* 2>/dev/null` \
25089 `ls -dr ../../../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
25090 `ls -dr ../../../tk[8-9].[0-9] 2>/dev/null` \
25091 `ls -dr ../../../tk[8-9].[0-9]* 2>/dev/null` ; do
25092 if test -f "$i/$platDir/tkConfig.sh" ; then
25093 ac_cv_c_tkconfig
=`(cd $i/$platDir; pwd)`
25099 # on Darwin, check in Framework installation locations
25100 if test "`uname -s`" = "Darwin" -a x
"${ac_cv_c_tkconfig}" = x
; then
25101 for i
in `ls -d ~/Library/Frameworks 2>/dev/null` \
25102 `ls -d /Library/Frameworks 2>/dev/null` \
25103 `ls -d /Network/Library/Frameworks 2>/dev/null` \
25104 `ls -d /System/Library/Frameworks 2>/dev/null` \
25106 if test -f "$i/Tk.framework/tkConfig.sh" ; then
25107 ac_cv_c_tkconfig
=`(cd $i/Tk.framework; pwd)`
25113 # check in a few common install locations
25114 if test x
"${ac_cv_c_tkconfig}" = x
; then
25115 for i
in `ls -d ${libdir} 2>/dev/null` \
25116 `ls -d ${exec_prefix}/lib 2>/dev/null` \
25117 `ls -d ${prefix}/lib 2>/dev/null` \
25118 `ls -d /usr/local/lib 2>/dev/null` \
25119 `ls -d /usr/contrib/lib 2>/dev/null` \
25120 `ls -d /usr/lib 2>/dev/null` \
25122 if test -f "$i/tkConfig.sh" ; then
25123 ac_cv_c_tkconfig
=`(cd $i; pwd)`
25128 # check in a few other private locations
25129 if test x
"${ac_cv_c_tkconfig}" = x
; then
25132 `ls -dr ${srcdir}/../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
25133 `ls -dr ${srcdir}/../tk[8-9].[0-9] 2>/dev/null` \
25134 `ls -dr ${srcdir}/../tk[8-9].[0-9]* 2>/dev/null` ; do
25135 if test -f "$i/$platDir/tkConfig.sh" ; then
25136 ac_cv_c_tkconfig
=`(cd $i/$platDir; pwd)`
25145 if test x
"${ac_cv_c_tkconfig}" = x
; then
25146 TK_BIN_DIR
="# no Tk configs found"
25147 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
25148 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
25152 TK_BIN_DIR
=${ac_cv_c_tkconfig}
25153 echo "$as_me:$LINENO: result: found ${TK_BIN_DIR}/tkConfig.sh" >&5
25154 echo "${ECHO_T}found ${TK_BIN_DIR}/tkConfig.sh" >&6
25159 echo "$as_me:$LINENO: checking for existence of ${TK_BIN_DIR}/tkConfig.sh" >&5
25160 echo $ECHO_N "checking for existence of ${TK_BIN_DIR}/tkConfig.sh... $ECHO_C" >&6
25162 if test -f "${TK_BIN_DIR}/tkConfig.sh" ; then
25163 echo "$as_me:$LINENO: result: loading" >&5
25164 echo "${ECHO_T}loading" >&6
25165 .
${TK_BIN_DIR}/tkConfig.sh
25167 echo "$as_me:$LINENO: result: could not find ${TK_BIN_DIR}/tkConfig.sh" >&5
25168 echo "${ECHO_T}could not find ${TK_BIN_DIR}/tkConfig.sh" >&6
25171 # eval is required to do the TK_DBGX substitution
25172 eval "TK_LIB_FILE=\"${TK_LIB_FILE}\""
25173 eval "TK_STUB_LIB_FILE=\"${TK_STUB_LIB_FILE}\""
25175 # If the TK_BIN_DIR is the build directory (not the install directory),
25176 # then set the common variable name to the value of the build variables.
25177 # For example, the variable TK_LIB_SPEC will be set to the value
25178 # of TK_BUILD_LIB_SPEC. An extension should make use of TK_LIB_SPEC
25179 # instead of TK_BUILD_LIB_SPEC since it will work with both an
25180 # installed and uninstalled version of Tcl.
25181 if test -f ${TK_BIN_DIR}/Makefile
; then
25182 TK_LIB_SPEC
=${TK_BUILD_LIB_SPEC}
25183 TK_STUB_LIB_SPEC
=${TK_BUILD_STUB_LIB_SPEC}
25184 TK_STUB_LIB_PATH
=${TK_BUILD_STUB_LIB_PATH}
25185 elif test "`uname -s`" = "Darwin"; then
25186 # If Tk was built as a framework, attempt to use the libraries
25187 # from the framework at the given location so that linking works
25188 # against Tk.framework installed in an arbitary location.
25191 if test -f ${TK_BIN_DIR}/${TK_LIB_FILE}; then
25192 for i
in "`cd ${TK_BIN_DIR}; pwd`" \
25193 "`cd ${TK_BIN_DIR}/../..; pwd`"; do
25194 if test "`basename "$i"`" = "${TK_LIB_FILE}.framework"; then
25195 TK_LIB_SPEC
="-F`dirname "$i"` -framework ${TK_LIB_FILE}"
25200 if test -f ${TK_BIN_DIR}/${TK_STUB_LIB_FILE}; then
25201 TK_STUB_LIB_SPEC
="-L${TK_BIN_DIR} ${TK_STUB_LIB_FLAG}"
25202 TK_STUB_LIB_PATH
="${TK_BIN_DIR}/${TK_STUB_LIB_FILE}"
25208 # eval is required to do the TK_DBGX substitution
25209 eval "TK_LIB_FLAG=\"${TK_LIB_FLAG}\""
25210 eval "TK_LIB_SPEC=\"${TK_LIB_SPEC}\""
25211 eval "TK_STUB_LIB_FLAG=\"${TK_STUB_LIB_FLAG}\""
25212 eval "TK_STUB_LIB_SPEC=\"${TK_STUB_LIB_SPEC}\""
25227 # Check for in-tree Tk
25229 if test "${TK_SRC_DIR}" = "${topdir}/tk"; then
25233 # Find Tk private headers
25234 if test x
"${intree}" = xno
; then
25236 echo "$as_me:$LINENO: checking for Tk private headers" >&5
25237 echo $ECHO_N "checking for Tk private headers... $ECHO_C" >&6
25239 dir
=`echo ${TK_INCLUDE_SPEC}/tk-private/generic | sed -e s/-I//`
25240 if test -f ${dir}/tkInt.h
; then
25244 if test x
"${private_dir}" = x
; then
25245 { { echo "$as_me:$LINENO: error: could not find Tk private headers" >&5
25246 echo "$as_me: error: could not find Tk private headers" >&2;}
25247 { (exit 1); exit 1; }; }
25249 TK_PRIVATE_INCLUDE
="-I${private_dir}"
25250 echo "$as_me:$LINENO: result: ${private_dir}" >&5
25251 echo "${ECHO_T}${private_dir}" >&6
25254 TK_INCLUDE
="${TK_INCLUDE_SPEC} ${TK_PRIVATE_INCLUDE}"
25255 TK_LIBRARY
=${TK_LIB_SPEC}
25258 TK_INCLUDE
="-I${TK_SRC_DIR}/generic"
25259 TK_LIBRARY
="${TK_BUILD_LIB_SPEC}"
25260 TK_DEPS
="../tk/${configdir}/${TK_LIB_FILE}"
25267 ENABLE_CFLAGS
="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
25269 # Include some libraries that Tcl and Tk want.
25270 TCL_LIBS
='$(LIBGUI) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
25271 # Yes, the ordering seems wrong here. But it isn't.
25272 # TK_LIBS is the list of libraries that need to be linked
25273 # after Tcl/Tk. Note that this isn't put into LIBS. If it
25274 # were in LIBS then any link tests after this point would
25275 # try to include things like `$(LIBGUI)', which wouldn't work.
25276 GDBTKLIBS
="${TCL_LIBS} ${TK_LIBS}"
25278 CONFIG_OBS
="${CONFIG_OBS} \$(SUBDIR_GDBTK_OBS)"
25279 CONFIG_DEPS
="${CONFIG_DEPS} \$(SUBDIR_GDBTK_DEPS)"
25280 CONFIG_SRCS
="${CONFIG_SRCS} \$(SUBDIR_GDBTK_SRCS)"
25281 CONFIG_ALL
="${CONFIG_ALL} all-gdbtk"
25282 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-gdbtk"
25283 CONFIG_INSTALL
="${CONFIG_INSTALL} install-gdbtk"
25284 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-gdbtk"
25286 if test x
$gdb_cv_os_cygwin = xyes
; then
25287 WIN32LIBS
="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32"
25288 WIN32LDAPP
="-Wl,--subsystem,console"
25289 CONFIG_OBS
="${CONFIG_OBS} gdbres.o"
25296 subdirs
="$subdirs gdbtk"
25307 echo "$as_me:$LINENO: checking for X" >&5
25308 echo $ECHO_N "checking for X... $ECHO_C" >&6
25311 # Check whether --with-x or --without-x was given.
25312 if test "${with_x+set}" = set; then
25316 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25317 if test "x$with_x" = xno
; then
25318 # The user explicitly disabled X.
25321 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25322 # Both variables are already set.
25325 if test "${ac_cv_have_x+set}" = set; then
25326 echo $ECHO_N "(cached) $ECHO_C" >&6
25328 # One or both of the vars are not set, and there is no cached value.
25329 ac_x_includes
=no ac_x_libraries
=no
25330 rm -fr conftest.dir
25331 if mkdir conftest.dir
; then
25333 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25334 cat >Imakefile
<<'_ACEOF'
25336 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25338 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25339 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25340 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25341 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25342 for ac_extension
in a so sl
; do
25343 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25344 test -f $ac_im_libdir/libX11.
$ac_extension; then
25345 ac_im_usrlibdir
=$ac_im_libdir; break
25348 # Screen out bogus values from the imake configuration. They are
25349 # bogus both because they are the default anyway, and because
25350 # using them would break gcc on systems where it needs fixed includes.
25351 case $ac_im_incroot in
25353 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25355 case $ac_im_usrlibdir in
25356 /usr
/lib |
/lib
) ;;
25357 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25361 rm -fr conftest.dir
25364 # Standard set of common directories for X headers.
25365 # Check X11 before X11Rn because it is often a symlink to the current release.
25377 /usr/local/X11/include
25378 /usr/local/X11R6/include
25379 /usr/local/X11R5/include
25380 /usr/local/X11R4/include
25382 /usr/local/include/X11
25383 /usr/local/include/X11R6
25384 /usr/local/include/X11R5
25385 /usr/local/include/X11R4
25389 /usr/XFree86/include/X11
25393 /usr/unsupported/include
25394 /usr/athena/include
25395 /usr/local/x11r5/include
25396 /usr/lpp/Xamples/include
25398 /usr/openwin/include
25399 /usr/openwin/share/include'
25401 if test "$ac_x_includes" = no
; then
25402 # Guess where to find include files, by looking for Intrinsic.h.
25403 # First, try using that file with no special directory specified.
25404 cat >conftest.
$ac_ext <<_ACEOF
25407 cat confdefs.h
>>conftest.
$ac_ext
25408 cat >>conftest.
$ac_ext <<_ACEOF
25409 /* end confdefs.h. */
25410 #include <X11/Intrinsic.h>
25412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25413 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25415 grep -v '^ *+' conftest.er1
>conftest.err
25417 cat conftest.err
>&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); } >/dev
/null
; then
25420 if test -s conftest.err
; then
25421 ac_cpp_err
=$ac_c_preproc_warn_flag
25422 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25429 if test -z "$ac_cpp_err"; then
25430 # We can compile using X headers with no special include directory.
25433 echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.
$ac_ext >&5
25436 for ac_dir
in $ac_x_header_dirs; do
25437 if test -r "$ac_dir/X11/Intrinsic.h"; then
25438 ac_x_includes
=$ac_dir
25443 rm -f conftest.err conftest.
$ac_ext
25444 fi # $ac_x_includes = no
25446 if test "$ac_x_libraries" = no
; then
25447 # Check for the libraries.
25448 # See if we find them without any special options.
25449 # Don't add to $LIBS permanently.
25452 cat >conftest.
$ac_ext <<_ACEOF
25455 cat confdefs.h
>>conftest.
$ac_ext
25456 cat >>conftest.
$ac_ext <<_ACEOF
25457 /* end confdefs.h. */
25458 #include <X11/Intrinsic.h>
25467 rm -f conftest.
$ac_objext conftest
$ac_exeext
25468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25469 (eval $ac_link) 2>conftest.er1
25471 grep -v '^ *+' conftest.er1
>conftest.err
25473 cat conftest.err
>&5
25474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475 (exit $ac_status); } &&
25476 { ac_try
='test -z "$ac_c_werror_flag"
25477 || test ! -s conftest.err'
25478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25479 (eval $ac_try) 2>&5
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); }; } &&
25483 { ac_try
='test -s conftest$ac_exeext'
25484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25485 (eval $ac_try) 2>&5
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); }; }; then
25490 # We can link X programs with no special library path.
25493 echo "$as_me: failed program was:" >&5
25494 sed 's/^/| /' conftest.
$ac_ext >&5
25497 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25499 # Don't even attempt the hair of trying to link an X program!
25500 for ac_extension
in a so sl
; do
25501 if test -r $ac_dir/libXt.
$ac_extension; then
25502 ac_x_libraries
=$ac_dir
25508 rm -f conftest.err conftest.
$ac_objext \
25509 conftest
$ac_exeext conftest.
$ac_ext
25510 fi # $ac_x_libraries = no
25512 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
25513 # Didn't find X anywhere. Cache the known absence of X.
25514 ac_cv_have_x
="have_x=no"
25516 # Record where we found X for the cache.
25517 ac_cv_have_x
="have_x=yes \
25518 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25523 eval "$ac_cv_have_x"
25526 if test "$have_x" != yes; then
25527 echo "$as_me:$LINENO: result: $have_x" >&5
25528 echo "${ECHO_T}$have_x" >&6
25531 # If each of the values was on the command line, it overrides each guess.
25532 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25533 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25534 # Update the cache value to reflect the command line values.
25535 ac_cv_have_x
="have_x=yes \
25536 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25537 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
25538 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
25542 # Check whether we should enable the TUI, but only do so if we really
25544 if test x
"$enable_tui" != xno
; then
25545 if test -d $srcdir/tui
; then
25546 if test "$ac_cv_search_waddstr" != no
; then
25547 CONFIG_OBS
="$CONFIG_OBS \$(SUBDIR_TUI_OBS)"
25548 CONFIG_DEPS
="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)"
25549 CONFIG_SRCS
="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)"
25550 ENABLE_CFLAGS
="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)"
25551 CONFIG_ALL
="${CONFIG_ALL} all-tui"
25552 CONFIG_CLEAN
="${CONFIG_CLEAN} clean-tui"
25553 CONFIG_INSTALL
="${CONFIG_INSTALL} install-tui"
25554 CONFIG_UNINSTALL
="${CONFIG_UNINSTALL} uninstall-tui"
25556 if test x
"$enable_tui" = xyes
; then
25557 { { echo "$as_me:$LINENO: error: no enhanced curses library found; disable TUI" >&5
25558 echo "$as_me: error: no enhanced curses library found; disable TUI" >&2;}
25559 { (exit 1); exit 1; }; }
25561 { echo "$as_me:$LINENO: WARNING: no enhanced curses library found; disabling TUI" >&5
25562 echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;}
25568 # Unlike the sim directory, whether a simulator is linked is controlled by
25569 # presence of a gdb_sim definition in the target configure.tgt entry.
25570 # This code just checks for a few cases where we'd like to ignore those
25571 # definitions, even when they're present in the '.mt' file. These cases
25572 # are when --disable-sim is specified, or if the simulator directory is
25573 # not part of the source tree.
25575 # Check whether --enable-sim or --disable-sim was given.
25576 if test "${enable_sim+set}" = set; then
25577 enableval
="$enable_sim"
25578 echo "enable_sim = $enable_sim";
25579 echo "enableval = ${enableval}";
25580 case "${enableval}" in
25581 yes) ignore_sim
=false
;;
25582 no
) ignore_sim
=true
;;
25583 *) ignore_sim
=false
;;
25589 if test ! -d "${srcdir}/../sim"; then
25595 if test "${ignore_sim}" = "false"; then
25596 if test x
"${gdb_sim}" != x
; then
25598 SIM_OBS
="remote-sim.o"
25600 cat >>confdefs.h
<<\_ACEOF
25620 # List of host floatformats.
25622 cat >>confdefs.h
<<_ACEOF
25623 #define GDB_HOST_FLOAT_FORMAT $gdb_host_float_format
25627 cat >>confdefs.h
<<_ACEOF
25628 #define GDB_HOST_DOUBLE_FORMAT $gdb_host_double_format
25632 cat >>confdefs.h
<<_ACEOF
25633 #define GDB_HOST_LONG_DOUBLE_FORMAT $gdb_host_long_double_format
25637 # target_subdir is used by the testsuite to find the target libraries.
25639 if test "${host}" != "${target}"; then
25640 target_subdir
="${target_alias}/"
25645 if test "${gdb_native}" = "yes"; then
25646 host_makefile_frag
=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
25647 if test ! -f ${host_makefile_frag}; then
25648 { { echo "$as_me:$LINENO: error: \"*** Gdb does not support native target ${host}\"" >&5
25649 echo "$as_me: error: \"*** Gdb does not support native target ${host}\"" >&2;}
25650 { (exit 1); exit 1; }; }
25652 frags
="$frags $host_makefile_frag"
25654 host_makefile_frag
=/dev
/null
25660 if test "${gdb_native}" = "yes"; then
25661 # We pick this up from the host configuration file (.mh) because we
25662 # do not have a native configuration Makefile fragment.
25663 nativefile
=`sed -n '
25664 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
25665 ' ${host_makefile_frag}`
25669 if test x
"${gdb_osabi}" != x
; then
25671 cat >>confdefs.h
<<_ACEOF
25672 #define GDB_OSABI_DEFAULT $gdb_osabi
25677 # Enable multi-ice-gdb-server.
25678 # Check whether --enable-multi-ice or --disable-multi-ice was given.
25679 if test "${enable_multi_ice+set}" = set; then
25680 enableval
="$enable_multi_ice"
25684 *) { { echo "$as_me:$LINENO: error: bad value $enableval for --enable-multi-ice" >&5
25685 echo "$as_me: error: bad value $enableval for --enable-multi-ice" >&2;}
25686 { (exit 1); exit 1; }; } ;;
25689 if test "x$enable_multi_ice" = xyes
; then
25692 subdirs
="$subdirs multi-ice"
25696 # We only build gdbserver automatically in a native configuration.
25697 if test "$gdb_native" = "yes"; then
25698 echo "$as_me:$LINENO: checking whether gdbserver is supported on this host" >&5
25699 echo $ECHO_N "checking whether gdbserver is supported on this host... $ECHO_C" >&6
25700 if test "x$build_gdbserver" = xyes
; then
25701 echo "$as_me:$LINENO: result: yes" >&5
25702 echo "${ECHO_T}yes" >&6
25705 subdirs
="$subdirs gdbserver"
25708 echo "$as_me:$LINENO: result: no" >&5
25709 echo "${ECHO_T}no" >&6
25713 # If nativefile (NAT_FILE) is not set in config/*/*.m[ht] files, we link
25714 # to an empty version.
25721 if test "${nativefile}" != ""; then
25723 case "${nativefile}" in
25724 nm-
*.h
) GDB_NM_FILE
="config/${gdb_host_cpu}/${nativefile}" ;;
25725 * ) GDB_NM_FILE
="${nativefile}"
25727 files
="${files} ${GDB_NM_FILE}"
25728 links
="${links} nm.h"
25730 cat >>confdefs.h
<<_ACEOF
25731 #define GDB_NM_FILE "${GDB_NM_FILE}"
25737 ac_sources
="$files"
25739 while test -n "$ac_sources"; do
25740 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
25741 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
25742 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
25744 ac_config_links
="$ac_config_links $ac_config_links_1"
25751 cat >>confdefs.h
<<\_ACEOF
25752 #define GDB_DEFAULT_HOST_CHARSET "ISO-8859-1"
25759 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
25760 if test "${with_libiconv_prefix+set}" = set; then
25761 withval
="$with_libiconv_prefix"
25763 for dir
in `echo "$withval" | tr : ' '`; do
25764 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
25765 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
25770 echo "$as_me:$LINENO: checking for iconv" >&5
25771 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
25772 if test "${am_cv_func_iconv+set}" = set; then
25773 echo $ECHO_N "(cached) $ECHO_C" >&6
25776 am_cv_func_iconv
="no, consider installing GNU libiconv"
25778 cat >conftest.
$ac_ext <<_ACEOF
25781 cat confdefs.h
>>conftest.
$ac_ext
25782 cat >>conftest.
$ac_ext <<_ACEOF
25783 /* end confdefs.h. */
25784 #include <stdlib.h>
25789 iconv_t cd = iconv_open("","");
25790 iconv(cd,NULL,NULL,NULL,NULL);
25796 rm -f conftest.
$ac_objext conftest
$ac_exeext
25797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25798 (eval $ac_link) 2>conftest.er1
25800 grep -v '^ *+' conftest.er1
>conftest.err
25802 cat conftest.err
>&5
25803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804 (exit $ac_status); } &&
25805 { ac_try
='test -z "$ac_c_werror_flag"
25806 || test ! -s conftest.err'
25807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25808 (eval $ac_try) 2>&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; } &&
25812 { ac_try
='test -s conftest$ac_exeext'
25813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25814 (eval $ac_try) 2>&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); }; }; then
25818 am_cv_func_iconv
=yes
25820 echo "$as_me: failed program was:" >&5
25821 sed 's/^/| /' conftest.
$ac_ext >&5
25824 rm -f conftest.err conftest.
$ac_objext \
25825 conftest
$ac_exeext conftest.
$ac_ext
25826 if test "$am_cv_func_iconv" != yes; then
25827 am_save_LIBS
="$LIBS"
25828 LIBS
="$LIBS -liconv"
25829 cat >conftest.
$ac_ext <<_ACEOF
25832 cat confdefs.h
>>conftest.
$ac_ext
25833 cat >>conftest.
$ac_ext <<_ACEOF
25834 /* end confdefs.h. */
25835 #include <stdlib.h>
25840 iconv_t cd = iconv_open("","");
25841 iconv(cd,NULL,NULL,NULL,NULL);
25847 rm -f conftest.
$ac_objext conftest
$ac_exeext
25848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25849 (eval $ac_link) 2>conftest.er1
25851 grep -v '^ *+' conftest.er1
>conftest.err
25853 cat conftest.err
>&5
25854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855 (exit $ac_status); } &&
25856 { ac_try
='test -z "$ac_c_werror_flag"
25857 || test ! -s conftest.err'
25858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859 (eval $ac_try) 2>&5
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); }; } &&
25863 { ac_try
='test -s conftest$ac_exeext'
25864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25865 (eval $ac_try) 2>&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); }; }; then
25869 am_cv_lib_iconv
=yes
25870 am_cv_func_iconv
=yes
25872 echo "$as_me: failed program was:" >&5
25873 sed 's/^/| /' conftest.
$ac_ext >&5
25876 rm -f conftest.err conftest.
$ac_objext \
25877 conftest
$ac_exeext conftest.
$ac_ext
25878 LIBS
="$am_save_LIBS"
25882 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
25883 echo "${ECHO_T}$am_cv_func_iconv" >&6
25884 if test "$am_cv_func_iconv" = yes; then
25886 cat >>confdefs.h
<<\_ACEOF
25887 #define HAVE_ICONV 1
25890 echo "$as_me:$LINENO: checking for iconv declaration" >&5
25891 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
25892 if test "${am_cv_proto_iconv+set}" = set; then
25893 echo $ECHO_N "(cached) $ECHO_C" >&6
25896 cat >conftest.
$ac_ext <<_ACEOF
25899 cat confdefs.h
>>conftest.
$ac_ext
25900 cat >>conftest.
$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25903 #include <stdlib.h>
25909 #if defined(__STDC__) || defined(__cplusplus)
25910 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
25923 rm -f conftest.
$ac_objext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925 (eval $ac_compile) 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_objext'
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
25945 am_cv_proto_iconv_arg1
=""
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.
$ac_ext >&5
25950 am_cv_proto_iconv_arg1
="const"
25952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25953 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);"
25956 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
25957 echo "$as_me:$LINENO: result: ${ac_t:-
25958 }$am_cv_proto_iconv" >&5
25959 echo "${ECHO_T}${ac_t:-
25960 }$am_cv_proto_iconv" >&6
25962 cat >>confdefs.h
<<_ACEOF
25963 #define ICONV_CONST $am_cv_proto_iconv_arg1
25968 if test "$am_cv_lib_iconv" = yes; then
25974 ac_config_files
="$ac_config_files Makefile .gdbinit:gdbinit.in gnulib/Makefile"
25975 ac_config_commands
="$ac_config_commands default"
25976 cat >confcache
<<\_ACEOF
25977 # This file is a shell script that caches the results of configure
25978 # tests run on this system so they can be shared between configure
25979 # scripts and configure runs, see configure's option --config-cache.
25980 # It is not useful on other systems. If it contains results you don't
25981 # want to keep, you may remove or edit it.
25983 # config.status only pays attention to the cache file if you give it
25984 # the --recheck option to rerun configure.
25986 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25987 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25988 # following values.
25992 # The following way of writing the cache mishandles newlines in values,
25993 # but we know of no workaround that is simple, portable, and efficient.
25994 # So, don't put newlines in cache variables' values.
25995 # Ultrix sh set writes to stderr and can't be redirected directly,
25996 # and sets the high bit in the cache file unless we assign to the vars.
25999 case `(ac_space=' '; set | grep ac_space) 2>&1` in
26001 # `set' does not quote correctly, so add quotes (double-quote
26002 # substitution turns \\\\ into \\, and sed turns \\ into \).
26005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26008 # `set' quotes correctly as required by POSIX, so do not add quotes.
26010 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
26017 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26019 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26021 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
26022 if test -w $cache_file; then
26023 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
26024 cat confcache
>$cache_file
26026 echo "not updating unwritable cache $cache_file"
26031 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26032 # Let make expand exec_prefix.
26033 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26035 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26036 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26037 # trailing colons and then remove the whole line if VPATH becomes empty
26038 # (actually we leave an empty line to preserve line numbers).
26039 if test "x$srcdir" = x.
; then
26040 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
26041 s/:*\$(srcdir):*/:/;
26042 s/:*\${srcdir}:*/:/;
26044 s/^\([^=]*=[ ]*\):*/\1/;
26050 DEFS
=-DHAVE_CONFIG_H
26054 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26055 # 1. Remove the extension, and $U if already installed.
26056 ac_i
=`echo "$ac_i" |
26057 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
26059 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
26060 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
26062 LIBOBJS
=$ac_libobjs
26064 LTLIBOBJS
=$ac_ltlibobjs
26067 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26068 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
26069 Usually this means the macro was only invoked conditionally." >&5
26070 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
26071 Usually this means the macro was only invoked conditionally." >&2;}
26072 { (exit 1); exit 1; }; }
26074 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then
26075 { { echo "$as_me:$LINENO: error: conditional \"GMAKE\" was never defined.
26076 Usually this means the macro was only invoked conditionally." >&5
26077 echo "$as_me: error: conditional \"GMAKE\" was never defined.
26078 Usually this means the macro was only invoked conditionally." >&2;}
26079 { (exit 1); exit 1; }; }
26081 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
26082 { { echo "$as_me:$LINENO: error: conditional \"GL_COND_LIBTOOL\" was never defined.
26083 Usually this means the macro was only invoked conditionally." >&5
26084 echo "$as_me: error: conditional \"GL_COND_LIBTOOL\" was never defined.
26085 Usually this means the macro was only invoked conditionally." >&2;}
26086 { (exit 1); exit 1; }; }
26091 if test -n "$gl_LIBOBJS"; then
26092 # Remove the extension.
26093 sed_drop_objext
='s/\.o$//;s/\.obj$//'
26094 for i
in `for i in $gl_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
26095 gl_libobjs
="$gl_libobjs $i.$ac_objext"
26096 gl_ltlibobjs
="$gl_ltlibobjs $i.lo"
26099 gl_LIBOBJS
=$gl_libobjs
26101 gl_LTLIBOBJS
=$gl_ltlibobjs
26107 if test -n "$gltests_LIBOBJS"; then
26108 # Remove the extension.
26109 sed_drop_objext
='s/\.o$//;s/\.obj$//'
26110 for i
in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed "$sed_drop_objext" | sort | uniq`; do
26111 gltests_libobjs
="$gltests_libobjs $i.$ac_objext"
26112 gltests_ltlibobjs
="$gltests_ltlibobjs $i.lo"
26115 gltests_LIBOBJS
=$gltests_libobjs
26117 gltests_LTLIBOBJS
=$gltests_ltlibobjs
26120 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26121 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
26122 Usually this means the macro was only invoked conditionally." >&5
26123 echo "$as_me: error: conditional \"AMDEP\" was never defined.
26124 Usually this means the macro was only invoked conditionally." >&2;}
26125 { (exit 1); exit 1; }; }
26127 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26128 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26129 Usually this means the macro was only invoked conditionally." >&5
26130 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26131 Usually this means the macro was only invoked conditionally." >&2;}
26132 { (exit 1); exit 1; }; }
26135 : ${CONFIG_STATUS=./config.status}
26136 ac_clean_files_save
=$ac_clean_files
26137 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26138 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
26139 echo "$as_me: creating $CONFIG_STATUS" >&6;}
26140 cat >$CONFIG_STATUS <<_ACEOF
26142 # Generated by $as_me.
26143 # Run this file to recreate the current configuration.
26144 # Compiler output produced by configure, useful for debugging
26145 # configure, is in config.log if it exists.
26148 ac_cs_recheck=false
26150 SHELL=\${CONFIG_SHELL-$SHELL}
26153 cat >>$CONFIG_STATUS <<\_ACEOF
26154 ## --------------------- ##
26155 ## M4sh Initialization. ##
26156 ## --------------------- ##
26158 # Be Bourne compatible
26159 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
26162 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26163 # is contrary to our usage. Disable this feature.
26164 alias -g '${1+"$@"}'='"$@"'
26165 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
26168 DUALCASE
=1; export DUALCASE
# for MKS sh
26170 # Support unset when possible.
26171 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
26178 # Work around bugs in pre-3.0 UWIN ksh.
26179 $as_unset ENV MAIL MAILPATH
26186 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26187 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26188 LC_TELEPHONE LC_TIME
26190 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26191 eval $as_var=C
; export $as_var
26197 # Required to use basename.
26198 if expr a
: '\(a\)' >/dev
/null
2>&1; then
26204 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
26205 as_basename
=basename
26211 # Name of the executable.
26212 as_me
=`$as_basename "$0" ||
26213 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26214 X"$0" : 'X\(//\)$' \| \
26215 X"$0" : 'X\(/\)$' \| \
26216 . : '\(.\)' 2>/dev/null ||
26218 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
26219 /^X\/\(\/\/\)$/{ s//\1/; q; }
26220 /^X\/\(\/\).*/{ s//\1/; q; }
26224 # PATH needs CR, and LINENO needs CR and PATH.
26225 # Avoid depending upon Character Ranges.
26226 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26227 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26228 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26229 as_cr_digits
='0123456789'
26230 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26232 # The user is always right.
26233 if test "${PATH_SEPARATOR+set}" != set; then
26234 echo "#! /bin/sh" >conf$$.sh
26235 echo "exit 0" >>conf$$.sh
26237 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
26246 as_lineno_1
=$LINENO
26247 as_lineno_2
=$LINENO
26248 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
26249 test "x$as_lineno_1" != "x$as_lineno_2" &&
26250 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
26251 # Find who we are. Look in the path if we contain no path at all
26254 *[\\/]* ) as_myself
=$0 ;;
26255 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26256 for as_dir
in $PATH
26259 test -z "$as_dir" && as_dir
=.
26260 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
26265 # We did not find ourselves, most probably we were run as `sh COMMAND'
26266 # in which case we are not to be found in the path.
26267 if test "x$as_myself" = x
; then
26270 if test ! -f "$as_myself"; then
26271 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
26272 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
26273 { (exit 1); exit 1; }; }
26275 case $CONFIG_SHELL in
26277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26278 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
26281 test -z "$as_dir" && as_dir
=.
26282 for as_base
in sh bash ksh sh5
; do
26285 if ("$as_dir/$as_base" -c '
26286 as_lineno_1=$LINENO
26287 as_lineno_2=$LINENO
26288 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26289 test "x$as_lineno_1" != "x$as_lineno_2" &&
26290 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
26291 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
26292 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
26293 CONFIG_SHELL
=$as_dir/$as_base
26294 export CONFIG_SHELL
26295 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
26303 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26304 # uniformly replaced by the line number. The first 'sed' inserts a
26305 # line-number line before each line; the second 'sed' does the real
26306 # work. The second script uses 'N' to pair each line-number line
26307 # with the numbered line, and appends trailing '-' during
26308 # substitution so that $LINENO is not a special case at line end.
26309 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26310 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
26311 sed '=' <$as_myself |
26316 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
26319 s,^['$as_cr_digits']*\n,,
26320 ' >$as_me.lineno
&&
26321 chmod +x
$as_me.lineno ||
26322 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
26323 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
26324 { (exit 1); exit 1; }; }
26326 # Don't try to exec as it changes $[0], causing all sort of problems
26327 # (the dirname of $[0] is not the place where we might find the
26328 # original and so on. Autoconf is especially sensible to this).
26330 # Exit status is that of the last command.
26335 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
26336 *c
*,-n*) ECHO_N
= ECHO_C
='
26338 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
26339 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
26342 if expr a
: '\(a\)' >/dev
/null
2>&1; then
26348 rm -f conf$$ conf$$.exe conf$$.
file
26350 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26351 # We could just check for DJGPP; but this test a) works b) is more generic
26352 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
26353 if test -f conf$$.exe
; then
26354 # Don't use ln at all; we don't have any links
26359 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26364 rm -f conf$$ conf$$.exe conf$$.
file
26366 if mkdir
-p .
2>/dev
/null
; then
26369 test -d .
/-p && rmdir .
/-p
26373 as_executable_p
="test -f"
26375 # Sed expression to map a string onto a valid CPP name.
26376 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26378 # Sed expression to map a string onto a valid variable name.
26379 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26383 # We need space, tab and new line, in precisely that order.
26393 # Open the log real soon, to keep \$[0] and so on meaningful, and to
26394 # report actual input values of CONFIG_FILES etc. instead of their
26395 # values after options handling. Logging --version etc. is OK.
26399 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26400 ## Running $as_me. ##
26405 This file was extended by $as_me, which was
26406 generated by GNU Autoconf 2.59. Invocation command line was
26408 CONFIG_FILES = $CONFIG_FILES
26409 CONFIG_HEADERS = $CONFIG_HEADERS
26410 CONFIG_LINKS = $CONFIG_LINKS
26411 CONFIG_COMMANDS = $CONFIG_COMMANDS
26415 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
26419 # Files that config.status was made for.
26420 if test -n "$ac_config_files"; then
26421 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
26424 if test -n "$ac_config_headers"; then
26425 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
26428 if test -n "$ac_config_links"; then
26429 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
26432 if test -n "$ac_config_commands"; then
26433 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
26436 cat >>$CONFIG_STATUS <<\_ACEOF
26439 \`$as_me' instantiates files from templates according to the
26440 current configuration.
26442 Usage: $0 [OPTIONS] [FILE]...
26444 -h, --help print this help, then exit
26445 -V, --version print version number, then exit
26446 -q, --quiet do not print progress messages
26447 -d, --debug don't remove temporary files
26448 --recheck update $as_me by reconfiguring in the same conditions
26449 --file=FILE[:TEMPLATE]
26450 instantiate the configuration file FILE
26451 --header=FILE[:TEMPLATE]
26452 instantiate the configuration header FILE
26454 Configuration files:
26457 Configuration headers:
26460 Configuration links:
26463 Configuration commands:
26466 Report bugs to <bug-autoconf@gnu.org>."
26469 cat >>$CONFIG_STATUS <<_ACEOF
26472 configured by $0, generated by GNU Autoconf 2.59,
26473 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26475 Copyright (C) 2003 Free Software Foundation, Inc.
26476 This config.status script is free software; the Free Software Foundation
26477 gives unlimited permission to copy, distribute and modify it."
26482 cat >>$CONFIG_STATUS <<\_ACEOF
26483 # If no file are specified by the user, then we need to provide default
26484 # value. By we need to know if files were specified by the user.
26490 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
26491 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
26499 *) # This is not an option, so the user has probably given explicit
26502 ac_need_defaults
=false
;;
26506 # Handling of the options.
26508 cat >>$CONFIG_STATUS <<\_ACEOF
26509 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26511 --version |
--vers* |
-V )
26512 echo "$ac_cs_version"; exit 0 ;;
26514 # Conflict between --help and --header
26515 { { echo "$as_me:$LINENO: error: ambiguous option: $1
26516 Try \`$0 --help' for more information." >&5
26517 echo "$as_me: error: ambiguous option: $1
26518 Try \`$0 --help' for more information." >&2;}
26519 { (exit 1); exit 1; }; };;
26520 --help |
--hel |
-h )
26521 echo "$ac_cs_usage"; exit 0 ;;
26522 --debug |
--d* |
-d )
26524 --file |
--fil |
--fi |
--f )
26526 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
26527 ac_need_defaults
=false
;;
26528 --header |
--heade |
--head |
--hea )
26530 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
26531 ac_need_defaults
=false
;;
26532 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26533 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26536 # This is an error.
26537 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
26538 Try \`$0 --help' for more information." >&5
26539 echo "$as_me: error: unrecognized option: $1
26540 Try \`$0 --help' for more information." >&2;}
26541 { (exit 1); exit 1; }; } ;;
26543 *) ac_config_targets
="$ac_config_targets $1" ;;
26549 ac_configure_extra_args
=
26551 if $ac_cs_silent; then
26553 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26557 cat >>$CONFIG_STATUS <<_ACEOF
26558 if \$ac_cs_recheck; then
26559 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26560 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26565 cat >>$CONFIG_STATUS <<_ACEOF
26567 # INIT-COMMANDS section.
26570 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
26571 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26573 gdb_host_cpu=$gdb_host_cpu
26574 nativefile=$nativefile
26581 cat >>$CONFIG_STATUS <<\_ACEOF
26582 for ac_config_target
in $ac_config_targets
26584 case "$ac_config_target" in
26585 # Handling of arguments.
26586 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26587 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
26588 "gnulib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gnulib/Makefile" ;;
26589 "$ac_config_links_1" ) CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
26590 "depdir" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
26591 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26592 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
26593 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
26594 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26595 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26596 { (exit 1); exit 1; }; };;
26600 # If the user did not use the arguments to specify the items to instantiate,
26601 # then the envvar interface is used. Set only those that are not.
26602 # We use the long form for the default assignment because of an extremely
26603 # bizarre bug on SunOS 4.1.3.
26604 if $ac_need_defaults; then
26605 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26606 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26607 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
26608 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26611 # Have a temporary directory for convenience. Make it in the build tree
26612 # simply because there is no reason to put it here, and in addition,
26613 # creating and moving files from /tmp can sometimes cause problems.
26614 # Create a temporary directory, and hook for its removal unless debugging.
26617 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26618 trap '{ (exit 1); exit 1; }' 1 2 13 15
26621 # Create a (secure) tmp directory for tmp files.
26624 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
26625 test -n "$tmp" && test -d "$tmp"
26628 tmp
=.
/confstat$$
-$RANDOM
26629 (umask 077 && mkdir
$tmp)
26632 echo "$me: cannot create a temporary directory in ." >&2
26633 { (exit 1); exit 1; }
26638 cat >>$CONFIG_STATUS <<_ACEOF
26641 # CONFIG_FILES section.
26644 # No need to generate the scripts if there are no CONFIG_FILES.
26645 # This happens for instance when ./config.status config.h
26646 if test -n "\$CONFIG_FILES"; then
26647 # Protect against being on the right side of a sed subst in config.status.
26648 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26649 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26650 s,@SHELL@,$SHELL,;t t
26651 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26652 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26653 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26654 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26655 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26656 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26657 s,@exec_prefix@,$exec_prefix,;t t
26658 s,@prefix@,$prefix,;t t
26659 s,@program_transform_name@,$program_transform_name,;t t
26660 s,@bindir@,$bindir,;t t
26661 s,@sbindir@,$sbindir,;t t
26662 s,@libexecdir@,$libexecdir,;t t
26663 s,@datadir@,$datadir,;t t
26664 s,@sysconfdir@,$sysconfdir,;t t
26665 s,@sharedstatedir@,$sharedstatedir,;t t
26666 s,@localstatedir@,$localstatedir,;t t
26667 s,@libdir@,$libdir,;t t
26668 s,@includedir@,$includedir,;t t
26669 s,@oldincludedir@,$oldincludedir,;t t
26670 s,@infodir@,$infodir,;t t
26671 s,@mandir@,$mandir,;t t
26672 s,@build_alias@,$build_alias,;t t
26673 s,@host_alias@,$host_alias,;t t
26674 s,@target_alias@,$target_alias,;t t
26675 s,@DEFS@,$DEFS,;t t
26676 s,@ECHO_C@,$ECHO_C,;t t
26677 s,@ECHO_N@,$ECHO_N,;t t
26678 s,@ECHO_T@,$ECHO_T,;t t
26679 s,@LIBS@,$LIBS,;t t
26680 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
26681 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
26682 s,@MAINT@,$MAINT,;t t
26684 s,@CFLAGS@,$CFLAGS,;t t
26685 s,@LDFLAGS@,$LDFLAGS,;t t
26686 s,@CPPFLAGS@,$CPPFLAGS,;t t
26687 s,@ac_ct_CC@,$ac_ct_CC,;t t
26688 s,@EXEEXT@,$EXEEXT,;t t
26689 s,@OBJEXT@,$OBJEXT,;t t
26691 s,@EGREP@,$EGREP,;t t
26692 s,@RANLIB@,$RANLIB,;t t
26693 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26694 s,@build@,$build,;t t
26695 s,@build_cpu@,$build_cpu,;t t
26696 s,@build_vendor@,$build_vendor,;t t
26697 s,@build_os@,$build_os,;t t
26698 s,@host@,$host,;t t
26699 s,@host_cpu@,$host_cpu,;t t
26700 s,@host_vendor@,$host_vendor,;t t
26701 s,@host_os@,$host_os,;t t
26702 s,@target@,$target,;t t
26703 s,@target_cpu@,$target_cpu,;t t
26704 s,@target_vendor@,$target_vendor,;t t
26705 s,@target_os@,$target_os,;t t
26706 s,@am__leading_dot@,$am__leading_dot,;t t
26707 s,@DEPDIR@,$DEPDIR,;t t
26708 s,@CCDEPMODE@,$CCDEPMODE,;t t
26709 s,@MAKE@,$MAKE,;t t
26710 s,@GMAKE_TRUE@,$GMAKE_TRUE,;t t
26711 s,@GMAKE_FALSE@,$GMAKE_FALSE,;t t
26712 s,@SET_MAKE@,$SET_MAKE,;t t
26713 s,@USE_NLS@,$USE_NLS,;t t
26714 s,@LIBINTL@,$LIBINTL,;t t
26715 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
26716 s,@INCINTL@,$INCINTL,;t t
26717 s,@XGETTEXT@,$XGETTEXT,;t t
26718 s,@GMSGFMT@,$GMSGFMT,;t t
26719 s,@POSUB@,$POSUB,;t t
26720 s,@CATALOGS@,$CATALOGS,;t t
26721 s,@DATADIRNAME@,$DATADIRNAME,;t t
26722 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
26723 s,@GENCAT@,$GENCAT,;t t
26724 s,@CATOBJEXT@,$CATOBJEXT,;t t
26725 s,@localedir@,$localedir,;t t
26726 s,@GL_COND_LIBTOOL_TRUE@,$GL_COND_LIBTOOL_TRUE,;t t
26727 s,@GL_COND_LIBTOOL_FALSE@,$GL_COND_LIBTOOL_FALSE,;t t
26728 s,@GNULIB_MEMMEM@,$GNULIB_MEMMEM,;t t
26729 s,@GNULIB_MEMPCPY@,$GNULIB_MEMPCPY,;t t
26730 s,@GNULIB_MEMRCHR@,$GNULIB_MEMRCHR,;t t
26731 s,@GNULIB_STPCPY@,$GNULIB_STPCPY,;t t
26732 s,@GNULIB_STPNCPY@,$GNULIB_STPNCPY,;t t
26733 s,@GNULIB_STRCHRNUL@,$GNULIB_STRCHRNUL,;t t
26734 s,@GNULIB_STRDUP@,$GNULIB_STRDUP,;t t
26735 s,@GNULIB_STRNDUP@,$GNULIB_STRNDUP,;t t
26736 s,@GNULIB_STRNLEN@,$GNULIB_STRNLEN,;t t
26737 s,@GNULIB_STRPBRK@,$GNULIB_STRPBRK,;t t
26738 s,@GNULIB_STRSEP@,$GNULIB_STRSEP,;t t
26739 s,@GNULIB_STRSTR@,$GNULIB_STRSTR,;t t
26740 s,@GNULIB_STRCASESTR@,$GNULIB_STRCASESTR,;t t
26741 s,@GNULIB_STRTOK_R@,$GNULIB_STRTOK_R,;t t
26742 s,@GNULIB_MBSLEN@,$GNULIB_MBSLEN,;t t
26743 s,@GNULIB_MBSNLEN@,$GNULIB_MBSNLEN,;t t
26744 s,@GNULIB_MBSCHR@,$GNULIB_MBSCHR,;t t
26745 s,@GNULIB_MBSRCHR@,$GNULIB_MBSRCHR,;t t
26746 s,@GNULIB_MBSSTR@,$GNULIB_MBSSTR,;t t
26747 s,@GNULIB_MBSCASECMP@,$GNULIB_MBSCASECMP,;t t
26748 s,@GNULIB_MBSNCASECMP@,$GNULIB_MBSNCASECMP,;t t
26749 s,@GNULIB_MBSPCASECMP@,$GNULIB_MBSPCASECMP,;t t
26750 s,@GNULIB_MBSCASESTR@,$GNULIB_MBSCASESTR,;t t
26751 s,@GNULIB_MBSCSPN@,$GNULIB_MBSCSPN,;t t
26752 s,@GNULIB_MBSPBRK@,$GNULIB_MBSPBRK,;t t
26753 s,@GNULIB_MBSSPN@,$GNULIB_MBSSPN,;t t
26754 s,@GNULIB_MBSSEP@,$GNULIB_MBSSEP,;t t
26755 s,@GNULIB_MBSTOK_R@,$GNULIB_MBSTOK_R,;t t
26756 s,@GNULIB_STRERROR@,$GNULIB_STRERROR,;t t
26757 s,@GNULIB_STRSIGNAL@,$GNULIB_STRSIGNAL,;t t
26758 s,@HAVE_DECL_MEMMEM@,$HAVE_DECL_MEMMEM,;t t
26759 s,@HAVE_MEMPCPY@,$HAVE_MEMPCPY,;t t
26760 s,@HAVE_DECL_MEMRCHR@,$HAVE_DECL_MEMRCHR,;t t
26761 s,@HAVE_STPCPY@,$HAVE_STPCPY,;t t
26762 s,@HAVE_STPNCPY@,$HAVE_STPNCPY,;t t
26763 s,@HAVE_STRCHRNUL@,$HAVE_STRCHRNUL,;t t
26764 s,@HAVE_DECL_STRDUP@,$HAVE_DECL_STRDUP,;t t
26765 s,@HAVE_STRNDUP@,$HAVE_STRNDUP,;t t
26766 s,@HAVE_DECL_STRNDUP@,$HAVE_DECL_STRNDUP,;t t
26767 s,@HAVE_DECL_STRNLEN@,$HAVE_DECL_STRNLEN,;t t
26768 s,@HAVE_STRPBRK@,$HAVE_STRPBRK,;t t
26769 s,@HAVE_STRSEP@,$HAVE_STRSEP,;t t
26770 s,@HAVE_STRCASESTR@,$HAVE_STRCASESTR,;t t
26771 s,@HAVE_DECL_STRTOK_R@,$HAVE_DECL_STRTOK_R,;t t
26772 s,@HAVE_DECL_STRERROR@,$HAVE_DECL_STRERROR,;t t
26773 s,@HAVE_DECL_STRSIGNAL@,$HAVE_DECL_STRSIGNAL,;t t
26774 s,@REPLACE_STRERROR@,$REPLACE_STRERROR,;t t
26775 s,@REPLACE_STRSIGNAL@,$REPLACE_STRSIGNAL,;t t
26776 s,@REPLACE_MEMMEM@,$REPLACE_MEMMEM,;t t
26777 s,@REPLACE_STRCASESTR@,$REPLACE_STRCASESTR,;t t
26778 s,@REPLACE_STRSTR@,$REPLACE_STRSTR,;t t
26779 s,@HAVE_LONG_LONG_INT@,$HAVE_LONG_LONG_INT,;t t
26780 s,@HAVE_UNSIGNED_LONG_LONG_INT@,$HAVE_UNSIGNED_LONG_LONG_INT,;t t
26781 s,@HAVE_INTTYPES_H@,$HAVE_INTTYPES_H,;t t
26782 s,@HAVE_SYS_TYPES_H@,$HAVE_SYS_TYPES_H,;t t
26783 s,@INCLUDE_NEXT@,$INCLUDE_NEXT,;t t
26784 s,@NEXT_STDINT_H@,$NEXT_STDINT_H,;t t
26785 s,@HAVE_STDINT_H@,$HAVE_STDINT_H,;t t
26786 s,@HAVE_SYS_INTTYPES_H@,$HAVE_SYS_INTTYPES_H,;t t
26787 s,@HAVE_SYS_BITYPES_H@,$HAVE_SYS_BITYPES_H,;t t
26788 s,@BITSIZEOF_PTRDIFF_T@,$BITSIZEOF_PTRDIFF_T,;t t
26789 s,@BITSIZEOF_SIG_ATOMIC_T@,$BITSIZEOF_SIG_ATOMIC_T,;t t
26790 s,@BITSIZEOF_SIZE_T@,$BITSIZEOF_SIZE_T,;t t
26791 s,@BITSIZEOF_WCHAR_T@,$BITSIZEOF_WCHAR_T,;t t
26792 s,@BITSIZEOF_WINT_T@,$BITSIZEOF_WINT_T,;t t
26793 s,@HAVE_SIGNED_SIG_ATOMIC_T@,$HAVE_SIGNED_SIG_ATOMIC_T,;t t
26794 s,@HAVE_SIGNED_WCHAR_T@,$HAVE_SIGNED_WCHAR_T,;t t
26795 s,@HAVE_SIGNED_WINT_T@,$HAVE_SIGNED_WINT_T,;t t
26796 s,@PTRDIFF_T_SUFFIX@,$PTRDIFF_T_SUFFIX,;t t
26797 s,@SIG_ATOMIC_T_SUFFIX@,$SIG_ATOMIC_T_SUFFIX,;t t
26798 s,@SIZE_T_SUFFIX@,$SIZE_T_SUFFIX,;t t
26799 s,@WCHAR_T_SUFFIX@,$WCHAR_T_SUFFIX,;t t
26800 s,@WINT_T_SUFFIX@,$WINT_T_SUFFIX,;t t
26801 s,@STDINT_H@,$STDINT_H,;t t
26802 s,@NEXT_STRING_H@,$NEXT_STRING_H,;t t
26803 s,@GNULIB_WCWIDTH@,$GNULIB_WCWIDTH,;t t
26804 s,@HAVE_DECL_WCWIDTH@,$HAVE_DECL_WCWIDTH,;t t
26805 s,@REPLACE_WCWIDTH@,$REPLACE_WCWIDTH,;t t
26806 s,@WCHAR_H@,$WCHAR_H,;t t
26807 s,@HAVE_WCHAR_H@,$HAVE_WCHAR_H,;t t
26808 s,@NEXT_WCHAR_H@,$NEXT_WCHAR_H,;t t
26809 s,@LIBGNU_LIBDEPS@,$LIBGNU_LIBDEPS,;t t
26810 s,@LIBGNU_LTLIBDEPS@,$LIBGNU_LTLIBDEPS,;t t
26811 s,@GNULIB_STDINT_H@,$GNULIB_STDINT_H,;t t
26812 s,@PACKAGE@,$PACKAGE,;t t
26813 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26814 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26815 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26816 s,@CYGPATH_W@,$CYGPATH_W,;t t
26817 s,@PYTHON2_4@,$PYTHON2_4,;t t
26818 s,@ACLOCAL@,$ACLOCAL,;t t
26819 s,@AUTOCONF@,$AUTOCONF,;t t
26820 s,@AUTOMAKE@,$AUTOMAKE,;t t
26821 s,@AUTOHEADER@,$AUTOHEADER,;t t
26822 s,@MAKEINFO@,$MAKEINFO,;t t
26823 s,@install_sh@,$install_sh,;t t
26824 s,@STRIP@,$STRIP,;t t
26825 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
26826 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
26827 s,@mkdir_p@,$mkdir_p,;t t
26829 s,@AMTAR@,$AMTAR,;t t
26830 s,@am__tar@,$am__tar,;t t
26831 s,@am__untar@,$am__untar,;t t
26832 s,@am__include@,$am__include,;t t
26833 s,@am__quote@,$am__quote,;t t
26834 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
26835 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
26836 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
26837 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
26838 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
26839 s,@subdirs@,$subdirs,;t t
26840 s,@TARGET_OBS@,$TARGET_OBS,;t t
26841 s,@PKGVERSION@,$PKGVERSION,;t t
26842 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
26843 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
26844 s,@LN_S@,$LN_S,;t t
26845 s,@YACC@,$YACC,;t t
26847 s,@ac_ct_AR@,$ac_ct_AR,;t t
26848 s,@DLLTOOL@,$DLLTOOL,;t t
26849 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
26850 s,@WINDRES@,$WINDRES,;t t
26851 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
26853 s,@ac_ct_MIG@,$ac_ct_MIG,;t t
26854 s,@READLINE@,$READLINE,;t t
26855 s,@READLINE_DEPS@,$READLINE_DEPS,;t t
26856 s,@READLINE_CFLAGS@,$READLINE_CFLAGS,;t t
26857 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
26858 s,@LIBEXPAT@,$LIBEXPAT,;t t
26859 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
26860 s,@PYTHON_CFLAGS@,$PYTHON_CFLAGS,;t t
26861 s,@ALLOCA@,$ALLOCA,;t t
26862 s,@CONFIG_LDFLAGS@,$CONFIG_LDFLAGS,;t t
26863 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
26864 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
26865 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
26866 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
26867 s,@SER_HARDWIRE@,$SER_HARDWIRE,;t t
26868 s,@WIN32LIBS@,$WIN32LIBS,;t t
26869 s,@LIBGUI@,$LIBGUI,;t t
26870 s,@GUI_CFLAGS_X@,$GUI_CFLAGS_X,;t t
26871 s,@WIN32LDAPP@,$WIN32LDAPP,;t t
26872 s,@TCL_VERSION@,$TCL_VERSION,;t t
26873 s,@TCL_PATCH_LEVEL@,$TCL_PATCH_LEVEL,;t t
26874 s,@TCL_BIN_DIR@,$TCL_BIN_DIR,;t t
26875 s,@TCL_SRC_DIR@,$TCL_SRC_DIR,;t t
26876 s,@TCL_LIB_FILE@,$TCL_LIB_FILE,;t t
26877 s,@TCL_LIB_FLAG@,$TCL_LIB_FLAG,;t t
26878 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
26879 s,@TCL_STUB_LIB_FILE@,$TCL_STUB_LIB_FILE,;t t
26880 s,@TCL_STUB_LIB_FLAG@,$TCL_STUB_LIB_FLAG,;t t
26881 s,@TCL_STUB_LIB_SPEC@,$TCL_STUB_LIB_SPEC,;t t
26882 s,@TCL_INCLUDE@,$TCL_INCLUDE,;t t
26883 s,@TCL_LIBRARY@,$TCL_LIBRARY,;t t
26884 s,@TCL_DEPS@,$TCL_DEPS,;t t
26885 s,@TK_VERSION@,$TK_VERSION,;t t
26886 s,@TK_BIN_DIR@,$TK_BIN_DIR,;t t
26887 s,@TK_SRC_DIR@,$TK_SRC_DIR,;t t
26888 s,@TK_LIB_FILE@,$TK_LIB_FILE,;t t
26889 s,@TK_LIB_FLAG@,$TK_LIB_FLAG,;t t
26890 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
26891 s,@TK_STUB_LIB_FILE@,$TK_STUB_LIB_FILE,;t t
26892 s,@TK_STUB_LIB_FLAG@,$TK_STUB_LIB_FLAG,;t t
26893 s,@TK_STUB_LIB_SPEC@,$TK_STUB_LIB_SPEC,;t t
26894 s,@TK_INCLUDE@,$TK_INCLUDE,;t t
26895 s,@TK_LIBRARY@,$TK_LIBRARY,;t t
26896 s,@TK_DEPS@,$TK_DEPS,;t t
26897 s,@TK_XINCLUDES@,$TK_XINCLUDES,;t t
26898 s,@X_CFLAGS@,$X_CFLAGS,;t t
26899 s,@X_LDFLAGS@,$X_LDFLAGS,;t t
26900 s,@X_LIBS@,$X_LIBS,;t t
26901 s,@GDBTKLIBS@,$GDBTKLIBS,;t t
26902 s,@GDBTK_CFLAGS@,$GDBTK_CFLAGS,;t t
26903 s,@GDBTK_SRC_DIR@,$GDBTK_SRC_DIR,;t t
26905 s,@SIM_OBS@,$SIM_OBS,;t t
26906 s,@ENABLE_CFLAGS@,$ENABLE_CFLAGS,;t t
26907 s,@PROFILE_CFLAGS@,$PROFILE_CFLAGS,;t t
26908 s,@CONFIG_OBS@,$CONFIG_OBS,;t t
26909 s,@CONFIG_DEPS@,$CONFIG_DEPS,;t t
26910 s,@CONFIG_SRCS@,$CONFIG_SRCS,;t t
26911 s,@CONFIG_ALL@,$CONFIG_ALL,;t t
26912 s,@CONFIG_CLEAN@,$CONFIG_CLEAN,;t t
26913 s,@CONFIG_INSTALL@,$CONFIG_INSTALL,;t t
26914 s,@CONFIG_UNINSTALL@,$CONFIG_UNINSTALL,;t t
26915 s,@target_subdir@,$target_subdir,;t t
26916 s,@frags@,$frags,;t t
26917 s,@nm_h@,$nm_h,;t t
26918 s,@LIBICONV@,$LIBICONV,;t t
26919 s,@LIBOBJS@,$LIBOBJS,;t t
26920 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
26921 s,@gl_LIBOBJS@,$gl_LIBOBJS,;t t
26922 s,@gl_LTLIBOBJS@,$gl_LTLIBOBJS,;t t
26923 s,@gltests_LIBOBJS@,$gltests_LIBOBJS,;t t
26924 s,@gltests_LTLIBOBJS@,$gltests_LTLIBOBJS,;t t
26925 /@host_makefile_frag@/r $host_makefile_frag
26926 s,@host_makefile_frag@,,;t t
26931 cat >>$CONFIG_STATUS <<\_ACEOF
26932 # Split the substitutions into bite-sized pieces for seds with
26933 # small command number limits, like on Digital OSF/1 and HP-UX.
26934 ac_max_sed_lines
=48
26935 ac_sed_frag
=1 # Number of current file.
26936 ac_beg
=1 # First line for current file.
26937 ac_end
=$ac_max_sed_lines # Line after last line for current file.
26940 while $ac_more_lines; do
26941 if test $ac_beg -gt 1; then
26942 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26944 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
26946 if test ! -s $tmp/subs.frag
; then
26947 ac_more_lines
=false
26949 # The purpose of the label and of the branching condition is to
26950 # speed up the sed processing (if there are no `@' at all, there
26951 # is no need to browse any of the substitutions).
26952 # These are the two extra sed commands mentioned above.
26954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
26955 if test -z "$ac_sed_cmds"; then
26956 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
26958 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26960 ac_sed_frag
=`expr $ac_sed_frag + 1`
26962 ac_end
=`expr $ac_end + $ac_max_sed_lines`
26965 if test -z "$ac_sed_cmds"; then
26968 fi # test -n "$CONFIG_FILES"
26971 cat >>$CONFIG_STATUS <<\_ACEOF
26972 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
26973 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26975 - |
*:- |
*:-:* ) # input from stdin
26977 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26978 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26979 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
26980 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
26981 * ) ac_file_in
=$ac_file.
in ;;
26984 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
26985 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
26986 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26987 X"$ac_file" : 'X\(//\)[^/]' \| \
26988 X"$ac_file" : 'X\(//\)$' \| \
26989 X"$ac_file" : 'X\(/\)' \| \
26990 . : '\(.\)' 2>/dev/null ||
26992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26993 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26994 /^X\(\/\/\)$/{ s//\1/; q; }
26995 /^X\(\/\).*/{ s//\1/; q; }
26997 { if $as_mkdir_p; then
27002 while test ! -d "$as_dir"; do
27003 as_dirs
="$as_dir $as_dirs"
27004 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27005 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27006 X"$as_dir" : 'X\(//\)[^/]' \| \
27007 X"$as_dir" : 'X\(//\)$' \| \
27008 X"$as_dir" : 'X\(/\)' \| \
27009 . : '\(.\)' 2>/dev/null ||
27011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27012 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27013 /^X\(\/\/\)$/{ s//\1/; q; }
27014 /^X\(\/\).*/{ s//\1/; q; }
27017 test ! -n "$as_dirs" || mkdir
$as_dirs
27018 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27019 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27020 { (exit 1); exit 1; }; }; }
27024 if test "$ac_dir" != .
; then
27025 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27026 # A "../" for each directory in $ac_dir_suffix.
27027 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27029 ac_dir_suffix
= ac_top_builddir
=
27033 .
) # No --srcdir option. We are building in place.
27035 if test -z "$ac_top_builddir"; then
27038 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
27040 [\\/]* | ?
:[\\/]* ) # Absolute path.
27041 ac_srcdir
=$srcdir$ac_dir_suffix;
27042 ac_top_srcdir
=$srcdir ;;
27043 *) # Relative path.
27044 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
27045 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
27048 # Do not use `cd foo && pwd` to compute absolute paths, because
27049 # the directories may not exist.
27051 .
) ac_abs_builddir
="$ac_dir";;
27054 .
) ac_abs_builddir
=`pwd`;;
27055 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
27056 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
27059 case $ac_abs_builddir in
27060 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27062 case ${ac_top_builddir}.
in
27063 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
27064 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27065 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
27068 case $ac_abs_builddir in
27069 .
) ac_abs_srcdir
=$ac_srcdir;;
27072 .
) ac_abs_srcdir
=$ac_abs_builddir;;
27073 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
27074 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
27077 case $ac_abs_builddir in
27078 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
27080 case $ac_top_srcdir in
27081 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
27082 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
27083 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
27089 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
27090 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
27093 if test x
"$ac_file" != x-
; then
27094 { echo "$as_me:$LINENO: creating $ac_file" >&5
27095 echo "$as_me: creating $ac_file" >&6;}
27098 # Let's still pretend it is `configure' which instantiates (i.e., don't
27099 # use $as_me), people would be surprised to read:
27100 # /* config.h. Generated by config.status. */
27101 if test x
"$ac_file" = x-
; then
27104 configure_input
="$ac_file. "
27106 configure_input
=$configure_input"Generated from `echo $ac_file_in |
27107 sed 's,.*/,,'` by configure."
27109 # First look for the input files in the build tree, otherwise in the
27111 ac_file_inputs
=`IFS=:
27112 for f in $ac_file_in; do
27114 -) echo $tmp/stdin ;;
27116 # Absolute (can't be DOS-style, as IFS=:)
27117 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27118 echo "$as_me: error: cannot find input file: $f" >&2;}
27119 { (exit 1); exit 1; }; }
27122 if test -f "$f"; then
27125 elif test -f "$srcdir/$f"; then
27130 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27131 echo "$as_me: error: cannot find input file: $f" >&2;}
27132 { (exit 1); exit 1; }; }
27135 done` ||
{ (exit 1); exit 1; }
27137 cat >>$CONFIG_STATUS <<_ACEOF
27141 cat >>$CONFIG_STATUS <<\_ACEOF
27143 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
27144 s
,@configure_input@
,$configure_input,;t t
27145 s
,@srcdir@
,$ac_srcdir,;t t
27146 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
27147 s
,@top_srcdir@
,$ac_top_srcdir,;t t
27148 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
27149 s
,@builddir@
,$ac_builddir,;t t
27150 s
,@abs_builddir@
,$ac_abs_builddir,;t t
27151 s
,@top_builddir@
,$ac_top_builddir,;t t
27152 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
27153 s
,@INSTALL@
,$ac_INSTALL,;t t
27154 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
27156 if test x"$ac_file" != x-; then
27157 mv $tmp/out $ac_file
27165 cat >>$CONFIG_STATUS <<\_ACEOF
27168 # CONFIG_HEADER section.
27171 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
27172 # NAME is the cpp macro being defined and VALUE is the value it is being given.
27174 # ac_d sets the value in "#define NAME VALUE" lines.
27175 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
27176 ac_dB
='[ ].*$,\1#\2'
27179 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
27180 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
27181 ac_uB
='$,\1#\2define\3'
27185 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
27186 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
27188 - |
*:- |
*:-:* ) # input from stdin
27190 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
27191 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
27192 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
27193 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
27194 * ) ac_file_in
=$ac_file.
in ;;
27197 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
27198 echo "$as_me: creating $ac_file" >&6;}
27200 # First look for the input files in the build tree, otherwise in the
27202 ac_file_inputs
=`IFS=:
27203 for f in $ac_file_in; do
27205 -) echo $tmp/stdin ;;
27207 # Absolute (can't be DOS-style, as IFS=:)
27208 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27209 echo "$as_me: error: cannot find input file: $f" >&2;}
27210 { (exit 1); exit 1; }; }
27211 # Do quote $f, to prevent DOS paths from being IFS'd.
27214 if test -f "$f"; then
27217 elif test -f "$srcdir/$f"; then
27222 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27223 echo "$as_me: error: cannot find input file: $f" >&2;}
27224 { (exit 1); exit 1; }; }
27227 done` ||
{ (exit 1); exit 1; }
27228 # Remove the trailing spaces.
27229 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
27233 # Transform confdefs.h into two sed scripts, `conftest.defines' and
27234 # `conftest.undefs', that substitutes the proper values into
27235 # config.h.in to produce config.h. The first handles `#define'
27236 # templates, and the second `#undef' templates.
27237 # And first: Protect against being on the right side of a sed subst in
27238 # config.status. Protect against being in an unquoted here document
27239 # in config.status.
27240 rm -f conftest.defines conftest.undefs
27241 # Using a here document instead of a string reduces the quoting nightmare.
27242 # Putting comments in sed scripts is not portable.
27244 # `end' is used to avoid that the second main sed command (meant for
27245 # 0-ary CPP macros) applies to n-ary macro definitions.
27246 # See the Autoconf documentation for `clear'.
27247 cat >confdef2sed.
sed <<\_ACEOF
27252 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
27254 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
27257 # If some macros were called several times there might be several times
27258 # the same #defines, which is useless. Nevertheless, we may not want to
27259 # sort them, since we want the *last* AC-DEFINE to be honored.
27260 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
27261 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
27262 rm -f confdef2sed.sed
27264 # This sed command replaces #undef with comments. This is necessary, for
27265 # example, in the case of _POSIX_SOURCE, which is predefined and required
27266 # on some systems where configure will not decide to define it.
27267 cat >>conftest.undefs <<\_ACEOF
27268 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
27271 # Break up conftest.defines because some shells have a limit on the size
27272 # of here documents, and old seds have small limits too (100 cmds).
27273 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
27274 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
27275 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
27276 echo ' :' >>$CONFIG_STATUS
27277 rm -f conftest.tail
27278 while grep . conftest.defines >/dev/null
27280 # Write a limited-size here document to $tmp/defines.sed.
27281 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
27282 # Speed up: don't consider the non `#define' lines.
27283 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
27284 # Work around the forget-to-reset-the-flag bug.
27285 echo 't clr' >>$CONFIG_STATUS
27286 echo ': clr' >>$CONFIG_STATUS
27287 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
27289 sed -f $tmp/defines.sed $tmp/in >$tmp/out
27291 mv $tmp/out $tmp/in
27293 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
27294 rm -f conftest.defines
27295 mv conftest.
tail conftest.defines
27297 rm -f conftest.defines
27298 echo ' fi # grep' >>$CONFIG_STATUS
27299 echo >>$CONFIG_STATUS
27301 # Break up conftest.undefs because some shells have a limit on the size
27302 # of here documents, and old seds have small limits too (100 cmds).
27303 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
27304 rm -f conftest.
tail
27305 while grep . conftest.undefs
>/dev
/null
27307 # Write a limited-size here document to $tmp/undefs.sed.
27308 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
27309 # Speed up: don't consider the non
`#undef'
27310 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
27311 # Work around the forget-to-reset-the-flag bug.
27312 echo 't clr' >>$CONFIG_STATUS
27313 echo ': clr' >>$CONFIG_STATUS
27314 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
27316 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
27318 mv $tmp/out $tmp/in
27320 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
27321 rm -f conftest.undefs
27322 mv conftest.tail conftest.undefs
27324 rm -f conftest.undefs
27326 cat >>$CONFIG_STATUS <<\_ACEOF
27327 # Let's still pretend it is `configure
' which instantiates (i.e., don't
27328 # use $as_me), people would be surprised to read:
27329 # /* config.h. Generated by config.status. */
27330 if test x
"$ac_file" = x-
; then
27331 echo "/* Generated by configure. */" >$tmp/config.h
27333 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
27335 cat $tmp/in >>$tmp/config.h
27337 if test x
"$ac_file" != x-
; then
27338 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
27339 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27340 echo "$as_me: $ac_file is unchanged" >&6;}
27342 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
27343 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27344 X"$ac_file" : 'X\(//\)[^/]' \| \
27345 X"$ac_file" : 'X\(//\)$' \| \
27346 X"$ac_file" : 'X\(/\)' \| \
27347 . : '\(.\)' 2>/dev/null ||
27349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27350 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27351 /^X\(\/\/\)$/{ s//\1/; q; }
27352 /^X\(\/\).*/{ s//\1/; q; }
27354 { if $as_mkdir_p; then
27359 while test ! -d "$as_dir"; do
27360 as_dirs
="$as_dir $as_dirs"
27361 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27363 X"$as_dir" : 'X\(//\)[^/]' \| \
27364 X"$as_dir" : 'X\(//\)$' \| \
27365 X"$as_dir" : 'X\(/\)' \| \
27366 . : '\(.\)' 2>/dev/null ||
27368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27369 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27370 /^X\(\/\/\)$/{ s//\1/; q; }
27371 /^X\(\/\).*/{ s//\1/; q; }
27374 test ! -n "$as_dirs" || mkdir
$as_dirs
27375 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27376 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27377 { (exit 1); exit 1; }; }; }
27380 mv $tmp/config.h
$ac_file
27384 rm -f $tmp/config.h
27386 # Compute $ac_file's index in $config_headers.
27388 for _am_header
in $config_headers :; do
27389 case $_am_header in
27390 $ac_file |
$ac_file:* )
27393 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27396 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
27397 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27398 X$ac_file : 'X\(//\)[^/]' \| \
27399 X$ac_file : 'X\(//\)$' \| \
27400 X$ac_file : 'X\(/\)' \| \
27401 . : '\(.\)' 2>/dev/null ||
27403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27404 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27405 /^X\(\/\/\)$/{ s//\1/; q; }
27406 /^X\(\/\).*/{ s//\1/; q; }
27407 s/.*/./; q'`/stamp-h
$_am_stamp_count
27410 cat >>$CONFIG_STATUS <<\_ACEOF
27413 # CONFIG_LINKS section.
27416 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
27417 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
27418 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
27420 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
27421 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
27423 if test ! -r $srcdir/$ac_source; then
27424 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
27425 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
27426 { (exit 1); exit 1; }; }
27430 # Make relative symlinks.
27431 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
27432 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27433 X"$ac_dest" : 'X\(//\)[^/]' \| \
27434 X"$ac_dest" : 'X\(//\)$' \| \
27435 X"$ac_dest" : 'X\(/\)' \| \
27436 . : '\(.\)' 2>/dev/null ||
27438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27440 /^X\(\/\/\)$/{ s//\1/; q; }
27441 /^X\(\/\).*/{ s//\1/; q; }
27443 { if $as_mkdir_p; then
27444 mkdir
-p "$ac_dest_dir"
27446 as_dir
="$ac_dest_dir"
27448 while test ! -d "$as_dir"; do
27449 as_dirs
="$as_dir $as_dirs"
27450 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27452 X"$as_dir" : 'X\(//\)[^/]' \| \
27453 X"$as_dir" : 'X\(//\)$' \| \
27454 X"$as_dir" : 'X\(/\)' \| \
27455 . : '\(.\)' 2>/dev/null ||
27457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27458 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27459 /^X\(\/\/\)$/{ s//\1/; q; }
27460 /^X\(\/\).*/{ s//\1/; q; }
27463 test ! -n "$as_dirs" || mkdir
$as_dirs
27464 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
27465 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
27466 { (exit 1); exit 1; }; }; }
27470 if test "$ac_dest_dir" != .
; then
27471 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
27472 # A "../" for each directory in $ac_dir_suffix.
27473 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27475 ac_dir_suffix
= ac_top_builddir
=
27479 .
) # No --srcdir option. We are building in place.
27481 if test -z "$ac_top_builddir"; then
27484 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
27486 [\\/]* | ?
:[\\/]* ) # Absolute path.
27487 ac_srcdir
=$srcdir$ac_dir_suffix;
27488 ac_top_srcdir
=$srcdir ;;
27489 *) # Relative path.
27490 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
27491 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
27494 # Do not use `cd foo && pwd` to compute absolute paths, because
27495 # the directories may not exist.
27497 .
) ac_abs_builddir
="$ac_dest_dir";;
27499 case "$ac_dest_dir" in
27500 .
) ac_abs_builddir
=`pwd`;;
27501 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
27502 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
27505 case $ac_abs_builddir in
27506 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27508 case ${ac_top_builddir}.
in
27509 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
27510 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27511 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
27514 case $ac_abs_builddir in
27515 .
) ac_abs_srcdir
=$ac_srcdir;;
27518 .
) ac_abs_srcdir
=$ac_abs_builddir;;
27519 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
27520 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
27523 case $ac_abs_builddir in
27524 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
27526 case $ac_top_srcdir in
27527 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
27528 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
27529 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
27535 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
27536 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
27539 # Try a symlink, then a hard link, then a copy.
27540 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
27541 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
27542 cp -p $srcdir/$ac_source $ac_dest ||
27543 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
27544 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
27545 { (exit 1); exit 1; }; }
27548 cat >>$CONFIG_STATUS <<\_ACEOF
27551 # CONFIG_COMMANDS section.
27553 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
27554 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
27555 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
27556 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
27557 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27558 X"$ac_dest" : 'X\(//\)[^/]' \| \
27559 X"$ac_dest" : 'X\(//\)$' \| \
27560 X"$ac_dest" : 'X\(/\)' \| \
27561 . : '\(.\)' 2>/dev/null ||
27563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27564 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27565 /^X\(\/\/\)$/{ s//\1/; q; }
27566 /^X\(\/\).*/{ s//\1/; q; }
27568 { if $as_mkdir_p; then
27573 while test ! -d "$as_dir"; do
27574 as_dirs
="$as_dir $as_dirs"
27575 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27577 X"$as_dir" : 'X\(//\)[^/]' \| \
27578 X"$as_dir" : 'X\(//\)$' \| \
27579 X"$as_dir" : 'X\(/\)' \| \
27580 . : '\(.\)' 2>/dev/null ||
27582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27584 /^X\(\/\/\)$/{ s//\1/; q; }
27585 /^X\(\/\).*/{ s//\1/; q; }
27588 test ! -n "$as_dirs" || mkdir
$as_dirs
27589 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27590 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27591 { (exit 1); exit 1; }; }; }
27595 if test "$ac_dir" != .
; then
27596 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27597 # A "../" for each directory in $ac_dir_suffix.
27598 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27600 ac_dir_suffix
= ac_top_builddir
=
27604 .
) # No --srcdir option. We are building in place.
27606 if test -z "$ac_top_builddir"; then
27609 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
27611 [\\/]* | ?
:[\\/]* ) # Absolute path.
27612 ac_srcdir
=$srcdir$ac_dir_suffix;
27613 ac_top_srcdir
=$srcdir ;;
27614 *) # Relative path.
27615 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
27616 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
27619 # Do not use `cd foo && pwd` to compute absolute paths, because
27620 # the directories may not exist.
27622 .
) ac_abs_builddir
="$ac_dir";;
27625 .
) ac_abs_builddir
=`pwd`;;
27626 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
27627 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
27630 case $ac_abs_builddir in
27631 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27633 case ${ac_top_builddir}.
in
27634 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
27635 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27636 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
27639 case $ac_abs_builddir in
27640 .
) ac_abs_srcdir
=$ac_srcdir;;
27643 .
) ac_abs_srcdir
=$ac_abs_builddir;;
27644 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
27645 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
27648 case $ac_abs_builddir in
27649 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
27651 case $ac_top_srcdir in
27652 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
27653 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
27654 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
27659 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
27660 echo "$as_me: executing $ac_dest commands" >&6;}
27662 depdir
) $SHELL $ac_aux_dir/mkinstalldirs
$DEPDIR ;;
27663 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
27664 # Strip MF so we end up with the name of the file.
27665 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27666 # Check whether this is an Automake generated Makefile or not.
27667 # We used to match only the files named `Makefile.in', but
27668 # some people rename them; so instead we look at the file content.
27669 # Grep'ing the first line is not enough: some people post-process
27670 # each Makefile.in and add a new line on top of each file to say so.
27671 # So let's grep whole file.
27672 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
27673 dirpart
=`(dirname "$mf") 2>/dev/null ||
27674 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27675 X"$mf" : 'X\(//\)[^/]' \| \
27676 X"$mf" : 'X\(//\)$' \| \
27677 X"$mf" : 'X\(/\)' \| \
27678 . : '\(.\)' 2>/dev/null ||
27680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27682 /^X\(\/\/\)$/{ s//\1/; q; }
27683 /^X\(\/\).*/{ s//\1/; q; }
27688 # Extract the definition of DEPDIR, am__include, and am__quote
27689 # from the Makefile without running `make'.
27690 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27691 test -z "$DEPDIR" && continue
27692 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27693 test -z "am__include" && continue
27694 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27695 # When using ansi2knr, U may be empty or an underscore; expand it
27696 U
=`sed -n 's/^U = //p' < "$mf"`
27697 # Find all dependency output files, they are included files with
27698 # $(DEPDIR) in their names. We invoke sed twice because it is the
27699 # simplest approach to changing $(DEPDIR) to its actual value in the
27701 for file in `sed -n "
27702 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27703 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27704 # Make sure the directory exists.
27705 test -f "$dirpart/$file" && continue
27706 fdir
=`(dirname "$file") 2>/dev/null ||
27707 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27708 X"$file" : 'X\(//\)[^/]' \| \
27709 X"$file" : 'X\(//\)$' \| \
27710 X"$file" : 'X\(/\)' \| \
27711 . : '\(.\)' 2>/dev/null ||
27713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27714 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27715 /^X\(\/\/\)$/{ s//\1/; q; }
27716 /^X\(\/\).*/{ s//\1/; q; }
27718 { if $as_mkdir_p; then
27719 mkdir
-p $dirpart/$fdir
27721 as_dir
=$dirpart/$fdir
27723 while test ! -d "$as_dir"; do
27724 as_dirs
="$as_dir $as_dirs"
27725 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27726 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27727 X"$as_dir" : 'X\(//\)[^/]' \| \
27728 X"$as_dir" : 'X\(//\)$' \| \
27729 X"$as_dir" : 'X\(/\)' \| \
27730 . : '\(.\)' 2>/dev/null ||
27732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27733 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27734 /^X\(\/\/\)$/{ s//\1/; q; }
27735 /^X\(\/\).*/{ s//\1/; q; }
27738 test ! -n "$as_dirs" || mkdir
$as_dirs
27739 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
27740 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
27741 { (exit 1); exit 1; }; }; }
27743 # echo "creating $dirpart/$file"
27744 echo '# dummy' > "$dirpart/$file"
27750 sed -e '/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile
>Makefile.tmp
27751 mv -f Makefile.tmp Makefile
27754 case x
$CONFIG_HEADERS in
27755 xconfig.h
:config.
in)
27763 cat >>$CONFIG_STATUS <<\_ACEOF
27765 { (exit 0); exit 0; }
27767 chmod +x
$CONFIG_STATUS
27768 ac_clean_files
=$ac_clean_files_save
27771 # configure is writing to config.log, and then calls config.status.
27772 # config.status does its own redirection, appending to config.log.
27773 # Unfortunately, on DOS this fails, as config.log is still kept open
27774 # by configure, so config.status won't be able to write to it; its
27775 # output is simply discarded. So we exec the FD to /dev/null,
27776 # effectively closing config.log, so it can be properly (re)opened and
27777 # appended to by config.status. When coming back to configure, we
27778 # need to make the FD available again.
27779 if test "$no_create" != yes; then
27781 ac_config_status_args
=
27782 test "$silent" = yes &&
27783 ac_config_status_args
="$ac_config_status_args --quiet"
27785 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27787 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27788 # would make configure fail if this is the last instruction.
27789 $ac_cs_success ||
{ (exit 1); exit 1; }
27793 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
27795 if test "$no_recursion" != yes; then
27797 # Remove --cache-file and --srcdir arguments so they do not pile up.
27798 ac_sub_configure_args
=
27800 eval "set x $ac_configure_args"
27804 if test -n "$ac_prev"; then
27809 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27810 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27811 ac_prev
=cache_file
;;
27812 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27813 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27816 --config-cache |
-C)
27818 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27820 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27822 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27824 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27828 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27830 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
27834 # Always prepend --prefix to ensure using the same prefix
27835 # in subdir configurations.
27836 ac_arg
="--prefix=$prefix"
27838 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27840 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
27843 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27845 # Do not complain, so a configure script can configure whichever
27846 # parts of a large source tree are present.
27847 test -d "$srcdir/$ac_dir" ||
continue
27849 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
27850 echo "$as_me: configuring in $ac_dir" >&6;}
27851 { if $as_mkdir_p; then
27856 while test ! -d "$as_dir"; do
27857 as_dirs
="$as_dir $as_dirs"
27858 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
27859 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27860 X"$as_dir" : 'X\(//\)[^/]' \| \
27861 X"$as_dir" : 'X\(//\)$' \| \
27862 X"$as_dir" : 'X\(/\)' \| \
27863 . : '\(.\)' 2>/dev/null ||
27865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27867 /^X\(\/\/\)$/{ s//\1/; q; }
27868 /^X\(\/\).*/{ s//\1/; q; }
27871 test ! -n "$as_dirs" || mkdir
$as_dirs
27872 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27873 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27874 { (exit 1); exit 1; }; }; }
27878 if test "$ac_dir" != .
; then
27879 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27880 # A "../" for each directory in $ac_dir_suffix.
27881 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27883 ac_dir_suffix
= ac_top_builddir
=
27887 .
) # No --srcdir option. We are building in place.
27889 if test -z "$ac_top_builddir"; then
27892 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
27894 [\\/]* | ?
:[\\/]* ) # Absolute path.
27895 ac_srcdir
=$srcdir$ac_dir_suffix;
27896 ac_top_srcdir
=$srcdir ;;
27897 *) # Relative path.
27898 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
27899 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
27902 # Do not use `cd foo && pwd` to compute absolute paths, because
27903 # the directories may not exist.
27905 .
) ac_abs_builddir
="$ac_dir";;
27908 .
) ac_abs_builddir
=`pwd`;;
27909 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
27910 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
27913 case $ac_abs_builddir in
27914 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27916 case ${ac_top_builddir}.
in
27917 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
27918 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
27919 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
27922 case $ac_abs_builddir in
27923 .
) ac_abs_srcdir
=$ac_srcdir;;
27926 .
) ac_abs_srcdir
=$ac_abs_builddir;;
27927 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
27928 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
27931 case $ac_abs_builddir in
27932 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
27934 case $ac_top_srcdir in
27935 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
27936 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
27937 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
27944 # Check for guested configure; otherwise get Cygnus style configure.
27945 if test -f "$ac_srcdir/configure.gnu"; then
27946 ac_sub_configure
=$ac_srcdir/configure.gnu
27947 elif test -f "$ac_srcdir/configure"; then
27948 ac_sub_configure
=$ac_srcdir/configure
27949 elif test -f "$ac_srcdir/configure.in"; then
27950 # This should be Cygnus configure.
27951 ac_sub_configure
=$ac_aux_dir/configure
27953 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
27954 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27958 # The recursion is here.
27959 if test -n "$ac_sub_configure"; then
27960 # Make the cache file name correct relative to the subdirectory.
27961 case $cache_file in
27962 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
27963 *) # Relative path.
27964 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
27967 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
27968 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27969 # The eval makes quoting arguments work.
27970 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
27971 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
27972 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
27973 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
27974 { (exit 1); exit 1; }; }