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
="libbfd.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES CPP EGREP BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default
=no
856 --enable-static=PKGS build static libraries default
=yes
857 --enable-fast-install=PKGS optimize
for fast installation default
=yes
858 --disable-libtool-lock avoid locking
(might
break parallel builds
)
859 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
860 --enable-targets alternative target configurations
861 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
862 --enable-secureplt Default to creating read-only plt entries
863 --enable-werror treat compile warnings as errors
864 --enable-build-warnings enable build-time compiler warnings
865 --enable-maintainer-mode enable make rules and dependencies not useful
866 (and sometimes confusing
) to the casual installer
867 --enable-install-libbfd controls installation of libbfd and related headers
868 --disable-nls do not use Native Language Support
871 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
872 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
873 --with-gnu-ld assume the C compiler uses GNU ld default
=no
874 --with-pic try to use only PIC
/non-PIC objects default
=use both
875 --with-mmap try using mmap
for BFD input files
if available
876 --with-pkgversion=PKG Use PKG
in the version string
in place of
"GNU
878 --with-bugurl=URL Direct users to URL to report a bug
880 Some influential environment variables
:
881 CC C compiler
command
882 CFLAGS C compiler flags
883 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
884 nonstandard directory
<lib dir
>
885 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
886 headers
in a nonstandard directory
<include dir
>
889 Use these variables to override the choices made by
`configure' or to help
890 it to find libraries and programs with nonstandard names/locations.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899 test -d $ac_dir || continue
902 if test "$ac_dir" != .; then
903 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
907 ac_dir_suffix= ac_top_builddir=
911 .) # No --srcdir option. We are building in place.
913 if test -z "$ac_top_builddir"; then
916 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
918 [\\/]* | ?:[\\/]* ) # Absolute path.
919 ac_srcdir=$srcdir$ac_dir_suffix;
920 ac_top_srcdir=$srcdir ;;
922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
926 # Do not use `cd foo
&& pwd` to compute absolute paths, because
927 # the directories may not exist.
929 .) ac_abs_builddir="$ac_dir";;
932 .) ac_abs_builddir=`pwd`;;
933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
934 *) ac_abs_builddir=`pwd`/"$ac_dir";;
937 case $ac_abs_builddir in
938 .) ac_abs_top_builddir=${ac_top_builddir}.;;
940 case ${ac_top_builddir}. in
941 .) ac_abs_top_builddir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
946 case $ac_abs_builddir in
947 .) ac_abs_srcdir=$ac_srcdir;;
950 .) ac_abs_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
955 case $ac_abs_builddir in
956 .) ac_abs_top_srcdir=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .) ac_abs_top_srcdir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu; then
969 $SHELL $ac_srcdir/configure.gnu --help=recursive
970 elif test -f $ac_srcdir/configure; then
972 $SHELL $ac_srcdir/configure --help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.in; then
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
988 Copyright (C) 2003 Free Software Foundation, Inc.
989 This configure script is free software; the Free Software Foundation
990 gives unlimited permission to copy, distribute and modify it.
996 This file contains any messages produced by compilers while
997 running configure, to aid debugging if configure makes a mistake.
999 It was created by $as_me, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1011 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1012 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1013 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1014 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1015 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1018 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1020 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1021 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1022 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1023 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1024 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1025 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1026 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1034 test -z "$as_dir" && as_dir=.
1035 echo "PATH: $as_dir"
1050 # Keep a trace of the command line.
1051 # Strip out --no-create and --no-recursion so they do not pile up.
1052 # Strip out --silent because we don't want to record it for future runs.
1053 # Also quote any args containing shell meta-characters.
1054 # Make two passes to allow for proper duplicate-argument suppression.
1059 ac_must_keep_next=false
1065 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1073 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1075 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1076 if test $ac_must_keep_next = true; then
1077 ac_must_keep_next=false # Got value, back to normal.
1080 *=* | --config-cache | -C | -disable-* | --disable-* \
1081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1083 | -with-* | --with-* | -without-* | --without-* | --x)
1084 case "$ac_configure_args0 " in
1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 -* ) ac_must_keep_next=true ;;
1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1098 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1099 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1101 # When interrupted or exit'd, cleanup temporary files, and complete
1102 # config.log. We remove comments because anyway the quotes in there
1103 # would cause problems or look ugly.
1104 # WARNING: Be sure not to use single quotes in there, as some shells,
1105 # such as our DU 5.0 friend, will then `close
' the trap.
1106 trap 'exit_status
=$?
1107 # Save into config.log some information that might help in debugging.
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1117 # The following way of writing the cache mishandles newlines in values,
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1140 for ac_var
in $ac_subst_vars
1142 eval ac_val
=$
`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -n "$ac_subst_files"; then
1154 for ac_var
in $ac_subst_files
1156 eval ac_val
=$
`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -s confdefs.h
; then
1169 sed "/^$/d" confdefs.h |
sort
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1176 rm -f core
*.core
&&
1177 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1180 for ac_signal in 1 2 13 15; do
1181 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186 rm -rf conftest* confdefs.h
1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1217 # Let the site file select an alternate cache file if it wants to.
1218 # Prefer explicitly selected file to automatically selected ones.
1219 if test -z "$CONFIG_SITE"; then
1220 if test "x$prefix" != xNONE; then
1221 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1223 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1226 for ac_site_file in $CONFIG_SITE; do
1227 if test -r "$ac_site_file"; then
1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229 echo "$as_me: loading site script $ac_site_file" >&6;}
1230 sed 's
/^
/|
/' "$ac_site_file" >&5
1235 if test -r "$cache_file"; then
1236 # Some versions of bash will fail to source /dev/null (special
1237 # files actually), so we avoid doing that.
1238 if test -f "$cache_file"; then
1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240 echo "$as_me: loading cache $cache_file" >&6;}
1242 [\\/]* | ?:[\\/]* ) . $cache_file;;
1243 *) . ./$cache_file;;
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1252 # Check that the precious variables saved in the cache have kept the same
1254 ac_cache_corrupted=false
1255 for ac_var in `(set) 2>&1 |
1256 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1258 eval ac_new_set=\$ac_env_${ac_var}_set
1259 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1260 eval ac_new_val="\$ac_env_${ac_var}_value"
1261 case $ac_old_set,$ac_new_set in
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1265 ac_cache_corrupted=: ;;
1267 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269 ac_cache_corrupted=: ;;
1272 if test "x$ac_old_val" != "x$ac_new_val"; then
1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1274 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276 echo "$as_me: former value: $ac_old_val" >&2;}
1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278 echo "$as_me: current value: $ac_new_val" >&2;}
1279 ac_cache_corrupted=:
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg=$ac_var=$ac_new_val ;;
1289 case " $ac_configure_args " in
1290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1295 if $ac_cache_corrupted; then
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1299 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1304 ac_cpp='$CPP $CPPFLAGS'
1305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1306 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1331 if test -f $ac_dir/install-sh; then
1333 ac_install_sh="$ac_aux_dir/install-sh -c"
1335 elif test -f $ac_dir/install.sh; then
1337 ac_install_sh="$ac_aux_dir/install.sh -c"
1339 elif test -f $ac_dir/shtool; then
1341 ac_install_sh="$ac_aux_dir/shtool install -c"
1345 if test -z "$ac_aux_dir"; then
1346 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1347 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1348 { (exit 1); exit 1; }; }
1350 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1351 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1352 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1354 # Make sure we can run config.sub.
1355 $ac_config_sub sun4 >/dev/null 2>&1 ||
1356 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1357 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1358 { (exit 1); exit 1; }; }
1360 echo "$as_me:$LINENO: checking build system type" >&5
1361 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1362 if test "${ac_cv_build+set}" = set; then
1363 echo $ECHO_N "(cached) $ECHO_C" >&6
1365 ac_cv_build_alias=$build_alias
1366 test -z "$ac_cv_build_alias" &&
1367 ac_cv_build_alias=`$ac_config_guess`
1368 test -z "$ac_cv_build_alias" &&
1369 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1370 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1371 { (exit 1); exit 1; }; }
1372 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1373 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1374 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1375 { (exit 1); exit 1; }; }
1378 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1379 echo "${ECHO_T}$ac_cv_build" >&6
1381 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1382 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1383 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1386 echo "$as_me:$LINENO: checking host system type" >&5
1387 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1388 if test "${ac_cv_host+set}" = set; then
1389 echo $ECHO_N "(cached) $ECHO_C" >&6
1391 ac_cv_host_alias=$host_alias
1392 test -z "$ac_cv_host_alias" &&
1393 ac_cv_host_alias=$ac_cv_build_alias
1394 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1395 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1396 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1397 { (exit 1); exit 1; }; }
1400 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1401 echo "${ECHO_T}$ac_cv_host" >&6
1403 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1404 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1405 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1408 echo "$as_me:$LINENO: checking target system type" >&5
1409 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1410 if test "${ac_cv_target+set}" = set; then
1411 echo $ECHO_N "(cached) $ECHO_C" >&6
1413 ac_cv_target_alias=$target_alias
1414 test "x$ac_cv_target_alias" = "x" &&
1415 ac_cv_target_alias=$ac_cv_host_alias
1416 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1417 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1418 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1419 { (exit 1); exit 1; }; }
1422 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1423 echo "${ECHO_T}$ac_cv_target" >&6
1424 target=$ac_cv_target
1425 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1426 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1427 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1430 # The aliases save the names the user supplied, while $host etc.
1431 # will get canonicalized.
1432 test -n "$target_alias" &&
1433 test "$program_prefix$program_suffix$program_transform_name" = \
1435 program_prefix=${target_alias}-
1437 ac_cpp='$CPP $CPPFLAGS'
1438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1439 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1441 if test -n "$ac_tool_prefix"; then
1442 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1443 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1444 echo "$as_me:$LINENO: checking for $ac_word" >&5
1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446 if test "${ac_cv_prog_CC+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1449 if test -n "$CC"; then
1450 ac_cv_prog_CC="$CC" # Let the user override the test.
1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456 test -z "$as_dir" && as_dir=.
1457 for ac_exec_ext in '' $ac_executable_extensions; do
1458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1459 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1469 if test -n "$CC"; then
1470 echo "$as_me:$LINENO: result: $CC" >&5
1471 echo "${ECHO_T}$CC" >&6
1473 echo "$as_me:$LINENO: result: no" >&5
1474 echo "${ECHO_T}no" >&6
1478 if test -z "$ac_cv_prog_CC"; then
1480 # Extract the first word of "gcc", so it can be a program name with args.
1481 set dummy gcc; 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_ac_ct_CC+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 if test -n "$ac_ct_CC"; then
1488 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="gcc"
1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1507 if test -n "$ac_ct_CC"; then
1508 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1509 echo "${ECHO_T}$ac_ct_CC" >&6
1511 echo "$as_me:$LINENO: result: no" >&5
1512 echo "${ECHO_T}no" >&6
1520 if test -z "$CC"; then
1521 if test -n "$ac_tool_prefix"; then
1522 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1523 set dummy ${ac_tool_prefix}cc; ac_word=$2
1524 echo "$as_me:$LINENO: checking for $ac_word" >&5
1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1526 if test "${ac_cv_prog_CC+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 if test -n "$CC"; then
1530 ac_cv_prog_CC="$CC" # Let the user override the test.
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 test -z "$as_dir" && as_dir=.
1537 for ac_exec_ext in '' $ac_executable_extensions; do
1538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1539 ac_cv_prog_CC="${ac_tool_prefix}cc"
1540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1549 if test -n "$CC"; then
1550 echo "$as_me:$LINENO: result: $CC" >&5
1551 echo "${ECHO_T}$CC" >&6
1553 echo "$as_me:$LINENO: result: no" >&5
1554 echo "${ECHO_T}no" >&6
1558 if test -z "$ac_cv_prog_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_ac_ct_CC+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 if test -n "$ac_ct_CC"; then
1568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1574 test -z "$as_dir" && as_dir=.
1575 for ac_exec_ext in '' $ac_executable_extensions; do
1576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1577 ac_cv_prog_ac_ct_CC="cc"
1578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1587 if test -n "$ac_ct_CC"; then
1588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1589 echo "${ECHO_T}$ac_ct_CC" >&6
1591 echo "$as_me:$LINENO: result: no" >&5
1592 echo "${ECHO_T}no" >&6
1601 if test -z "$CC"; then
1602 # Extract the first word of "cc", so it can be a program name with args.
1603 set dummy cc; ac_word=$2
1604 echo "$as_me:$LINENO: checking for $ac_word" >&5
1605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1606 if test "${ac_cv_prog_CC+set}" = set; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 if test -n "$CC"; then
1610 ac_cv_prog_CC="$CC" # Let the user override the test.
1613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1617 test -z "$as_dir" && as_dir=.
1618 for ac_exec_ext in '' $ac_executable_extensions; do
1619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1620 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1621 ac_prog_rejected=yes
1625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631 if test $ac_prog_rejected = yes; then
1632 # We found a bogon in the path, so make sure we never use it.
1633 set dummy $ac_cv_prog_CC
1635 if test $# != 0; then
1636 # We chose a different compiler from the bogus one.
1637 # However, it has the same basename, so the bogon will be chosen
1638 # first if we set CC to just the basename; use the full file name.
1640 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1646 if test -n "$CC"; then
1647 echo "$as_me:$LINENO: result: $CC" >&5
1648 echo "${ECHO_T}$CC" >&6
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1655 if test -z "$CC"; then
1656 if test -n "$ac_tool_prefix"; then
1659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1660 set dummy $ac_tool_prefix$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_CC+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 if test -n "$CC"; then
1667 ac_cv_prog_CC="$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_CC="$ac_tool_prefix$ac_prog"
1677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1686 if test -n "$CC"; then
1687 echo "$as_me:$LINENO: result: $CC" >&5
1688 echo "${ECHO_T}$CC" >&6
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1694 test -n "$CC" && break
1697 if test -z "$CC"; then
1701 # Extract the first word of "$ac_prog", so it can be a program name with args.
1702 set dummy $ac_prog; ac_word=$2
1703 echo "$as_me:$LINENO: checking for $ac_word" >&5
1704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 if test -n "$ac_ct_CC"; then
1709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 test -z "$as_dir" && as_dir=.
1716 for ac_exec_ext in '' $ac_executable_extensions; do
1717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1718 ac_cv_prog_ac_ct_CC="$ac_prog"
1719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1727 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1728 if test -n "$ac_ct_CC"; then
1729 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1730 echo "${ECHO_T}$ac_ct_CC" >&6
1732 echo "$as_me:$LINENO: result: no" >&5
1733 echo "${ECHO_T}no" >&6
1736 test -n "$ac_ct_CC" && break
1745 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1746 See \`config.log' for more details.
" >&5
1747 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1748 See \
`config.log' for more details." >&2;}
1749 { (exit 1); exit 1; }; }
1751 # Provide some information about the compiler.
1752 echo "$as_me:$LINENO:" \
1753 "checking for C compiler version" >&5
1754 ac_compiler=`set X
$ac_compile; echo $2`
1755 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1756 (eval $ac_compiler --version </dev/null >&5) 2>&5
1758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1759 (exit $ac_status); }
1760 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1761 (eval $ac_compiler -v </dev/null >&5) 2>&5
1763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1764 (exit $ac_status); }
1765 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1766 (eval $ac_compiler -V </dev/null >&5) 2>&5
1768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1769 (exit $ac_status); }
1771 cat >conftest.$ac_ext <<_ACEOF
1774 cat confdefs.h >>conftest.$ac_ext
1775 cat >>conftest.$ac_ext <<_ACEOF
1776 /* end confdefs.h. */
1786 ac_clean_files_save=$ac_clean_files
1787 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1788 # Try to create an executable without -o first, disregard a.out.
1789 # It will help us diagnose broken compilers, and finding out an intuition
1791 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1792 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1793 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1794 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1795 (eval $ac_link_default) 2>&5
1797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1798 (exit $ac_status); }; then
1799 # Find the output, starting from the most likely. This scheme is
1800 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1803 # Be careful to initialize this variable, since it used to be cached.
1804 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1806 # b.out is created by i960 compilers.
1807 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1809 test -f "$ac_file" || continue
1811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1814 # This is the source file.
1817 # We found the default executable, but exeext='' is most
1821 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1822 # FIXME: I believe we export ac_cv_exeext for Libtool,
1823 # but it would be cool to find out if it's true. Does anybody
1824 # maintain Libtool? --akim.
1832 echo "$as_me: failed program was:" >&5
1833 sed 's/^/| /' conftest.$ac_ext >&5
1835 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1836 See \`config.log
' for more details." >&5
1837 echo "$as_me: error: C compiler cannot create executables
1838 See \`config.log' for more details.
" >&2;}
1839 { (exit 77); exit 77; }; }
1842 ac_exeext=$ac_cv_exeext
1843 echo "$as_me:$LINENO: result
: $ac_file" >&5
1844 echo "${ECHO_T}$ac_file" >&6
1846 # Check the compiler produces executables we can run. If not, either
1847 # the compiler is broken, or we cross compile.
1848 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1849 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1850 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1851 # If not cross compiling, check that we can run a simple program.
1852 if test "$cross_compiling" != yes; then
1853 if { ac_try='./$ac_file'
1854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1857 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1858 (exit $ac_status); }; }; then
1861 if test "$cross_compiling" = maybe; then
1864 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1865 If you meant to cross compile
, use \
`--host'.
1866 See \`config.log
' for more details." >&5
1867 echo "$as_me: error: cannot run C compiled programs.
1868 If you meant to cross compile, use \`--host'.
1869 See \
`config.log' for more details." >&2;}
1870 { (exit 1); exit 1; }; }
1874 echo "$as_me:$LINENO: result: yes" >&5
1875 echo "${ECHO_T}yes" >&6
1877 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1878 ac_clean_files=$ac_clean_files_save
1879 # Check the compiler produces executables we can run. If not, either
1880 # the compiler is broken, or we cross compile.
1881 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1882 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1883 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1884 echo "${ECHO_T}$cross_compiling" >&6
1886 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1887 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1889 (eval $ac_link) 2>&5
1891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1892 (exit $ac_status); }; then
1893 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1894 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1895 # work properly (i.e., refer to `conftest.exe'), while it won't with
1897 for ac_file
in conftest.exe conftest conftest.
*; do
1898 test -f "$ac_file" ||
continue
1900 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1901 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1908 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1909 See \`config.log' for more details." >&5
1910 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1911 See \`config.log' for more details." >&2;}
1912 { (exit 1); exit 1; }; }
1915 rm -f conftest
$ac_cv_exeext
1916 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1917 echo "${ECHO_T}$ac_cv_exeext" >&6
1919 rm -f conftest.
$ac_ext
1920 EXEEXT
=$ac_cv_exeext
1922 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1923 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1924 if test "${ac_cv_objext+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 cat >conftest.
$ac_ext <<_ACEOF
1930 cat confdefs.h
>>conftest.
$ac_ext
1931 cat >>conftest.
$ac_ext <<_ACEOF
1932 /* end confdefs.h. */
1942 rm -f conftest.o conftest.obj
1943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1944 (eval $ac_compile) 2>&5
1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 (exit $ac_status); }; then
1948 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1950 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1951 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1956 echo "$as_me: failed program was:" >&5
1957 sed 's/^/| /' conftest.
$ac_ext >&5
1959 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1960 See \`config.log' for more details." >&5
1961 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1962 See \`config.log' for more details." >&2;}
1963 { (exit 1); exit 1; }; }
1966 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1968 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1969 echo "${ECHO_T}$ac_cv_objext" >&6
1970 OBJEXT
=$ac_cv_objext
1972 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1973 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1974 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 cat >conftest.
$ac_ext <<_ACEOF
1980 cat confdefs.h
>>conftest.
$ac_ext
1981 cat >>conftest.
$ac_ext <<_ACEOF
1982 /* end confdefs.h. */
1995 rm -f conftest.
$ac_objext
1996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1997 (eval $ac_compile) 2>conftest.er1
1999 grep -v '^ *+' conftest.er1
>conftest.err
2001 cat conftest.err
>&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); } &&
2004 { ac_try
='test -z "$ac_c_werror_flag"
2005 || test ! -s conftest.err'
2006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); }; } &&
2011 { ac_try
='test -s conftest.$ac_objext'
2012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); }; }; then
2019 echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.
$ac_ext >&5
2024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2025 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2028 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2029 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2030 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2031 ac_test_CFLAGS
=${CFLAGS+set}
2032 ac_save_CFLAGS
=$CFLAGS
2034 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2035 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2036 if test "${ac_cv_prog_cc_g+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 cat >conftest.
$ac_ext <<_ACEOF
2042 cat confdefs.h
>>conftest.
$ac_ext
2043 cat >>conftest.
$ac_ext <<_ACEOF
2044 /* end confdefs.h. */
2054 rm -f conftest.
$ac_objext
2055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2056 (eval $ac_compile) 2>conftest.er1
2058 grep -v '^ *+' conftest.er1
>conftest.err
2060 cat conftest.err
>&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); } &&
2063 { ac_try
='test -z "$ac_c_werror_flag"
2064 || test ! -s conftest.err'
2065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069 (exit $ac_status); }; } &&
2070 { ac_try
='test -s conftest.$ac_objext'
2071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075 (exit $ac_status); }; }; then
2078 echo "$as_me: failed program was:" >&5
2079 sed 's/^/| /' conftest.
$ac_ext >&5
2083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2085 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2086 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2087 if test "$ac_test_CFLAGS" = set; then
2088 CFLAGS
=$ac_save_CFLAGS
2089 elif test $ac_cv_prog_cc_g = yes; then
2090 if test "$GCC" = yes; then
2096 if test "$GCC" = yes; then
2102 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2103 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2104 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2105 echo $ECHO_N "(cached) $ECHO_C" >&6
2107 ac_cv_prog_cc_stdc
=no
2109 cat >conftest.
$ac_ext <<_ACEOF
2112 cat confdefs.h
>>conftest.
$ac_ext
2113 cat >>conftest.
$ac_ext <<_ACEOF
2114 /* end confdefs.h. */
2117 #include <sys/types.h>
2118 #include <sys/stat.h>
2119 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2120 struct buf { int x; };
2121 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2122 static char *e (p, i)
2128 static char *f (char * (*g) (char **, int), char **p, ...)
2133 s = g (p, va_arg (v,int));
2138 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2139 function prototypes and stuff, but not '\xHH' hex character constants.
2140 These don't provoke an error unfortunately, instead are silently treated
2141 as 'x'. The following induces an error, until -std1 is added to get
2142 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2143 array size at least. It's necessary to write '\x00'==0 to get something
2144 that's true only with -std1. */
2145 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2147 int test (int i, double x);
2148 struct s1 {int (*f) (int a);};
2149 struct s2 {int (*f) (double a);};
2150 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2156 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2161 # Don't try gcc -ansi; that turns off useful extensions and
2162 # breaks some systems' header files.
2163 # AIX -qlanglvl=ansi
2164 # Ultrix and OSF/1 -std1
2165 # HP-UX 10.20 and later -Ae
2166 # HP-UX older versions -Aa -D_HPUX_SOURCE
2167 # SVR4 -Xc -D__EXTENSIONS__
2168 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2170 CC
="$ac_save_CC $ac_arg"
2171 rm -f conftest.
$ac_objext
2172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2173 (eval $ac_compile) 2>conftest.er1
2175 grep -v '^ *+' conftest.er1
>conftest.err
2177 cat conftest.err
>&5
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179 (exit $ac_status); } &&
2180 { ac_try
='test -z "$ac_c_werror_flag"
2181 || test ! -s conftest.err'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; } &&
2187 { ac_try
='test -s conftest.$ac_objext'
2188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192 (exit $ac_status); }; }; then
2193 ac_cv_prog_cc_stdc
=$ac_arg
2196 echo "$as_me: failed program was:" >&5
2197 sed 's/^/| /' conftest.
$ac_ext >&5
2200 rm -f conftest.err conftest.
$ac_objext
2202 rm -f conftest.
$ac_ext conftest.
$ac_objext
2207 case "x$ac_cv_prog_cc_stdc" in
2209 echo "$as_me:$LINENO: result: none needed" >&5
2210 echo "${ECHO_T}none needed" >&6 ;;
2212 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2213 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2214 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2217 # Some people use a C++ compiler to compile C. Since we use `exit',
2218 # in C++ we need to declare it. In case someone uses the same compiler
2219 # for both compiling C and C++ we need to have the C++ compiler decide
2220 # the declaration of exit, since it's the most demanding environment.
2221 cat >conftest.
$ac_ext <<_ACEOF
2226 rm -f conftest.
$ac_objext
2227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2228 (eval $ac_compile) 2>conftest.er1
2230 grep -v '^ *+' conftest.er1
>conftest.err
2232 cat conftest.err
>&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); } &&
2235 { ac_try
='test -z "$ac_c_werror_flag"
2236 || test ! -s conftest.err'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; } &&
2242 { ac_try
='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2248 for ac_declaration
in \
2250 'extern "C" void std::exit (int) throw (); using std::exit;' \
2251 'extern "C" void std::exit (int); using std::exit;' \
2252 'extern "C" void exit (int) throw ();' \
2253 'extern "C" void exit (int);' \
2256 cat >conftest.
$ac_ext <<_ACEOF
2259 cat confdefs.h
>>conftest.
$ac_ext
2260 cat >>conftest.
$ac_ext <<_ACEOF
2261 /* end confdefs.h. */
2272 rm -f conftest.
$ac_objext
2273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2274 (eval $ac_compile) 2>conftest.er1
2276 grep -v '^ *+' conftest.er1
>conftest.err
2278 cat conftest.err
>&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); } &&
2281 { ac_try
='test -z "$ac_c_werror_flag"
2282 || test ! -s conftest.err'
2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }; } &&
2288 { ac_try
='test -s conftest.$ac_objext'
2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }; }; then
2296 echo "$as_me: failed program was:" >&5
2297 sed 's/^/| /' conftest.
$ac_ext >&5
2301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2302 cat >conftest.
$ac_ext <<_ACEOF
2305 cat confdefs.h
>>conftest.
$ac_ext
2306 cat >>conftest.
$ac_ext <<_ACEOF
2307 /* end confdefs.h. */
2317 rm -f conftest.
$ac_objext
2318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2319 (eval $ac_compile) 2>conftest.er1
2321 grep -v '^ *+' conftest.er1
>conftest.err
2323 cat conftest.err
>&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); } &&
2326 { ac_try
='test -z "$ac_c_werror_flag"
2327 || test ! -s conftest.err'
2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }; } &&
2333 { ac_try
='test -s conftest.$ac_objext'
2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; }; then
2341 echo "$as_me: failed program was:" >&5
2342 sed 's/^/| /' conftest.
$ac_ext >&5
2345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2348 if test -n "$ac_declaration"; then
2349 echo '#ifdef __cplusplus' >>confdefs.h
2350 echo $ac_declaration >>confdefs.h
2351 echo '#endif' >>confdefs.h
2355 echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.
$ac_ext >&5
2359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2361 ac_cpp
='$CPP $CPPFLAGS'
2362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2367 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2368 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2369 if test "${ac_cv_search_strerror+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 ac_func_search_save_LIBS
=$LIBS
2373 ac_cv_search_strerror
=no
2374 cat >conftest.
$ac_ext <<_ACEOF
2377 cat confdefs.h
>>conftest.
$ac_ext
2378 cat >>conftest.
$ac_ext <<_ACEOF
2379 /* end confdefs.h. */
2381 /* Override any gcc2 internal prototype to avoid an error. */
2385 /* We use char because int might match the return type of a gcc2
2386 builtin and then its argument prototype would still apply. */
2396 rm -f conftest.
$ac_objext conftest
$ac_exeext
2397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2398 (eval $ac_link) 2>conftest.er1
2400 grep -v '^ *+' conftest.er1
>conftest.err
2402 cat conftest.err
>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); } &&
2405 { ac_try
='test -z "$ac_c_werror_flag"
2406 || test ! -s conftest.err'
2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; } &&
2412 { ac_try
='test -s conftest$ac_exeext'
2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; }; then
2418 ac_cv_search_strerror
="none required"
2420 echo "$as_me: failed program was:" >&5
2421 sed 's/^/| /' conftest.
$ac_ext >&5
2424 rm -f conftest.err conftest.
$ac_objext \
2425 conftest
$ac_exeext conftest.
$ac_ext
2426 if test "$ac_cv_search_strerror" = no
; then
2427 for ac_lib
in cposix
; do
2428 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2429 cat >conftest.
$ac_ext <<_ACEOF
2432 cat confdefs.h
>>conftest.
$ac_ext
2433 cat >>conftest.
$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2436 /* Override any gcc2 internal prototype to avoid an error. */
2440 /* We use char because int might match the return type of a gcc2
2441 builtin and then its argument prototype would still apply. */
2451 rm -f conftest.
$ac_objext conftest
$ac_exeext
2452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2453 (eval $ac_link) 2>conftest.er1
2455 grep -v '^ *+' conftest.er1
>conftest.err
2457 cat conftest.err
>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); } &&
2460 { ac_try
='test -z "$ac_c_werror_flag"
2461 || test ! -s conftest.err'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; } &&
2467 { ac_try
='test -s conftest$ac_exeext'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; }; then
2473 ac_cv_search_strerror
="-l$ac_lib"
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.
$ac_ext >&5
2480 rm -f conftest.err conftest.
$ac_objext \
2481 conftest
$ac_exeext conftest.
$ac_ext
2484 LIBS
=$ac_func_search_save_LIBS
2486 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2487 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2488 if test "$ac_cv_search_strerror" != no
; then
2489 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2494 am__api_version
="1.9"
2495 # Find a good install program. We prefer a C program (faster),
2496 # so one script is as good as another. But avoid the broken or
2497 # incompatible versions:
2498 # SysV /etc/install, /usr/sbin/install
2499 # SunOS /usr/etc/install
2500 # IRIX /sbin/install
2502 # AmigaOS /C/install, which installs bootblocks on floppy discs
2503 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2504 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2505 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2506 # OS/2's system install, which has a completely different semantic
2507 # ./install, which can be erroneously created by make from ./install.sh.
2508 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2509 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2510 if test -z "$INSTALL"; then
2511 if test "${ac_cv_path_install+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2518 test -z "$as_dir" && as_dir
=.
2519 # Account for people who put trailing slashes in PATH elements.
2521 .
/ | .
// |
/cC
/* | \
2522 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2523 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2526 # OSF1 and SCO ODT 3.0 have their own names for install.
2527 # Don't use installbsd from OSF since it installs stuff as root
2529 for ac_prog
in ginstall scoinst
install; do
2530 for ac_exec_ext
in '' $ac_executable_extensions; do
2531 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2532 if test $ac_prog = install &&
2533 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2534 # AIX install. It has an incompatible calling convention.
2536 elif test $ac_prog = install &&
2537 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2538 # program-specific install script used by HP pwplus--don't use.
2541 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2553 if test "${ac_cv_path_install+set}" = set; then
2554 INSTALL
=$ac_cv_path_install
2556 # As a last resort, use the slow shell script. We don't cache a
2557 # path for INSTALL within a source directory, because that will
2558 # break other packages using the cache if that directory is
2559 # removed, or if the path is relative.
2560 INSTALL
=$ac_install_sh
2563 echo "$as_me:$LINENO: result: $INSTALL" >&5
2564 echo "${ECHO_T}$INSTALL" >&6
2566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2567 # It thinks the first close brace ends the variable substitution.
2568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2572 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2574 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2575 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2578 echo timestamp
> conftest.
file
2579 # Do `set' in a subshell so we don't clobber the current shell's
2580 # arguments. Must try -L first in case configure is actually a
2581 # symlink; some systems play weird games with the mod time of symlinks
2582 # (eg FreeBSD returns the mod time of the symlink's containing
2585 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2586 if test "$*" = "X"; then
2588 set X
`ls -t $srcdir/configure conftest.file`
2591 if test "$*" != "X $srcdir/configure conftest.file" \
2592 && test "$*" != "X conftest.file $srcdir/configure"; then
2594 # If neither matched, then we have a broken ls. This can happen
2595 # if, for instance, CONFIG_SHELL is bash and it inherits a
2596 # broken ls alias from the environment. This has actually
2597 # happened. Such a system could not be considered "sane".
2598 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2599 alias in your environment" >&5
2600 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2601 alias in your environment" >&2;}
2602 { (exit 1); exit 1; }; }
2605 test "$2" = conftest.
file
2611 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2612 Check your system clock" >&5
2613 echo "$as_me: error: newly created file is older than distributed files!
2614 Check your system clock" >&2;}
2615 { (exit 1); exit 1; }; }
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2619 test "$program_prefix" != NONE
&&
2620 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2621 # Use a double $ so make ignores it.
2622 test "$program_suffix" != NONE
&&
2623 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2624 # Double any \ or $. echo might interpret backslashes.
2625 # By default was `s,x,x', remove it if useless.
2626 cat <<\_ACEOF
>conftest.
sed
2627 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2629 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2632 # expand $ac_aux_dir to an absolute path
2633 am_aux_dir
=`cd $ac_aux_dir && pwd`
2635 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2636 # Use eval to expand $SHELL
2637 if eval "$MISSING --run true"; then
2638 am_missing_run
="$MISSING --run "
2641 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2642 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2645 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2646 # We used to keeping the `.' as first argument, in order to
2647 # allow $(mkdir_p) to be used without argument. As in
2648 # $(mkdir_p) $(somedir)
2649 # where $(somedir) is conditionally defined. However this is wrong
2651 # 1. if the package is installed by a user who cannot write `.'
2652 # make install will fail,
2653 # 2. the above comment should most certainly read
2654 # $(mkdir_p) $(DESTDIR)$(somedir)
2655 # so it does not work when $(somedir) is undefined and
2656 # $(DESTDIR) is not.
2657 # To support the latter case, we have to write
2658 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2659 # so the `.' trick is pointless.
2660 mkdir_p
='mkdir -p --'
2662 # On NextStep and OpenStep, the `mkdir' command does not
2663 # recognize any option. It will interpret all options as
2664 # directories to create, and then abort because `.' already
2666 for d
in .
/-p .
/--version;
2668 test -d $d && rmdir $d
2670 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2671 if test -f "$ac_aux_dir/mkinstalldirs"; then
2672 mkdir_p
='$(mkinstalldirs)'
2674 mkdir_p
='$(install_sh) -d'
2678 for ac_prog
in gawk mawk nawk
awk
2680 # Extract the first word of "$ac_prog", so it can be a program name with args.
2681 set dummy
$ac_prog; ac_word
=$2
2682 echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2684 if test "${ac_cv_prog_AWK+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 if test -n "$AWK"; then
2688 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir
=.
2695 for ac_exec_ext
in '' $ac_executable_extensions; do
2696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697 ac_cv_prog_AWK
="$ac_prog"
2698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 if test -n "$AWK"; then
2708 echo "$as_me:$LINENO: result: $AWK" >&5
2709 echo "${ECHO_T}$AWK" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2715 test -n "$AWK" && break
2718 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2719 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2720 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2721 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 cat >conftest.
make <<\_ACEOF
2726 @
echo 'ac_maketemp="$(MAKE)"'
2728 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2729 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2730 if test -n "$ac_maketemp"; then
2731 eval ac_cv_prog_make_
${ac_make}_set
=yes
2733 eval ac_cv_prog_make_
${ac_make}_set
=no
2737 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2738 echo "$as_me:$LINENO: result: yes" >&5
2739 echo "${ECHO_T}yes" >&6
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2744 SET_MAKE
="MAKE=${MAKE-make}"
2747 rm -rf .tst
2>/dev
/null
2748 mkdir .tst
2>/dev
/null
2749 if test -d .tst
; then
2754 rmdir .tst
2>/dev
/null
2756 DEPDIR
="${am__leading_dot}deps"
2758 ac_config_commands
="$ac_config_commands depfiles"
2761 am_make
=${MAKE-make}
2762 cat > confinc
<< 'END'
2767 # If we don't find an include directive, just comment out the code.
2768 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2769 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2773 # First try GNU make style include.
2774 echo "include confinc" > confmf
2775 # We grep out `Entering directory' and `Leaving directory'
2776 # messages which can occur if `w' ends up in MAKEFLAGS.
2777 # In particular we don't look at `^make:' because GNU make might
2778 # be invoked under some other name (usually "gmake"), in which
2779 # case it prints its new name instead of `make'.
2780 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2785 # Now try BSD make style include.
2786 if test "$am__include" = "#"; then
2787 echo '.include "confinc"' > confmf
2788 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2789 am__include
=.include
2796 echo "$as_me:$LINENO: result: $_am_result" >&5
2797 echo "${ECHO_T}$_am_result" >&6
2798 rm -f confinc confmf
2800 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2801 if test "${enable_dependency_tracking+set}" = set; then
2802 enableval
="$enable_dependency_tracking"
2805 if test "x$enable_dependency_tracking" != xno
; then
2806 am_depcomp
="$ac_aux_dir/depcomp"
2811 if test "x$enable_dependency_tracking" != xno; then
2821 # test to see if srcdir already configured
2822 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2823 test -f $srcdir/config.status
; then
2824 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2825 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2826 { (exit 1); exit 1; }; }
2829 # test whether we have cygpath
2830 if test -z "$CYGPATH_W"; then
2831 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2832 CYGPATH_W
='cygpath -w'
2839 # Define the identity of the package.
2844 cat >>confdefs.h
<<_ACEOF
2845 #define PACKAGE "$PACKAGE"
2849 cat >>confdefs.h
<<_ACEOF
2850 #define VERSION "$VERSION"
2853 # Some tools Automake needs.
2855 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2858 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2861 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2864 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2867 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2869 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2871 # Installed binaries are usually stripped using `strip' when the user
2872 # run `make install-strip'. However `strip' might not be the right
2873 # tool to use in cross-compilation environments, therefore Automake
2874 # will honor the `STRIP' environment variable to overrule this program.
2875 if test "$cross_compiling" != no
; then
2876 if test -n "$ac_tool_prefix"; then
2877 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2878 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2879 echo "$as_me:$LINENO: checking for $ac_word" >&5
2880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2881 if test "${ac_cv_prog_STRIP+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if test -n "$STRIP"; then
2885 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir
=.
2892 for ac_exec_ext
in '' $ac_executable_extensions; do
2893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2894 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2903 STRIP
=$ac_cv_prog_STRIP
2904 if test -n "$STRIP"; then
2905 echo "$as_me:$LINENO: result: $STRIP" >&5
2906 echo "${ECHO_T}$STRIP" >&6
2908 echo "$as_me:$LINENO: result: no" >&5
2909 echo "${ECHO_T}no" >&6
2913 if test -z "$ac_cv_prog_STRIP"; then
2915 # Extract the first word of "strip", so it can be a program name with args.
2916 set dummy strip
; ac_word
=$2
2917 echo "$as_me:$LINENO: checking for $ac_word" >&5
2918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2919 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2920 echo $ECHO_N "(cached) $ECHO_C" >&6
2922 if test -n "$ac_ct_STRIP"; then
2923 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir
=.
2930 for ac_exec_ext
in '' $ac_executable_extensions; do
2931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932 ac_cv_prog_ac_ct_STRIP
="strip"
2933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2942 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2943 if test -n "$ac_ct_STRIP"; then
2944 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2945 echo "${ECHO_T}$ac_ct_STRIP" >&6
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2953 STRIP
="$ac_cv_prog_STRIP"
2957 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2959 # We need awk for the "check" target. The system "awk" is bad on
2961 # Always define AMTAR for backward compatibility.
2963 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2965 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2970 depcc
="$CC" am_compiler_list
=
2972 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2973 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2974 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2978 # We make a subdir and do the tests there. Otherwise we can end up
2979 # making bogus files that we don't know about and never remove. For
2980 # instance it was reported that on HP-UX the gcc test will end up
2981 # making a dummy file named `D' -- because `-MD' means `put the output
2984 # Copy depcomp to subdir because otherwise we won't find it if we're
2985 # using a relative directory.
2986 cp "$am_depcomp" conftest.dir
2988 # We will build objects and dependencies in a subdirectory because
2989 # it helps to detect inapplicable dependency modes. For instance
2990 # both Tru64's cc and ICC support -MD to output dependencies as a
2991 # side effect of compilation, but ICC will put the dependencies in
2992 # the current directory while Tru64 will put them in the object
2996 am_cv_CC_dependencies_compiler_type
=none
2997 if test "$am_compiler_list" = ""; then
2998 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3000 for depmode
in $am_compiler_list; do
3001 # Setup a source with many dependencies, because some compilers
3002 # like to wrap large dependency lists on column 80 (with \), and
3003 # we should not choose a depcomp mode which is confused by this.
3005 # We need to recreate these files for each test, as the compiler may
3006 # overwrite some of them when testing with obscure command lines.
3007 # This happens at least with the AIX C compiler.
3009 for i
in 1 2 3 4 5 6; do
3010 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3011 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3012 # Solaris 8's {/usr,}/bin/sh.
3013 touch sub
/conftst
$i.h
3015 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3019 # after this tag, mechanisms are not by side-effect, so they'll
3020 # only be used when explicitly requested
3021 if test "x$enable_dependency_tracking" = xyes
; then
3029 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3030 # mode. It turns out that the SunPro C++ compiler does not properly
3031 # handle `-M -o', and we need to detect this.
3032 if depmode
=$depmode \
3033 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3034 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3035 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3036 >/dev
/null
2>conftest.err
&&
3037 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3038 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3039 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3040 # icc doesn't choke on unknown options, it will just issue warnings
3041 # or remarks (even with -Werror). So we grep stderr for any message
3042 # that says an option was ignored or not supported.
3043 # When given -MP, icc 7.0 and 7.1 complain thusly:
3044 # icc: Command line warning: ignoring option '-M'; no argument required
3045 # The diagnosis changed in icc 8.0:
3046 # icc: Command line remark: option '-MP' not supported
3047 if (grep 'ignoring option' conftest.err ||
3048 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3049 am_cv_CC_dependencies_compiler_type
=$depmode
3058 am_cv_CC_dependencies_compiler_type
=none
3062 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3063 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3064 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3069 test "x$enable_dependency_tracking" != xno \
3070 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3072 am__fastdepCC_FALSE
='#'
3074 am__fastdepCC_TRUE
='#'
3075 am__fastdepCC_FALSE
=
3081 if test -n "$ac_tool_prefix"; then
3082 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3083 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3084 echo "$as_me:$LINENO: checking for $ac_word" >&5
3085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3086 if test "${ac_cv_prog_AR+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3089 if test -n "$AR"; then
3090 ac_cv_prog_AR
="$AR" # Let the user override the test.
3092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir
=.
3097 for ac_exec_ext
in '' $ac_executable_extensions; do
3098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3099 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3109 if test -n "$AR"; then
3110 echo "$as_me:$LINENO: result: $AR" >&5
3111 echo "${ECHO_T}$AR" >&6
3113 echo "$as_me:$LINENO: result: no" >&5
3114 echo "${ECHO_T}no" >&6
3118 if test -z "$ac_cv_prog_AR"; then
3120 # Extract the first word of "ar", so it can be a program name with args.
3121 set dummy
ar; ac_word
=$2
3122 echo "$as_me:$LINENO: checking for $ac_word" >&5
3123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3124 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3125 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 if test -n "$ac_ct_AR"; then
3128 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir
=.
3135 for ac_exec_ext
in '' $ac_executable_extensions; do
3136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137 ac_cv_prog_ac_ct_AR
="ar"
3138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3147 if test -n "$ac_ct_AR"; then
3148 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3149 echo "${ECHO_T}$ac_ct_AR" >&6
3151 echo "$as_me:$LINENO: result: no" >&5
3152 echo "${ECHO_T}no" >&6
3160 if test -n "$ac_tool_prefix"; then
3161 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3162 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3163 echo "$as_me:$LINENO: checking for $ac_word" >&5
3164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3165 if test "${ac_cv_prog_RANLIB+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 if test -n "$RANLIB"; then
3169 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3175 test -z "$as_dir" && as_dir
=.
3176 for ac_exec_ext
in '' $ac_executable_extensions; do
3177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 RANLIB
=$ac_cv_prog_RANLIB
3188 if test -n "$RANLIB"; then
3189 echo "$as_me:$LINENO: result: $RANLIB" >&5
3190 echo "${ECHO_T}$RANLIB" >&6
3192 echo "$as_me:$LINENO: result: no" >&5
3193 echo "${ECHO_T}no" >&6
3197 if test -z "$ac_cv_prog_RANLIB"; then
3198 ac_ct_RANLIB
=$RANLIB
3199 # Extract the first word of "ranlib", so it can be a program name with args.
3200 set dummy ranlib
; ac_word
=$2
3201 echo "$as_me:$LINENO: checking for $ac_word" >&5
3202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3203 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 if test -n "$ac_ct_RANLIB"; then
3207 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir
=.
3214 for ac_exec_ext
in '' $ac_executable_extensions; do
3215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3226 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3227 if test -n "$ac_ct_RANLIB"; then
3228 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3229 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3231 echo "$as_me:$LINENO: result: no" >&5
3232 echo "${ECHO_T}no" >&6
3235 RANLIB
=$ac_ct_RANLIB
3237 RANLIB
="$ac_cv_prog_RANLIB"
3241 # Check whether --enable-shared or --disable-shared was given.
3242 if test "${enable_shared+set}" = set; then
3243 enableval
="$enable_shared"
3244 p
=${PACKAGE-default}
3246 yes) enable_shared
=yes ;;
3247 no
) enable_shared
=no
;;
3250 # Look at the argument we got. We use all the common list separators.
3251 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3252 for pkg
in $enableval; do
3253 if test "X$pkg" = "X$p"; then
3265 ac_cpp
='$CPP $CPPFLAGS'
3266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3269 if test -n "$ac_tool_prefix"; then
3270 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3271 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3272 echo "$as_me:$LINENO: checking for $ac_word" >&5
3273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3274 if test "${ac_cv_prog_CC+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3277 if test -n "$CC"; then
3278 ac_cv_prog_CC
="$CC" # Let the user override the test.
3280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir
=.
3285 for ac_exec_ext
in '' $ac_executable_extensions; do
3286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3287 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 if test -n "$CC"; then
3298 echo "$as_me:$LINENO: result: $CC" >&5
3299 echo "${ECHO_T}$CC" >&6
3301 echo "$as_me:$LINENO: result: no" >&5
3302 echo "${ECHO_T}no" >&6
3306 if test -z "$ac_cv_prog_CC"; then
3308 # Extract the first word of "gcc", so it can be a program name with args.
3309 set dummy gcc
; ac_word
=$2
3310 echo "$as_me:$LINENO: checking for $ac_word" >&5
3311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3312 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 if test -n "$ac_ct_CC"; then
3316 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3322 test -z "$as_dir" && as_dir
=.
3323 for ac_exec_ext
in '' $ac_executable_extensions; do
3324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3325 ac_cv_prog_ac_ct_CC
="gcc"
3326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3334 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3335 if test -n "$ac_ct_CC"; then
3336 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3337 echo "${ECHO_T}$ac_ct_CC" >&6
3339 echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3348 if test -z "$CC"; then
3349 if test -n "$ac_tool_prefix"; then
3350 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3351 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3352 echo "$as_me:$LINENO: checking for $ac_word" >&5
3353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3354 if test "${ac_cv_prog_CC+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3357 if test -n "$CC"; then
3358 ac_cv_prog_CC
="$CC" # Let the user override the test.
3360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3364 test -z "$as_dir" && as_dir
=.
3365 for ac_exec_ext
in '' $ac_executable_extensions; do
3366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3367 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3377 if test -n "$CC"; then
3378 echo "$as_me:$LINENO: result: $CC" >&5
3379 echo "${ECHO_T}$CC" >&6
3381 echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6
3386 if test -z "$ac_cv_prog_CC"; then
3388 # Extract the first word of "cc", so it can be a program name with args.
3389 set dummy cc
; ac_word
=$2
3390 echo "$as_me:$LINENO: checking for $ac_word" >&5
3391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 if test -n "$ac_ct_CC"; then
3396 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3402 test -z "$as_dir" && as_dir
=.
3403 for ac_exec_ext
in '' $ac_executable_extensions; do
3404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3405 ac_cv_prog_ac_ct_CC
="cc"
3406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3415 if test -n "$ac_ct_CC"; then
3416 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3417 echo "${ECHO_T}$ac_ct_CC" >&6
3419 echo "$as_me:$LINENO: result: no" >&5
3420 echo "${ECHO_T}no" >&6
3429 if test -z "$CC"; then
3430 # Extract the first word of "cc", so it can be a program name with args.
3431 set dummy cc
; ac_word
=$2
3432 echo "$as_me:$LINENO: checking for $ac_word" >&5
3433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3434 if test "${ac_cv_prog_CC+set}" = set; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 if test -n "$CC"; then
3438 ac_cv_prog_CC
="$CC" # Let the user override the test.
3441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3445 test -z "$as_dir" && as_dir
=.
3446 for ac_exec_ext
in '' $ac_executable_extensions; do
3447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3449 ac_prog_rejected
=yes
3453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3459 if test $ac_prog_rejected = yes; then
3460 # We found a bogon in the path, so make sure we never use it.
3461 set dummy
$ac_cv_prog_CC
3463 if test $# != 0; then
3464 # We chose a different compiler from the bogus one.
3465 # However, it has the same basename, so the bogon will be chosen
3466 # first if we set CC to just the basename; use the full file name.
3468 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3474 if test -n "$CC"; then
3475 echo "$as_me:$LINENO: result: $CC" >&5
3476 echo "${ECHO_T}$CC" >&6
3478 echo "$as_me:$LINENO: result: no" >&5
3479 echo "${ECHO_T}no" >&6
3483 if test -z "$CC"; then
3484 if test -n "$ac_tool_prefix"; then
3487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3488 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3489 echo "$as_me:$LINENO: checking for $ac_word" >&5
3490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3491 if test "${ac_cv_prog_CC+set}" = set; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 if test -n "$CC"; then
3495 ac_cv_prog_CC
="$CC" # Let the user override the test.
3497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3501 test -z "$as_dir" && as_dir
=.
3502 for ac_exec_ext
in '' $ac_executable_extensions; do
3503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3504 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3514 if test -n "$CC"; then
3515 echo "$as_me:$LINENO: result: $CC" >&5
3516 echo "${ECHO_T}$CC" >&6
3518 echo "$as_me:$LINENO: result: no" >&5
3519 echo "${ECHO_T}no" >&6
3522 test -n "$CC" && break
3525 if test -z "$CC"; then
3529 # Extract the first word of "$ac_prog", so it can be a program name with args.
3530 set dummy
$ac_prog; ac_word
=$2
3531 echo "$as_me:$LINENO: checking for $ac_word" >&5
3532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3533 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 if test -n "$ac_ct_CC"; then
3537 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3543 test -z "$as_dir" && as_dir
=.
3544 for ac_exec_ext
in '' $ac_executable_extensions; do
3545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3546 ac_cv_prog_ac_ct_CC
="$ac_prog"
3547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3555 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3556 if test -n "$ac_ct_CC"; then
3557 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3558 echo "${ECHO_T}$ac_ct_CC" >&6
3560 echo "$as_me:$LINENO: result: no" >&5
3561 echo "${ECHO_T}no" >&6
3564 test -n "$ac_ct_CC" && break
3573 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3574 See \`config.log' for more details." >&5
3575 echo "$as_me: error: no acceptable C compiler found in \$PATH
3576 See \`config.log' for more details." >&2;}
3577 { (exit 1); exit 1; }; }
3579 # Provide some information about the compiler.
3580 echo "$as_me:$LINENO:" \
3581 "checking for C compiler version" >&5
3582 ac_compiler
=`set X $ac_compile; echo $2`
3583 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3584 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); }
3588 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3589 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }
3593 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3594 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }
3599 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3600 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3601 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3602 echo $ECHO_N "(cached) $ECHO_C" >&6
3604 cat >conftest.
$ac_ext <<_ACEOF
3607 cat confdefs.h
>>conftest.
$ac_ext
3608 cat >>conftest.
$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3622 rm -f conftest.
$ac_objext
3623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3624 (eval $ac_compile) 2>conftest.er1
3626 grep -v '^ *+' conftest.er1
>conftest.err
3628 cat conftest.err
>&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); } &&
3631 { ac_try
='test -z "$ac_c_werror_flag"
3632 || test ! -s conftest.err'
3633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); }; } &&
3638 { ac_try
='test -s conftest.$ac_objext'
3639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); }; }; then
3646 echo "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.
$ac_ext >&5
3651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3652 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3655 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3656 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3657 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3658 ac_test_CFLAGS
=${CFLAGS+set}
3659 ac_save_CFLAGS
=$CFLAGS
3661 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3663 if test "${ac_cv_prog_cc_g+set}" = set; then
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 cat >conftest.
$ac_ext <<_ACEOF
3669 cat confdefs.h
>>conftest.
$ac_ext
3670 cat >>conftest.
$ac_ext <<_ACEOF
3671 /* end confdefs.h. */
3681 rm -f conftest.
$ac_objext
3682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3683 (eval $ac_compile) 2>conftest.er1
3685 grep -v '^ *+' conftest.er1
>conftest.err
3687 cat conftest.err
>&5
3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); } &&
3690 { ac_try
='test -z "$ac_c_werror_flag"
3691 || test ! -s conftest.err'
3692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; } &&
3697 { ac_try
='test -s conftest.$ac_objext'
3698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); }; }; then
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.
$ac_ext >&5
3710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3714 if test "$ac_test_CFLAGS" = set; then
3715 CFLAGS
=$ac_save_CFLAGS
3716 elif test $ac_cv_prog_cc_g = yes; then
3717 if test "$GCC" = yes; then
3723 if test "$GCC" = yes; then
3729 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3730 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3731 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 ac_cv_prog_cc_stdc
=no
3736 cat >conftest.
$ac_ext <<_ACEOF
3739 cat confdefs.h
>>conftest.
$ac_ext
3740 cat >>conftest.
$ac_ext <<_ACEOF
3741 /* end confdefs.h. */
3744 #include <sys/types.h>
3745 #include <sys/stat.h>
3746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3747 struct buf { int x; };
3748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3749 static char *e (p, i)
3755 static char *f (char * (*g) (char **, int), char **p, ...)
3760 s = g (p, va_arg (v,int));
3765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3766 function prototypes and stuff, but not '\xHH' hex character constants.
3767 These don't provoke an error unfortunately, instead are silently treated
3768 as 'x'. The following induces an error, until -std1 is added to get
3769 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3770 array size at least. It's necessary to write '\x00'==0 to get something
3771 that's true only with -std1. */
3772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3774 int test (int i, double x);
3775 struct s1 {int (*f) (int a);};
3776 struct s2 {int (*f) (double a);};
3777 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3783 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3788 # Don't try gcc -ansi; that turns off useful extensions and
3789 # breaks some systems' header files.
3790 # AIX -qlanglvl=ansi
3791 # Ultrix and OSF/1 -std1
3792 # HP-UX 10.20 and later -Ae
3793 # HP-UX older versions -Aa -D_HPUX_SOURCE
3794 # SVR4 -Xc -D__EXTENSIONS__
3795 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3797 CC
="$ac_save_CC $ac_arg"
3798 rm -f conftest.
$ac_objext
3799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3800 (eval $ac_compile) 2>conftest.er1
3802 grep -v '^ *+' conftest.er1
>conftest.err
3804 cat conftest.err
>&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); } &&
3807 { ac_try
='test -z "$ac_c_werror_flag"
3808 || test ! -s conftest.err'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; } &&
3814 { ac_try
='test -s conftest.$ac_objext'
3815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); }; }; then
3820 ac_cv_prog_cc_stdc
=$ac_arg
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.
$ac_ext >&5
3827 rm -f conftest.err conftest.
$ac_objext
3829 rm -f conftest.
$ac_ext conftest.
$ac_objext
3834 case "x$ac_cv_prog_cc_stdc" in
3836 echo "$as_me:$LINENO: result: none needed" >&5
3837 echo "${ECHO_T}none needed" >&6 ;;
3839 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3840 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3841 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3844 # Some people use a C++ compiler to compile C. Since we use `exit',
3845 # in C++ we need to declare it. In case someone uses the same compiler
3846 # for both compiling C and C++ we need to have the C++ compiler decide
3847 # the declaration of exit, since it's the most demanding environment.
3848 cat >conftest.
$ac_ext <<_ACEOF
3853 rm -f conftest.
$ac_objext
3854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3855 (eval $ac_compile) 2>conftest.er1
3857 grep -v '^ *+' conftest.er1
>conftest.err
3859 cat conftest.err
>&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); } &&
3862 { ac_try
='test -z "$ac_c_werror_flag"
3863 || test ! -s conftest.err'
3864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); }; } &&
3869 { ac_try
='test -s conftest.$ac_objext'
3870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); }; }; then
3875 for ac_declaration
in \
3877 'extern "C" void std::exit (int) throw (); using std::exit;' \
3878 'extern "C" void std::exit (int); using std::exit;' \
3879 'extern "C" void exit (int) throw ();' \
3880 'extern "C" void exit (int);' \
3883 cat >conftest.
$ac_ext <<_ACEOF
3886 cat confdefs.h
>>conftest.
$ac_ext
3887 cat >>conftest.
$ac_ext <<_ACEOF
3888 /* end confdefs.h. */
3899 rm -f conftest.
$ac_objext
3900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3901 (eval $ac_compile) 2>conftest.er1
3903 grep -v '^ *+' conftest.er1
>conftest.err
3905 cat conftest.err
>&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } &&
3908 { ac_try
='test -z "$ac_c_werror_flag"
3909 || test ! -s conftest.err'
3910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }; } &&
3915 { ac_try
='test -s conftest.$ac_objext'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.
$ac_ext >&5
3928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3929 cat >conftest.
$ac_ext <<_ACEOF
3932 cat confdefs.h
>>conftest.
$ac_ext
3933 cat >>conftest.
$ac_ext <<_ACEOF
3934 /* end confdefs.h. */
3944 rm -f conftest.
$ac_objext
3945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3946 (eval $ac_compile) 2>conftest.er1
3948 grep -v '^ *+' conftest.er1
>conftest.err
3950 cat conftest.err
>&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); } &&
3953 { ac_try
='test -z "$ac_c_werror_flag"
3954 || test ! -s conftest.err'
3955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); }; } &&
3960 { ac_try
='test -s conftest.$ac_objext'
3961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); }; }; then
3968 echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.
$ac_ext >&5
3972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3975 if test -n "$ac_declaration"; then
3976 echo '#ifdef __cplusplus' >>confdefs.h
3977 echo $ac_declaration >>confdefs.h
3978 echo '#endif' >>confdefs.h
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.
$ac_ext >&5
3986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3988 ac_cpp
='$CPP $CPPFLAGS'
3989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3994 cat >>confdefs.h
<<\_ACEOF
3995 #define _GNU_SOURCE 1
4000 # Check whether --enable-static or --disable-static was given.
4001 if test "${enable_static+set}" = set; then
4002 enableval
="$enable_static"
4003 p
=${PACKAGE-default}
4005 yes) enable_static
=yes ;;
4006 no
) enable_static
=no
;;
4009 # Look at the argument we got. We use all the common list separators.
4010 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4011 for pkg
in $enableval; do
4012 if test "X$pkg" = "X$p"; then
4022 # Check whether --enable-fast-install or --disable-fast-install was given.
4023 if test "${enable_fast_install+set}" = set; then
4024 enableval
="$enable_fast_install"
4025 p
=${PACKAGE-default}
4027 yes) enable_fast_install
=yes ;;
4028 no
) enable_fast_install
=no
;;
4030 enable_fast_install
=no
4031 # Look at the argument we got. We use all the common list separators.
4032 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
4033 for pkg
in $enableval; do
4034 if test "X$pkg" = "X$p"; then
4035 enable_fast_install
=yes
4042 enable_fast_install
=yes
4045 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4046 if test "${with_gnu_ld+set}" = set; then
4047 withval
="$with_gnu_ld"
4048 test "$withval" = no || with_gnu_ld
=yes
4053 if test "$GCC" = yes; then
4054 # Check if gcc -print-prog-name=ld gives a path.
4055 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4056 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4059 # gcc leaves a trailing carriage return which upsets mingw
4060 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4062 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4065 # Accept absolute paths.
4066 [\\/]* |
[A-Za-z
]:[\\/]*)
4067 re_direlt
='/[^/][^/]*/\.\./'
4068 # Canonicalize the path of ld
4069 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
4070 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4071 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
4073 test -z "$LD" && LD
="$ac_prog"
4076 # If it fails, then pretend we aren't using GCC.
4080 # If it is relative, then search for the first ld in PATH.
4084 elif test "$with_gnu_ld" = yes; then
4085 echo "$as_me:$LINENO: checking for GNU ld" >&5
4086 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4088 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4089 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4091 if test "${lt_cv_path_LD+set}" = set; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 if test -z "$LD"; then
4095 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4096 for ac_dir
in $PATH; do
4097 test -z "$ac_dir" && ac_dir
=.
4098 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4099 lt_cv_path_LD
="$ac_dir/$ac_prog"
4100 # Check to see if the program is GNU ld. I'd rather use --version,
4101 # but apparently some GNU ld's only accept -v.
4102 # Break only if it was the GNU/non-GNU ld that we prefer.
4103 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
4104 test "$with_gnu_ld" != no
&& break
4106 test "$with_gnu_ld" != yes && break
4112 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4117 if test -n "$LD"; then
4118 echo "$as_me:$LINENO: result: $LD" >&5
4119 echo "${ECHO_T}$LD" >&6
4121 echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6
4124 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4125 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4126 { (exit 1); exit 1; }; }
4127 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4128 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4129 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4133 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4134 lt_cv_prog_gnu_ld
=yes
4136 lt_cv_prog_gnu_ld
=no
4139 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4140 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4141 with_gnu_ld
=$lt_cv_prog_gnu_ld
4144 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4145 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4146 if test "${lt_cv_ld_reload_flag+set}" = set; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 lt_cv_ld_reload_flag
='-r'
4151 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4152 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4153 reload_flag
=$lt_cv_ld_reload_flag
4154 test -n "$reload_flag" && reload_flag
=" $reload_flag"
4156 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4157 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4158 if test "${lt_cv_path_NM+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 if test -n "$NM"; then
4162 # Let the user override the test.
4165 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4166 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
4167 test -z "$ac_dir" && ac_dir
=.
4168 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
4169 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
4170 # Check to see if the nm accepts a BSD-compat flag.
4171 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4172 # nm: unknown option "B" ignored
4173 # Tru64's nm complains that /dev/null is an invalid object file
4174 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
4175 lt_cv_path_NM
="$tmp_nm -B"
4177 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
4178 lt_cv_path_NM
="$tmp_nm -p"
4181 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4182 continue # so that we can try to find one that supports BSD flags
4187 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4192 echo "$as_me:$LINENO: result: $NM" >&5
4193 echo "${ECHO_T}$NM" >&6
4195 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4196 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4198 if test "$LN_S" = "ln -s"; then
4199 echo "$as_me:$LINENO: result: yes" >&5
4200 echo "${ECHO_T}yes" >&6
4202 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4203 echo "${ECHO_T}no, using $LN_S" >&6
4206 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4207 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4208 if test "${lt_cv_deplibs_check_method+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4212 lt_cv_file_magic_test_file
=
4213 lt_cv_deplibs_check_method
='unknown'
4214 # Need to set the preceding variable on all platforms that support
4215 # interlibrary dependencies.
4216 # 'none' -- dependencies not supported.
4217 # `unknown' -- same as none, but documents that we really don't know.
4218 # 'pass_all' -- all dependencies passed with no checks.
4219 # 'test_compile' -- check by making test program.
4220 # 'file_magic [regex]' -- check by looking for files in library path
4221 # which responds to the $file_magic_cmd with a given egrep regex.
4222 # If you have `file' or equivalent on your system and you're not sure
4223 # whether `pass_all' will *always* work, you probably want this one.
4227 lt_cv_deplibs_check_method
=pass_all
4231 lt_cv_deplibs_check_method
=pass_all
4235 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4236 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4237 lt_cv_file_magic_test_file
=/shlib
/libc.so
4240 cygwin
* | mingw
* |pw32
*)
4241 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4242 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4245 darwin
* | rhapsody
*)
4246 # this will be overwritten by pass_all, but leave it in just in case
4247 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
4248 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4250 rhapsody
* | darwin1.012
)
4251 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
4254 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
4257 lt_cv_deplibs_check_method
=pass_all
4260 freebsd
* | kfreebsd
*-gnu)
4261 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4264 # Not sure whether the presence of OpenBSD here was a mistake.
4265 # Let's accept both of them until this is cleared up.
4266 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4267 lt_cv_file_magic_cmd
=/usr
/bin
/file
4268 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4272 lt_cv_deplibs_check_method
=pass_all
4277 lt_cv_deplibs_check_method
=pass_all
4283 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4284 lt_cv_file_magic_cmd
=/usr
/bin
/file
4285 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4288 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4289 lt_cv_file_magic_cmd
=/usr
/bin
/file
4290 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4298 # this will be overridden with pass_all, but let us keep it just in case
4299 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4303 *-32|
*"-32 ") libmagic
=32-bit;;
4304 *-n32|
*"-n32 ") libmagic
=N32
;;
4305 *-64|
*"-64 ") libmagic
=64-bit;;
4306 *) libmagic
=never-match
;;
4308 # this will be overridden with pass_all, but let us keep it just in case
4309 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4312 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
4313 lt_cv_deplibs_check_method
=pass_all
4316 # This must be Linux ELF.
4318 lt_cv_deplibs_check_method
=pass_all
4321 netbsd
* | knetbsd
*-gnu)
4322 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4323 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4325 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
4330 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4331 lt_cv_file_magic_cmd
=/usr
/bin
/file
4332 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4335 osf3
* | osf4
* | osf5
*)
4336 # this will be overridden with pass_all, but let us keep it just in case
4337 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
4338 lt_cv_file_magic_test_file
=/shlib
/libc.so
4339 lt_cv_deplibs_check_method
=pass_all
4343 lt_cv_deplibs_check_method
=pass_all
4347 lt_cv_deplibs_check_method
=pass_all
4348 lt_cv_file_magic_test_file
=/lib
/libc.so
4351 sysv5uw
[78]* | sysv4
*uw2
*)
4352 lt_cv_deplibs_check_method
=pass_all
4355 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
4356 case $host_vendor in
4358 lt_cv_deplibs_check_method
=pass_all
4361 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4362 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4369 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4370 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4371 file_magic_cmd
=$lt_cv_file_magic_cmd
4372 deplibs_check_method
=$lt_cv_deplibs_check_method
4377 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4379 # find the maximum length of command line arguments
4380 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4381 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4382 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4383 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 # On DJGPP, this test can blow up pretty badly due to problems in libc
4391 # (any single argument exceeding 2000 bytes causes a buffer overrun
4392 # during glob expansion). Even if it were fixed, the result of this
4393 # check would be larger than it should be.
4394 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4398 # On Win9x/ME, this test blows up -- it succeeds, but takes
4399 # about 5 minutes as the teststring grows exponentially.
4400 # Worse, since 9x/ME are not pre-emptively multitasking,
4401 # you end up with a "frozen" computer, even though with patience
4402 # the test eventually succeeds (with a max line length of 256k).
4403 # Instead, let's just punt: use the minimum linelength reported by
4404 # all of the supported platforms: 8192 (on NT/2K/XP).
4405 lt_cv_sys_max_cmd_len
=8192;
4409 # On AmigaOS with pdksh, this test takes hours, literally.
4410 # So we just punt and use a minimum line length of 8192.
4411 lt_cv_sys_max_cmd_len
=8192;
4414 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4415 # This has been around since 386BSD, at least. Likely further.
4416 if test -x /sbin
/sysctl
; then
4417 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4418 elif test -x /usr
/sbin
/sysctl
; then
4419 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4421 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
4423 # And add a safety zone
4424 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4425 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4431 if test -n "$lt_cv_sys_max_cmd_len" ; then
4432 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4433 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4435 echo "$as_me:$LINENO: result: none" >&5
4436 echo "${ECHO_T}none" >&6
4440 # Only perform the check for file, if the check method requires it
4441 case $deplibs_check_method in
4443 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4444 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4445 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4446 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4454 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4457 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4458 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4459 ac_dummy
="/usr/bin:$PATH"
4460 for ac_dir
in $ac_dummy; do
4461 test -z "$ac_dir" && ac_dir
=.
4462 if test -f $ac_dir/${ac_tool_prefix}file; then
4463 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
4464 if test -n "$file_magic_test_file"; then
4465 case $deplibs_check_method in
4467 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4468 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4469 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4470 egrep "$file_magic_regex" > /dev
/null
; then
4475 *** Warning: the command libtool uses to detect shared libraries,
4476 *** $file_magic_cmd, produces output that libtool cannot recognize.
4477 *** The result is that libtool may fail to recognize shared libraries
4478 *** as such. This will affect the creation of libtool libraries that
4479 *** depend on shared libraries, but programs linked with such libtool
4480 *** libraries will work regardless of this problem. Nevertheless, you
4481 *** may want to report the problem to your system manager and/or to
4482 *** bug-libtool@gnu.org
4492 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4497 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4498 if test -n "$MAGIC_CMD"; then
4499 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4500 echo "${ECHO_T}$MAGIC_CMD" >&6
4502 echo "$as_me:$LINENO: result: no" >&5
4503 echo "${ECHO_T}no" >&6
4506 if test -z "$lt_cv_path_MAGIC_CMD"; then
4507 if test -n "$ac_tool_prefix"; then
4508 echo "$as_me:$LINENO: checking for file" >&5
4509 echo $ECHO_N "checking for file... $ECHO_C" >&6
4510 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4515 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4518 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4521 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4522 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4523 ac_dummy
="/usr/bin:$PATH"
4524 for ac_dir
in $ac_dummy; do
4525 test -z "$ac_dir" && ac_dir
=.
4526 if test -f $ac_dir/file; then
4527 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4528 if test -n "$file_magic_test_file"; then
4529 case $deplibs_check_method in
4531 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4532 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4533 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4534 egrep "$file_magic_regex" > /dev
/null
; then
4539 *** Warning: the command libtool uses to detect shared libraries,
4540 *** $file_magic_cmd, produces output that libtool cannot recognize.
4541 *** The result is that libtool may fail to recognize shared libraries
4542 *** as such. This will affect the creation of libtool libraries that
4543 *** depend on shared libraries, but programs linked with such libtool
4544 *** libraries will work regardless of this problem. Nevertheless, you
4545 *** may want to report the problem to your system manager and/or to
4546 *** bug-libtool@gnu.org
4556 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4561 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4562 if test -n "$MAGIC_CMD"; then
4563 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4564 echo "${ECHO_T}$MAGIC_CMD" >&6
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4579 if test -n "$ac_tool_prefix"; then
4580 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4581 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4582 echo "$as_me:$LINENO: checking for $ac_word" >&5
4583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4584 if test "${ac_cv_prog_RANLIB+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 if test -n "$RANLIB"; then
4588 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4597 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 RANLIB
=$ac_cv_prog_RANLIB
4607 if test -n "$RANLIB"; then
4608 echo "$as_me:$LINENO: result: $RANLIB" >&5
4609 echo "${ECHO_T}$RANLIB" >&6
4611 echo "$as_me:$LINENO: result: no" >&5
4612 echo "${ECHO_T}no" >&6
4616 if test -z "$ac_cv_prog_RANLIB"; then
4617 ac_ct_RANLIB
=$RANLIB
4618 # Extract the first word of "ranlib", so it can be a program name with args.
4619 set dummy ranlib
; ac_word
=$2
4620 echo "$as_me:$LINENO: checking for $ac_word" >&5
4621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4622 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 if test -n "$ac_ct_RANLIB"; then
4626 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir
=.
4633 for ac_exec_ext
in '' $ac_executable_extensions; do
4634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4645 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4646 if test -n "$ac_ct_RANLIB"; then
4647 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4648 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4654 RANLIB
=$ac_ct_RANLIB
4656 RANLIB
="$ac_cv_prog_RANLIB"
4659 if test -n "$ac_tool_prefix"; then
4660 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4661 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4662 echo "$as_me:$LINENO: checking for $ac_word" >&5
4663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4664 if test "${ac_cv_prog_STRIP+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 if test -n "$STRIP"; then
4668 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 STRIP
=$ac_cv_prog_STRIP
4687 if test -n "$STRIP"; then
4688 echo "$as_me:$LINENO: result: $STRIP" >&5
4689 echo "${ECHO_T}$STRIP" >&6
4691 echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6
4696 if test -z "$ac_cv_prog_STRIP"; then
4698 # Extract the first word of "strip", so it can be a program name with args.
4699 set dummy strip
; ac_word
=$2
4700 echo "$as_me:$LINENO: checking for $ac_word" >&5
4701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4702 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4705 if test -n "$ac_ct_STRIP"; then
4706 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4712 test -z "$as_dir" && as_dir
=.
4713 for ac_exec_ext
in '' $ac_executable_extensions; do
4714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4715 ac_cv_prog_ac_ct_STRIP
="strip"
4716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4725 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4726 if test -n "$ac_ct_STRIP"; then
4727 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4728 echo "${ECHO_T}$ac_ct_STRIP" >&6
4730 echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6
4736 STRIP
="$ac_cv_prog_STRIP"
4740 # Check for any special flags to pass to ltconfig.
4741 libtool_flags
="--cache-file=$cache_file"
4742 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4743 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4744 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4745 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4746 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4749 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4750 if test "${enable_libtool_lock+set}" = set; then
4751 enableval
="$enable_libtool_lock"
4754 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4755 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4758 # Check whether --with-pic or --without-pic was given.
4759 if test "${with_pic+set}" = set; then
4765 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4766 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4768 # Some flags need to be propagated to the compiler or linker for good
4772 # Find out which ABI we are using.
4773 echo '#line 4773 "configure"' > conftest.
$ac_ext
4774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4775 (eval $ac_compile) 2>&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; then
4779 if test "$lt_cv_prog_gnu_ld" = yes; then
4780 case `/usr/bin/file conftest.$ac_objext` in
4782 LD
="${LD-ld} -melf32bsmip"
4785 LD
="${LD-ld} -melf32bmipn32"
4788 LD
="${LD-ld} -melf64bmip"
4792 case `/usr/bin/file conftest.$ac_objext` in
4809 # Find out which ABI we are using.
4810 echo 'int i;' > conftest.
$ac_ext
4811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4812 (eval $ac_compile) 2>&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); }; then
4816 case "`/usr/bin/file conftest.o`" in
4828 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4829 # Find out which ABI we are using.
4830 echo 'int i;' > conftest.
$ac_ext
4831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4832 (eval $ac_compile) 2>&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); }; then
4836 case "`/usr/bin/file conftest.o`" in
4840 LD
="${LD-ld} -m elf_i386"
4842 ppc64-
*linux
*|powerpc64-
*linux
*)
4843 LD
="${LD-ld} -m elf32ppclinux"
4846 LD
="${LD-ld} -m elf_s390"
4849 LD
="${LD-ld} -m elf32_sparc"
4856 LD
="${LD-ld} -m elf_x86_64"
4858 ppc
*-*linux
*|powerpc
*-*linux
*)
4859 LD
="${LD-ld} -m elf64ppc"
4862 LD
="${LD-ld} -m elf64_s390"
4865 LD
="${LD-ld} -m elf64_sparc"
4875 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4876 SAVE_CFLAGS
="$CFLAGS"
4877 CFLAGS
="$CFLAGS -belf"
4878 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4879 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4880 if test "${lt_cv_cc_needs_belf+set}" = set; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4886 ac_cpp
='$CPP $CPPFLAGS'
4887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4891 cat >conftest.
$ac_ext <<_ACEOF
4894 cat confdefs.h
>>conftest.
$ac_ext
4895 cat >>conftest.
$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4906 rm -f conftest.
$ac_objext conftest
$ac_exeext
4907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4908 (eval $ac_link) 2>conftest.er1
4910 grep -v '^ *+' conftest.er1
>conftest.err
4912 cat conftest.err
>&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); } &&
4915 { ac_try
='test -z "$ac_c_werror_flag"
4916 || test ! -s conftest.err'
4917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }; } &&
4922 { ac_try
='test -s conftest$ac_exeext'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; }; then
4928 lt_cv_cc_needs_belf
=yes
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.
$ac_ext >&5
4933 lt_cv_cc_needs_belf
=no
4935 rm -f conftest.err conftest.
$ac_objext \
4936 conftest
$ac_exeext conftest.
$ac_ext
4938 ac_cpp
='$CPP $CPPFLAGS'
4939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4944 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4945 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4946 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4947 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4948 CFLAGS
="$SAVE_CFLAGS"
4956 # Save cache, so that ltconfig can load it
4957 cat >confcache
<<\_ACEOF
4958 # This file is a shell script that caches the results of configure
4959 # tests run on this system so they can be shared between configure
4960 # scripts and configure runs, see configure's option --config-cache.
4961 # It is not useful on other systems. If it contains results you don't
4962 # want to keep, you may remove or edit it.
4964 # config.status only pays attention to the cache file if you give it
4965 # the --recheck option to rerun configure.
4967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4973 # The following way of writing the cache mishandles newlines in values,
4974 # but we know of no workaround that is simple, portable, and efficient.
4975 # So, don't put newlines in cache variables' values.
4976 # Ultrix sh set writes to stderr and can't be redirected directly,
4977 # and sets the high bit in the cache file unless we assign to the vars.
4980 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4982 # `set' does not quote correctly, so add quotes (double-quote
4983 # substitution turns \\\\ into \\, and sed turns \\ into \).
4986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4989 # `set' quotes correctly as required by POSIX, so do not add quotes.
4991 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5000 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5002 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5003 if test -w $cache_file; then
5004 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5005 cat confcache
>$cache_file
5007 echo "not updating unwritable cache $cache_file"
5012 # Actually configure libtool. ac_aux_dir is where install-sh is found.
5013 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
5014 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
5015 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
5016 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
5017 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
5018 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
5019 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
5020 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
5021 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
5022 echo "$as_me: error: libtool configure failed" >&2;}
5023 { (exit 1); exit 1; }; }
5025 # Reload cache, that may have been modified by ltconfig
5026 if test -r "$cache_file"; then
5027 # Some versions of bash will fail to source /dev/null (special
5028 # files actually), so we avoid doing that.
5029 if test -f "$cache_file"; then
5030 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5031 echo "$as_me: loading cache $cache_file" >&6;}
5033 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
5034 *) . .
/$cache_file;;
5038 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5039 echo "$as_me: creating cache $cache_file" >&6;}
5044 # This can be used to rebuild libtool when needed
5045 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5047 # Always use our own libtool.
5048 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
5050 # Redirect the config.log output again, so that the ltconfig log is not
5051 # clobbered by the next message.
5052 exec 5>>.
/config.log
5060 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
5061 if test "${enable_64_bit_bfd+set}" = set; then
5062 enableval
="$enable_64_bit_bfd"
5063 case "${enableval}" in
5066 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
5067 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
5068 { (exit 1); exit 1; }; } ;;
5072 fi; # Check whether --enable-targets or --disable-targets was given.
5073 if test "${enable_targets+set}" = set; then
5074 enableval
="$enable_targets"
5075 case "${enableval}" in
5076 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
5077 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
5078 { (exit 1); exit 1; }; }
5080 no
) enable_targets
= ;;
5081 *) enable_targets
=$enableval ;;
5083 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
5084 if test "${enable_commonbfdlib+set}" = set; then
5085 enableval
="$enable_commonbfdlib"
5086 case "${enableval}" in
5087 yes) commonbfdlib
=true
;;
5088 no
) commonbfdlib
=false
;;
5089 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
5090 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
5091 { (exit 1); exit 1; }; } ;;
5094 # Check whether --with-mmap or --without-mmap was given.
5095 if test "${with_mmap+set}" = set; then
5096 withval
="$with_mmap"
5097 case "${withval}" in
5098 yes) want_mmap
=true
;;
5099 no
) want_mmap
=false
;;
5100 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
5101 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
5102 { (exit 1); exit 1; }; } ;;
5107 # Check whether --enable-secureplt or --disable-secureplt was given.
5108 if test "${enable_secureplt+set}" = set; then
5109 enableval
="$enable_secureplt"
5110 case "${enableval}" in
5111 yes) use_secureplt
=true
;;
5112 no
) use_secureplt
=false
;;
5113 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
5114 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
5115 { (exit 1); exit 1; }; } ;;
5119 fi; if test $use_secureplt = true
; then
5121 cat >>confdefs.h
<<\_ACEOF
5122 #define USE_SECUREPLT 1
5129 # Check whether --with-pkgversion or --without-pkgversion was given.
5130 if test "${with_pkgversion+set}" = set; then
5131 withval
="$with_pkgversion"
5133 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
5134 echo "$as_me: error: package version not specified" >&2;}
5135 { (exit 1); exit 1; }; } ;;
5137 *) PKGVERSION
="($withval) " ;;
5140 PKGVERSION
="(GNU Binutils) "
5147 # Check whether --with-bugurl or --without-bugurl was given.
5148 if test "${with_bugurl+set}" = set; then
5149 withval
="$with_bugurl"
5151 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
5152 echo "$as_me: error: bug URL not specified" >&2;}
5153 { (exit 1); exit 1; }; } ;;
5156 *) BUGURL
="$withval"
5160 BUGURL
="http://www.sourceware.org/bugzilla/"
5169 REPORT_BUGS_TO
="<$BUGURL>"
5170 REPORT_BUGS_TEXI
=@uref
{`echo "$BUGURL" | sed 's/@/@@/g'`}
5178 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
5180 # Check whether --enable-werror or --disable-werror was given.
5181 if test "${enable_werror+set}" = set; then
5182 enableval
="$enable_werror"
5183 case "${enableval}" in
5184 yes | y
) ERROR_ON_WARNING
="yes" ;;
5185 no | n
) ERROR_ON_WARNING
="no" ;;
5186 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
5187 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
5188 { (exit 1); exit 1; }; } ;;
5192 # Enable -Werror by default when using gcc
5193 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
5194 ERROR_ON_WARNING
=yes
5198 if test "${ERROR_ON_WARNING}" = yes ; then
5199 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
5200 NO_WERROR
="-Wno-error"
5203 if test "${GCC}" = yes ; then
5204 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
5207 # Check whether --enable-build-warnings or --disable-build-warnings was given.
5208 if test "${enable_build_warnings+set}" = set; then
5209 enableval
="$enable_build_warnings"
5210 case "${enableval}" in
5211 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
5212 no
) if test "${GCC}" = yes ; then
5215 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5216 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
5217 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
5218 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
5219 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
5223 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
5224 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
5231 ac_config_headers
="$ac_config_headers config.h:config.in"
5234 if test -z "$target" ; then
5235 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
5236 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
5237 { (exit 1); exit 1; }; }
5240 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5241 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5242 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5243 if test "${enable_maintainer_mode+set}" = set; then
5244 enableval
="$enable_maintainer_mode"
5245 USE_MAINTAINER_MODE
=$enableval
5247 USE_MAINTAINER_MODE
=no
5249 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5250 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5253 if test $USE_MAINTAINER_MODE = yes; then
5254 MAINTAINER_MODE_TRUE
=
5255 MAINTAINER_MODE_FALSE
='#'
5257 MAINTAINER_MODE_TRUE
='#'
5258 MAINTAINER_MODE_FALSE
=
5261 MAINT
=$MAINTAINER_MODE_TRUE
5267 GENINSRC_NEVER_TRUE
=
5268 GENINSRC_NEVER_FALSE
='#'
5270 GENINSRC_NEVER_TRUE
='#'
5271 GENINSRC_NEVER_FALSE
=
5274 case ${build_alias} in
5275 "") build_noncanonical
=${build} ;;
5276 *) build_noncanonical
=${build_alias} ;;
5279 case ${host_alias} in
5280 "") host_noncanonical
=${build_noncanonical} ;;
5281 *) host_noncanonical
=${host_alias} ;;
5284 case ${target_alias} in
5285 "") target_noncanonical
=${host_noncanonical} ;;
5286 *) target_noncanonical
=${target_alias} ;;
5289 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
5290 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
5291 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
5292 if test "${enable_install_libbfd+set}" = set; then
5293 enableval
="$enable_install_libbfd"
5294 install_libbfd_p
=$enableval
5296 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
5297 install_libbfd_p
=yes
5302 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
5303 echo "${ECHO_T}$install_libbfd_p" >&6
5306 if test $install_libbfd_p = yes; then
5307 INSTALL_LIBBFD_TRUE
=
5308 INSTALL_LIBBFD_FALSE
='#'
5310 INSTALL_LIBBFD_TRUE
='#'
5311 INSTALL_LIBBFD_FALSE
=
5314 # Need _noncanonical variables for this.
5319 # libbfd.a is a host library containing target dependent code
5320 bfdlibdir
='$(libdir)'
5321 bfdincludedir
='$(includedir)'
5322 if test "${host}" != "${target}"; then
5323 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
5324 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
5334 bfd_default_target_size
=32
5338 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi"
5339 # If we haven't got the data from the intl directory,
5340 # assume NLS is disabled.
5349 if test -f ..
/intl
/config.intl
; then
5350 . ..
/intl
/config.intl
5352 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5353 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5354 if test x
"$USE_NLS" != xyes
; then
5355 echo "$as_me:$LINENO: result: no" >&5
5356 echo "${ECHO_T}no" >&6
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 cat >>confdefs.h
<<\_ACEOF
5362 #define ENABLE_NLS 1
5366 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5367 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5368 # Look for .po and .gmo files in the source directory.
5371 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5372 # If there aren't any .gmo files the shell will give us the
5373 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5375 case "$cat" in *\
**)
5378 # The quadruple backslash is collapsed to a double backslash
5379 # by the backticks, then collapsed again by the double quotes,
5380 # leaving us with one backslash in the sed expression (right
5381 # before the dot that mustn't act as a wildcard).
5382 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5383 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5384 # The user is allowed to set LINGUAS to a list of languages to
5385 # install catalogs for. If it's empty that means "all of them."
5386 if test "x$LINGUAS" = x
; then
5387 CATALOGS
="$CATALOGS $cat"
5388 XLINGUAS
="$XLINGUAS $lang"
5390 case "$LINGUAS" in *$lang*)
5391 CATALOGS
="$CATALOGS $cat"
5392 XLINGUAS
="$XLINGUAS $lang"
5398 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5399 echo "${ECHO_T}$LINGUAS" >&6
5413 if test -n "$ac_aux_dir"; then
5414 case "$ac_aux_dir" in
5415 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5416 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5419 if test -z "$MKINSTALLDIRS"; then
5420 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5425 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5426 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5427 # Check whether --enable-nls or --disable-nls was given.
5428 if test "${enable_nls+set}" = set; then
5429 enableval
="$enable_nls"
5434 echo "$as_me:$LINENO: result: $USE_NLS" >&5
5435 echo "${ECHO_T}$USE_NLS" >&6
5442 # Prepare PATH_SEPARATOR.
5443 # The user is always right.
5444 if test "${PATH_SEPARATOR+set}" != set; then
5445 echo "#! /bin/sh" >conf$$.sh
5446 echo "exit 0" >>conf$$.sh
5448 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5456 # Find out how to test for executable files. Don't use a zero-byte file,
5457 # as systems may use methods other than mode bits to determine executability.
5458 cat >conf$$.
file <<_ASEOF
5462 chmod +x conf$$.
file
5463 if test -x conf$$.
file >/dev
/null
2>&1; then
5464 ac_executable_p
="test -x"
5466 ac_executable_p
="test -f"
5470 # Extract the first word of "msgfmt", so it can be a program name with args.
5471 set dummy msgfmt
; ac_word
=$2
5472 echo "$as_me:$LINENO: checking for $ac_word" >&5
5473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5474 if test "${ac_cv_path_MSGFMT+set}" = set; then
5475 echo $ECHO_N "(cached) $ECHO_C" >&6
5479 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5482 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5483 for ac_dir
in $PATH; do
5485 test -z "$ac_dir" && ac_dir
=.
5486 for ac_exec_ext
in '' $ac_executable_extensions; do
5487 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5488 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5489 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5490 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5497 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5501 MSGFMT
="$ac_cv_path_MSGFMT"
5502 if test "$MSGFMT" != ":"; then
5503 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5504 echo "${ECHO_T}$MSGFMT" >&6
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5510 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5511 set dummy gmsgfmt
; ac_word
=$2
5512 echo "$as_me:$LINENO: checking for $ac_word" >&5
5513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5514 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5519 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir
=.
5527 for ac_exec_ext
in '' $ac_executable_extensions; do
5528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5540 GMSGFMT
=$ac_cv_path_GMSGFMT
5542 if test -n "$GMSGFMT"; then
5543 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5544 echo "${ECHO_T}$GMSGFMT" >&6
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5552 # Prepare PATH_SEPARATOR.
5553 # The user is always right.
5554 if test "${PATH_SEPARATOR+set}" != set; then
5555 echo "#! /bin/sh" >conf$$.sh
5556 echo "exit 0" >>conf$$.sh
5558 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5566 # Find out how to test for executable files. Don't use a zero-byte file,
5567 # as systems may use methods other than mode bits to determine executability.
5568 cat >conf$$.
file <<_ASEOF
5572 chmod +x conf$$.
file
5573 if test -x conf$$.
file >/dev
/null
2>&1; then
5574 ac_executable_p
="test -x"
5576 ac_executable_p
="test -f"
5580 # Extract the first word of "xgettext", so it can be a program name with args.
5581 set dummy xgettext
; ac_word
=$2
5582 echo "$as_me:$LINENO: checking for $ac_word" >&5
5583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5584 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5592 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5593 for ac_dir
in $PATH; do
5595 test -z "$ac_dir" && ac_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5598 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5599 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5600 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5607 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5611 XGETTEXT
="$ac_cv_path_XGETTEXT"
5612 if test "$XGETTEXT" != ":"; then
5613 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5614 echo "${ECHO_T}$XGETTEXT" >&6
5616 echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6
5623 # Prepare PATH_SEPARATOR.
5624 # The user is always right.
5625 if test "${PATH_SEPARATOR+set}" != set; then
5626 echo "#! /bin/sh" >conf$$.sh
5627 echo "exit 0" >>conf$$.sh
5629 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5637 # Find out how to test for executable files. Don't use a zero-byte file,
5638 # as systems may use methods other than mode bits to determine executability.
5639 cat >conf$$.
file <<_ASEOF
5643 chmod +x conf$$.
file
5644 if test -x conf$$.
file >/dev
/null
2>&1; then
5645 ac_executable_p
="test -x"
5647 ac_executable_p
="test -f"
5651 # Extract the first word of "msgmerge", so it can be a program name with args.
5652 set dummy msgmerge
; ac_word
=$2
5653 echo "$as_me:$LINENO: checking for $ac_word" >&5
5654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5655 if test "${ac_cv_path_MSGMERGE+set}" = set; then
5656 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5663 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5664 for ac_dir
in $PATH; do
5666 test -z "$ac_dir" && ac_dir
=.
5667 for ac_exec_ext
in '' $ac_executable_extensions; do
5668 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5669 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5670 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5677 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5681 MSGMERGE
="$ac_cv_path_MSGMERGE"
5682 if test "$MSGMERGE" != ":"; then
5683 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5684 echo "${ECHO_T}$MSGMERGE" >&6
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5691 if test "$GMSGFMT" != ":"; then
5692 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5693 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5696 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5697 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5698 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
5703 if test "$XGETTEXT" != ":"; then
5704 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5705 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5708 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5709 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5715 ac_config_commands
="$ac_config_commands default-1"
5719 # Permit host specific settings.
5720 .
${srcdir}/configure.
host
5723 # Find a good install program. We prefer a C program (faster),
5724 # so one script is as good as another. But avoid the broken or
5725 # incompatible versions:
5726 # SysV /etc/install, /usr/sbin/install
5727 # SunOS /usr/etc/install
5728 # IRIX /sbin/install
5730 # AmigaOS /C/install, which installs bootblocks on floppy discs
5731 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5732 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5733 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5734 # OS/2's system install, which has a completely different semantic
5735 # ./install, which can be erroneously created by make from ./install.sh.
5736 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5737 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5738 if test -z "$INSTALL"; then
5739 if test "${ac_cv_path_install+set}" = set; then
5740 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5746 test -z "$as_dir" && as_dir
=.
5747 # Account for people who put trailing slashes in PATH elements.
5749 .
/ | .
// |
/cC
/* | \
5750 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5751 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5754 # OSF1 and SCO ODT 3.0 have their own names for install.
5755 # Don't use installbsd from OSF since it installs stuff as root
5757 for ac_prog
in ginstall scoinst
install; do
5758 for ac_exec_ext
in '' $ac_executable_extensions; do
5759 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5760 if test $ac_prog = install &&
5761 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5762 # AIX install. It has an incompatible calling convention.
5764 elif test $ac_prog = install &&
5765 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5766 # program-specific install script used by HP pwplus--don't use.
5769 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5781 if test "${ac_cv_path_install+set}" = set; then
5782 INSTALL
=$ac_cv_path_install
5784 # As a last resort, use the slow shell script. We don't cache a
5785 # path for INSTALL within a source directory, because that will
5786 # break other packages using the cache if that directory is
5787 # removed, or if the path is relative.
5788 INSTALL
=$ac_install_sh
5791 echo "$as_me:$LINENO: result: $INSTALL" >&5
5792 echo "${ECHO_T}$INSTALL" >&6
5794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5795 # It thinks the first close brace ends the variable substitution.
5796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5800 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5803 BFD_HOST_64BIT_LONG
=0
5804 BFD_HOST_LONG_LONG
=0
5805 BFD_HOST_64_BIT_DEFINED
=0
5809 echo "$as_me:$LINENO: checking for long long" >&5
5810 echo $ECHO_N "checking for long long... $ECHO_C" >&6
5811 if test "${bfd_cv_has_long_long+set}" = set; then
5812 echo $ECHO_N "(cached) $ECHO_C" >&6
5814 cat >conftest.
$ac_ext <<_ACEOF
5817 cat confdefs.h
>>conftest.
$ac_ext
5818 cat >>conftest.
$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5824 unsigned long long ll = 18446744073709551615ULL;
5829 rm -f conftest.
$ac_objext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5831 (eval $ac_compile) 2>conftest.er1
5833 grep -v '^ *+' conftest.er1
>conftest.err
5835 cat conftest.err
>&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } &&
5838 { ac_try
='test -z "$ac_c_werror_flag"
5839 || test ! -s conftest.err'
5840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); }; } &&
5845 { ac_try
='test -s conftest.$ac_objext'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; }; then
5851 bfd_cv_has_long_long
=yes
5853 echo "$as_me: failed program was:" >&5
5854 sed 's/^/| /' conftest.
$ac_ext >&5
5856 bfd_cv_has_long_long
=no
5858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5861 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
5862 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
5863 if test $bfd_cv_has_long_long = yes; then
5864 BFD_HOST_LONG_LONG
=1
5866 ac_cpp
='$CPP $CPPFLAGS'
5867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5870 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5871 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5872 # On Suns, sometimes $CPP names a directory.
5873 if test -n "$CPP" && test -d "$CPP"; then
5876 if test -z "$CPP"; then
5877 if test "${ac_cv_prog_CPP+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5880 # Double quotes because CPP needs to be expanded
5881 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5884 for ac_c_preproc_warn_flag
in '' yes
5886 # Use a header file that comes with gcc, so configuring glibc
5887 # with a fresh cross-compiler works.
5888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5889 # <limits.h> exists even on freestanding compilers.
5890 # On the NeXT, cc -E runs the code through the compiler's parser,
5891 # not just through cpp. "Syntax error" is here to catch this case.
5892 cat >conftest.
$ac_ext <<_ACEOF
5895 cat confdefs.h
>>conftest.
$ac_ext
5896 cat >>conftest.
$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5899 # include <limits.h>
5901 # include <assert.h>
5905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5908 grep -v '^ *+' conftest.er1
>conftest.err
5910 cat conftest.err
>&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); } >/dev
/null
; then
5913 if test -s conftest.err
; then
5914 ac_cpp_err
=$ac_c_preproc_warn_flag
5915 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5922 if test -z "$ac_cpp_err"; then
5925 echo "$as_me: failed program was:" >&5
5926 sed 's/^/| /' conftest.
$ac_ext >&5
5928 # Broken: fails on valid input.
5931 rm -f conftest.err conftest.
$ac_ext
5933 # OK, works on sane cases. Now check whether non-existent headers
5934 # can be detected and how.
5935 cat >conftest.
$ac_ext <<_ACEOF
5938 cat confdefs.h
>>conftest.
$ac_ext
5939 cat >>conftest.
$ac_ext <<_ACEOF
5940 /* end confdefs.h. */
5941 #include <ac_nonexistent.h>
5943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5944 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5946 grep -v '^ *+' conftest.er1
>conftest.err
5948 cat conftest.err
>&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); } >/dev
/null
; then
5951 if test -s conftest.err
; then
5952 ac_cpp_err
=$ac_c_preproc_warn_flag
5953 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5960 if test -z "$ac_cpp_err"; then
5961 # Broken: success on invalid input.
5964 echo "$as_me: failed program was:" >&5
5965 sed 's/^/| /' conftest.
$ac_ext >&5
5967 # Passes both tests.
5971 rm -f conftest.err conftest.
$ac_ext
5974 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5975 rm -f conftest.err conftest.
$ac_ext
5976 if $ac_preproc_ok; then
5988 echo "$as_me:$LINENO: result: $CPP" >&5
5989 echo "${ECHO_T}$CPP" >&6
5991 for ac_c_preproc_warn_flag
in '' yes
5993 # Use a header file that comes with gcc, so configuring glibc
5994 # with a fresh cross-compiler works.
5995 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5996 # <limits.h> exists even on freestanding compilers.
5997 # On the NeXT, cc -E runs the code through the compiler's parser,
5998 # not just through cpp. "Syntax error" is here to catch this case.
5999 cat >conftest.
$ac_ext <<_ACEOF
6002 cat confdefs.h
>>conftest.
$ac_ext
6003 cat >>conftest.
$ac_ext <<_ACEOF
6004 /* end confdefs.h. */
6006 # include <limits.h>
6008 # include <assert.h>
6012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6013 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6015 grep -v '^ *+' conftest.er1
>conftest.err
6017 cat conftest.err
>&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); } >/dev
/null
; then
6020 if test -s conftest.err
; then
6021 ac_cpp_err
=$ac_c_preproc_warn_flag
6022 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6029 if test -z "$ac_cpp_err"; then
6032 echo "$as_me: failed program was:" >&5
6033 sed 's/^/| /' conftest.
$ac_ext >&5
6035 # Broken: fails on valid input.
6038 rm -f conftest.err conftest.
$ac_ext
6040 # OK, works on sane cases. Now check whether non-existent headers
6041 # can be detected and how.
6042 cat >conftest.
$ac_ext <<_ACEOF
6045 cat confdefs.h
>>conftest.
$ac_ext
6046 cat >>conftest.
$ac_ext <<_ACEOF
6047 /* end confdefs.h. */
6048 #include <ac_nonexistent.h>
6050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6051 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6053 grep -v '^ *+' conftest.er1
>conftest.err
6055 cat conftest.err
>&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); } >/dev
/null
; then
6058 if test -s conftest.err
; then
6059 ac_cpp_err
=$ac_c_preproc_warn_flag
6060 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6067 if test -z "$ac_cpp_err"; then
6068 # Broken: success on invalid input.
6071 echo "$as_me: failed program was:" >&5
6072 sed 's/^/| /' conftest.
$ac_ext >&5
6074 # Passes both tests.
6078 rm -f conftest.err conftest.
$ac_ext
6081 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6082 rm -f conftest.err conftest.
$ac_ext
6083 if $ac_preproc_ok; then
6086 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6087 See \`config.log' for more details." >&5
6088 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6089 See \`config.log' for more details." >&2;}
6090 { (exit 1); exit 1; }; }
6094 ac_cpp
='$CPP $CPPFLAGS'
6095 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6096 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6097 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6100 echo "$as_me:$LINENO: checking for egrep" >&5
6101 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6102 if test "${ac_cv_prog_egrep+set}" = set; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6106 then ac_cv_prog_egrep
='grep -E'
6107 else ac_cv_prog_egrep
='egrep'
6110 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6111 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6112 EGREP
=$ac_cv_prog_egrep
6115 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6116 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6117 if test "${ac_cv_header_stdc+set}" = set; then
6118 echo $ECHO_N "(cached) $ECHO_C" >&6
6120 cat >conftest.
$ac_ext <<_ACEOF
6123 cat confdefs.h
>>conftest.
$ac_ext
6124 cat >>conftest.
$ac_ext <<_ACEOF
6125 /* end confdefs.h. */
6139 rm -f conftest.
$ac_objext
6140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6141 (eval $ac_compile) 2>conftest.er1
6143 grep -v '^ *+' conftest.er1
>conftest.err
6145 cat conftest.err
>&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); } &&
6148 { ac_try
='test -z "$ac_c_werror_flag"
6149 || test ! -s conftest.err'
6150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); }; } &&
6155 { ac_try
='test -s conftest.$ac_objext'
6156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); }; }; then
6161 ac_cv_header_stdc
=yes
6163 echo "$as_me: failed program was:" >&5
6164 sed 's/^/| /' conftest.
$ac_ext >&5
6166 ac_cv_header_stdc
=no
6168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6170 if test $ac_cv_header_stdc = yes; then
6171 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6172 cat >conftest.
$ac_ext <<_ACEOF
6175 cat confdefs.h
>>conftest.
$ac_ext
6176 cat >>conftest.
$ac_ext <<_ACEOF
6177 /* end confdefs.h. */
6181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6182 $EGREP "memchr" >/dev
/null
2>&1; then
6185 ac_cv_header_stdc
=no
6191 if test $ac_cv_header_stdc = yes; then
6192 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6193 cat >conftest.
$ac_ext <<_ACEOF
6196 cat confdefs.h
>>conftest.
$ac_ext
6197 cat >>conftest.
$ac_ext <<_ACEOF
6198 /* end confdefs.h. */
6202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6203 $EGREP "free" >/dev
/null
2>&1; then
6206 ac_cv_header_stdc
=no
6212 if test $ac_cv_header_stdc = yes; then
6213 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6214 if test "$cross_compiling" = yes; then
6217 cat >conftest.
$ac_ext <<_ACEOF
6220 cat confdefs.h
>>conftest.
$ac_ext
6221 cat >>conftest.
$ac_ext <<_ACEOF
6222 /* end confdefs.h. */
6224 #if ((' ' & 0x0FF) == 0x020)
6225 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6226 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6228 # define ISLOWER(c) \
6229 (('a' <= (c) && (c) <= 'i') \
6230 || ('j' <= (c) && (c) <= 'r') \
6231 || ('s' <= (c) && (c) <= 'z'))
6232 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6235 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6240 for (i = 0; i < 256; i++)
6241 if (XOR (islower (i), ISLOWER (i))
6242 || toupper (i) != TOUPPER (i))
6247 rm -f conftest
$ac_exeext
6248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6249 (eval $ac_link) 2>&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }; }; then
6260 echo "$as_me: program exited with status $ac_status" >&5
6261 echo "$as_me: failed program was:" >&5
6262 sed 's/^/| /' conftest.
$ac_ext >&5
6265 ac_cv_header_stdc
=no
6267 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6271 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6272 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6273 if test $ac_cv_header_stdc = yes; then
6275 cat >>confdefs.h
<<\_ACEOF
6276 #define STDC_HEADERS 1
6281 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6291 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6292 inttypes.h stdint.h unistd.h
6294 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6295 echo "$as_me:$LINENO: checking for $ac_header" >&5
6296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6298 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 cat >conftest.
$ac_ext <<_ACEOF
6303 cat confdefs.h
>>conftest.
$ac_ext
6304 cat >>conftest.
$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6306 $ac_includes_default
6308 #include <$ac_header>
6310 rm -f conftest.
$ac_objext
6311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6312 (eval $ac_compile) 2>conftest.er1
6314 grep -v '^ *+' conftest.er1
>conftest.err
6316 cat conftest.err
>&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); } &&
6319 { ac_try
='test -z "$ac_c_werror_flag"
6320 || test ! -s conftest.err'
6321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); }; } &&
6326 { ac_try
='test -s conftest.$ac_objext'
6327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); }; }; then
6332 eval "$as_ac_Header=yes"
6334 echo "$as_me: failed program was:" >&5
6335 sed 's/^/| /' conftest.
$ac_ext >&5
6337 eval "$as_ac_Header=no"
6339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6344 cat >>confdefs.h
<<_ACEOF
6345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6353 echo "$as_me:$LINENO: checking for long long" >&5
6354 echo $ECHO_N "checking for long long... $ECHO_C" >&6
6355 if test "${ac_cv_type_long_long+set}" = set; then
6356 echo $ECHO_N "(cached) $ECHO_C" >&6
6358 cat >conftest.
$ac_ext <<_ACEOF
6361 cat confdefs.h
>>conftest.
$ac_ext
6362 cat >>conftest.
$ac_ext <<_ACEOF
6363 /* end confdefs.h. */
6364 $ac_includes_default
6368 if ((long long *) 0)
6370 if (sizeof (long long))
6376 rm -f conftest.
$ac_objext
6377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6378 (eval $ac_compile) 2>conftest.er1
6380 grep -v '^ *+' conftest.er1
>conftest.err
6382 cat conftest.err
>&5
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); } &&
6385 { ac_try
='test -z "$ac_c_werror_flag"
6386 || test ! -s conftest.err'
6387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); }; } &&
6392 { ac_try
='test -s conftest.$ac_objext'
6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; }; then
6398 ac_cv_type_long_long
=yes
6400 echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.
$ac_ext >&5
6403 ac_cv_type_long_long
=no
6405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6407 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6408 echo "${ECHO_T}$ac_cv_type_long_long" >&6
6410 echo "$as_me:$LINENO: checking size of long long" >&5
6411 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
6412 if test "${ac_cv_sizeof_long_long+set}" = set; then
6413 echo $ECHO_N "(cached) $ECHO_C" >&6
6415 if test "$ac_cv_type_long_long" = yes; then
6416 # The cast to unsigned long works around a bug in the HP C Compiler
6417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6419 # This bug is HP SR number 8606223364.
6420 if test "$cross_compiling" = yes; then
6421 # Depending upon the size, compute the lo and hi bounds.
6422 cat >conftest.
$ac_ext <<_ACEOF
6425 cat confdefs.h
>>conftest.
$ac_ext
6426 cat >>conftest.
$ac_ext <<_ACEOF
6427 /* end confdefs.h. */
6428 $ac_includes_default
6432 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
6439 rm -f conftest.
$ac_objext
6440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6441 (eval $ac_compile) 2>conftest.er1
6443 grep -v '^ *+' conftest.er1
>conftest.err
6445 cat conftest.err
>&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); } &&
6448 { ac_try
='test -z "$ac_c_werror_flag"
6449 || test ! -s conftest.err'
6450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); }; } &&
6455 { ac_try
='test -s conftest.$ac_objext'
6456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); }; }; then
6463 cat >conftest.
$ac_ext <<_ACEOF
6466 cat confdefs.h
>>conftest.
$ac_ext
6467 cat >>conftest.
$ac_ext <<_ACEOF
6468 /* end confdefs.h. */
6469 $ac_includes_default
6473 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6480 rm -f conftest.
$ac_objext
6481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6482 (eval $ac_compile) 2>conftest.er1
6484 grep -v '^ *+' conftest.er1
>conftest.err
6486 cat conftest.err
>&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } &&
6489 { ac_try
='test -z "$ac_c_werror_flag"
6490 || test ! -s conftest.err'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; } &&
6496 { ac_try
='test -s conftest.$ac_objext'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; }; then
6502 ac_hi
=$ac_mid; break
6504 echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.
$ac_ext >&5
6507 ac_lo
=`expr $ac_mid + 1`
6508 if test $ac_lo -le $ac_mid; then
6512 ac_mid
=`expr 2 '*' $ac_mid + 1`
6514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.
$ac_ext >&5
6520 cat >conftest.
$ac_ext <<_ACEOF
6523 cat confdefs.h
>>conftest.
$ac_ext
6524 cat >>conftest.
$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6526 $ac_includes_default
6530 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
6537 rm -f conftest.
$ac_objext
6538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6539 (eval $ac_compile) 2>conftest.er1
6541 grep -v '^ *+' conftest.er1
>conftest.err
6543 cat conftest.err
>&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
6546 { ac_try
='test -z "$ac_c_werror_flag"
6547 || test ! -s conftest.err'
6548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); }; } &&
6553 { ac_try
='test -s conftest.$ac_objext'
6554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); }; }; then
6561 cat >conftest.
$ac_ext <<_ACEOF
6564 cat confdefs.h
>>conftest.
$ac_ext
6565 cat >>conftest.
$ac_ext <<_ACEOF
6566 /* end confdefs.h. */
6567 $ac_includes_default
6571 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
6578 rm -f conftest.
$ac_objext
6579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6580 (eval $ac_compile) 2>conftest.er1
6582 grep -v '^ *+' conftest.er1
>conftest.err
6584 cat conftest.err
>&5
6585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); } &&
6587 { ac_try
='test -z "$ac_c_werror_flag"
6588 || test ! -s conftest.err'
6589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); }; } &&
6594 { ac_try
='test -s conftest.$ac_objext'
6595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); }; }; then
6600 ac_lo
=$ac_mid; break
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.
$ac_ext >&5
6605 ac_hi
=`expr '(' $ac_mid ')' - 1`
6606 if test $ac_mid -le $ac_hi; then
6610 ac_mid
=`expr 2 '*' $ac_mid`
6612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6615 echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.
$ac_ext >&5
6620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6623 # Binary search between lo and hi bounds.
6624 while test "x$ac_lo" != "x$ac_hi"; do
6625 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6626 cat >conftest.
$ac_ext <<_ACEOF
6629 cat confdefs.h
>>conftest.
$ac_ext
6630 cat >>conftest.
$ac_ext <<_ACEOF
6631 /* end confdefs.h. */
6632 $ac_includes_default
6636 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6643 rm -f conftest.
$ac_objext
6644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6645 (eval $ac_compile) 2>conftest.er1
6647 grep -v '^ *+' conftest.er1
>conftest.err
6649 cat conftest.err
>&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); } &&
6652 { ac_try
='test -z "$ac_c_werror_flag"
6653 || test ! -s conftest.err'
6654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658 (exit $ac_status); }; } &&
6659 { ac_try
='test -s conftest.$ac_objext'
6660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); }; }; then
6667 echo "$as_me: failed program was:" >&5
6668 sed 's/^/| /' conftest.
$ac_ext >&5
6670 ac_lo
=`expr '(' $ac_mid ')' + 1`
6672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6675 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
6676 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6677 See \`config.log' for more details." >&5
6678 echo "$as_me: error: cannot compute sizeof (long long), 77
6679 See \`config.log' for more details." >&2;}
6680 { (exit 1); exit 1; }; } ;;
6683 if test "$cross_compiling" = yes; then
6684 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6685 See \`config.log' for more details." >&5
6686 echo "$as_me: error: cannot run test program while cross compiling
6687 See \`config.log' for more details." >&2;}
6688 { (exit 1); exit 1; }; }
6690 cat >conftest.
$ac_ext <<_ACEOF
6693 cat confdefs.h
>>conftest.
$ac_ext
6694 cat >>conftest.
$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6696 $ac_includes_default
6697 long longval () { return (long) (sizeof (long long)); }
6698 unsigned long ulongval () { return (long) (sizeof (long long)); }
6705 FILE *f = fopen ("conftest.val", "w");
6708 if (((long) (sizeof (long long))) < 0)
6710 long i = longval ();
6711 if (i != ((long) (sizeof (long long))))
6713 fprintf (f, "%ld\n", i);
6717 unsigned long i = ulongval ();
6718 if (i != ((long) (sizeof (long long))))
6720 fprintf (f, "%lu\n", i);
6722 exit (ferror (f) || fclose (f) != 0);
6728 rm -f conftest
$ac_exeext
6729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6730 (eval $ac_link) 2>&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); }; }; then
6739 ac_cv_sizeof_long_long
=`cat conftest.val`
6741 echo "$as_me: program exited with status $ac_status" >&5
6742 echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.
$ac_ext >&5
6746 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6747 See \`config.log' for more details." >&5
6748 echo "$as_me: error: cannot compute sizeof (long long), 77
6749 See \`config.log' for more details." >&2;}
6750 { (exit 1); exit 1; }; }
6752 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6757 ac_cv_sizeof_long_long
=0
6760 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
6761 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
6762 cat >>confdefs.h
<<_ACEOF
6763 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
6769 echo "$as_me:$LINENO: checking for long" >&5
6770 echo $ECHO_N "checking for long... $ECHO_C" >&6
6771 if test "${ac_cv_type_long+set}" = set; then
6772 echo $ECHO_N "(cached) $ECHO_C" >&6
6774 cat >conftest.
$ac_ext <<_ACEOF
6777 cat confdefs.h
>>conftest.
$ac_ext
6778 cat >>conftest.
$ac_ext <<_ACEOF
6779 /* end confdefs.h. */
6780 $ac_includes_default
6792 rm -f conftest.
$ac_objext
6793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6794 (eval $ac_compile) 2>conftest.er1
6796 grep -v '^ *+' conftest.er1
>conftest.err
6798 cat conftest.err
>&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } &&
6801 { ac_try
='test -z "$ac_c_werror_flag"
6802 || test ! -s conftest.err'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; } &&
6808 { ac_try
='test -s conftest.$ac_objext'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; }; then
6816 echo "$as_me: failed program was:" >&5
6817 sed 's/^/| /' conftest.
$ac_ext >&5
6821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6823 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6824 echo "${ECHO_T}$ac_cv_type_long" >&6
6826 echo "$as_me:$LINENO: checking size of long" >&5
6827 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6828 if test "${ac_cv_sizeof_long+set}" = set; then
6829 echo $ECHO_N "(cached) $ECHO_C" >&6
6831 if test "$ac_cv_type_long" = yes; then
6832 # The cast to unsigned long works around a bug in the HP C Compiler
6833 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6834 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6835 # This bug is HP SR number 8606223364.
6836 if test "$cross_compiling" = yes; then
6837 # Depending upon the size, compute the lo and hi bounds.
6838 cat >conftest.
$ac_ext <<_ACEOF
6841 cat confdefs.h
>>conftest.
$ac_ext
6842 cat >>conftest.
$ac_ext <<_ACEOF
6843 /* end confdefs.h. */
6844 $ac_includes_default
6848 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6855 rm -f conftest.
$ac_objext
6856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6857 (eval $ac_compile) 2>conftest.er1
6859 grep -v '^ *+' conftest.er1
>conftest.err
6861 cat conftest.err
>&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); } &&
6864 { ac_try
='test -z "$ac_c_werror_flag"
6865 || test ! -s conftest.err'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; } &&
6871 { ac_try
='test -s conftest.$ac_objext'
6872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; }; then
6879 cat >conftest.
$ac_ext <<_ACEOF
6882 cat confdefs.h
>>conftest.
$ac_ext
6883 cat >>conftest.
$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6885 $ac_includes_default
6889 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6896 rm -f conftest.
$ac_objext
6897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6898 (eval $ac_compile) 2>conftest.er1
6900 grep -v '^ *+' conftest.er1
>conftest.err
6902 cat conftest.err
>&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); } &&
6905 { ac_try
='test -z "$ac_c_werror_flag"
6906 || test ! -s conftest.err'
6907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); }; } &&
6912 { ac_try
='test -s conftest.$ac_objext'
6913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); }; }; then
6918 ac_hi
=$ac_mid; break
6920 echo "$as_me: failed program was:" >&5
6921 sed 's/^/| /' conftest.
$ac_ext >&5
6923 ac_lo
=`expr $ac_mid + 1`
6924 if test $ac_lo -le $ac_mid; then
6928 ac_mid
=`expr 2 '*' $ac_mid + 1`
6930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6933 echo "$as_me: failed program was:" >&5
6934 sed 's/^/| /' conftest.
$ac_ext >&5
6936 cat >conftest.
$ac_ext <<_ACEOF
6939 cat confdefs.h
>>conftest.
$ac_ext
6940 cat >>conftest.
$ac_ext <<_ACEOF
6941 /* end confdefs.h. */
6942 $ac_includes_default
6946 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6953 rm -f conftest.
$ac_objext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6955 (eval $ac_compile) 2>conftest.er1
6957 grep -v '^ *+' conftest.er1
>conftest.err
6959 cat conftest.err
>&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } &&
6962 { ac_try
='test -z "$ac_c_werror_flag"
6963 || test ! -s conftest.err'
6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; } &&
6969 { ac_try
='test -s conftest.$ac_objext'
6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; }; then
6977 cat >conftest.
$ac_ext <<_ACEOF
6980 cat confdefs.h
>>conftest.
$ac_ext
6981 cat >>conftest.
$ac_ext <<_ACEOF
6982 /* end confdefs.h. */
6983 $ac_includes_default
6987 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6994 rm -f conftest.
$ac_objext
6995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6996 (eval $ac_compile) 2>conftest.er1
6998 grep -v '^ *+' conftest.er1
>conftest.err
7000 cat conftest.err
>&5
7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); } &&
7003 { ac_try
='test -z "$ac_c_werror_flag"
7004 || test ! -s conftest.err'
7005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); }; } &&
7010 { ac_try
='test -s conftest.$ac_objext'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; }; then
7016 ac_lo
=$ac_mid; break
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.
$ac_ext >&5
7021 ac_hi
=`expr '(' $ac_mid ')' - 1`
7022 if test $ac_mid -le $ac_hi; then
7026 ac_mid
=`expr 2 '*' $ac_mid`
7028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7031 echo "$as_me: failed program was:" >&5
7032 sed 's/^/| /' conftest.
$ac_ext >&5
7036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7039 # Binary search between lo and hi bounds.
7040 while test "x$ac_lo" != "x$ac_hi"; do
7041 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7042 cat >conftest.
$ac_ext <<_ACEOF
7045 cat confdefs.h
>>conftest.
$ac_ext
7046 cat >>conftest.
$ac_ext <<_ACEOF
7047 /* end confdefs.h. */
7048 $ac_includes_default
7052 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7059 rm -f conftest.
$ac_objext
7060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7061 (eval $ac_compile) 2>conftest.er1
7063 grep -v '^ *+' conftest.er1
>conftest.err
7065 cat conftest.err
>&5
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); } &&
7068 { ac_try
='test -z "$ac_c_werror_flag"
7069 || test ! -s conftest.err'
7070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); }; } &&
7075 { ac_try
='test -s conftest.$ac_objext'
7076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); }; }; then
7083 echo "$as_me: failed program was:" >&5
7084 sed 's/^/| /' conftest.
$ac_ext >&5
7086 ac_lo
=`expr '(' $ac_mid ')' + 1`
7088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7091 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7092 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7093 See \`config.log' for more details." >&5
7094 echo "$as_me: error: cannot compute sizeof (long), 77
7095 See \`config.log' for more details." >&2;}
7096 { (exit 1); exit 1; }; } ;;
7099 if test "$cross_compiling" = yes; then
7100 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7101 See \`config.log' for more details." >&5
7102 echo "$as_me: error: cannot run test program while cross compiling
7103 See \`config.log' for more details." >&2;}
7104 { (exit 1); exit 1; }; }
7106 cat >conftest.
$ac_ext <<_ACEOF
7109 cat confdefs.h
>>conftest.
$ac_ext
7110 cat >>conftest.
$ac_ext <<_ACEOF
7111 /* end confdefs.h. */
7112 $ac_includes_default
7113 long longval () { return (long) (sizeof (long)); }
7114 unsigned long ulongval () { return (long) (sizeof (long)); }
7121 FILE *f = fopen ("conftest.val", "w");
7124 if (((long) (sizeof (long))) < 0)
7126 long i = longval ();
7127 if (i != ((long) (sizeof (long))))
7129 fprintf (f, "%ld\n", i);
7133 unsigned long i = ulongval ();
7134 if (i != ((long) (sizeof (long))))
7136 fprintf (f, "%lu\n", i);
7138 exit (ferror (f) || fclose (f) != 0);
7144 rm -f conftest
$ac_exeext
7145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7146 (eval $ac_link) 2>&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; }; then
7155 ac_cv_sizeof_long
=`cat conftest.val`
7157 echo "$as_me: program exited with status $ac_status" >&5
7158 echo "$as_me: failed program was:" >&5
7159 sed 's/^/| /' conftest.
$ac_ext >&5
7162 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7163 See \`config.log' for more details." >&5
7164 echo "$as_me: error: cannot compute sizeof (long), 77
7165 See \`config.log' for more details." >&2;}
7166 { (exit 1); exit 1; }; }
7168 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7176 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7177 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7178 cat >>confdefs.h
<<_ACEOF
7179 #define SIZEOF_LONG $ac_cv_sizeof_long
7183 if test "x${ac_cv_sizeof_long}" = "x8"; then
7185 BFD_HOST_64BIT_LONG
=1
7186 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
7187 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
7188 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
7189 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
7190 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
7193 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
7194 BFD_HOST_64_BIT_DEFINED
=1
7195 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
7196 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
7205 # Put a plausible default for CC_FOR_BUILD in Makefile.
7206 if test -z "$CC_FOR_BUILD"; then
7207 if test "x$cross_compiling" = "xno"; then
7208 CC_FOR_BUILD
='$(CC)'
7214 # Also set EXEEXT_FOR_BUILD.
7215 if test "x$cross_compiling" = "xno"; then
7216 EXEEXT_FOR_BUILD
='$(EXEEXT)'
7218 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
7219 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
7220 if test "${bfd_cv_build_exeext+set}" = set; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 echo 'int main () { return 0; }' > conftest.c
7225 bfd_cv_build_exeext
=
7226 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
7227 for file in conftest.
*; do
7229 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
7230 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
7234 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
7236 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
7237 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
7239 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
7249 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
7251 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7253 echo "$as_me:$LINENO: checking for $ac_header" >&5
7254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7261 # Is the header compilable?
7262 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7264 cat >conftest.
$ac_ext <<_ACEOF
7267 cat confdefs.h
>>conftest.
$ac_ext
7268 cat >>conftest.
$ac_ext <<_ACEOF
7269 /* end confdefs.h. */
7270 $ac_includes_default
7271 #include <$ac_header>
7273 rm -f conftest.
$ac_objext
7274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7275 (eval $ac_compile) 2>conftest.er1
7277 grep -v '^ *+' conftest.er1
>conftest.err
7279 cat conftest.err
>&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } &&
7282 { ac_try
='test -z "$ac_c_werror_flag"
7283 || test ! -s conftest.err'
7284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); }; } &&
7289 { ac_try
='test -s conftest.$ac_objext'
7290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); }; }; then
7295 ac_header_compiler
=yes
7297 echo "$as_me: failed program was:" >&5
7298 sed 's/^/| /' conftest.
$ac_ext >&5
7300 ac_header_compiler
=no
7302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7303 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7304 echo "${ECHO_T}$ac_header_compiler" >&6
7306 # Is the header present?
7307 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7308 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7309 cat >conftest.
$ac_ext <<_ACEOF
7312 cat confdefs.h
>>conftest.
$ac_ext
7313 cat >>conftest.
$ac_ext <<_ACEOF
7314 /* end confdefs.h. */
7315 #include <$ac_header>
7317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7318 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7320 grep -v '^ *+' conftest.er1
>conftest.err
7322 cat conftest.err
>&5
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); } >/dev
/null
; then
7325 if test -s conftest.err
; then
7326 ac_cpp_err
=$ac_c_preproc_warn_flag
7327 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7334 if test -z "$ac_cpp_err"; then
7335 ac_header_preproc
=yes
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.
$ac_ext >&5
7340 ac_header_preproc
=no
7342 rm -f conftest.err conftest.
$ac_ext
7343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7344 echo "${ECHO_T}$ac_header_preproc" >&6
7346 # So? What about this header?
7347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7352 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7353 ac_header_preproc
=yes
7356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7360 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7361 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7362 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7363 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7365 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7366 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7367 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7370 ## ------------------------------------------ ##
7371 ## Report this to the AC_PACKAGE_NAME lists. ##
7372 ## ------------------------------------------ ##
7375 sed "s/^/$as_me: WARNING: /" >&2
7378 echo "$as_me:$LINENO: checking for $ac_header" >&5
7379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7381 echo $ECHO_N "(cached) $ECHO_C" >&6
7383 eval "$as_ac_Header=\$ac_header_preproc"
7385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7390 cat >>confdefs.h
<<_ACEOF
7391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7401 for ac_header
in fcntl.h sys
/file.h sys
/time.h
7403 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7405 echo "$as_me:$LINENO: checking for $ac_header" >&5
7406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7408 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7413 # Is the header compilable?
7414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7416 cat >conftest.
$ac_ext <<_ACEOF
7419 cat confdefs.h
>>conftest.
$ac_ext
7420 cat >>conftest.
$ac_ext <<_ACEOF
7421 /* end confdefs.h. */
7422 $ac_includes_default
7423 #include <$ac_header>
7425 rm -f conftest.
$ac_objext
7426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7427 (eval $ac_compile) 2>conftest.er1
7429 grep -v '^ *+' conftest.er1
>conftest.err
7431 cat conftest.err
>&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); } &&
7434 { ac_try
='test -z "$ac_c_werror_flag"
7435 || test ! -s conftest.err'
7436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); }; } &&
7441 { ac_try
='test -s conftest.$ac_objext'
7442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); }; }; then
7447 ac_header_compiler
=yes
7449 echo "$as_me: failed program was:" >&5
7450 sed 's/^/| /' conftest.
$ac_ext >&5
7452 ac_header_compiler
=no
7454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7456 echo "${ECHO_T}$ac_header_compiler" >&6
7458 # Is the header present?
7459 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7460 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7461 cat >conftest.
$ac_ext <<_ACEOF
7464 cat confdefs.h
>>conftest.
$ac_ext
7465 cat >>conftest.
$ac_ext <<_ACEOF
7466 /* end confdefs.h. */
7467 #include <$ac_header>
7469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7470 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7472 grep -v '^ *+' conftest.er1
>conftest.err
7474 cat conftest.err
>&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } >/dev
/null
; then
7477 if test -s conftest.err
; then
7478 ac_cpp_err
=$ac_c_preproc_warn_flag
7479 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7486 if test -z "$ac_cpp_err"; then
7487 ac_header_preproc
=yes
7489 echo "$as_me: failed program was:" >&5
7490 sed 's/^/| /' conftest.
$ac_ext >&5
7492 ac_header_preproc
=no
7494 rm -f conftest.err conftest.
$ac_ext
7495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7496 echo "${ECHO_T}$ac_header_preproc" >&6
7498 # So? What about this header?
7499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7501 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7502 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7503 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7504 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7505 ac_header_preproc
=yes
7508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7512 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7513 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7514 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7515 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7517 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7518 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7519 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7522 ## ------------------------------------------ ##
7523 ## Report this to the AC_PACKAGE_NAME lists. ##
7524 ## ------------------------------------------ ##
7527 sed "s/^/$as_me: WARNING: /" >&2
7530 echo "$as_me:$LINENO: checking for $ac_header" >&5
7531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7533 echo $ECHO_N "(cached) $ECHO_C" >&6
7535 eval "$as_ac_Header=\$ac_header_preproc"
7537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7542 cat >>confdefs.h
<<_ACEOF
7543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
7554 acx_cv_header_stdint
=stddef.h
7555 acx_cv_header_stdint_kind
="(already complete)"
7556 for i
in stdint.h
$inttype_headers; do
7557 unset ac_cv_type_uintptr_t
7558 unset ac_cv_type_uintmax_t
7559 unset ac_cv_type_int_least32_t
7560 unset ac_cv_type_int_fast32_t
7561 unset ac_cv_type_uint64_t
7562 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
7563 echo "$as_me:$LINENO: checking for uintmax_t" >&5
7564 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
7565 if test "${ac_cv_type_uintmax_t+set}" = set; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 cat >conftest.
$ac_ext <<_ACEOF
7571 cat confdefs.h
>>conftest.
$ac_ext
7572 cat >>conftest.
$ac_ext <<_ACEOF
7573 /* end confdefs.h. */
7574 #include <sys/types.h>
7580 if ((uintmax_t *) 0)
7582 if (sizeof (uintmax_t))
7588 rm -f conftest.
$ac_objext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7590 (eval $ac_compile) 2>conftest.er1
7592 grep -v '^ *+' conftest.er1
>conftest.err
7594 cat conftest.err
>&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } &&
7597 { ac_try
='test -z "$ac_c_werror_flag"
7598 || test ! -s conftest.err'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; } &&
7604 { ac_try
='test -s conftest.$ac_objext'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7610 ac_cv_type_uintmax_t
=yes
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.
$ac_ext >&5
7615 ac_cv_type_uintmax_t
=no
7617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7619 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
7620 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
7621 if test $ac_cv_type_uintmax_t = yes; then
7622 acx_cv_header_stdint
=$i
7627 echo "$as_me:$LINENO: checking for uintptr_t" >&5
7628 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
7629 if test "${ac_cv_type_uintptr_t+set}" = set; then
7630 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 cat >conftest.
$ac_ext <<_ACEOF
7635 cat confdefs.h
>>conftest.
$ac_ext
7636 cat >>conftest.
$ac_ext <<_ACEOF
7637 /* end confdefs.h. */
7638 #include <sys/types.h>
7644 if ((uintptr_t *) 0)
7646 if (sizeof (uintptr_t))
7652 rm -f conftest.
$ac_objext
7653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7654 (eval $ac_compile) 2>conftest.er1
7656 grep -v '^ *+' conftest.er1
>conftest.err
7658 cat conftest.err
>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); } &&
7661 { ac_try
='test -z "$ac_c_werror_flag"
7662 || test ! -s conftest.err'
7663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); }; } &&
7668 { ac_try
='test -s conftest.$ac_objext'
7669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; }; then
7674 ac_cv_type_uintptr_t
=yes
7676 echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.
$ac_ext >&5
7679 ac_cv_type_uintptr_t
=no
7681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7683 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
7684 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
7685 if test $ac_cv_type_uintptr_t = yes; then
7688 acx_cv_header_stdint_kind
="(mostly complete)"
7691 echo "$as_me:$LINENO: checking for int_least32_t" >&5
7692 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
7693 if test "${ac_cv_type_int_least32_t+set}" = set; then
7694 echo $ECHO_N "(cached) $ECHO_C" >&6
7696 cat >conftest.
$ac_ext <<_ACEOF
7699 cat confdefs.h
>>conftest.
$ac_ext
7700 cat >>conftest.
$ac_ext <<_ACEOF
7701 /* end confdefs.h. */
7702 #include <sys/types.h>
7708 if ((int_least32_t *) 0)
7710 if (sizeof (int_least32_t))
7716 rm -f conftest.
$ac_objext
7717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7718 (eval $ac_compile) 2>conftest.er1
7720 grep -v '^ *+' conftest.er1
>conftest.err
7722 cat conftest.err
>&5
7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724 (exit $ac_status); } &&
7725 { ac_try
='test -z "$ac_c_werror_flag"
7726 || test ! -s conftest.err'
7727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); }; } &&
7732 { ac_try
='test -s conftest.$ac_objext'
7733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 (exit $ac_status); }; }; then
7738 ac_cv_type_int_least32_t
=yes
7740 echo "$as_me: failed program was:" >&5
7741 sed 's/^/| /' conftest.
$ac_ext >&5
7743 ac_cv_type_int_least32_t
=no
7745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7747 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
7748 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
7749 if test $ac_cv_type_int_least32_t = yes; then
7752 acx_cv_header_stdint_kind
="(mostly complete)"
7755 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
7756 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
7757 if test "${ac_cv_type_int_fast32_t+set}" = set; then
7758 echo $ECHO_N "(cached) $ECHO_C" >&6
7760 cat >conftest.
$ac_ext <<_ACEOF
7763 cat confdefs.h
>>conftest.
$ac_ext
7764 cat >>conftest.
$ac_ext <<_ACEOF
7765 /* end confdefs.h. */
7766 #include <sys/types.h>
7772 if ((int_fast32_t *) 0)
7774 if (sizeof (int_fast32_t))
7780 rm -f conftest.
$ac_objext
7781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7782 (eval $ac_compile) 2>conftest.er1
7784 grep -v '^ *+' conftest.er1
>conftest.err
7786 cat conftest.err
>&5
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); } &&
7789 { ac_try
='test -z "$ac_c_werror_flag"
7790 || test ! -s conftest.err'
7791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); }; } &&
7796 { ac_try
='test -s conftest.$ac_objext'
7797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); }; }; then
7802 ac_cv_type_int_fast32_t
=yes
7804 echo "$as_me: failed program was:" >&5
7805 sed 's/^/| /' conftest.
$ac_ext >&5
7807 ac_cv_type_int_fast32_t
=no
7809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7811 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
7812 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
7813 if test $ac_cv_type_int_fast32_t = yes; then
7816 acx_cv_header_stdint_kind
="(mostly complete)"
7819 echo "$as_me:$LINENO: checking for uint64_t" >&5
7820 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7821 if test "${ac_cv_type_uint64_t+set}" = set; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 cat >conftest.
$ac_ext <<_ACEOF
7827 cat confdefs.h
>>conftest.
$ac_ext
7828 cat >>conftest.
$ac_ext <<_ACEOF
7829 /* end confdefs.h. */
7830 #include <sys/types.h>
7838 if (sizeof (uint64_t))
7844 rm -f conftest.
$ac_objext
7845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7846 (eval $ac_compile) 2>conftest.er1
7848 grep -v '^ *+' conftest.er1
>conftest.err
7850 cat conftest.err
>&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); } &&
7853 { ac_try
='test -z "$ac_c_werror_flag"
7854 || test ! -s conftest.err'
7855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); }; } &&
7860 { ac_try
='test -s conftest.$ac_objext'
7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; }; then
7866 ac_cv_type_uint64_t
=yes
7868 echo "$as_me: failed program was:" >&5
7869 sed 's/^/| /' conftest.
$ac_ext >&5
7871 ac_cv_type_uint64_t
=no
7873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7875 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7876 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7877 if test $ac_cv_type_uint64_t = yes; then
7880 acx_cv_header_stdint_kind
="(lacks uint64_t)"
7885 if test "$acx_cv_header_stdint" = stddef.h
; then
7886 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
7887 for i
in stdint.h
$inttype_headers; do
7888 unset ac_cv_type_uintptr_t
7889 unset ac_cv_type_uint32_t
7890 unset ac_cv_type_uint64_t
7891 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
7892 echo "$as_me:$LINENO: checking for uint32_t" >&5
7893 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7894 if test "${ac_cv_type_uint32_t+set}" = set; then
7895 echo $ECHO_N "(cached) $ECHO_C" >&6
7897 cat >conftest.
$ac_ext <<_ACEOF
7900 cat confdefs.h
>>conftest.
$ac_ext
7901 cat >>conftest.
$ac_ext <<_ACEOF
7902 /* end confdefs.h. */
7903 #include <sys/types.h>
7911 if (sizeof (uint32_t))
7917 rm -f conftest.
$ac_objext
7918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7919 (eval $ac_compile) 2>conftest.er1
7921 grep -v '^ *+' conftest.er1
>conftest.err
7923 cat conftest.err
>&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); } &&
7926 { ac_try
='test -z "$ac_c_werror_flag"
7927 || test ! -s conftest.err'
7928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); }; } &&
7933 { ac_try
='test -s conftest.$ac_objext'
7934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); }; }; then
7939 ac_cv_type_uint32_t
=yes
7941 echo "$as_me: failed program was:" >&5
7942 sed 's/^/| /' conftest.
$ac_ext >&5
7944 ac_cv_type_uint32_t
=no
7946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7948 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7949 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7950 if test $ac_cv_type_uint32_t = yes; then
7951 acx_cv_header_stdint
=$i
7956 echo "$as_me:$LINENO: checking for uint64_t" >&5
7957 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7958 if test "${ac_cv_type_uint64_t+set}" = set; then
7959 echo $ECHO_N "(cached) $ECHO_C" >&6
7961 cat >conftest.
$ac_ext <<_ACEOF
7964 cat confdefs.h
>>conftest.
$ac_ext
7965 cat >>conftest.
$ac_ext <<_ACEOF
7966 /* end confdefs.h. */
7967 #include <sys/types.h>
7975 if (sizeof (uint64_t))
7981 rm -f conftest.
$ac_objext
7982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7983 (eval $ac_compile) 2>conftest.er1
7985 grep -v '^ *+' conftest.er1
>conftest.err
7987 cat conftest.err
>&5
7988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 (exit $ac_status); } &&
7990 { ac_try
='test -z "$ac_c_werror_flag"
7991 || test ! -s conftest.err'
7992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); }; } &&
7997 { ac_try
='test -s conftest.$ac_objext'
7998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); }; }; then
8003 ac_cv_type_uint64_t
=yes
8005 echo "$as_me: failed program was:" >&5
8006 sed 's/^/| /' conftest.
$ac_ext >&5
8008 ac_cv_type_uint64_t
=no
8010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8012 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
8013 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
8015 echo "$as_me:$LINENO: checking for uintptr_t" >&5
8016 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
8017 if test "${ac_cv_type_uintptr_t+set}" = set; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8020 cat >conftest.
$ac_ext <<_ACEOF
8023 cat confdefs.h
>>conftest.
$ac_ext
8024 cat >>conftest.
$ac_ext <<_ACEOF
8025 /* end confdefs.h. */
8026 #include <sys/types.h>
8032 if ((uintptr_t *) 0)
8034 if (sizeof (uintptr_t))
8040 rm -f conftest.
$ac_objext
8041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8042 (eval $ac_compile) 2>conftest.er1
8044 grep -v '^ *+' conftest.er1
>conftest.err
8046 cat conftest.err
>&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); } &&
8049 { ac_try
='test -z "$ac_c_werror_flag"
8050 || test ! -s conftest.err'
8051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055 (exit $ac_status); }; } &&
8056 { ac_try
='test -s conftest.$ac_objext'
8057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); }; }; then
8062 ac_cv_type_uintptr_t
=yes
8064 echo "$as_me: failed program was:" >&5
8065 sed 's/^/| /' conftest.
$ac_ext >&5
8067 ac_cv_type_uintptr_t
=no
8069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8071 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
8072 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
8077 if test "$acx_cv_header_stdint" = stddef.h
; then
8078 acx_cv_header_stdint_kind
="(u_intXX_t style)"
8079 for i
in sys
/types.h
$inttype_headers; do
8080 unset ac_cv_type_u_int32_t
8081 unset ac_cv_type_u_int64_t
8082 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
8083 echo "$as_me:$LINENO: checking for u_int32_t" >&5
8084 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
8085 if test "${ac_cv_type_u_int32_t+set}" = set; then
8086 echo $ECHO_N "(cached) $ECHO_C" >&6
8088 cat >conftest.
$ac_ext <<_ACEOF
8091 cat confdefs.h
>>conftest.
$ac_ext
8092 cat >>conftest.
$ac_ext <<_ACEOF
8093 /* end confdefs.h. */
8094 #include <sys/types.h>
8100 if ((u_int32_t *) 0)
8102 if (sizeof (u_int32_t))
8108 rm -f conftest.
$ac_objext
8109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8110 (eval $ac_compile) 2>conftest.er1
8112 grep -v '^ *+' conftest.er1
>conftest.err
8114 cat conftest.err
>&5
8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 (exit $ac_status); } &&
8117 { ac_try
='test -z "$ac_c_werror_flag"
8118 || test ! -s conftest.err'
8119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; } &&
8124 { ac_try
='test -s conftest.$ac_objext'
8125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); }; }; then
8130 ac_cv_type_u_int32_t
=yes
8132 echo "$as_me: failed program was:" >&5
8133 sed 's/^/| /' conftest.
$ac_ext >&5
8135 ac_cv_type_u_int32_t
=no
8137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8139 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
8140 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
8141 if test $ac_cv_type_u_int32_t = yes; then
8142 acx_cv_header_stdint
=$i
8147 echo "$as_me:$LINENO: checking for u_int64_t" >&5
8148 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
8149 if test "${ac_cv_type_u_int64_t+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8152 cat >conftest.
$ac_ext <<_ACEOF
8155 cat confdefs.h
>>conftest.
$ac_ext
8156 cat >>conftest.
$ac_ext <<_ACEOF
8157 /* end confdefs.h. */
8158 #include <sys/types.h>
8164 if ((u_int64_t *) 0)
8166 if (sizeof (u_int64_t))
8172 rm -f conftest.
$ac_objext
8173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8174 (eval $ac_compile) 2>conftest.er1
8176 grep -v '^ *+' conftest.er1
>conftest.err
8178 cat conftest.err
>&5
8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); } &&
8181 { ac_try
='test -z "$ac_c_werror_flag"
8182 || test ! -s conftest.err'
8183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); }; } &&
8188 { ac_try
='test -s conftest.$ac_objext'
8189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); }; }; then
8194 ac_cv_type_u_int64_t
=yes
8196 echo "$as_me: failed program was:" >&5
8197 sed 's/^/| /' conftest.
$ac_ext >&5
8199 ac_cv_type_u_int64_t
=no
8201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8203 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
8204 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
8209 if test "$acx_cv_header_stdint" = stddef.h
; then
8210 acx_cv_header_stdint_kind
="(using manual detection)"
8213 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
8214 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
8215 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
8216 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
8217 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
8219 # ----------------- Summarize what we found so far
8221 echo "$as_me:$LINENO: checking what to include in bfd_stdint.h" >&5
8222 echo $ECHO_N "checking what to include in bfd_stdint.h... $ECHO_C" >&6
8224 case `$as_basename bfd_stdint.h ||
8225 $as_expr X/bfd_stdint.h : '.*/\([^/][^/]*\)/*$' \| \
8226 Xbfd_stdint.h : 'X\(//\)$' \| \
8227 Xbfd_stdint.h : 'X\(/\)$' \| \
8228 . : '\(.\)' 2>/dev/null ||
8229 echo X/bfd_stdint.h |
8230 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8231 /^X\/\(\/\/\)$/{ s//\1/; q; }
8232 /^X\/\(\/\).*/{ s//\1/; q; }
8234 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
8235 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
8236 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
8237 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
8241 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
8242 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
8244 # ----------------- done included file, check C basic types --------
8246 # Lacking an uintptr_t? Test size of void *
8247 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
8248 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
8249 echo $ECHO_N "checking for void *... $ECHO_C" >&6
8250 if test "${ac_cv_type_void_p+set}" = set; then
8251 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 cat >conftest.
$ac_ext <<_ACEOF
8256 cat confdefs.h
>>conftest.
$ac_ext
8257 cat >>conftest.
$ac_ext <<_ACEOF
8258 /* end confdefs.h. */
8259 $ac_includes_default
8265 if (sizeof (void *))
8271 rm -f conftest.
$ac_objext
8272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8273 (eval $ac_compile) 2>conftest.er1
8275 grep -v '^ *+' conftest.er1
>conftest.err
8277 cat conftest.err
>&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); } &&
8280 { ac_try
='test -z "$ac_c_werror_flag"
8281 || test ! -s conftest.err'
8282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); }; } &&
8287 { ac_try
='test -s conftest.$ac_objext'
8288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); }; }; then
8293 ac_cv_type_void_p
=yes
8295 echo "$as_me: failed program was:" >&5
8296 sed 's/^/| /' conftest.
$ac_ext >&5
8298 ac_cv_type_void_p
=no
8300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8302 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
8303 echo "${ECHO_T}$ac_cv_type_void_p" >&6
8305 echo "$as_me:$LINENO: checking size of void *" >&5
8306 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
8307 if test "${ac_cv_sizeof_void_p+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 if test "$ac_cv_type_void_p" = yes; then
8311 # The cast to unsigned long works around a bug in the HP C Compiler
8312 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8313 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8314 # This bug is HP SR number 8606223364.
8315 if test "$cross_compiling" = yes; then
8316 # Depending upon the size, compute the lo and hi bounds.
8317 cat >conftest.
$ac_ext <<_ACEOF
8320 cat confdefs.h
>>conftest.
$ac_ext
8321 cat >>conftest.
$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8323 $ac_includes_default
8327 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
8334 rm -f conftest.
$ac_objext
8335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8336 (eval $ac_compile) 2>conftest.er1
8338 grep -v '^ *+' conftest.er1
>conftest.err
8340 cat conftest.err
>&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } &&
8343 { ac_try
='test -z "$ac_c_werror_flag"
8344 || test ! -s conftest.err'
8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); }; } &&
8350 { ac_try
='test -s conftest.$ac_objext'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; }; then
8358 cat >conftest.
$ac_ext <<_ACEOF
8361 cat confdefs.h
>>conftest.
$ac_ext
8362 cat >>conftest.
$ac_ext <<_ACEOF
8363 /* end confdefs.h. */
8364 $ac_includes_default
8368 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
8375 rm -f conftest.
$ac_objext
8376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8377 (eval $ac_compile) 2>conftest.er1
8379 grep -v '^ *+' conftest.er1
>conftest.err
8381 cat conftest.err
>&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } &&
8384 { ac_try
='test -z "$ac_c_werror_flag"
8385 || test ! -s conftest.err'
8386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; } &&
8391 { ac_try
='test -s conftest.$ac_objext'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; }; then
8397 ac_hi
=$ac_mid; break
8399 echo "$as_me: failed program was:" >&5
8400 sed 's/^/| /' conftest.
$ac_ext >&5
8402 ac_lo
=`expr $ac_mid + 1`
8403 if test $ac_lo -le $ac_mid; then
8407 ac_mid
=`expr 2 '*' $ac_mid + 1`
8409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.
$ac_ext >&5
8415 cat >conftest.
$ac_ext <<_ACEOF
8418 cat confdefs.h
>>conftest.
$ac_ext
8419 cat >>conftest.
$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8421 $ac_includes_default
8425 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
8432 rm -f conftest.
$ac_objext
8433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8434 (eval $ac_compile) 2>conftest.er1
8436 grep -v '^ *+' conftest.er1
>conftest.err
8438 cat conftest.err
>&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); } &&
8441 { ac_try
='test -z "$ac_c_werror_flag"
8442 || test ! -s conftest.err'
8443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); }; } &&
8448 { ac_try
='test -s conftest.$ac_objext'
8449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); }; }; then
8456 cat >conftest.
$ac_ext <<_ACEOF
8459 cat confdefs.h
>>conftest.
$ac_ext
8460 cat >>conftest.
$ac_ext <<_ACEOF
8461 /* end confdefs.h. */
8462 $ac_includes_default
8466 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
8473 rm -f conftest.
$ac_objext
8474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8475 (eval $ac_compile) 2>conftest.er1
8477 grep -v '^ *+' conftest.er1
>conftest.err
8479 cat conftest.err
>&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); } &&
8482 { ac_try
='test -z "$ac_c_werror_flag"
8483 || test ! -s conftest.err'
8484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); }; } &&
8489 { ac_try
='test -s conftest.$ac_objext'
8490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); }; }; then
8495 ac_lo
=$ac_mid; break
8497 echo "$as_me: failed program was:" >&5
8498 sed 's/^/| /' conftest.
$ac_ext >&5
8500 ac_hi
=`expr '(' $ac_mid ')' - 1`
8501 if test $ac_mid -le $ac_hi; then
8505 ac_mid
=`expr 2 '*' $ac_mid`
8507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8510 echo "$as_me: failed program was:" >&5
8511 sed 's/^/| /' conftest.
$ac_ext >&5
8515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8518 # Binary search between lo and hi bounds.
8519 while test "x$ac_lo" != "x$ac_hi"; do
8520 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8521 cat >conftest.
$ac_ext <<_ACEOF
8524 cat confdefs.h
>>conftest.
$ac_ext
8525 cat >>conftest.
$ac_ext <<_ACEOF
8526 /* end confdefs.h. */
8527 $ac_includes_default
8531 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
8538 rm -f conftest.
$ac_objext
8539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8540 (eval $ac_compile) 2>conftest.er1
8542 grep -v '^ *+' conftest.er1
>conftest.err
8544 cat conftest.err
>&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); } &&
8547 { ac_try
='test -z "$ac_c_werror_flag"
8548 || test ! -s conftest.err'
8549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 (exit $ac_status); }; } &&
8554 { ac_try
='test -s conftest.$ac_objext'
8555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; }; then
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.
$ac_ext >&5
8565 ac_lo
=`expr '(' $ac_mid ')' + 1`
8567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8570 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
8571 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
8572 See \`config.log' for more details." >&5
8573 echo "$as_me: error: cannot compute sizeof (void *), 77
8574 See \`config.log' for more details." >&2;}
8575 { (exit 1); exit 1; }; } ;;
8578 if test "$cross_compiling" = yes; then
8579 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8580 See \`config.log' for more details." >&5
8581 echo "$as_me: error: cannot run test program while cross compiling
8582 See \`config.log' for more details." >&2;}
8583 { (exit 1); exit 1; }; }
8585 cat >conftest.
$ac_ext <<_ACEOF
8588 cat confdefs.h
>>conftest.
$ac_ext
8589 cat >>conftest.
$ac_ext <<_ACEOF
8590 /* end confdefs.h. */
8591 $ac_includes_default
8592 long longval () { return (long) (sizeof (void *)); }
8593 unsigned long ulongval () { return (long) (sizeof (void *)); }
8600 FILE *f = fopen ("conftest.val", "w");
8603 if (((long) (sizeof (void *))) < 0)
8605 long i = longval ();
8606 if (i != ((long) (sizeof (void *))))
8608 fprintf (f, "%ld\n", i);
8612 unsigned long i = ulongval ();
8613 if (i != ((long) (sizeof (void *))))
8615 fprintf (f, "%lu\n", i);
8617 exit (ferror (f) || fclose (f) != 0);
8623 rm -f conftest
$ac_exeext
8624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8625 (eval $ac_link) 2>&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); }; }; then
8634 ac_cv_sizeof_void_p
=`cat conftest.val`
8636 echo "$as_me: program exited with status $ac_status" >&5
8637 echo "$as_me: failed program was:" >&5
8638 sed 's/^/| /' conftest.
$ac_ext >&5
8641 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
8642 See \`config.log' for more details." >&5
8643 echo "$as_me: error: cannot compute sizeof (void *), 77
8644 See \`config.log' for more details." >&2;}
8645 { (exit 1); exit 1; }; }
8647 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8652 ac_cv_sizeof_void_p
=0
8655 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
8656 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
8657 cat >>confdefs.h
<<_ACEOF
8658 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
8664 # Lacking an uint64_t? Test size of long
8665 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
8666 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
8667 echo $ECHO_N "checking for long... $ECHO_C" >&6
8668 if test "${ac_cv_type_long+set}" = set; then
8669 echo $ECHO_N "(cached) $ECHO_C" >&6
8671 cat >conftest.
$ac_ext <<_ACEOF
8674 cat confdefs.h
>>conftest.
$ac_ext
8675 cat >>conftest.
$ac_ext <<_ACEOF
8676 /* end confdefs.h. */
8677 $ac_includes_default
8689 rm -f conftest.
$ac_objext
8690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8691 (eval $ac_compile) 2>conftest.er1
8693 grep -v '^ *+' conftest.er1
>conftest.err
8695 cat conftest.err
>&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); } &&
8698 { ac_try
='test -z "$ac_c_werror_flag"
8699 || test ! -s conftest.err'
8700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); }; } &&
8705 { ac_try
='test -s conftest.$ac_objext'
8706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); }; }; then
8713 echo "$as_me: failed program was:" >&5
8714 sed 's/^/| /' conftest.
$ac_ext >&5
8718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8720 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
8721 echo "${ECHO_T}$ac_cv_type_long" >&6
8723 echo "$as_me:$LINENO: checking size of long" >&5
8724 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8725 if test "${ac_cv_sizeof_long+set}" = set; then
8726 echo $ECHO_N "(cached) $ECHO_C" >&6
8728 if test "$ac_cv_type_long" = yes; then
8729 # The cast to unsigned long works around a bug in the HP C Compiler
8730 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8731 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8732 # This bug is HP SR number 8606223364.
8733 if test "$cross_compiling" = yes; then
8734 # Depending upon the size, compute the lo and hi bounds.
8735 cat >conftest.
$ac_ext <<_ACEOF
8738 cat confdefs.h
>>conftest.
$ac_ext
8739 cat >>conftest.
$ac_ext <<_ACEOF
8740 /* end confdefs.h. */
8741 $ac_includes_default
8745 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
8752 rm -f conftest.
$ac_objext
8753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8754 (eval $ac_compile) 2>conftest.er1
8756 grep -v '^ *+' conftest.er1
>conftest.err
8758 cat conftest.err
>&5
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); } &&
8761 { ac_try
='test -z "$ac_c_werror_flag"
8762 || test ! -s conftest.err'
8763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767 (exit $ac_status); }; } &&
8768 { ac_try
='test -s conftest.$ac_objext'
8769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); }; }; then
8776 cat >conftest.
$ac_ext <<_ACEOF
8779 cat confdefs.h
>>conftest.
$ac_ext
8780 cat >>conftest.
$ac_ext <<_ACEOF
8781 /* end confdefs.h. */
8782 $ac_includes_default
8786 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8793 rm -f conftest.
$ac_objext
8794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8795 (eval $ac_compile) 2>conftest.er1
8797 grep -v '^ *+' conftest.er1
>conftest.err
8799 cat conftest.err
>&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } &&
8802 { ac_try
='test -z "$ac_c_werror_flag"
8803 || test ! -s conftest.err'
8804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); }; } &&
8809 { ac_try
='test -s conftest.$ac_objext'
8810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; }; then
8815 ac_hi
=$ac_mid; break
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.
$ac_ext >&5
8820 ac_lo
=`expr $ac_mid + 1`
8821 if test $ac_lo -le $ac_mid; then
8825 ac_mid
=`expr 2 '*' $ac_mid + 1`
8827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8830 echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.
$ac_ext >&5
8833 cat >conftest.
$ac_ext <<_ACEOF
8836 cat confdefs.h
>>conftest.
$ac_ext
8837 cat >>conftest.
$ac_ext <<_ACEOF
8838 /* end confdefs.h. */
8839 $ac_includes_default
8843 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
8850 rm -f conftest.
$ac_objext
8851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8852 (eval $ac_compile) 2>conftest.er1
8854 grep -v '^ *+' conftest.er1
>conftest.err
8856 cat conftest.err
>&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } &&
8859 { ac_try
='test -z "$ac_c_werror_flag"
8860 || test ! -s conftest.err'
8861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); }; } &&
8866 { ac_try
='test -s conftest.$ac_objext'
8867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); }; }; then
8874 cat >conftest.
$ac_ext <<_ACEOF
8877 cat confdefs.h
>>conftest.
$ac_ext
8878 cat >>conftest.
$ac_ext <<_ACEOF
8879 /* end confdefs.h. */
8880 $ac_includes_default
8884 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
8891 rm -f conftest.
$ac_objext
8892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8893 (eval $ac_compile) 2>conftest.er1
8895 grep -v '^ *+' conftest.er1
>conftest.err
8897 cat conftest.err
>&5
8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899 (exit $ac_status); } &&
8900 { ac_try
='test -z "$ac_c_werror_flag"
8901 || test ! -s conftest.err'
8902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); }; } &&
8907 { ac_try
='test -s conftest.$ac_objext'
8908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); }; }; then
8913 ac_lo
=$ac_mid; break
8915 echo "$as_me: failed program was:" >&5
8916 sed 's/^/| /' conftest.
$ac_ext >&5
8918 ac_hi
=`expr '(' $ac_mid ')' - 1`
8919 if test $ac_mid -le $ac_hi; then
8923 ac_mid
=`expr 2 '*' $ac_mid`
8925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8928 echo "$as_me: failed program was:" >&5
8929 sed 's/^/| /' conftest.
$ac_ext >&5
8933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8936 # Binary search between lo and hi bounds.
8937 while test "x$ac_lo" != "x$ac_hi"; do
8938 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8939 cat >conftest.
$ac_ext <<_ACEOF
8942 cat confdefs.h
>>conftest.
$ac_ext
8943 cat >>conftest.
$ac_ext <<_ACEOF
8944 /* end confdefs.h. */
8945 $ac_includes_default
8949 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
8956 rm -f conftest.
$ac_objext
8957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8958 (eval $ac_compile) 2>conftest.er1
8960 grep -v '^ *+' conftest.er1
>conftest.err
8962 cat conftest.err
>&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); } &&
8965 { ac_try
='test -z "$ac_c_werror_flag"
8966 || test ! -s conftest.err'
8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; } &&
8972 { ac_try
='test -s conftest.$ac_objext'
8973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); }; }; then
8980 echo "$as_me: failed program was:" >&5
8981 sed 's/^/| /' conftest.
$ac_ext >&5
8983 ac_lo
=`expr '(' $ac_mid ')' + 1`
8985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8988 ?
*) ac_cv_sizeof_long
=$ac_lo;;
8989 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8990 See \`config.log' for more details." >&5
8991 echo "$as_me: error: cannot compute sizeof (long), 77
8992 See \`config.log' for more details." >&2;}
8993 { (exit 1); exit 1; }; } ;;
8996 if test "$cross_compiling" = yes; then
8997 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8998 See \`config.log' for more details." >&5
8999 echo "$as_me: error: cannot run test program while cross compiling
9000 See \`config.log' for more details." >&2;}
9001 { (exit 1); exit 1; }; }
9003 cat >conftest.
$ac_ext <<_ACEOF
9006 cat confdefs.h
>>conftest.
$ac_ext
9007 cat >>conftest.
$ac_ext <<_ACEOF
9008 /* end confdefs.h. */
9009 $ac_includes_default
9010 long longval () { return (long) (sizeof (long)); }
9011 unsigned long ulongval () { return (long) (sizeof (long)); }
9018 FILE *f = fopen ("conftest.val", "w");
9021 if (((long) (sizeof (long))) < 0)
9023 long i = longval ();
9024 if (i != ((long) (sizeof (long))))
9026 fprintf (f, "%ld\n", i);
9030 unsigned long i = ulongval ();
9031 if (i != ((long) (sizeof (long))))
9033 fprintf (f, "%lu\n", i);
9035 exit (ferror (f) || fclose (f) != 0);
9041 rm -f conftest
$ac_exeext
9042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9043 (eval $ac_link) 2>&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); }; }; then
9052 ac_cv_sizeof_long
=`cat conftest.val`
9054 echo "$as_me: program exited with status $ac_status" >&5
9055 echo "$as_me: failed program was:" >&5
9056 sed 's/^/| /' conftest.
$ac_ext >&5
9059 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
9060 See \`config.log' for more details." >&5
9061 echo "$as_me: error: cannot compute sizeof (long), 77
9062 See \`config.log' for more details." >&2;}
9063 { (exit 1); exit 1; }; }
9065 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9073 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
9074 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
9075 cat >>confdefs.h
<<_ACEOF
9076 #define SIZEOF_LONG $ac_cv_sizeof_long
9082 if test $acx_cv_header_stdint = stddef.h
; then
9083 # Lacking a good header? Test size of everything and deduce all types.
9084 echo "$as_me:$LINENO: checking for int" >&5
9085 echo $ECHO_N "checking for int... $ECHO_C" >&6
9086 if test "${ac_cv_type_int+set}" = set; then
9087 echo $ECHO_N "(cached) $ECHO_C" >&6
9089 cat >conftest.
$ac_ext <<_ACEOF
9092 cat confdefs.h
>>conftest.
$ac_ext
9093 cat >>conftest.
$ac_ext <<_ACEOF
9094 /* end confdefs.h. */
9095 $ac_includes_default
9107 rm -f conftest.
$ac_objext
9108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9109 (eval $ac_compile) 2>conftest.er1
9111 grep -v '^ *+' conftest.er1
>conftest.err
9113 cat conftest.err
>&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); } &&
9116 { ac_try
='test -z "$ac_c_werror_flag"
9117 || test ! -s conftest.err'
9118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); }; } &&
9123 { ac_try
='test -s conftest.$ac_objext'
9124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); }; }; then
9131 echo "$as_me: failed program was:" >&5
9132 sed 's/^/| /' conftest.
$ac_ext >&5
9136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9138 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
9139 echo "${ECHO_T}$ac_cv_type_int" >&6
9141 echo "$as_me:$LINENO: checking size of int" >&5
9142 echo $ECHO_N "checking size of int... $ECHO_C" >&6
9143 if test "${ac_cv_sizeof_int+set}" = set; then
9144 echo $ECHO_N "(cached) $ECHO_C" >&6
9146 if test "$ac_cv_type_int" = yes; then
9147 # The cast to unsigned long works around a bug in the HP C Compiler
9148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9150 # This bug is HP SR number 8606223364.
9151 if test "$cross_compiling" = yes; then
9152 # Depending upon the size, compute the lo and hi bounds.
9153 cat >conftest.
$ac_ext <<_ACEOF
9156 cat confdefs.h
>>conftest.
$ac_ext
9157 cat >>conftest.
$ac_ext <<_ACEOF
9158 /* end confdefs.h. */
9159 $ac_includes_default
9163 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
9170 rm -f conftest.
$ac_objext
9171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9172 (eval $ac_compile) 2>conftest.er1
9174 grep -v '^ *+' conftest.er1
>conftest.err
9176 cat conftest.err
>&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); } &&
9179 { ac_try
='test -z "$ac_c_werror_flag"
9180 || test ! -s conftest.err'
9181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185 (exit $ac_status); }; } &&
9186 { ac_try
='test -s conftest.$ac_objext'
9187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); }; }; then
9194 cat >conftest.
$ac_ext <<_ACEOF
9197 cat confdefs.h
>>conftest.
$ac_ext
9198 cat >>conftest.
$ac_ext <<_ACEOF
9199 /* end confdefs.h. */
9200 $ac_includes_default
9204 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
9211 rm -f conftest.
$ac_objext
9212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9213 (eval $ac_compile) 2>conftest.er1
9215 grep -v '^ *+' conftest.er1
>conftest.err
9217 cat conftest.err
>&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } &&
9220 { ac_try
='test -z "$ac_c_werror_flag"
9221 || test ! -s conftest.err'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; } &&
9227 { ac_try
='test -s conftest.$ac_objext'
9228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); }; }; then
9233 ac_hi
=$ac_mid; break
9235 echo "$as_me: failed program was:" >&5
9236 sed 's/^/| /' conftest.
$ac_ext >&5
9238 ac_lo
=`expr $ac_mid + 1`
9239 if test $ac_lo -le $ac_mid; then
9243 ac_mid
=`expr 2 '*' $ac_mid + 1`
9245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9248 echo "$as_me: failed program was:" >&5
9249 sed 's/^/| /' conftest.
$ac_ext >&5
9251 cat >conftest.
$ac_ext <<_ACEOF
9254 cat confdefs.h
>>conftest.
$ac_ext
9255 cat >>conftest.
$ac_ext <<_ACEOF
9256 /* end confdefs.h. */
9257 $ac_includes_default
9261 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
9268 rm -f conftest.
$ac_objext
9269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9270 (eval $ac_compile) 2>conftest.er1
9272 grep -v '^ *+' conftest.er1
>conftest.err
9274 cat conftest.err
>&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); } &&
9277 { ac_try
='test -z "$ac_c_werror_flag"
9278 || test ! -s conftest.err'
9279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9283 (exit $ac_status); }; } &&
9284 { ac_try
='test -s conftest.$ac_objext'
9285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); }; }; then
9292 cat >conftest.
$ac_ext <<_ACEOF
9295 cat confdefs.h
>>conftest.
$ac_ext
9296 cat >>conftest.
$ac_ext <<_ACEOF
9297 /* end confdefs.h. */
9298 $ac_includes_default
9302 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
9309 rm -f conftest.
$ac_objext
9310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9311 (eval $ac_compile) 2>conftest.er1
9313 grep -v '^ *+' conftest.er1
>conftest.err
9315 cat conftest.err
>&5
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 (exit $ac_status); } &&
9318 { ac_try
='test -z "$ac_c_werror_flag"
9319 || test ! -s conftest.err'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; } &&
9325 { ac_try
='test -s conftest.$ac_objext'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; }; then
9331 ac_lo
=$ac_mid; break
9333 echo "$as_me: failed program was:" >&5
9334 sed 's/^/| /' conftest.
$ac_ext >&5
9336 ac_hi
=`expr '(' $ac_mid ')' - 1`
9337 if test $ac_mid -le $ac_hi; then
9341 ac_mid
=`expr 2 '*' $ac_mid`
9343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9346 echo "$as_me: failed program was:" >&5
9347 sed 's/^/| /' conftest.
$ac_ext >&5
9351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9354 # Binary search between lo and hi bounds.
9355 while test "x$ac_lo" != "x$ac_hi"; do
9356 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9357 cat >conftest.
$ac_ext <<_ACEOF
9360 cat confdefs.h
>>conftest.
$ac_ext
9361 cat >>conftest.
$ac_ext <<_ACEOF
9362 /* end confdefs.h. */
9363 $ac_includes_default
9367 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
9374 rm -f conftest.
$ac_objext
9375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9376 (eval $ac_compile) 2>conftest.er1
9378 grep -v '^ *+' conftest.er1
>conftest.err
9380 cat conftest.err
>&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); } &&
9383 { ac_try
='test -z "$ac_c_werror_flag"
9384 || test ! -s conftest.err'
9385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); }; } &&
9390 { ac_try
='test -s conftest.$ac_objext'
9391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); }; }; then
9398 echo "$as_me: failed program was:" >&5
9399 sed 's/^/| /' conftest.
$ac_ext >&5
9401 ac_lo
=`expr '(' $ac_mid ')' + 1`
9403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9406 ?
*) ac_cv_sizeof_int
=$ac_lo;;
9407 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
9408 See \`config.log' for more details." >&5
9409 echo "$as_me: error: cannot compute sizeof (int), 77
9410 See \`config.log' for more details." >&2;}
9411 { (exit 1); exit 1; }; } ;;
9414 if test "$cross_compiling" = yes; then
9415 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9416 See \`config.log' for more details." >&5
9417 echo "$as_me: error: cannot run test program while cross compiling
9418 See \`config.log' for more details." >&2;}
9419 { (exit 1); exit 1; }; }
9421 cat >conftest.
$ac_ext <<_ACEOF
9424 cat confdefs.h
>>conftest.
$ac_ext
9425 cat >>conftest.
$ac_ext <<_ACEOF
9426 /* end confdefs.h. */
9427 $ac_includes_default
9428 long longval () { return (long) (sizeof (int)); }
9429 unsigned long ulongval () { return (long) (sizeof (int)); }
9436 FILE *f = fopen ("conftest.val", "w");
9439 if (((long) (sizeof (int))) < 0)
9441 long i = longval ();
9442 if (i != ((long) (sizeof (int))))
9444 fprintf (f, "%ld\n", i);
9448 unsigned long i = ulongval ();
9449 if (i != ((long) (sizeof (int))))
9451 fprintf (f, "%lu\n", i);
9453 exit (ferror (f) || fclose (f) != 0);
9459 rm -f conftest
$ac_exeext
9460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9461 (eval $ac_link) 2>&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }; }; then
9470 ac_cv_sizeof_int
=`cat conftest.val`
9472 echo "$as_me: program exited with status $ac_status" >&5
9473 echo "$as_me: failed program was:" >&5
9474 sed 's/^/| /' conftest.
$ac_ext >&5
9477 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
9478 See \`config.log' for more details." >&5
9479 echo "$as_me: error: cannot compute sizeof (int), 77
9480 See \`config.log' for more details." >&2;}
9481 { (exit 1); exit 1; }; }
9483 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9491 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
9492 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
9493 cat >>confdefs.h
<<_ACEOF
9494 #define SIZEOF_INT $ac_cv_sizeof_int
9498 echo "$as_me:$LINENO: checking for short" >&5
9499 echo $ECHO_N "checking for short... $ECHO_C" >&6
9500 if test "${ac_cv_type_short+set}" = set; then
9501 echo $ECHO_N "(cached) $ECHO_C" >&6
9503 cat >conftest.
$ac_ext <<_ACEOF
9506 cat confdefs.h
>>conftest.
$ac_ext
9507 cat >>conftest.
$ac_ext <<_ACEOF
9508 /* end confdefs.h. */
9509 $ac_includes_default
9521 rm -f conftest.
$ac_objext
9522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9523 (eval $ac_compile) 2>conftest.er1
9525 grep -v '^ *+' conftest.er1
>conftest.err
9527 cat conftest.err
>&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); } &&
9530 { ac_try
='test -z "$ac_c_werror_flag"
9531 || test ! -s conftest.err'
9532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); }; } &&
9537 { ac_try
='test -s conftest.$ac_objext'
9538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 (exit $ac_status); }; }; then
9543 ac_cv_type_short
=yes
9545 echo "$as_me: failed program was:" >&5
9546 sed 's/^/| /' conftest.
$ac_ext >&5
9550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9552 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
9553 echo "${ECHO_T}$ac_cv_type_short" >&6
9555 echo "$as_me:$LINENO: checking size of short" >&5
9556 echo $ECHO_N "checking size of short... $ECHO_C" >&6
9557 if test "${ac_cv_sizeof_short+set}" = set; then
9558 echo $ECHO_N "(cached) $ECHO_C" >&6
9560 if test "$ac_cv_type_short" = yes; then
9561 # The cast to unsigned long works around a bug in the HP C Compiler
9562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9564 # This bug is HP SR number 8606223364.
9565 if test "$cross_compiling" = yes; then
9566 # Depending upon the size, compute the lo and hi bounds.
9567 cat >conftest.
$ac_ext <<_ACEOF
9570 cat confdefs.h
>>conftest.
$ac_ext
9571 cat >>conftest.
$ac_ext <<_ACEOF
9572 /* end confdefs.h. */
9573 $ac_includes_default
9577 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
9584 rm -f conftest.
$ac_objext
9585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9586 (eval $ac_compile) 2>conftest.er1
9588 grep -v '^ *+' conftest.er1
>conftest.err
9590 cat conftest.err
>&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); } &&
9593 { ac_try
='test -z "$ac_c_werror_flag"
9594 || test ! -s conftest.err'
9595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); }; } &&
9600 { ac_try
='test -s conftest.$ac_objext'
9601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); }; }; then
9608 cat >conftest.
$ac_ext <<_ACEOF
9611 cat confdefs.h
>>conftest.
$ac_ext
9612 cat >>conftest.
$ac_ext <<_ACEOF
9613 /* end confdefs.h. */
9614 $ac_includes_default
9618 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
9625 rm -f conftest.
$ac_objext
9626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9627 (eval $ac_compile) 2>conftest.er1
9629 grep -v '^ *+' conftest.er1
>conftest.err
9631 cat conftest.err
>&5
9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633 (exit $ac_status); } &&
9634 { ac_try
='test -z "$ac_c_werror_flag"
9635 || test ! -s conftest.err'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; } &&
9641 { ac_try
='test -s conftest.$ac_objext'
9642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; }; then
9647 ac_hi
=$ac_mid; break
9649 echo "$as_me: failed program was:" >&5
9650 sed 's/^/| /' conftest.
$ac_ext >&5
9652 ac_lo
=`expr $ac_mid + 1`
9653 if test $ac_lo -le $ac_mid; then
9657 ac_mid
=`expr 2 '*' $ac_mid + 1`
9659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9662 echo "$as_me: failed program was:" >&5
9663 sed 's/^/| /' conftest.
$ac_ext >&5
9665 cat >conftest.
$ac_ext <<_ACEOF
9668 cat confdefs.h
>>conftest.
$ac_ext
9669 cat >>conftest.
$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9671 $ac_includes_default
9675 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
9682 rm -f conftest.
$ac_objext
9683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9684 (eval $ac_compile) 2>conftest.er1
9686 grep -v '^ *+' conftest.er1
>conftest.err
9688 cat conftest.err
>&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); } &&
9691 { ac_try
='test -z "$ac_c_werror_flag"
9692 || test ! -s conftest.err'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; } &&
9698 { ac_try
='test -s conftest.$ac_objext'
9699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); }; }; then
9706 cat >conftest.
$ac_ext <<_ACEOF
9709 cat confdefs.h
>>conftest.
$ac_ext
9710 cat >>conftest.
$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9712 $ac_includes_default
9716 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
9723 rm -f conftest.
$ac_objext
9724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9725 (eval $ac_compile) 2>conftest.er1
9727 grep -v '^ *+' conftest.er1
>conftest.err
9729 cat conftest.err
>&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); } &&
9732 { ac_try
='test -z "$ac_c_werror_flag"
9733 || test ! -s conftest.err'
9734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); }; } &&
9739 { ac_try
='test -s conftest.$ac_objext'
9740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); }; }; then
9745 ac_lo
=$ac_mid; break
9747 echo "$as_me: failed program was:" >&5
9748 sed 's/^/| /' conftest.
$ac_ext >&5
9750 ac_hi
=`expr '(' $ac_mid ')' - 1`
9751 if test $ac_mid -le $ac_hi; then
9755 ac_mid
=`expr 2 '*' $ac_mid`
9757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9760 echo "$as_me: failed program was:" >&5
9761 sed 's/^/| /' conftest.
$ac_ext >&5
9765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9768 # Binary search between lo and hi bounds.
9769 while test "x$ac_lo" != "x$ac_hi"; do
9770 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9771 cat >conftest.
$ac_ext <<_ACEOF
9774 cat confdefs.h
>>conftest.
$ac_ext
9775 cat >>conftest.
$ac_ext <<_ACEOF
9776 /* end confdefs.h. */
9777 $ac_includes_default
9781 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
9788 rm -f conftest.
$ac_objext
9789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9790 (eval $ac_compile) 2>conftest.er1
9792 grep -v '^ *+' conftest.er1
>conftest.err
9794 cat conftest.err
>&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } &&
9797 { ac_try
='test -z "$ac_c_werror_flag"
9798 || test ! -s conftest.err'
9799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }; } &&
9804 { ac_try
='test -s conftest.$ac_objext'
9805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); }; }; then
9812 echo "$as_me: failed program was:" >&5
9813 sed 's/^/| /' conftest.
$ac_ext >&5
9815 ac_lo
=`expr '(' $ac_mid ')' + 1`
9817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9820 ?
*) ac_cv_sizeof_short
=$ac_lo;;
9821 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9822 See \`config.log' for more details." >&5
9823 echo "$as_me: error: cannot compute sizeof (short), 77
9824 See \`config.log' for more details." >&2;}
9825 { (exit 1); exit 1; }; } ;;
9828 if test "$cross_compiling" = yes; then
9829 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9830 See \`config.log' for more details." >&5
9831 echo "$as_me: error: cannot run test program while cross compiling
9832 See \`config.log' for more details." >&2;}
9833 { (exit 1); exit 1; }; }
9835 cat >conftest.
$ac_ext <<_ACEOF
9838 cat confdefs.h
>>conftest.
$ac_ext
9839 cat >>conftest.
$ac_ext <<_ACEOF
9840 /* end confdefs.h. */
9841 $ac_includes_default
9842 long longval () { return (long) (sizeof (short)); }
9843 unsigned long ulongval () { return (long) (sizeof (short)); }
9850 FILE *f = fopen ("conftest.val", "w");
9853 if (((long) (sizeof (short))) < 0)
9855 long i = longval ();
9856 if (i != ((long) (sizeof (short))))
9858 fprintf (f, "%ld\n", i);
9862 unsigned long i = ulongval ();
9863 if (i != ((long) (sizeof (short))))
9865 fprintf (f, "%lu\n", i);
9867 exit (ferror (f) || fclose (f) != 0);
9873 rm -f conftest
$ac_exeext
9874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9875 (eval $ac_link) 2>&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); }; }; then
9884 ac_cv_sizeof_short
=`cat conftest.val`
9886 echo "$as_me: program exited with status $ac_status" >&5
9887 echo "$as_me: failed program was:" >&5
9888 sed 's/^/| /' conftest.
$ac_ext >&5
9891 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
9892 See \`config.log' for more details." >&5
9893 echo "$as_me: error: cannot compute sizeof (short), 77
9894 See \`config.log' for more details." >&2;}
9895 { (exit 1); exit 1; }; }
9897 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9902 ac_cv_sizeof_short
=0
9905 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
9906 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
9907 cat >>confdefs.h
<<_ACEOF
9908 #define SIZEOF_SHORT $ac_cv_sizeof_short
9912 echo "$as_me:$LINENO: checking for char" >&5
9913 echo $ECHO_N "checking for char... $ECHO_C" >&6
9914 if test "${ac_cv_type_char+set}" = set; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9917 cat >conftest.
$ac_ext <<_ACEOF
9920 cat confdefs.h
>>conftest.
$ac_ext
9921 cat >>conftest.
$ac_ext <<_ACEOF
9922 /* end confdefs.h. */
9923 $ac_includes_default
9935 rm -f conftest.
$ac_objext
9936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9937 (eval $ac_compile) 2>conftest.er1
9939 grep -v '^ *+' conftest.er1
>conftest.err
9941 cat conftest.err
>&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); } &&
9944 { ac_try
='test -z "$ac_c_werror_flag"
9945 || test ! -s conftest.err'
9946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); }; } &&
9951 { ac_try
='test -s conftest.$ac_objext'
9952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9956 (exit $ac_status); }; }; then
9959 echo "$as_me: failed program was:" >&5
9960 sed 's/^/| /' conftest.
$ac_ext >&5
9964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9966 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
9967 echo "${ECHO_T}$ac_cv_type_char" >&6
9969 echo "$as_me:$LINENO: checking size of char" >&5
9970 echo $ECHO_N "checking size of char... $ECHO_C" >&6
9971 if test "${ac_cv_sizeof_char+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 if test "$ac_cv_type_char" = yes; then
9975 # The cast to unsigned long works around a bug in the HP C Compiler
9976 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9977 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9978 # This bug is HP SR number 8606223364.
9979 if test "$cross_compiling" = yes; then
9980 # Depending upon the size, compute the lo and hi bounds.
9981 cat >conftest.
$ac_ext <<_ACEOF
9984 cat confdefs.h
>>conftest.
$ac_ext
9985 cat >>conftest.
$ac_ext <<_ACEOF
9986 /* end confdefs.h. */
9987 $ac_includes_default
9991 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
9998 rm -f conftest.
$ac_objext
9999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10000 (eval $ac_compile) 2>conftest.er1
10002 grep -v '^ *+' conftest.er1
>conftest.err
10004 cat conftest.err
>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); } &&
10007 { ac_try
='test -z "$ac_c_werror_flag"
10008 || test ! -s conftest.err'
10009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10010 (eval $ac_try) 2>&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); }; } &&
10014 { ac_try
='test -s conftest.$ac_objext'
10015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10016 (eval $ac_try) 2>&5
10018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10019 (exit $ac_status); }; }; then
10022 cat >conftest.
$ac_ext <<_ACEOF
10025 cat confdefs.h
>>conftest.
$ac_ext
10026 cat >>conftest.
$ac_ext <<_ACEOF
10027 /* end confdefs.h. */
10028 $ac_includes_default
10032 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
10039 rm -f conftest.
$ac_objext
10040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10041 (eval $ac_compile) 2>conftest.er1
10043 grep -v '^ *+' conftest.er1
>conftest.err
10045 cat conftest.err
>&5
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); } &&
10048 { ac_try
='test -z "$ac_c_werror_flag"
10049 || test ! -s conftest.err'
10050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); }; } &&
10055 { ac_try
='test -s conftest.$ac_objext'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then
10061 ac_hi
=$ac_mid; break
10063 echo "$as_me: failed program was:" >&5
10064 sed 's/^/| /' conftest.
$ac_ext >&5
10066 ac_lo
=`expr $ac_mid + 1`
10067 if test $ac_lo -le $ac_mid; then
10071 ac_mid
=`expr 2 '*' $ac_mid + 1`
10073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10076 echo "$as_me: failed program was:" >&5
10077 sed 's/^/| /' conftest.
$ac_ext >&5
10079 cat >conftest.
$ac_ext <<_ACEOF
10082 cat confdefs.h
>>conftest.
$ac_ext
10083 cat >>conftest.
$ac_ext <<_ACEOF
10084 /* end confdefs.h. */
10085 $ac_includes_default
10089 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
10096 rm -f conftest.
$ac_objext
10097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10098 (eval $ac_compile) 2>conftest.er1
10100 grep -v '^ *+' conftest.er1
>conftest.err
10102 cat conftest.err
>&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); } &&
10105 { ac_try
='test -z "$ac_c_werror_flag"
10106 || test ! -s conftest.err'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; } &&
10112 { ac_try
='test -s conftest.$ac_objext'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; }; then
10120 cat >conftest.
$ac_ext <<_ACEOF
10123 cat confdefs.h
>>conftest.
$ac_ext
10124 cat >>conftest.
$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10126 $ac_includes_default
10130 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
10137 rm -f conftest.
$ac_objext
10138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10139 (eval $ac_compile) 2>conftest.er1
10141 grep -v '^ *+' conftest.er1
>conftest.err
10143 cat conftest.err
>&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); } &&
10146 { ac_try
='test -z "$ac_c_werror_flag"
10147 || test ! -s conftest.err'
10148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10149 (eval $ac_try) 2>&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; } &&
10153 { ac_try
='test -s conftest.$ac_objext'
10154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10155 (eval $ac_try) 2>&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); }; }; then
10159 ac_lo
=$ac_mid; break
10161 echo "$as_me: failed program was:" >&5
10162 sed 's/^/| /' conftest.
$ac_ext >&5
10164 ac_hi
=`expr '(' $ac_mid ')' - 1`
10165 if test $ac_mid -le $ac_hi; then
10169 ac_mid
=`expr 2 '*' $ac_mid`
10171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10174 echo "$as_me: failed program was:" >&5
10175 sed 's/^/| /' conftest.
$ac_ext >&5
10179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10182 # Binary search between lo and hi bounds.
10183 while test "x$ac_lo" != "x$ac_hi"; do
10184 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10185 cat >conftest.
$ac_ext <<_ACEOF
10188 cat confdefs.h
>>conftest.
$ac_ext
10189 cat >>conftest.
$ac_ext <<_ACEOF
10190 /* end confdefs.h. */
10191 $ac_includes_default
10195 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
10202 rm -f conftest.
$ac_objext
10203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10204 (eval $ac_compile) 2>conftest.er1
10206 grep -v '^ *+' conftest.er1
>conftest.err
10208 cat conftest.err
>&5
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); } &&
10211 { ac_try
='test -z "$ac_c_werror_flag"
10212 || test ! -s conftest.err'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; } &&
10218 { ac_try
='test -s conftest.$ac_objext'
10219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10220 (eval $ac_try) 2>&5
10222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223 (exit $ac_status); }; }; then
10226 echo "$as_me: failed program was:" >&5
10227 sed 's/^/| /' conftest.
$ac_ext >&5
10229 ac_lo
=`expr '(' $ac_mid ')' + 1`
10231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10234 ?
*) ac_cv_sizeof_char
=$ac_lo;;
10235 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
10236 See \`config.log' for more details." >&5
10237 echo "$as_me: error: cannot compute sizeof (char), 77
10238 See \`config.log' for more details." >&2;}
10239 { (exit 1); exit 1; }; } ;;
10242 if test "$cross_compiling" = yes; then
10243 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10244 See \`config.log' for more details." >&5
10245 echo "$as_me: error: cannot run test program while cross compiling
10246 See \`config.log' for more details." >&2;}
10247 { (exit 1); exit 1; }; }
10249 cat >conftest.
$ac_ext <<_ACEOF
10252 cat confdefs.h
>>conftest.
$ac_ext
10253 cat >>conftest.
$ac_ext <<_ACEOF
10254 /* end confdefs.h. */
10255 $ac_includes_default
10256 long longval () { return (long) (sizeof (char)); }
10257 unsigned long ulongval () { return (long) (sizeof (char)); }
10259 #include <stdlib.h>
10264 FILE *f = fopen ("conftest.val", "w");
10267 if (((long) (sizeof (char))) < 0)
10269 long i = longval ();
10270 if (i != ((long) (sizeof (char))))
10272 fprintf (f, "%ld\n", i);
10276 unsigned long i = ulongval ();
10277 if (i != ((long) (sizeof (char))))
10279 fprintf (f, "%lu\n", i);
10281 exit (ferror (f) || fclose (f) != 0);
10287 rm -f conftest
$ac_exeext
10288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10289 (eval $ac_link) 2>&5
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10294 (eval $ac_try) 2>&5
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); }; }; then
10298 ac_cv_sizeof_char
=`cat conftest.val`
10300 echo "$as_me: program exited with status $ac_status" >&5
10301 echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.
$ac_ext >&5
10304 ( exit $ac_status )
10305 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
10306 See \`config.log' for more details." >&5
10307 echo "$as_me: error: cannot compute sizeof (char), 77
10308 See \`config.log' for more details." >&2;}
10309 { (exit 1); exit 1; }; }
10311 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10316 ac_cv_sizeof_char
=0
10319 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
10320 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
10321 cat >>confdefs.h
<<_ACEOF
10322 #define SIZEOF_CHAR $ac_cv_sizeof_char
10327 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
10328 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
10329 case "$ac_cv_sizeof_char" in
10330 1) acx_cv_type_int8_t
=char
;;
10331 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
10332 echo "$as_me: error: no 8-bit type" >&2;}
10333 { (exit please report a bug
); exit please report a bug
; }; }
10335 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
10336 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
10338 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
10339 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
10340 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
10341 2:*) acx_cv_type_int16_t
=int
;;
10342 *:2) acx_cv_type_int16_t
=short
;;
10343 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
10344 echo "$as_me: error: no 16-bit type" >&2;}
10345 { (exit please report a bug
); exit please report a bug
; }; }
10347 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
10348 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
10350 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
10351 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
10352 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
10353 4:*) acx_cv_type_int32_t
=int
;;
10354 *:4) acx_cv_type_int32_t
=long
;;
10355 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
10356 echo "$as_me: error: no 32-bit type" >&2;}
10357 { (exit please report a bug
); exit please report a bug
; }; }
10359 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
10360 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
10363 # These tests are here to make the output prettier
10365 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
10366 case "$ac_cv_sizeof_long" in
10367 8) acx_cv_type_int64_t
=long
;;
10369 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
10370 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
10371 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
10372 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
10375 # Now we can use the above types
10377 if test "$ac_cv_type_uintptr_t" != yes; then
10378 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
10379 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
10380 case $ac_cv_sizeof_void_p in
10381 2) acx_cv_type_intptr_t
=int16_t
;;
10382 4) acx_cv_type_intptr_t
=int32_t
;;
10383 8) acx_cv_type_intptr_t
=int64_t
;;
10384 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
10385 echo "$as_me: error: no equivalent for intptr_t" >&2;}
10386 { (exit please report a bug
); exit please report a bug
; }; }
10388 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
10389 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
10392 # ----------------- done all checks, emit header -------------
10393 ac_config_commands
="$ac_config_commands bfd_stdint.h"
10397 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10398 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10399 if test "${ac_cv_header_time+set}" = set; then
10400 echo $ECHO_N "(cached) $ECHO_C" >&6
10402 cat >conftest.
$ac_ext <<_ACEOF
10405 cat confdefs.h
>>conftest.
$ac_ext
10406 cat >>conftest.
$ac_ext <<_ACEOF
10407 /* end confdefs.h. */
10408 #include <sys/types.h>
10409 #include <sys/time.h>
10415 if ((struct tm *) 0)
10421 rm -f conftest.
$ac_objext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10423 (eval $ac_compile) 2>conftest.er1
10425 grep -v '^ *+' conftest.er1
>conftest.err
10427 cat conftest.err
>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } &&
10430 { ac_try
='test -z "$ac_c_werror_flag"
10431 || test ! -s conftest.err'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try
='test -s conftest.$ac_objext'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10443 ac_cv_header_time
=yes
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.
$ac_ext >&5
10448 ac_cv_header_time
=no
10450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10452 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10453 echo "${ECHO_T}$ac_cv_header_time" >&6
10454 if test $ac_cv_header_time = yes; then
10456 cat >>confdefs.h
<<\_ACEOF
10457 #define TIME_WITH_SYS_TIME 1
10467 ac_header_dirent
=no
10468 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
10469 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10470 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10471 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
10472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10473 echo $ECHO_N "(cached) $ECHO_C" >&6
10475 cat >conftest.
$ac_ext <<_ACEOF
10478 cat confdefs.h
>>conftest.
$ac_ext
10479 cat >>conftest.
$ac_ext <<_ACEOF
10480 /* end confdefs.h. */
10481 #include <sys/types.h>
10493 rm -f conftest.
$ac_objext
10494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10495 (eval $ac_compile) 2>conftest.er1
10497 grep -v '^ *+' conftest.er1
>conftest.err
10499 cat conftest.err
>&5
10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); } &&
10502 { ac_try
='test -z "$ac_c_werror_flag"
10503 || test ! -s conftest.err'
10504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10505 (eval $ac_try) 2>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); }; } &&
10509 { ac_try
='test -s conftest.$ac_objext'
10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511 (eval $ac_try) 2>&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); }; }; then
10515 eval "$as_ac_Header=yes"
10517 echo "$as_me: failed program was:" >&5
10518 sed 's/^/| /' conftest.
$ac_ext >&5
10520 eval "$as_ac_Header=no"
10522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10527 cat >>confdefs.h
<<_ACEOF
10528 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10531 ac_header_dirent
=$ac_hdr; break
10535 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10536 if test $ac_header_dirent = dirent.h
; then
10537 echo "$as_me:$LINENO: checking for library containing opendir" >&5
10538 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10539 if test "${ac_cv_search_opendir+set}" = set; then
10540 echo $ECHO_N "(cached) $ECHO_C" >&6
10542 ac_func_search_save_LIBS
=$LIBS
10543 ac_cv_search_opendir
=no
10544 cat >conftest.
$ac_ext <<_ACEOF
10547 cat confdefs.h
>>conftest.
$ac_ext
10548 cat >>conftest.
$ac_ext <<_ACEOF
10549 /* end confdefs.h. */
10551 /* Override any gcc2 internal prototype to avoid an error. */
10555 /* We use char because int might match the return type of a gcc2
10556 builtin and then its argument prototype would still apply. */
10566 rm -f conftest.
$ac_objext conftest
$ac_exeext
10567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10568 (eval $ac_link) 2>conftest.er1
10570 grep -v '^ *+' conftest.er1
>conftest.err
10572 cat conftest.err
>&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); } &&
10575 { ac_try
='test -z "$ac_c_werror_flag"
10576 || test ! -s conftest.err'
10577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10578 (eval $ac_try) 2>&5
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); }; } &&
10582 { ac_try
='test -s conftest$ac_exeext'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; }; then
10588 ac_cv_search_opendir
="none required"
10590 echo "$as_me: failed program was:" >&5
10591 sed 's/^/| /' conftest.
$ac_ext >&5
10594 rm -f conftest.err conftest.
$ac_objext \
10595 conftest
$ac_exeext conftest.
$ac_ext
10596 if test "$ac_cv_search_opendir" = no
; then
10597 for ac_lib
in dir
; do
10598 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10599 cat >conftest.
$ac_ext <<_ACEOF
10602 cat confdefs.h
>>conftest.
$ac_ext
10603 cat >>conftest.
$ac_ext <<_ACEOF
10604 /* end confdefs.h. */
10606 /* Override any gcc2 internal prototype to avoid an error. */
10610 /* We use char because int might match the return type of a gcc2
10611 builtin and then its argument prototype would still apply. */
10621 rm -f conftest.
$ac_objext conftest
$ac_exeext
10622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10623 (eval $ac_link) 2>conftest.er1
10625 grep -v '^ *+' conftest.er1
>conftest.err
10627 cat conftest.err
>&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } &&
10630 { ac_try
='test -z "$ac_c_werror_flag"
10631 || test ! -s conftest.err'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; } &&
10637 { ac_try
='test -s conftest$ac_exeext'
10638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); }; }; then
10643 ac_cv_search_opendir
="-l$ac_lib"
10646 echo "$as_me: failed program was:" >&5
10647 sed 's/^/| /' conftest.
$ac_ext >&5
10650 rm -f conftest.err conftest.
$ac_objext \
10651 conftest
$ac_exeext conftest.
$ac_ext
10654 LIBS
=$ac_func_search_save_LIBS
10656 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10657 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10658 if test "$ac_cv_search_opendir" != no
; then
10659 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
10664 echo "$as_me:$LINENO: checking for library containing opendir" >&5
10665 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10666 if test "${ac_cv_search_opendir+set}" = set; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 ac_func_search_save_LIBS
=$LIBS
10670 ac_cv_search_opendir
=no
10671 cat >conftest.
$ac_ext <<_ACEOF
10674 cat confdefs.h
>>conftest.
$ac_ext
10675 cat >>conftest.
$ac_ext <<_ACEOF
10676 /* end confdefs.h. */
10678 /* Override any gcc2 internal prototype to avoid an error. */
10682 /* We use char because int might match the return type of a gcc2
10683 builtin and then its argument prototype would still apply. */
10693 rm -f conftest.
$ac_objext conftest
$ac_exeext
10694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10695 (eval $ac_link) 2>conftest.er1
10697 grep -v '^ *+' conftest.er1
>conftest.err
10699 cat conftest.err
>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); } &&
10702 { ac_try
='test -z "$ac_c_werror_flag"
10703 || test ! -s conftest.err'
10704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10705 (eval $ac_try) 2>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }; } &&
10709 { ac_try
='test -s conftest$ac_exeext'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; }; then
10715 ac_cv_search_opendir
="none required"
10717 echo "$as_me: failed program was:" >&5
10718 sed 's/^/| /' conftest.
$ac_ext >&5
10721 rm -f conftest.err conftest.
$ac_objext \
10722 conftest
$ac_exeext conftest.
$ac_ext
10723 if test "$ac_cv_search_opendir" = no
; then
10724 for ac_lib
in x
; do
10725 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10726 cat >conftest.
$ac_ext <<_ACEOF
10729 cat confdefs.h
>>conftest.
$ac_ext
10730 cat >>conftest.
$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10733 /* Override any gcc2 internal prototype to avoid an error. */
10737 /* We use char because int might match the return type of a gcc2
10738 builtin and then its argument prototype would still apply. */
10748 rm -f conftest.
$ac_objext conftest
$ac_exeext
10749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10750 (eval $ac_link) 2>conftest.er1
10752 grep -v '^ *+' conftest.er1
>conftest.err
10754 cat conftest.err
>&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } &&
10757 { ac_try
='test -z "$ac_c_werror_flag"
10758 || test ! -s conftest.err'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; } &&
10764 { ac_try
='test -s conftest$ac_exeext'
10765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766 (eval $ac_try) 2>&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); }; }; then
10770 ac_cv_search_opendir
="-l$ac_lib"
10773 echo "$as_me: failed program was:" >&5
10774 sed 's/^/| /' conftest.
$ac_ext >&5
10777 rm -f conftest.err conftest.
$ac_objext \
10778 conftest
$ac_exeext conftest.
$ac_ext
10781 LIBS
=$ac_func_search_save_LIBS
10783 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10784 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10785 if test "$ac_cv_search_opendir" != no
; then
10786 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
10792 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
10793 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
10794 if test "${gcc_cv_header_string+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 cat >conftest.
$ac_ext <<_ACEOF
10800 cat confdefs.h
>>conftest.
$ac_ext
10801 cat >>conftest.
$ac_ext <<_ACEOF
10802 /* end confdefs.h. */
10803 #include <string.h>
10804 #include <strings.h>
10813 rm -f conftest.
$ac_objext
10814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10815 (eval $ac_compile) 2>conftest.er1
10817 grep -v '^ *+' conftest.er1
>conftest.err
10819 cat conftest.err
>&5
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); } &&
10822 { ac_try
='test -z "$ac_c_werror_flag"
10823 || test ! -s conftest.err'
10824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10825 (eval $ac_try) 2>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); }; } &&
10829 { ac_try
='test -s conftest.$ac_objext'
10830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10831 (eval $ac_try) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); }; }; then
10835 gcc_cv_header_string
=yes
10837 echo "$as_me: failed program was:" >&5
10838 sed 's/^/| /' conftest.
$ac_ext >&5
10840 gcc_cv_header_string
=no
10842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10844 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
10845 echo "${ECHO_T}$gcc_cv_header_string" >&6
10846 if test $gcc_cv_header_string = yes; then
10848 cat >>confdefs.h
<<\_ACEOF
10849 #define STRING_WITH_STRINGS 1
10861 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
10863 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10864 echo "$as_me:$LINENO: checking for $ac_func" >&5
10865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10866 if eval "test \"\${$as_ac_var+set}\" = set"; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10869 cat >conftest.
$ac_ext <<_ACEOF
10872 cat confdefs.h
>>conftest.
$ac_ext
10873 cat >>conftest.
$ac_ext <<_ACEOF
10874 /* end confdefs.h. */
10875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10877 #define $ac_func innocuous_$ac_func
10879 /* System header to define __stub macros and hopefully few prototypes,
10880 which can conflict with char $ac_func (); below.
10881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10882 <limits.h> exists even on freestanding compilers. */
10885 # include <limits.h>
10887 # include <assert.h>
10892 /* Override any gcc2 internal prototype to avoid an error. */
10897 /* We use char because int might match the return type of a gcc2
10898 builtin and then its argument prototype would still apply. */
10900 /* The GNU C library defines this for functions which it implements
10901 to always fail with ENOSYS. Some functions are actually named
10902 something starting with __ and the normal name is an alias. */
10903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10906 char (*f) () = $ac_func;
10915 return f != $ac_func;
10920 rm -f conftest.
$ac_objext conftest
$ac_exeext
10921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10922 (eval $ac_link) 2>conftest.er1
10924 grep -v '^ *+' conftest.er1
>conftest.err
10926 cat conftest.err
>&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); } &&
10929 { ac_try
='test -z "$ac_c_werror_flag"
10930 || test ! -s conftest.err'
10931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10932 (eval $ac_try) 2>&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); }; } &&
10936 { ac_try
='test -s conftest$ac_exeext'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; }; then
10942 eval "$as_ac_var=yes"
10944 echo "$as_me: failed program was:" >&5
10945 sed 's/^/| /' conftest.
$ac_ext >&5
10947 eval "$as_ac_var=no"
10949 rm -f conftest.err conftest.
$ac_objext \
10950 conftest
$ac_exeext conftest.
$ac_ext
10952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10954 if test `eval echo '${'$as_ac_var'}'` = yes; then
10955 cat >>confdefs.h
<<_ACEOF
10956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10963 for ac_func
in strtoull
10965 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10966 echo "$as_me:$LINENO: checking for $ac_func" >&5
10967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10968 if eval "test \"\${$as_ac_var+set}\" = set"; then
10969 echo $ECHO_N "(cached) $ECHO_C" >&6
10971 cat >conftest.
$ac_ext <<_ACEOF
10974 cat confdefs.h
>>conftest.
$ac_ext
10975 cat >>conftest.
$ac_ext <<_ACEOF
10976 /* end confdefs.h. */
10977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10979 #define $ac_func innocuous_$ac_func
10981 /* System header to define __stub macros and hopefully few prototypes,
10982 which can conflict with char $ac_func (); below.
10983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10984 <limits.h> exists even on freestanding compilers. */
10987 # include <limits.h>
10989 # include <assert.h>
10994 /* Override any gcc2 internal prototype to avoid an error. */
10999 /* We use char because int might match the return type of a gcc2
11000 builtin and then its argument prototype would still apply. */
11002 /* The GNU C library defines this for functions which it implements
11003 to always fail with ENOSYS. Some functions are actually named
11004 something starting with __ and the normal name is an alias. */
11005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11008 char (*f) () = $ac_func;
11017 return f != $ac_func;
11022 rm -f conftest.
$ac_objext conftest
$ac_exeext
11023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11024 (eval $ac_link) 2>conftest.er1
11026 grep -v '^ *+' conftest.er1
>conftest.err
11028 cat conftest.err
>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); } &&
11031 { ac_try
='test -z "$ac_c_werror_flag"
11032 || test ! -s conftest.err'
11033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11034 (eval $ac_try) 2>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; } &&
11038 { ac_try
='test -s conftest$ac_exeext'
11039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11040 (eval $ac_try) 2>&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }; }; then
11044 eval "$as_ac_var=yes"
11046 echo "$as_me: failed program was:" >&5
11047 sed 's/^/| /' conftest.
$ac_ext >&5
11049 eval "$as_ac_var=no"
11051 rm -f conftest.err conftest.
$ac_objext \
11052 conftest
$ac_exeext conftest.
$ac_ext
11054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11056 if test `eval echo '${'$as_ac_var'}'` = yes; then
11057 cat >>confdefs.h
<<_ACEOF
11058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11065 echo "$as_me:$LINENO: checking whether basename is declared" >&5
11066 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
11067 if test "${ac_cv_have_decl_basename+set}" = set; then
11068 echo $ECHO_N "(cached) $ECHO_C" >&6
11070 cat >conftest.
$ac_ext <<_ACEOF
11073 cat confdefs.h
>>conftest.
$ac_ext
11074 cat >>conftest.
$ac_ext <<_ACEOF
11075 /* end confdefs.h. */
11076 $ac_includes_default
11081 char *p = (char *) basename;
11088 rm -f conftest.
$ac_objext
11089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11090 (eval $ac_compile) 2>conftest.er1
11092 grep -v '^ *+' conftest.er1
>conftest.err
11094 cat conftest.err
>&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); } &&
11097 { ac_try
='test -z "$ac_c_werror_flag"
11098 || test ! -s conftest.err'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; } &&
11104 { ac_try
='test -s conftest.$ac_objext'
11105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11106 (eval $ac_try) 2>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); }; }; then
11110 ac_cv_have_decl_basename
=yes
11112 echo "$as_me: failed program was:" >&5
11113 sed 's/^/| /' conftest.
$ac_ext >&5
11115 ac_cv_have_decl_basename
=no
11117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11119 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11120 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
11121 if test $ac_cv_have_decl_basename = yes; then
11123 cat >>confdefs.h
<<_ACEOF
11124 #define HAVE_DECL_BASENAME 1
11129 cat >>confdefs.h
<<_ACEOF
11130 #define HAVE_DECL_BASENAME 0
11137 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
11138 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
11139 if test "${ac_cv_have_decl_ftello+set}" = set; then
11140 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 cat >conftest.
$ac_ext <<_ACEOF
11145 cat confdefs.h
>>conftest.
$ac_ext
11146 cat >>conftest.
$ac_ext <<_ACEOF
11147 /* end confdefs.h. */
11148 $ac_includes_default
11153 char *p = (char *) ftello;
11160 rm -f conftest.
$ac_objext
11161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11162 (eval $ac_compile) 2>conftest.er1
11164 grep -v '^ *+' conftest.er1
>conftest.err
11166 cat conftest.err
>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } &&
11169 { ac_try
='test -z "$ac_c_werror_flag"
11170 || test ! -s conftest.err'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; } &&
11176 { ac_try
='test -s conftest.$ac_objext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 ac_cv_have_decl_ftello
=yes
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.
$ac_ext >&5
11187 ac_cv_have_decl_ftello
=no
11189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11191 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
11192 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
11193 if test $ac_cv_have_decl_ftello = yes; then
11195 cat >>confdefs.h
<<_ACEOF
11196 #define HAVE_DECL_FTELLO 1
11201 cat >>confdefs.h
<<_ACEOF
11202 #define HAVE_DECL_FTELLO 0
11209 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
11210 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
11211 if test "${ac_cv_have_decl_ftello64+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 cat >conftest.
$ac_ext <<_ACEOF
11217 cat confdefs.h
>>conftest.
$ac_ext
11218 cat >>conftest.
$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11220 $ac_includes_default
11225 char *p = (char *) ftello64;
11232 rm -f conftest.
$ac_objext
11233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11234 (eval $ac_compile) 2>conftest.er1
11236 grep -v '^ *+' conftest.er1
>conftest.err
11238 cat conftest.err
>&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } &&
11241 { ac_try
='test -z "$ac_c_werror_flag"
11242 || test ! -s conftest.err'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; } &&
11248 { ac_try
='test -s conftest.$ac_objext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 ac_cv_have_decl_ftello64
=yes
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.
$ac_ext >&5
11259 ac_cv_have_decl_ftello64
=no
11261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11263 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
11264 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
11265 if test $ac_cv_have_decl_ftello64 = yes; then
11267 cat >>confdefs.h
<<_ACEOF
11268 #define HAVE_DECL_FTELLO64 1
11273 cat >>confdefs.h
<<_ACEOF
11274 #define HAVE_DECL_FTELLO64 0
11281 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
11282 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
11283 if test "${ac_cv_have_decl_fseeko+set}" = set; then
11284 echo $ECHO_N "(cached) $ECHO_C" >&6
11286 cat >conftest.
$ac_ext <<_ACEOF
11289 cat confdefs.h
>>conftest.
$ac_ext
11290 cat >>conftest.
$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11292 $ac_includes_default
11297 char *p = (char *) fseeko;
11304 rm -f conftest.
$ac_objext
11305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11306 (eval $ac_compile) 2>conftest.er1
11308 grep -v '^ *+' conftest.er1
>conftest.err
11310 cat conftest.err
>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } &&
11313 { ac_try
='test -z "$ac_c_werror_flag"
11314 || test ! -s conftest.err'
11315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316 (eval $ac_try) 2>&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; } &&
11320 { ac_try
='test -s conftest.$ac_objext'
11321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11322 (eval $ac_try) 2>&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); }; }; then
11326 ac_cv_have_decl_fseeko
=yes
11328 echo "$as_me: failed program was:" >&5
11329 sed 's/^/| /' conftest.
$ac_ext >&5
11331 ac_cv_have_decl_fseeko
=no
11333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11335 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
11336 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
11337 if test $ac_cv_have_decl_fseeko = yes; then
11339 cat >>confdefs.h
<<_ACEOF
11340 #define HAVE_DECL_FSEEKO 1
11345 cat >>confdefs.h
<<_ACEOF
11346 #define HAVE_DECL_FSEEKO 0
11353 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
11354 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
11355 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
11356 echo $ECHO_N "(cached) $ECHO_C" >&6
11358 cat >conftest.
$ac_ext <<_ACEOF
11361 cat confdefs.h
>>conftest.
$ac_ext
11362 cat >>conftest.
$ac_ext <<_ACEOF
11363 /* end confdefs.h. */
11364 $ac_includes_default
11369 char *p = (char *) fseeko64;
11376 rm -f conftest.
$ac_objext
11377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11378 (eval $ac_compile) 2>conftest.er1
11380 grep -v '^ *+' conftest.er1
>conftest.err
11382 cat conftest.err
>&5
11383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384 (exit $ac_status); } &&
11385 { ac_try
='test -z "$ac_c_werror_flag"
11386 || test ! -s conftest.err'
11387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11388 (eval $ac_try) 2>&5
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); }; } &&
11392 { ac_try
='test -s conftest.$ac_objext'
11393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11394 (eval $ac_try) 2>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); }; }; then
11398 ac_cv_have_decl_fseeko64
=yes
11400 echo "$as_me: failed program was:" >&5
11401 sed 's/^/| /' conftest.
$ac_ext >&5
11403 ac_cv_have_decl_fseeko64
=no
11405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11407 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
11408 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
11409 if test $ac_cv_have_decl_fseeko64 = yes; then
11411 cat >>confdefs.h
<<_ACEOF
11412 #define HAVE_DECL_FSEEKO64 1
11417 cat >>confdefs.h
<<_ACEOF
11418 #define HAVE_DECL_FSEEKO64 0
11428 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
11430 cat >>confdefs.h
<<\_ACEOF
11431 #define USE_BINARY_FOPEN 1
11436 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
11437 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
11438 if test "${ac_cv_have_decl_ffs+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11441 cat >conftest.
$ac_ext <<_ACEOF
11444 cat confdefs.h
>>conftest.
$ac_ext
11445 cat >>conftest.
$ac_ext <<_ACEOF
11446 /* end confdefs.h. */
11447 $ac_includes_default
11452 char *p = (char *) ffs;
11459 rm -f conftest.
$ac_objext
11460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11461 (eval $ac_compile) 2>conftest.er1
11463 grep -v '^ *+' conftest.er1
>conftest.err
11465 cat conftest.err
>&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); } &&
11468 { ac_try
='test -z "$ac_c_werror_flag"
11469 || test ! -s conftest.err'
11470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11471 (eval $ac_try) 2>&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); }; } &&
11475 { ac_try
='test -s conftest.$ac_objext'
11476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11477 (eval $ac_try) 2>&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; }; then
11481 ac_cv_have_decl_ffs
=yes
11483 echo "$as_me: failed program was:" >&5
11484 sed 's/^/| /' conftest.
$ac_ext >&5
11486 ac_cv_have_decl_ffs
=no
11488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11490 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
11491 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
11492 if test $ac_cv_have_decl_ffs = yes; then
11494 cat >>confdefs.h
<<_ACEOF
11495 #define HAVE_DECL_FFS 1
11500 cat >>confdefs.h
<<_ACEOF
11501 #define HAVE_DECL_FFS 0
11508 echo "$as_me:$LINENO: checking whether free is declared" >&5
11509 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
11510 if test "${ac_cv_have_decl_free+set}" = set; then
11511 echo $ECHO_N "(cached) $ECHO_C" >&6
11513 cat >conftest.
$ac_ext <<_ACEOF
11516 cat confdefs.h
>>conftest.
$ac_ext
11517 cat >>conftest.
$ac_ext <<_ACEOF
11518 /* end confdefs.h. */
11519 $ac_includes_default
11524 char *p = (char *) free;
11531 rm -f conftest.
$ac_objext
11532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11533 (eval $ac_compile) 2>conftest.er1
11535 grep -v '^ *+' conftest.er1
>conftest.err
11537 cat conftest.err
>&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); } &&
11540 { ac_try
='test -z "$ac_c_werror_flag"
11541 || test ! -s conftest.err'
11542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11543 (eval $ac_try) 2>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); }; } &&
11547 { ac_try
='test -s conftest.$ac_objext'
11548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11549 (eval $ac_try) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }; }; then
11553 ac_cv_have_decl_free
=yes
11555 echo "$as_me: failed program was:" >&5
11556 sed 's/^/| /' conftest.
$ac_ext >&5
11558 ac_cv_have_decl_free
=no
11560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11562 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
11563 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
11564 if test $ac_cv_have_decl_free = yes; then
11566 cat >>confdefs.h
<<_ACEOF
11567 #define HAVE_DECL_FREE 1
11572 cat >>confdefs.h
<<_ACEOF
11573 #define HAVE_DECL_FREE 0
11580 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
11581 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
11582 if test "${ac_cv_have_decl_getenv+set}" = set; then
11583 echo $ECHO_N "(cached) $ECHO_C" >&6
11585 cat >conftest.
$ac_ext <<_ACEOF
11588 cat confdefs.h
>>conftest.
$ac_ext
11589 cat >>conftest.
$ac_ext <<_ACEOF
11590 /* end confdefs.h. */
11591 $ac_includes_default
11596 char *p = (char *) getenv;
11603 rm -f conftest.
$ac_objext
11604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11605 (eval $ac_compile) 2>conftest.er1
11607 grep -v '^ *+' conftest.er1
>conftest.err
11609 cat conftest.err
>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); } &&
11612 { ac_try
='test -z "$ac_c_werror_flag"
11613 || test ! -s conftest.err'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; } &&
11619 { ac_try
='test -s conftest.$ac_objext'
11620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621 (eval $ac_try) 2>&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); }; }; then
11625 ac_cv_have_decl_getenv
=yes
11627 echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.
$ac_ext >&5
11630 ac_cv_have_decl_getenv
=no
11632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11634 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
11635 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
11636 if test $ac_cv_have_decl_getenv = yes; then
11638 cat >>confdefs.h
<<_ACEOF
11639 #define HAVE_DECL_GETENV 1
11644 cat >>confdefs.h
<<_ACEOF
11645 #define HAVE_DECL_GETENV 0
11652 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
11653 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
11654 if test "${ac_cv_have_decl_malloc+set}" = set; then
11655 echo $ECHO_N "(cached) $ECHO_C" >&6
11657 cat >conftest.
$ac_ext <<_ACEOF
11660 cat confdefs.h
>>conftest.
$ac_ext
11661 cat >>conftest.
$ac_ext <<_ACEOF
11662 /* end confdefs.h. */
11663 $ac_includes_default
11668 char *p = (char *) malloc;
11675 rm -f conftest.
$ac_objext
11676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11677 (eval $ac_compile) 2>conftest.er1
11679 grep -v '^ *+' conftest.er1
>conftest.err
11681 cat conftest.err
>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); } &&
11684 { ac_try
='test -z "$ac_c_werror_flag"
11685 || test ! -s conftest.err'
11686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11687 (eval $ac_try) 2>&5
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); }; } &&
11691 { ac_try
='test -s conftest.$ac_objext'
11692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); }; }; then
11697 ac_cv_have_decl_malloc
=yes
11699 echo "$as_me: failed program was:" >&5
11700 sed 's/^/| /' conftest.
$ac_ext >&5
11702 ac_cv_have_decl_malloc
=no
11704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11706 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
11707 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
11708 if test $ac_cv_have_decl_malloc = yes; then
11710 cat >>confdefs.h
<<_ACEOF
11711 #define HAVE_DECL_MALLOC 1
11716 cat >>confdefs.h
<<_ACEOF
11717 #define HAVE_DECL_MALLOC 0
11724 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
11725 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
11726 if test "${ac_cv_have_decl_realloc+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 cat >conftest.
$ac_ext <<_ACEOF
11732 cat confdefs.h
>>conftest.
$ac_ext
11733 cat >>conftest.
$ac_ext <<_ACEOF
11734 /* end confdefs.h. */
11735 $ac_includes_default
11740 char *p = (char *) realloc;
11747 rm -f conftest.
$ac_objext
11748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11749 (eval $ac_compile) 2>conftest.er1
11751 grep -v '^ *+' conftest.er1
>conftest.err
11753 cat conftest.err
>&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); } &&
11756 { ac_try
='test -z "$ac_c_werror_flag"
11757 || test ! -s conftest.err'
11758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11759 (eval $ac_try) 2>&5
11761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 (exit $ac_status); }; } &&
11763 { ac_try
='test -s conftest.$ac_objext'
11764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11765 (eval $ac_try) 2>&5
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); }; }; then
11769 ac_cv_have_decl_realloc
=yes
11771 echo "$as_me: failed program was:" >&5
11772 sed 's/^/| /' conftest.
$ac_ext >&5
11774 ac_cv_have_decl_realloc
=no
11776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11778 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
11779 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
11780 if test $ac_cv_have_decl_realloc = yes; then
11782 cat >>confdefs.h
<<_ACEOF
11783 #define HAVE_DECL_REALLOC 1
11788 cat >>confdefs.h
<<_ACEOF
11789 #define HAVE_DECL_REALLOC 0
11796 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
11797 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
11798 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 cat >conftest.
$ac_ext <<_ACEOF
11804 cat confdefs.h
>>conftest.
$ac_ext
11805 cat >>conftest.
$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11807 $ac_includes_default
11812 char *p = (char *) stpcpy;
11819 rm -f conftest.
$ac_objext
11820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11821 (eval $ac_compile) 2>conftest.er1
11823 grep -v '^ *+' conftest.er1
>conftest.err
11825 cat conftest.err
>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); } &&
11828 { ac_try
='test -z "$ac_c_werror_flag"
11829 || test ! -s conftest.err'
11830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 (eval $ac_try) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; } &&
11835 { ac_try
='test -s conftest.$ac_objext'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; }; then
11841 ac_cv_have_decl_stpcpy
=yes
11843 echo "$as_me: failed program was:" >&5
11844 sed 's/^/| /' conftest.
$ac_ext >&5
11846 ac_cv_have_decl_stpcpy
=no
11848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11850 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
11851 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
11852 if test $ac_cv_have_decl_stpcpy = yes; then
11854 cat >>confdefs.h
<<_ACEOF
11855 #define HAVE_DECL_STPCPY 1
11860 cat >>confdefs.h
<<_ACEOF
11861 #define HAVE_DECL_STPCPY 0
11868 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
11869 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
11870 if test "${ac_cv_have_decl_strstr+set}" = set; then
11871 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 cat >conftest.
$ac_ext <<_ACEOF
11876 cat confdefs.h
>>conftest.
$ac_ext
11877 cat >>conftest.
$ac_ext <<_ACEOF
11878 /* end confdefs.h. */
11879 $ac_includes_default
11884 char *p = (char *) strstr;
11891 rm -f conftest.
$ac_objext
11892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11893 (eval $ac_compile) 2>conftest.er1
11895 grep -v '^ *+' conftest.er1
>conftest.err
11897 cat conftest.err
>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } &&
11900 { ac_try
='test -z "$ac_c_werror_flag"
11901 || test ! -s conftest.err'
11902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903 (eval $ac_try) 2>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); }; } &&
11907 { ac_try
='test -s conftest.$ac_objext'
11908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11909 (eval $ac_try) 2>&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; }; then
11913 ac_cv_have_decl_strstr
=yes
11915 echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.
$ac_ext >&5
11918 ac_cv_have_decl_strstr
=no
11920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11922 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
11923 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
11924 if test $ac_cv_have_decl_strstr = yes; then
11926 cat >>confdefs.h
<<_ACEOF
11927 #define HAVE_DECL_STRSTR 1
11932 cat >>confdefs.h
<<_ACEOF
11933 #define HAVE_DECL_STRSTR 0
11940 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
11941 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
11942 if test "${ac_cv_have_decl_snprintf+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 cat >conftest.
$ac_ext <<_ACEOF
11948 cat confdefs.h
>>conftest.
$ac_ext
11949 cat >>conftest.
$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951 $ac_includes_default
11956 char *p = (char *) snprintf;
11963 rm -f conftest.
$ac_objext
11964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11965 (eval $ac_compile) 2>conftest.er1
11967 grep -v '^ *+' conftest.er1
>conftest.err
11969 cat conftest.err
>&5
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); } &&
11972 { ac_try
='test -z "$ac_c_werror_flag"
11973 || test ! -s conftest.err'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11975 (eval $ac_try) 2>&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; } &&
11979 { ac_try
='test -s conftest.$ac_objext'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; }; then
11985 ac_cv_have_decl_snprintf
=yes
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.
$ac_ext >&5
11990 ac_cv_have_decl_snprintf
=no
11992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11994 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
11995 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
11996 if test $ac_cv_have_decl_snprintf = yes; then
11998 cat >>confdefs.h
<<_ACEOF
11999 #define HAVE_DECL_SNPRINTF 1
12004 cat >>confdefs.h
<<_ACEOF
12005 #define HAVE_DECL_SNPRINTF 0
12012 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
12013 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
12014 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
12015 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 cat >conftest.
$ac_ext <<_ACEOF
12020 cat confdefs.h
>>conftest.
$ac_ext
12021 cat >>conftest.
$ac_ext <<_ACEOF
12022 /* end confdefs.h. */
12023 $ac_includes_default
12028 char *p = (char *) vsnprintf;
12035 rm -f conftest.
$ac_objext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12037 (eval $ac_compile) 2>conftest.er1
12039 grep -v '^ *+' conftest.er1
>conftest.err
12041 cat conftest.err
>&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } &&
12044 { ac_try
='test -z "$ac_c_werror_flag"
12045 || test ! -s conftest.err'
12046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12047 (eval $ac_try) 2>&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); }; } &&
12051 { ac_try
='test -s conftest.$ac_objext'
12052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12053 (eval $ac_try) 2>&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); }; }; then
12057 ac_cv_have_decl_vsnprintf
=yes
12059 echo "$as_me: failed program was:" >&5
12060 sed 's/^/| /' conftest.
$ac_ext >&5
12062 ac_cv_have_decl_vsnprintf
=no
12064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12066 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
12067 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
12068 if test $ac_cv_have_decl_vsnprintf = yes; then
12070 cat >>confdefs.h
<<_ACEOF
12071 #define HAVE_DECL_VSNPRINTF 1
12076 cat >>confdefs.h
<<_ACEOF
12077 #define HAVE_DECL_VSNPRINTF 0
12085 # If we are configured native, pick a core file support file.
12089 if test "${target}" = "${host}"; then
12091 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
12095 COREFILE
=trad-core.lo
12096 TRAD_HEADER
='"hosts/alphalinux.h"'
12098 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
12099 COREFILE
=netbsd-core.lo
12101 alpha
*-*-*) COREFILE
=osf-core.lo
;;
12102 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
12104 arm-
*-netbsd* | arm-
*-openbsd*)
12105 COREFILE
=netbsd-core.lo
12107 arm-
*-riscix) COREFILE
=trad-core.lo
;;
12108 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
12109 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
12110 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
12111 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
12112 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
12113 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
12114 COREFILE
=netbsd-core.lo
12118 COREFILE
=trad-core.lo
12119 TRAD_HEADER
='"hosts/i370linux.h"'
12122 i
[3-7]86-sequent-bsd*)
12123 COREFILE
=trad-core.lo
12124 TRAD_HEADER
='"hosts/symmetry.h"'
12126 i
[3-7]86-sequent-sysv4*) ;;
12127 i
[3-7]86-sequent-sysv*)
12128 COREFILE
=trad-core.lo
12129 TRAD_HEADER
='"hosts/symmetry.h"'
12134 i
[3-7]86-*-bsd* | i
[3-7]86-*-freebsd[123] | i
[3-7]86-*-freebsd[123]\.
* | i
[3-7]86-*-freebsd4\.
[01234] | i
[3-7]86-*-freebsd4\.
[01234]\.
* | i
[3-7]86-*-freebsd*aout
*)
12135 COREFILE
=trad-core.lo
12136 TRAD_HEADER
='"hosts/i386bsd.h"'
12138 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
12140 TRAD_HEADER
='"hosts/i386bsd.h"'
12142 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
12143 COREFILE
=netbsd-core.lo
12145 i
[3-7]86-esix-sysv3*)
12146 COREFILE
=trad-core.lo
12147 TRAD_HEADER
='"hosts/esix.h"'
12149 i
[3-7]86-*-sco3.2v5
*)
12150 COREFILE
=sco5-core.lo
12152 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
12153 COREFILE
=trad-core.lo
12154 TRAD_HEADER
='"hosts/i386sco.h"'
12157 COREFILE
=trad-core.lo
12158 TRAD_HEADER
='"hosts/i386mach3.h"'
12160 i
[3-7]86-*-linux-*)
12161 COREFILE
=trad-core.lo
12162 TRAD_HEADER
='"hosts/i386linux.h"'
12164 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
12165 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
12166 i860-
*-mach3* | i860-
*-osf1*)
12167 COREFILE
=trad-core.lo
12168 TRAD_HEADER
='"hosts/i860mach3.h"'
12170 mips-
*-netbsd* | mips
*-*-openbsd*)
12171 COREFILE
=netbsd-core.lo
12174 COREFILE
=trad-core.lo
12175 TRAD_HEADER
='"hosts/decstation.h"'
12177 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
12178 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
12179 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
12181 mips-
*-sysv* | mips-
*-riscos*)
12182 COREFILE
=trad-core.lo
12183 TRAD_HEADER
='"hosts/riscos.h"'
12186 COREFILE
=trad-core.lo
12187 TRAD_HEADER
='"hosts/news-mips.h"'
12190 COREFILE
=trad-core.lo
12191 TRAD_HEADER
='"hosts/dpx2.h"'
12193 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
12195 COREFILE
=trad-core.lo
12196 TRAD_HEADER
='"hosts/hp300bsd.h"'
12199 COREFILE
=trad-core.lo
12200 TRAD_HEADER
='"hosts/m68klinux.h"'
12202 m68
*-motorola-sysv*)
12203 COREFILE
=trad-core.lo
12204 TRAD_HEADER
='"hosts/delta68.h"'
12207 COREFILE
=trad-core.lo
12208 TRAD_HEADER
='"hosts/news.h"'
12210 m68
*-*-netbsd* | m68
*-*-openbsd*)
12211 COREFILE
=netbsd-core.lo
12214 COREFILE
=trad-core.lo
12215 TRAD_HEADER
='"hosts/m68kaux.h"'
12219 m88
*-motorola-sysv*)
12220 COREFILE
=ptrace-core.lo
12223 COREFILE
=trad-core.lo
12224 TRAD_HEADER
='"hosts/m88kmach3.h"'
12227 COREFILE
=netbsd-core.lo
12230 COREFILE
=trad-core.lo
12231 TRAD_HEADER
='"hosts/pc532mach.h"'
12233 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
12234 COREFILE
=netbsd-core.lo
12237 COREFILE
=lynx-core.lo
12239 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
12240 COREFILE
=rs6000-core.lo
12241 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
12243 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
12244 COREFILE
=rs6000-core.lo
12245 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
12246 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
12247 # have c_impl as a member of struct core_dumpx
12248 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
12249 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
12250 cat >conftest.
$ac_ext <<_ACEOF
12253 cat confdefs.h
>>conftest.
$ac_ext
12254 cat >>conftest.
$ac_ext <<_ACEOF
12255 /* end confdefs.h. */
12260 struct core_dumpx c; c.c_impl = 0;
12265 rm -f conftest.
$ac_objext
12266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12267 (eval $ac_compile) 2>conftest.er1
12269 grep -v '^ *+' conftest.er1
>conftest.err
12271 cat conftest.err
>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); } &&
12274 { ac_try
='test -z "$ac_c_werror_flag"
12275 || test ! -s conftest.err'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; } &&
12281 { ac_try
='test -s conftest.$ac_objext'
12282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12283 (eval $ac_try) 2>&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); }; }; then
12288 cat >>confdefs.h
<<\_ACEOF
12289 #define HAVE_ST_C_IMPL 1
12292 echo "$as_me:$LINENO: result: yes" >&5
12293 echo "${ECHO_T}yes" >&6
12295 echo "$as_me: failed program was:" >&5
12296 sed 's/^/| /' conftest.
$ac_ext >&5
12298 echo "$as_me:$LINENO: result: no" >&5
12299 echo "${ECHO_T}no" >&6
12301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12303 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
12304 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
12305 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
12306 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
12307 powerpc-
*-beos*) ;;
12308 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
12310 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
12311 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
12312 s390
*-*-*) COREFILE
=trad-core.lo
;;
12313 sh
*-*-netbsd* | sh
*-*-openbsd*)
12314 COREFILE
=netbsd-core.lo
12316 sparc-
*-netbsd* | sparc
*-*-openbsd*)
12317 COREFILE
=netbsd-core.lo
12320 COREFILE
=trad-core.lo
12321 TRAD_HEADER
='"hosts/tahoe.h"'
12323 vax-
*-netbsd* | vax-
*-openbsd*)
12324 COREFILE
=netbsd-core.lo
12327 COREFILE
=trad-core.lo
12328 TRAD_HEADER
='"hosts/vaxult2.h"'
12331 COREFILE
=trad-core.lo
12332 TRAD_HEADER
='"hosts/vaxult2.h"'
12335 COREFILE
=trad-core.lo
12336 TRAD_HEADER
='"hosts/vaxlinux.h"'
12339 COREFILE
=trad-core.lo
12340 TRAD_HEADER
='"hosts/vaxbsd.h"'
12342 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
12343 COREFILE
=netbsd-core.lo
12347 case "$COREFILE" in
12348 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
12349 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
12350 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
12351 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
12352 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
12353 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
12354 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
12355 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
12356 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
12357 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
12358 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
12361 # ELF corefile support has several flavors, but all of
12362 # them use something called <sys/procfs.h>
12364 for ac_header
in sys
/procfs.h
12366 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12368 echo "$as_me:$LINENO: checking for $ac_header" >&5
12369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12371 echo $ECHO_N "(cached) $ECHO_C" >&6
12373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12376 # Is the header compilable?
12377 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12379 cat >conftest.
$ac_ext <<_ACEOF
12382 cat confdefs.h
>>conftest.
$ac_ext
12383 cat >>conftest.
$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12385 $ac_includes_default
12386 #include <$ac_header>
12388 rm -f conftest.
$ac_objext
12389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12390 (eval $ac_compile) 2>conftest.er1
12392 grep -v '^ *+' conftest.er1
>conftest.err
12394 cat conftest.err
>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } &&
12397 { ac_try
='test -z "$ac_c_werror_flag"
12398 || test ! -s conftest.err'
12399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400 (eval $ac_try) 2>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; } &&
12404 { ac_try
='test -s conftest.$ac_objext'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; }; then
12410 ac_header_compiler
=yes
12412 echo "$as_me: failed program was:" >&5
12413 sed 's/^/| /' conftest.
$ac_ext >&5
12415 ac_header_compiler
=no
12417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12419 echo "${ECHO_T}$ac_header_compiler" >&6
12421 # Is the header present?
12422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12424 cat >conftest.
$ac_ext <<_ACEOF
12427 cat confdefs.h
>>conftest.
$ac_ext
12428 cat >>conftest.
$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12430 #include <$ac_header>
12432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12433 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12435 grep -v '^ *+' conftest.er1
>conftest.err
12437 cat conftest.err
>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } >/dev
/null
; then
12440 if test -s conftest.err
; then
12441 ac_cpp_err
=$ac_c_preproc_warn_flag
12442 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12449 if test -z "$ac_cpp_err"; then
12450 ac_header_preproc
=yes
12452 echo "$as_me: failed program was:" >&5
12453 sed 's/^/| /' conftest.
$ac_ext >&5
12455 ac_header_preproc
=no
12457 rm -f conftest.err conftest.
$ac_ext
12458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12459 echo "${ECHO_T}$ac_header_preproc" >&6
12461 # So? What about this header?
12462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12468 ac_header_preproc
=yes
12471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12485 ## ------------------------------------------ ##
12486 ## Report this to the AC_PACKAGE_NAME lists. ##
12487 ## ------------------------------------------ ##
12490 sed "s/^/$as_me: WARNING: /" >&2
12493 echo "$as_me:$LINENO: checking for $ac_header" >&5
12494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12496 echo $ECHO_N "(cached) $ECHO_C" >&6
12498 eval "$as_ac_Header=\$ac_header_preproc"
12500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12505 cat >>confdefs.h
<<_ACEOF
12506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12513 if test "$ac_cv_header_sys_procfs_h" = yes; then
12514 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
12515 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
12516 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 cat >conftest.
$ac_ext <<_ACEOF
12522 cat confdefs.h
>>conftest.
$ac_ext
12523 cat >>conftest.
$ac_ext <<_ACEOF
12524 /* end confdefs.h. */
12527 #include <sys/procfs.h>
12536 rm -f conftest.
$ac_objext
12537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12538 (eval $ac_compile) 2>conftest.er1
12540 grep -v '^ *+' conftest.er1
>conftest.err
12542 cat conftest.err
>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); } &&
12545 { ac_try
='test -z "$ac_c_werror_flag"
12546 || test ! -s conftest.err'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; } &&
12552 { ac_try
='test -s conftest.$ac_objext'
12553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12554 (eval $ac_try) 2>&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); }; }; then
12558 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
12560 echo "$as_me: failed program was:" >&5
12561 sed 's/^/| /' conftest.
$ac_ext >&5
12563 bfd_cv_have_sys_procfs_type_prstatus_t
=no
12566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12569 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
12571 cat >>confdefs.h
<<\_ACEOF
12572 #define HAVE_PRSTATUS_T 1
12576 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
12577 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
12579 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
12580 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
12581 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
12582 echo $ECHO_N "(cached) $ECHO_C" >&6
12584 cat >conftest.
$ac_ext <<_ACEOF
12587 cat confdefs.h
>>conftest.
$ac_ext
12588 cat >>conftest.
$ac_ext <<_ACEOF
12589 /* end confdefs.h. */
12592 #include <sys/procfs.h>
12601 rm -f conftest.
$ac_objext
12602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12603 (eval $ac_compile) 2>conftest.er1
12605 grep -v '^ *+' conftest.er1
>conftest.err
12607 cat conftest.err
>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); } &&
12610 { ac_try
='test -z "$ac_c_werror_flag"
12611 || test ! -s conftest.err'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; } &&
12617 { ac_try
='test -s conftest.$ac_objext'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; }; then
12623 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
12625 echo "$as_me: failed program was:" >&5
12626 sed 's/^/| /' conftest.
$ac_ext >&5
12628 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
12631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12634 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
12636 cat >>confdefs.h
<<\_ACEOF
12637 #define HAVE_PRSTATUS32_T 1
12641 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12642 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
12644 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12645 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12646 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6
12649 cat >conftest.
$ac_ext <<_ACEOF
12652 cat confdefs.h
>>conftest.
$ac_ext
12653 cat >>conftest.
$ac_ext <<_ACEOF
12654 /* end confdefs.h. */
12657 #include <sys/procfs.h>
12661 prstatus_t avar; void* aref = (void*) &avar.pr_who
12666 rm -f conftest.
$ac_objext
12667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12668 (eval $ac_compile) 2>conftest.er1
12670 grep -v '^ *+' conftest.er1
>conftest.err
12672 cat conftest.err
>&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); } &&
12675 { ac_try
='test -z "$ac_c_werror_flag"
12676 || test ! -s conftest.err'
12677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678 (eval $ac_try) 2>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; } &&
12682 { ac_try
='test -s conftest.$ac_objext'
12683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684 (eval $ac_try) 2>&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); }; }; then
12688 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
12690 echo "$as_me: failed program was:" >&5
12691 sed 's/^/| /' conftest.
$ac_ext >&5
12693 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
12696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12699 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
12701 cat >>confdefs.h
<<\_ACEOF
12702 #define HAVE_PRSTATUS_T_PR_WHO 1
12706 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12707 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
12709 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12710 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12711 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
12712 echo $ECHO_N "(cached) $ECHO_C" >&6
12714 cat >conftest.
$ac_ext <<_ACEOF
12717 cat confdefs.h
>>conftest.
$ac_ext
12718 cat >>conftest.
$ac_ext <<_ACEOF
12719 /* end confdefs.h. */
12722 #include <sys/procfs.h>
12726 prstatus32_t avar; void* aref = (void*) &avar.pr_who
12731 rm -f conftest.
$ac_objext
12732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12733 (eval $ac_compile) 2>conftest.er1
12735 grep -v '^ *+' conftest.er1
>conftest.err
12737 cat conftest.err
>&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); } &&
12740 { ac_try
='test -z "$ac_c_werror_flag"
12741 || test ! -s conftest.err'
12742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 (eval $ac_try) 2>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; } &&
12747 { ac_try
='test -s conftest.$ac_objext'
12748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 (eval $ac_try) 2>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); }; }; then
12753 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
12755 echo "$as_me: failed program was:" >&5
12756 sed 's/^/| /' conftest.
$ac_ext >&5
12758 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
12761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12764 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
12766 cat >>confdefs.h
<<\_ACEOF
12767 #define HAVE_PRSTATUS32_T_PR_WHO 1
12771 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12772 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
12774 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12775 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
12776 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
12777 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 cat >conftest.
$ac_ext <<_ACEOF
12782 cat confdefs.h
>>conftest.
$ac_ext
12783 cat >>conftest.
$ac_ext <<_ACEOF
12784 /* end confdefs.h. */
12787 #include <sys/procfs.h>
12796 rm -f conftest.
$ac_objext
12797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12798 (eval $ac_compile) 2>conftest.er1
12800 grep -v '^ *+' conftest.er1
>conftest.err
12802 cat conftest.err
>&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); } &&
12805 { ac_try
='test -z "$ac_c_werror_flag"
12806 || test ! -s conftest.err'
12807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12808 (eval $ac_try) 2>&5
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); }; } &&
12812 { ac_try
='test -s conftest.$ac_objext'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; }; then
12818 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
12820 echo "$as_me: failed program was:" >&5
12821 sed 's/^/| /' conftest.
$ac_ext >&5
12823 bfd_cv_have_sys_procfs_type_pstatus_t
=no
12826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12829 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
12831 cat >>confdefs.h
<<\_ACEOF
12832 #define HAVE_PSTATUS_T 1
12836 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
12837 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
12839 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
12840 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
12841 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12844 cat >conftest.
$ac_ext <<_ACEOF
12847 cat confdefs.h
>>conftest.
$ac_ext
12848 cat >>conftest.
$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12852 #include <sys/procfs.h>
12861 rm -f conftest.
$ac_objext
12862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12863 (eval $ac_compile) 2>conftest.er1
12865 grep -v '^ *+' conftest.er1
>conftest.err
12867 cat conftest.err
>&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); } &&
12870 { ac_try
='test -z "$ac_c_werror_flag"
12871 || test ! -s conftest.err'
12872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12873 (eval $ac_try) 2>&5
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); }; } &&
12877 { ac_try
='test -s conftest.$ac_objext'
12878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12879 (eval $ac_try) 2>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); }; }; then
12883 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
12885 echo "$as_me: failed program was:" >&5
12886 sed 's/^/| /' conftest.
$ac_ext >&5
12888 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
12891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12894 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
12896 cat >>confdefs.h
<<\_ACEOF
12897 #define HAVE_PXSTATUS_T 1
12901 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
12902 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
12904 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
12905 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
12906 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12909 cat >conftest.
$ac_ext <<_ACEOF
12912 cat confdefs.h
>>conftest.
$ac_ext
12913 cat >>conftest.
$ac_ext <<_ACEOF
12914 /* end confdefs.h. */
12917 #include <sys/procfs.h>
12926 rm -f conftest.
$ac_objext
12927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12928 (eval $ac_compile) 2>conftest.er1
12930 grep -v '^ *+' conftest.er1
>conftest.err
12932 cat conftest.err
>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); } &&
12935 { ac_try
='test -z "$ac_c_werror_flag"
12936 || test ! -s conftest.err'
12937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12938 (eval $ac_try) 2>&5
12940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941 (exit $ac_status); }; } &&
12942 { ac_try
='test -s conftest.$ac_objext'
12943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12944 (eval $ac_try) 2>&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); }; }; then
12948 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
12950 echo "$as_me: failed program was:" >&5
12951 sed 's/^/| /' conftest.
$ac_ext >&5
12953 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
12956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12959 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
12961 cat >>confdefs.h
<<\_ACEOF
12962 #define HAVE_PSTATUS32_T 1
12966 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
12967 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
12969 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
12970 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
12971 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
12972 echo $ECHO_N "(cached) $ECHO_C" >&6
12974 cat >conftest.
$ac_ext <<_ACEOF
12977 cat confdefs.h
>>conftest.
$ac_ext
12978 cat >>conftest.
$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12982 #include <sys/procfs.h>
12991 rm -f conftest.
$ac_objext
12992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12993 (eval $ac_compile) 2>conftest.er1
12995 grep -v '^ *+' conftest.er1
>conftest.err
12997 cat conftest.err
>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); } &&
13000 { ac_try
='test -z "$ac_c_werror_flag"
13001 || test ! -s conftest.err'
13002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 (eval $ac_try) 2>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; } &&
13007 { ac_try
='test -s conftest.$ac_objext'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; }; then
13013 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
13015 echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.
$ac_ext >&5
13018 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
13021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13024 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
13026 cat >>confdefs.h
<<\_ACEOF
13027 #define HAVE_PRPSINFO_T 1
13031 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
13032 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
13034 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
13035 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
13036 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 cat >conftest.
$ac_ext <<_ACEOF
13042 cat confdefs.h
>>conftest.
$ac_ext
13043 cat >>conftest.
$ac_ext <<_ACEOF
13044 /* end confdefs.h. */
13047 #include <sys/procfs.h>
13056 rm -f conftest.
$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>conftest.er1
13060 grep -v '^ *+' conftest.er1
>conftest.err
13062 cat conftest.err
>&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try
='test -z "$ac_c_werror_flag"
13066 || test ! -s conftest.err'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; } &&
13072 { ac_try
='test -s conftest.$ac_objext'
13073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13074 (eval $ac_try) 2>&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); }; }; then
13078 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
13080 echo "$as_me: failed program was:" >&5
13081 sed 's/^/| /' conftest.
$ac_ext >&5
13083 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
13086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13089 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
13091 cat >>confdefs.h
<<\_ACEOF
13092 #define HAVE_PRPSINFO32_T 1
13096 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
13097 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
13099 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
13100 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
13101 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
13102 echo $ECHO_N "(cached) $ECHO_C" >&6
13104 cat >conftest.
$ac_ext <<_ACEOF
13107 cat confdefs.h
>>conftest.
$ac_ext
13108 cat >>conftest.
$ac_ext <<_ACEOF
13109 /* end confdefs.h. */
13112 #include <sys/procfs.h>
13121 rm -f conftest.
$ac_objext
13122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13123 (eval $ac_compile) 2>conftest.er1
13125 grep -v '^ *+' conftest.er1
>conftest.err
13127 cat conftest.err
>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); } &&
13130 { ac_try
='test -z "$ac_c_werror_flag"
13131 || test ! -s conftest.err'
13132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133 (eval $ac_try) 2>&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); }; } &&
13137 { ac_try
='test -s conftest.$ac_objext'
13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 (eval $ac_try) 2>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; }; then
13143 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
13145 echo "$as_me: failed program was:" >&5
13146 sed 's/^/| /' conftest.
$ac_ext >&5
13148 bfd_cv_have_sys_procfs_type_psinfo_t
=no
13151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13154 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
13156 cat >>confdefs.h
<<\_ACEOF
13157 #define HAVE_PSINFO_T 1
13161 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
13162 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
13164 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
13165 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
13166 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
13167 echo $ECHO_N "(cached) $ECHO_C" >&6
13169 cat >conftest.
$ac_ext <<_ACEOF
13172 cat confdefs.h
>>conftest.
$ac_ext
13173 cat >>conftest.
$ac_ext <<_ACEOF
13174 /* end confdefs.h. */
13177 #include <sys/procfs.h>
13186 rm -f conftest.
$ac_objext
13187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13188 (eval $ac_compile) 2>conftest.er1
13190 grep -v '^ *+' conftest.er1
>conftest.err
13192 cat conftest.err
>&5
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); } &&
13195 { ac_try
='test -z "$ac_c_werror_flag"
13196 || test ! -s conftest.err'
13197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13198 (eval $ac_try) 2>&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); }; } &&
13202 { ac_try
='test -s conftest.$ac_objext'
13203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13204 (eval $ac_try) 2>&5
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); }; }; then
13208 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
13210 echo "$as_me: failed program was:" >&5
13211 sed 's/^/| /' conftest.
$ac_ext >&5
13213 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
13216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13219 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
13221 cat >>confdefs.h
<<\_ACEOF
13222 #define HAVE_PSINFO32_T 1
13226 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
13227 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
13229 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
13230 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
13231 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
13232 echo $ECHO_N "(cached) $ECHO_C" >&6
13234 cat >conftest.
$ac_ext <<_ACEOF
13237 cat confdefs.h
>>conftest.
$ac_ext
13238 cat >>conftest.
$ac_ext <<_ACEOF
13239 /* end confdefs.h. */
13242 #include <sys/procfs.h>
13251 rm -f conftest.
$ac_objext
13252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13253 (eval $ac_compile) 2>conftest.er1
13255 grep -v '^ *+' conftest.er1
>conftest.err
13257 cat conftest.err
>&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); } &&
13260 { ac_try
='test -z "$ac_c_werror_flag"
13261 || test ! -s conftest.err'
13262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13263 (eval $ac_try) 2>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); }; } &&
13267 { ac_try
='test -s conftest.$ac_objext'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; }; then
13273 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
13275 echo "$as_me: failed program was:" >&5
13276 sed 's/^/| /' conftest.
$ac_ext >&5
13278 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
13281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13284 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
13286 cat >>confdefs.h
<<\_ACEOF
13287 #define HAVE_LWPSTATUS_T 1
13291 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
13292 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
13294 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
13295 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
13296 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
13297 echo $ECHO_N "(cached) $ECHO_C" >&6
13299 cat >conftest.
$ac_ext <<_ACEOF
13302 cat confdefs.h
>>conftest.
$ac_ext
13303 cat >>conftest.
$ac_ext <<_ACEOF
13304 /* end confdefs.h. */
13307 #include <sys/procfs.h>
13316 rm -f conftest.
$ac_objext
13317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13318 (eval $ac_compile) 2>conftest.er1
13320 grep -v '^ *+' conftest.er1
>conftest.err
13322 cat conftest.err
>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); } &&
13325 { ac_try
='test -z "$ac_c_werror_flag"
13326 || test ! -s conftest.err'
13327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328 (eval $ac_try) 2>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; } &&
13332 { ac_try
='test -s conftest.$ac_objext'
13333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334 (eval $ac_try) 2>&5
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; }; then
13338 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
13340 echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.
$ac_ext >&5
13343 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
13346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13349 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
13351 cat >>confdefs.h
<<\_ACEOF
13352 #define HAVE_LWPXSTATUS_T 1
13356 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
13357 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
13359 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
13360 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
13361 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 cat >conftest.
$ac_ext <<_ACEOF
13367 cat confdefs.h
>>conftest.
$ac_ext
13368 cat >>conftest.
$ac_ext <<_ACEOF
13369 /* end confdefs.h. */
13372 #include <sys/procfs.h>
13376 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
13381 rm -f conftest.
$ac_objext
13382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13383 (eval $ac_compile) 2>conftest.er1
13385 grep -v '^ *+' conftest.er1
>conftest.err
13387 cat conftest.err
>&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } &&
13390 { ac_try
='test -z "$ac_c_werror_flag"
13391 || test ! -s conftest.err'
13392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13393 (eval $ac_try) 2>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; } &&
13397 { ac_try
='test -s conftest.$ac_objext'
13398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13399 (eval $ac_try) 2>&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); }; }; then
13403 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
13405 echo "$as_me: failed program was:" >&5
13406 sed 's/^/| /' conftest.
$ac_ext >&5
13408 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
13411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13414 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
13416 cat >>confdefs.h
<<\_ACEOF
13417 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
13421 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
13422 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
13424 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
13425 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
13426 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
13427 echo $ECHO_N "(cached) $ECHO_C" >&6
13429 cat >conftest.
$ac_ext <<_ACEOF
13432 cat confdefs.h
>>conftest.
$ac_ext
13433 cat >>conftest.
$ac_ext <<_ACEOF
13434 /* end confdefs.h. */
13437 #include <sys/procfs.h>
13441 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
13446 rm -f conftest.
$ac_objext
13447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13448 (eval $ac_compile) 2>conftest.er1
13450 grep -v '^ *+' conftest.er1
>conftest.err
13452 cat conftest.err
>&5
13453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454 (exit $ac_status); } &&
13455 { ac_try
='test -z "$ac_c_werror_flag"
13456 || test ! -s conftest.err'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; } &&
13462 { ac_try
='test -s conftest.$ac_objext'
13463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464 (eval $ac_try) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); }; }; then
13468 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
13470 echo "$as_me: failed program was:" >&5
13471 sed 's/^/| /' conftest.
$ac_ext >&5
13473 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
13476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13479 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
13481 cat >>confdefs.h
<<\_ACEOF
13482 #define HAVE_LWPSTATUS_T_PR_REG 1
13486 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
13487 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
13489 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
13490 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
13491 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
13492 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 cat >conftest.
$ac_ext <<_ACEOF
13497 cat confdefs.h
>>conftest.
$ac_ext
13498 cat >>conftest.
$ac_ext <<_ACEOF
13499 /* end confdefs.h. */
13502 #include <sys/procfs.h>
13506 win32_pstatus_t avar
13511 rm -f conftest.
$ac_objext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13513 (eval $ac_compile) 2>conftest.er1
13515 grep -v '^ *+' conftest.er1
>conftest.err
13517 cat conftest.err
>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } &&
13520 { ac_try
='test -z "$ac_c_werror_flag"
13521 || test ! -s conftest.err'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } &&
13527 { ac_try
='test -s conftest.$ac_objext'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.
$ac_ext >&5
13538 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
13541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13544 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
13546 cat >>confdefs.h
<<\_ACEOF
13547 #define HAVE_WIN32_PSTATUS_T 1
13551 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
13552 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
13558 if test -n "$TRAD_HEADER"; then
13560 cat >>confdefs.h
<<_ACEOF
13561 #define TRAD_HEADER $TRAD_HEADER
13566 # Horrible hacks to build DLLs on Windows.
13571 if test "$enable_shared" = "yes"; then
13572 WIN32LDFLAGS
="-no-undefined"
13573 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
13577 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
13581 # Linux/MIPS uses PIC by default.
13582 if test "$enable_shared" = "yes"; then
13583 WIN32LIBADD
="-L../libiberty -liberty"
13587 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
13588 if test -n "$x"; then
13589 WIN32LIBADD
="-L../libiberty/pic -liberty"
13600 # Canonicalize the secondary target names.
13601 if test -n "$enable_targets" ; then
13602 for targ
in `echo $enable_targets | sed 's/,/ /g'`
13604 result
=`$ac_config_sub $targ 2>/dev/null`
13605 if test -n "$result" ; then
13606 canon_targets
="$canon_targets $result"
13608 # Allow targets that config.sub doesn't recognize, like "all".
13609 canon_targets
="$canon_targets $targ"
13620 for targ
in $target $canon_targets
13622 if test "x$targ" = "xall"; then
13624 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
13626 .
$srcdir/config.bfd
13627 if test "x$targ" = "x$target"; then
13628 defvec
=$targ_defvec
13630 selvecs
="$selvecs $targ_defvec $targ_selvecs"
13631 selarchs
="$selarchs $targ_archs"
13632 TDEFINES
="$TDEFINES $targ_cflags"
13637 # This processing still needs to be done if we're to decide properly whether
13638 # 64-bit support needs to be compiled in. Currently, it will be included if
13639 # the default or any other explicitly requested target requires it; it
13640 # will not be included on a 32-bit host if no 64-bit target is requested, and
13641 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
13644 # uniq the default and selected vectors in all the configured targets.
13646 for i
in $selvecs ; do
13655 # uniq the associated vectors in all the configured targets.
13657 for i
in $assocvecs ; do
13666 # uniq the architectures in all the configured targets.
13668 for i
in $selarchs ; do
13676 # Target backend .o files.
13679 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
13681 for vec
in $selvecs
13685 # This list is alphabetized to make it easy to compare
13686 # with the two vector lists in targets.c. For the same reason,
13687 # use one entry per line, even though this leads to long lines.
13688 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
13689 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
13690 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
13691 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
13692 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
13693 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
13694 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
13695 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
13696 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
13697 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
13698 arm_wince_pe_big_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
13699 arm_wince_pe_little_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
13700 arm_wince_pei_big_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
13701 arm_wince_pei_little_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
13702 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
13703 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
13704 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
13705 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
13706 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
13707 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
13708 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
13709 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
13710 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
13711 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
13712 bfd_efi_app_x86_64_vec
) tb
="$tb efi-app-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
13713 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
13714 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
13715 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
13716 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
13717 bfd_elf32_bfinfdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
13718 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
13719 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
13720 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13721 bfd_elf32_bigarm_symbian_vec
)
13722 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13723 bfd_elf32_bigarm_vxworks_vec
)
13724 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13725 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13726 bfd_elf32_bigmips_vxworks_vec
)
13727 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13728 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
13729 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
13730 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
13731 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
13732 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
13733 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
13734 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
13735 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
13736 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
13737 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
13738 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13739 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13740 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13741 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
13742 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13743 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13744 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13745 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
13746 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
13747 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
13748 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
13749 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
13750 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
13751 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
13752 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
13753 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
13754 bfd_elf32_littlearm_symbian_vec
)
13755 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13756 bfd_elf32_littlearm_vxworks_vec
)
13757 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13758 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13759 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13760 bfd_elf32_littlemips_vxworks_vec
)
13761 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13762 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
13763 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13764 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13765 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13766 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13767 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
13768 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
13769 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
13770 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
13771 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
13772 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
13773 bfd_elf32_mep_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
13774 bfd_elf32_mep_little_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
13775 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
13776 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
13777 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
13778 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
13779 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13780 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13781 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13782 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13783 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
13784 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
13785 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
13786 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
13787 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13788 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13789 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13790 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
13791 bfd_elf32_bigscore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
13792 bfd_elf32_littlescore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
13793 # FIXME: We include cofflink.lo not because it's needed for
13794 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
13795 # which needs it but does not list it. Should be fixed in right place.
13796 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13797 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13798 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13799 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13800 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
13801 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
13802 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
13803 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13804 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
13805 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
13806 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13807 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13808 bfd_elf32_shlvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
13809 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13810 bfd_elf32_shvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
13811 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
13812 bfd_elf32_sparc_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
13813 bfd_elf32_spu_vec
) tb
="$tb elf32-spu.lo elf32.lo $elf" ;;
13814 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13815 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13816 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
13817 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
13818 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
13819 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
13820 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
13821 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
13822 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
13823 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
13824 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
13825 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13826 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13827 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
13828 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
13829 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13830 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13831 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13832 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13833 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13834 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
13835 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13836 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
13837 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
13838 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13839 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13840 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13841 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13842 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13843 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13844 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
13845 bfd_elf64_sparc_freebsd_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
13846 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13847 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13848 bfd_elf64_x86_64_freebsd_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
13849 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
13850 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
13851 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
13852 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
13853 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
13854 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
13855 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
13856 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
13857 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13858 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13859 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13860 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
13861 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
13862 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
13863 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
13864 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
13865 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
13866 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
13867 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
13868 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
13869 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
13870 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
13871 x86_64coff_vec
) tb
="$tb coff-x86_64.lo cofflink.lo"; target_size
=64 ;;
13872 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
13873 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
13874 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
13875 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
13876 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
13877 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
13878 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
13879 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
13880 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
13881 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
13882 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
13883 x86_64pe_vec
) tb
="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
13884 x86_64pei_vec
) tb
="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
13885 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
13886 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
13887 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
13888 ieee_vec
) tb
="$tb ieee.lo" ;;
13889 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
13890 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
13891 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
13892 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
13893 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
13894 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
13895 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
13896 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
13897 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
13898 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
13899 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
13900 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
13901 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
13902 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
13903 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
13904 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
13905 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
13906 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
13907 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
13908 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
13909 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
13910 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
13911 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
13912 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
13913 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
13914 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
13915 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
13916 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
13917 pef_vec
) tb
="$tb pef.lo" ;;
13918 pef_xlib_vec
) tb
="$tb pef.lo" ;;
13919 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
13920 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
13921 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
13922 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
13923 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
13924 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
13925 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13926 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13927 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13928 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13929 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
13930 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
13931 som_vec
) tb
="$tb som.lo" ;;
13932 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
13933 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
13934 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
13935 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
13936 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
13937 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
13938 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
13939 sym_vec
) tb
="$tb xsym.lo" ;;
13940 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
13941 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
13942 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
13943 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13944 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
13945 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13946 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
13947 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13948 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13949 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
13950 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13951 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
13952 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13953 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
13954 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
13955 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
13956 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
13957 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
13958 versados_vec
) tb
="$tb versados.lo" ;;
13959 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
13960 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
13961 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
13962 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
13963 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
13964 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
13966 # These appear out of order in targets.c
13967 srec_vec
) tb
="$tb srec.lo" ;;
13968 symbolsrec_vec
) tb
="$tb srec.lo" ;;
13969 tekhex_vec
) tb
="$tb tekhex.lo" ;;
13970 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
13971 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
13974 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
13975 echo "$as_me: error: *** unknown target vector $vec" >&2;}
13976 { (exit 1); exit 1; }; } ;;
13979 if test ${target_size} = 64; then
13982 if test x
"${vec}" = x
"${defvec}"; then
13983 bfd_default_target_size
=${target_size}
13987 # Target architecture .o files.
13988 # A couple of CPUs use shorter file names to avoid problems on DOS
13990 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
13992 # Weed out duplicate .o files.
14014 if test x
${all_targets} = xtrue
; then
14015 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
14016 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
14020 test -n "$assocvecs" &&
14021 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
14022 else # all_targets is true
14023 # Only set these if they will be nonempty, for the clever echo.
14026 test -n "$selvecs" &&
14027 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
14028 test -n "$selvecs" &&
14029 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
14030 test -n "$selarchs" &&
14031 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
14032 fi # all_targets is true
14034 case ${host64}-${target64}-${want64} in
14037 bfd64_libs
='$(BFD64_LIBS)'
14038 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
14039 if test $BFD_HOST_64_BIT_DEFINED = 0; then
14040 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
14041 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
14042 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
14043 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
14045 if test -n "$GCC" ; then
14047 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
14048 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
14049 # Add more tests for gcc versions with non-working 64-bit support here.
14050 cat >conftest.
$ac_ext <<_ACEOF
14053 cat confdefs.h
>>conftest.
$ac_ext
14054 cat >>conftest.
$ac_ext <<_ACEOF
14055 /* end confdefs.h. */
14056 :__GNUC__:__GNUC_MINOR__:__i386__:
14058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14059 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
14061 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
14062 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
14064 echo "$as_me:$LINENO: result: no" >&5
14065 echo "${ECHO_T}no" >&6
14069 if test $bad_64bit_gcc = yes ; then
14070 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
14071 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
14072 { (exit 1); exit 1; }; }
14078 all_backends
='$(BFD32_BACKENDS)'
14089 # Determine the host dependant file_ptr a.k.a. off_t type. In order
14090 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
14091 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
14092 # Hopefully a reasonable assumption since fseeko et.al. should be
14093 # upward compatible.
14099 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
14101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14102 echo "$as_me:$LINENO: checking for $ac_func" >&5
14103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14104 if eval "test \"\${$as_ac_var+set}\" = set"; then
14105 echo $ECHO_N "(cached) $ECHO_C" >&6
14107 cat >conftest.
$ac_ext <<_ACEOF
14110 cat confdefs.h
>>conftest.
$ac_ext
14111 cat >>conftest.
$ac_ext <<_ACEOF
14112 /* end confdefs.h. */
14113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14115 #define $ac_func innocuous_$ac_func
14117 /* System header to define __stub macros and hopefully few prototypes,
14118 which can conflict with char $ac_func (); below.
14119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14120 <limits.h> exists even on freestanding compilers. */
14123 # include <limits.h>
14125 # include <assert.h>
14130 /* Override any gcc2 internal prototype to avoid an error. */
14135 /* We use char because int might match the return type of a gcc2
14136 builtin and then its argument prototype would still apply. */
14138 /* The GNU C library defines this for functions which it implements
14139 to always fail with ENOSYS. Some functions are actually named
14140 something starting with __ and the normal name is an alias. */
14141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14144 char (*f) () = $ac_func;
14153 return f != $ac_func;
14158 rm -f conftest.
$ac_objext conftest
$ac_exeext
14159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14160 (eval $ac_link) 2>conftest.er1
14162 grep -v '^ *+' conftest.er1
>conftest.err
14164 cat conftest.err
>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } &&
14167 { ac_try
='test -z "$ac_c_werror_flag"
14168 || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try
='test -s conftest$ac_exeext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 eval "$as_ac_var=yes"
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14185 eval "$as_ac_var=no"
14187 rm -f conftest.err conftest.
$ac_objext \
14188 conftest
$ac_exeext conftest.
$ac_ext
14190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14192 if test `eval echo '${'$as_ac_var'}'` = yes; then
14193 cat >>confdefs.h
<<_ACEOF
14194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14200 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
14201 echo "$as_me:$LINENO: checking for off_t" >&5
14202 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14203 if test "${ac_cv_type_off_t+set}" = set; then
14204 echo $ECHO_N "(cached) $ECHO_C" >&6
14206 cat >conftest.
$ac_ext <<_ACEOF
14209 cat confdefs.h
>>conftest.
$ac_ext
14210 cat >>conftest.
$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14212 $ac_includes_default
14218 if (sizeof (off_t))
14224 rm -f conftest.
$ac_objext
14225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14226 (eval $ac_compile) 2>conftest.er1
14228 grep -v '^ *+' conftest.er1
>conftest.err
14230 cat conftest.err
>&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); } &&
14233 { ac_try
='test -z "$ac_c_werror_flag"
14234 || test ! -s conftest.err'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; } &&
14240 { ac_try
='test -s conftest.$ac_objext'
14241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14242 (eval $ac_try) 2>&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); }; }; then
14246 ac_cv_type_off_t
=yes
14248 echo "$as_me: failed program was:" >&5
14249 sed 's/^/| /' conftest.
$ac_ext >&5
14251 ac_cv_type_off_t
=no
14253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14255 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14256 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14258 echo "$as_me:$LINENO: checking size of off_t" >&5
14259 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
14260 if test "${ac_cv_sizeof_off_t+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 if test "$ac_cv_type_off_t" = yes; then
14264 # The cast to unsigned long works around a bug in the HP C Compiler
14265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14267 # This bug is HP SR number 8606223364.
14268 if test "$cross_compiling" = yes; then
14269 # Depending upon the size, compute the lo and hi bounds.
14270 cat >conftest.
$ac_ext <<_ACEOF
14273 cat confdefs.h
>>conftest.
$ac_ext
14274 cat >>conftest.
$ac_ext <<_ACEOF
14275 /* end confdefs.h. */
14276 $ac_includes_default
14280 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
14287 rm -f conftest.
$ac_objext
14288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14289 (eval $ac_compile) 2>conftest.er1
14291 grep -v '^ *+' conftest.er1
>conftest.err
14293 cat conftest.err
>&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } &&
14296 { ac_try
='test -z "$ac_c_werror_flag"
14297 || test ! -s conftest.err'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; } &&
14303 { ac_try
='test -s conftest.$ac_objext'
14304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14305 (eval $ac_try) 2>&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); }; }; then
14311 cat >conftest.
$ac_ext <<_ACEOF
14314 cat confdefs.h
>>conftest.
$ac_ext
14315 cat >>conftest.
$ac_ext <<_ACEOF
14316 /* end confdefs.h. */
14317 $ac_includes_default
14321 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
14328 rm -f conftest.
$ac_objext
14329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14330 (eval $ac_compile) 2>conftest.er1
14332 grep -v '^ *+' conftest.er1
>conftest.err
14334 cat conftest.err
>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); } &&
14337 { ac_try
='test -z "$ac_c_werror_flag"
14338 || test ! -s conftest.err'
14339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14340 (eval $ac_try) 2>&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; } &&
14344 { ac_try
='test -s conftest.$ac_objext'
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; }; then
14350 ac_hi
=$ac_mid; break
14352 echo "$as_me: failed program was:" >&5
14353 sed 's/^/| /' conftest.
$ac_ext >&5
14355 ac_lo
=`expr $ac_mid + 1`
14356 if test $ac_lo -le $ac_mid; then
14360 ac_mid
=`expr 2 '*' $ac_mid + 1`
14362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14365 echo "$as_me: failed program was:" >&5
14366 sed 's/^/| /' conftest.
$ac_ext >&5
14368 cat >conftest.
$ac_ext <<_ACEOF
14371 cat confdefs.h
>>conftest.
$ac_ext
14372 cat >>conftest.
$ac_ext <<_ACEOF
14373 /* end confdefs.h. */
14374 $ac_includes_default
14378 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
14385 rm -f conftest.
$ac_objext
14386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14387 (eval $ac_compile) 2>conftest.er1
14389 grep -v '^ *+' conftest.er1
>conftest.err
14391 cat conftest.err
>&5
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); } &&
14394 { ac_try
='test -z "$ac_c_werror_flag"
14395 || test ! -s conftest.err'
14396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397 (eval $ac_try) 2>&5
14399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400 (exit $ac_status); }; } &&
14401 { ac_try
='test -s conftest.$ac_objext'
14402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14403 (eval $ac_try) 2>&5
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); }; }; then
14409 cat >conftest.
$ac_ext <<_ACEOF
14412 cat confdefs.h
>>conftest.
$ac_ext
14413 cat >>conftest.
$ac_ext <<_ACEOF
14414 /* end confdefs.h. */
14415 $ac_includes_default
14419 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
14426 rm -f conftest.
$ac_objext
14427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14428 (eval $ac_compile) 2>conftest.er1
14430 grep -v '^ *+' conftest.er1
>conftest.err
14432 cat conftest.err
>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); } &&
14435 { ac_try
='test -z "$ac_c_werror_flag"
14436 || test ! -s conftest.err'
14437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438 (eval $ac_try) 2>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; } &&
14442 { ac_try
='test -s conftest.$ac_objext'
14443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14444 (eval $ac_try) 2>&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; }; then
14448 ac_lo
=$ac_mid; break
14450 echo "$as_me: failed program was:" >&5
14451 sed 's/^/| /' conftest.
$ac_ext >&5
14453 ac_hi
=`expr '(' $ac_mid ')' - 1`
14454 if test $ac_mid -le $ac_hi; then
14458 ac_mid
=`expr 2 '*' $ac_mid`
14460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14463 echo "$as_me: failed program was:" >&5
14464 sed 's/^/| /' conftest.
$ac_ext >&5
14468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14471 # Binary search between lo and hi bounds.
14472 while test "x$ac_lo" != "x$ac_hi"; do
14473 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14474 cat >conftest.
$ac_ext <<_ACEOF
14477 cat confdefs.h
>>conftest.
$ac_ext
14478 cat >>conftest.
$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480 $ac_includes_default
14484 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
14491 rm -f conftest.
$ac_objext
14492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14493 (eval $ac_compile) 2>conftest.er1
14495 grep -v '^ *+' conftest.er1
>conftest.err
14497 cat conftest.err
>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } &&
14500 { ac_try
='test -z "$ac_c_werror_flag"
14501 || test ! -s conftest.err'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; } &&
14507 { ac_try
='test -s conftest.$ac_objext'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; }; then
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.
$ac_ext >&5
14518 ac_lo
=`expr '(' $ac_mid ')' + 1`
14520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14523 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
14524 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
14525 See \`config.log' for more details." >&5
14526 echo "$as_me: error: cannot compute sizeof (off_t), 77
14527 See \`config.log' for more details." >&2;}
14528 { (exit 1); exit 1; }; } ;;
14531 if test "$cross_compiling" = yes; then
14532 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14533 See \`config.log' for more details." >&5
14534 echo "$as_me: error: cannot run test program while cross compiling
14535 See \`config.log' for more details." >&2;}
14536 { (exit 1); exit 1; }; }
14538 cat >conftest.
$ac_ext <<_ACEOF
14541 cat confdefs.h
>>conftest.
$ac_ext
14542 cat >>conftest.
$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14544 $ac_includes_default
14545 long longval () { return (long) (sizeof (off_t)); }
14546 unsigned long ulongval () { return (long) (sizeof (off_t)); }
14548 #include <stdlib.h>
14553 FILE *f = fopen ("conftest.val", "w");
14556 if (((long) (sizeof (off_t))) < 0)
14558 long i = longval ();
14559 if (i != ((long) (sizeof (off_t))))
14561 fprintf (f, "%ld\n", i);
14565 unsigned long i = ulongval ();
14566 if (i != ((long) (sizeof (off_t))))
14568 fprintf (f, "%lu\n", i);
14570 exit (ferror (f) || fclose (f) != 0);
14576 rm -f conftest
$ac_exeext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14578 (eval $ac_link) 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14583 (eval $ac_try) 2>&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); }; }; then
14587 ac_cv_sizeof_off_t
=`cat conftest.val`
14589 echo "$as_me: program exited with status $ac_status" >&5
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.
$ac_ext >&5
14593 ( exit $ac_status )
14594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
14595 See \`config.log' for more details." >&5
14596 echo "$as_me: error: cannot compute sizeof (off_t), 77
14597 See \`config.log' for more details." >&2;}
14598 { (exit 1); exit 1; }; }
14600 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14605 ac_cv_sizeof_off_t
=0
14608 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
14609 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
14610 cat >>confdefs.h
<<_ACEOF
14611 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
14616 echo "$as_me:$LINENO: checking file_ptr type" >&5
14617 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
14618 bfd_file_ptr
="long"
14619 bfd_ufile_ptr
="unsigned long"
14620 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
14621 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
14622 bfd_file_ptr
=BFD_HOST_64_BIT
14623 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
14625 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
14626 echo "${ECHO_T}$bfd_file_ptr" >&6
14632 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
14633 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
14634 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
14635 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
14636 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
14641 for ac_header
in stdlib.h unistd.h
14643 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14645 echo "$as_me:$LINENO: checking for $ac_header" >&5
14646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14653 # Is the header compilable?
14654 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14656 cat >conftest.
$ac_ext <<_ACEOF
14659 cat confdefs.h
>>conftest.
$ac_ext
14660 cat >>conftest.
$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662 $ac_includes_default
14663 #include <$ac_header>
14665 rm -f conftest.
$ac_objext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>conftest.er1
14669 grep -v '^ *+' conftest.er1
>conftest.err
14671 cat conftest.err
>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } &&
14674 { ac_try
='test -z "$ac_c_werror_flag"
14675 || test ! -s conftest.err'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; } &&
14681 { ac_try
='test -s conftest.$ac_objext'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; }; then
14687 ac_header_compiler
=yes
14689 echo "$as_me: failed program was:" >&5
14690 sed 's/^/| /' conftest.
$ac_ext >&5
14692 ac_header_compiler
=no
14694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14696 echo "${ECHO_T}$ac_header_compiler" >&6
14698 # Is the header present?
14699 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14701 cat >conftest.
$ac_ext <<_ACEOF
14704 cat confdefs.h
>>conftest.
$ac_ext
14705 cat >>conftest.
$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14707 #include <$ac_header>
14709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14712 grep -v '^ *+' conftest.er1
>conftest.err
14714 cat conftest.err
>&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); } >/dev
/null
; then
14717 if test -s conftest.err
; then
14718 ac_cpp_err
=$ac_c_preproc_warn_flag
14719 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14726 if test -z "$ac_cpp_err"; then
14727 ac_header_preproc
=yes
14729 echo "$as_me: failed program was:" >&5
14730 sed 's/^/| /' conftest.
$ac_ext >&5
14732 ac_header_preproc
=no
14734 rm -f conftest.err conftest.
$ac_ext
14735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14736 echo "${ECHO_T}$ac_header_preproc" >&6
14738 # So? What about this header?
14739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14744 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14745 ac_header_preproc
=yes
14748 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14750 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14752 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14753 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14754 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14755 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14758 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14759 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14762 ## ------------------------------------------ ##
14763 ## Report this to the AC_PACKAGE_NAME lists. ##
14764 ## ------------------------------------------ ##
14767 sed "s/^/$as_me: WARNING: /" >&2
14770 echo "$as_me:$LINENO: checking for $ac_header" >&5
14771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14775 eval "$as_ac_Header=\$ac_header_preproc"
14777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14782 cat >>confdefs.h
<<_ACEOF
14783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14791 for ac_func
in getpagesize
14793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14794 echo "$as_me:$LINENO: checking for $ac_func" >&5
14795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14796 if eval "test \"\${$as_ac_var+set}\" = set"; then
14797 echo $ECHO_N "(cached) $ECHO_C" >&6
14799 cat >conftest.
$ac_ext <<_ACEOF
14802 cat confdefs.h
>>conftest.
$ac_ext
14803 cat >>conftest.
$ac_ext <<_ACEOF
14804 /* end confdefs.h. */
14805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14807 #define $ac_func innocuous_$ac_func
14809 /* System header to define __stub macros and hopefully few prototypes,
14810 which can conflict with char $ac_func (); below.
14811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14812 <limits.h> exists even on freestanding compilers. */
14815 # include <limits.h>
14817 # include <assert.h>
14822 /* Override any gcc2 internal prototype to avoid an error. */
14827 /* We use char because int might match the return type of a gcc2
14828 builtin and then its argument prototype would still apply. */
14830 /* The GNU C library defines this for functions which it implements
14831 to always fail with ENOSYS. Some functions are actually named
14832 something starting with __ and the normal name is an alias. */
14833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14836 char (*f) () = $ac_func;
14845 return f != $ac_func;
14850 rm -f conftest.
$ac_objext conftest
$ac_exeext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14852 (eval $ac_link) 2>conftest.er1
14854 grep -v '^ *+' conftest.er1
>conftest.err
14856 cat conftest.err
>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } &&
14859 { ac_try
='test -z "$ac_c_werror_flag"
14860 || test ! -s conftest.err'
14861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862 (eval $ac_try) 2>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; } &&
14866 { ac_try
='test -s conftest$ac_exeext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14872 eval "$as_ac_var=yes"
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.
$ac_ext >&5
14877 eval "$as_ac_var=no"
14879 rm -f conftest.err conftest.
$ac_objext \
14880 conftest
$ac_exeext conftest.
$ac_ext
14882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14884 if test `eval echo '${'$as_ac_var'}'` = yes; then
14885 cat >>confdefs.h
<<_ACEOF
14886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14892 echo "$as_me:$LINENO: checking for working mmap" >&5
14893 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14894 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14897 if test "$cross_compiling" = yes; then
14898 ac_cv_func_mmap_fixed_mapped
=no
14900 cat >conftest.
$ac_ext <<_ACEOF
14903 cat confdefs.h
>>conftest.
$ac_ext
14904 cat >>conftest.
$ac_ext <<_ACEOF
14905 /* end confdefs.h. */
14906 $ac_includes_default
14907 /* malloc might have been renamed as rpl_malloc. */
14910 /* Thanks to Mike Haertel and Jim Avera for this test.
14911 Here is a matrix of mmap possibilities:
14912 mmap private not fixed
14913 mmap private fixed at somewhere currently unmapped
14914 mmap private fixed at somewhere already mapped
14915 mmap shared not fixed
14916 mmap shared fixed at somewhere currently unmapped
14917 mmap shared fixed at somewhere already mapped
14918 For private mappings, we should verify that changes cannot be read()
14919 back from the file, nor mmap's back from the file at a different
14920 address. (There have been systems where private was not correctly
14921 implemented like the infamous i386 svr4.0, and systems where the
14922 VM page cache was not coherent with the file system buffer cache
14923 like early versions of FreeBSD and possibly contemporary NetBSD.)
14924 For shared mappings, we should conversely verify that changes get
14925 propagated back to all the places they're supposed to be.
14927 Grep wants private fixed already mapped.
14928 The main things grep needs to know about mmap are:
14929 * does it exist and is it safe to write into the mmap'd area
14930 * how to use it (BSD variants) */
14933 #include <sys/mman.h>
14935 #if !STDC_HEADERS && !HAVE_STDLIB_H
14939 /* This mess was copied from the GNU getpagesize.h. */
14940 #if !HAVE_GETPAGESIZE
14941 /* Assume that all systems that can run configure have sys/param.h. */
14942 # if !HAVE_SYS_PARAM_H
14943 # define HAVE_SYS_PARAM_H 1
14946 # ifdef _SC_PAGESIZE
14947 # define getpagesize() sysconf(_SC_PAGESIZE)
14948 # else /* no _SC_PAGESIZE */
14949 # if HAVE_SYS_PARAM_H
14950 # include <sys/param.h>
14951 # ifdef EXEC_PAGESIZE
14952 # define getpagesize() EXEC_PAGESIZE
14953 # else /* no EXEC_PAGESIZE */
14955 # define getpagesize() NBPG * CLSIZE
14958 # endif /* no CLSIZE */
14959 # else /* no NBPG */
14961 # define getpagesize() NBPC
14962 # else /* no NBPC */
14964 # define getpagesize() PAGESIZE
14965 # endif /* PAGESIZE */
14966 # endif /* no NBPC */
14967 # endif /* no NBPG */
14968 # endif /* no EXEC_PAGESIZE */
14969 # else /* no HAVE_SYS_PARAM_H */
14970 # define getpagesize() 8192 /* punt totally */
14971 # endif /* no HAVE_SYS_PARAM_H */
14972 # endif /* no _SC_PAGESIZE */
14974 #endif /* no HAVE_GETPAGESIZE */
14979 char *data, *data2, *data3;
14983 pagesize = getpagesize ();
14985 /* First, make a file with some known garbage in it. */
14986 data = (char *) malloc (pagesize);
14989 for (i = 0; i < pagesize; ++i)
14990 *(data + i) = rand ();
14992 fd = creat ("conftest.mmap", 0600);
14995 if (write (fd, data, pagesize) != pagesize)
14999 /* Next, try to mmap the file at a fixed address which already has
15000 something else allocated at it. If we can, also make sure that
15001 we see the same garbage. */
15002 fd = open ("conftest.mmap", O_RDWR);
15005 data2 = (char *) malloc (2 * pagesize);
15008 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
15009 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
15010 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15012 for (i = 0; i < pagesize; ++i)
15013 if (*(data + i) != *(data2 + i))
15016 /* Finally, make sure that changes to the mapped area do not
15017 percolate back to the file as seen by read(). (This is a bug on
15018 some variants of i386 svr4.0.) */
15019 for (i = 0; i < pagesize; ++i)
15020 *(data2 + i) = *(data2 + i) + 1;
15021 data3 = (char *) malloc (pagesize);
15024 if (read (fd, data3, pagesize) != pagesize)
15026 for (i = 0; i < pagesize; ++i)
15027 if (*(data + i) != *(data3 + i))
15033 rm -f conftest
$ac_exeext
15034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15035 (eval $ac_link) 2>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; }; then
15044 ac_cv_func_mmap_fixed_mapped
=yes
15046 echo "$as_me: program exited with status $ac_status" >&5
15047 echo "$as_me: failed program was:" >&5
15048 sed 's/^/| /' conftest.
$ac_ext >&5
15050 ( exit $ac_status )
15051 ac_cv_func_mmap_fixed_mapped
=no
15053 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15056 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
15057 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
15058 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15060 cat >>confdefs.h
<<\_ACEOF
15061 #define HAVE_MMAP 1
15065 rm -f conftest.mmap
15069 for ac_func
in madvise mprotect
15071 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15072 echo "$as_me:$LINENO: checking for $ac_func" >&5
15073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15074 if eval "test \"\${$as_ac_var+set}\" = set"; then
15075 echo $ECHO_N "(cached) $ECHO_C" >&6
15077 cat >conftest.
$ac_ext <<_ACEOF
15080 cat confdefs.h
>>conftest.
$ac_ext
15081 cat >>conftest.
$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15085 #define $ac_func innocuous_$ac_func
15087 /* System header to define __stub macros and hopefully few prototypes,
15088 which can conflict with char $ac_func (); below.
15089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15090 <limits.h> exists even on freestanding compilers. */
15093 # include <limits.h>
15095 # include <assert.h>
15100 /* Override any gcc2 internal prototype to avoid an error. */
15105 /* We use char because int might match the return type of a gcc2
15106 builtin and then its argument prototype would still apply. */
15108 /* The GNU C library defines this for functions which it implements
15109 to always fail with ENOSYS. Some functions are actually named
15110 something starting with __ and the normal name is an alias. */
15111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15114 char (*f) () = $ac_func;
15123 return f != $ac_func;
15128 rm -f conftest.
$ac_objext conftest
$ac_exeext
15129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15130 (eval $ac_link) 2>conftest.er1
15132 grep -v '^ *+' conftest.er1
>conftest.err
15134 cat conftest.err
>&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); } &&
15137 { ac_try
='test -z "$ac_c_werror_flag"
15138 || test ! -s conftest.err'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; } &&
15144 { ac_try
='test -s conftest$ac_exeext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15150 eval "$as_ac_var=yes"
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.
$ac_ext >&5
15155 eval "$as_ac_var=no"
15157 rm -f conftest.err conftest.
$ac_objext \
15158 conftest
$ac_exeext conftest.
$ac_ext
15160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15162 if test `eval echo '${'$as_ac_var'}'` = yes; then
15163 cat >>confdefs.h
<<_ACEOF
15164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15170 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
15172 cat >>confdefs.h
<<\_ACEOF
15178 rm -f doc
/config.status
15179 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
15182 ac_config_commands
="$ac_config_commands default"
15189 cat >confcache
<<\_ACEOF
15190 # This file is a shell script that caches the results of configure
15191 # tests run on this system so they can be shared between configure
15192 # scripts and configure runs, see configure's option --config-cache.
15193 # It is not useful on other systems. If it contains results you don't
15194 # want to keep, you may remove or edit it.
15196 # config.status only pays attention to the cache file if you give it
15197 # the --recheck option to rerun configure.
15199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15201 # following values.
15205 # The following way of writing the cache mishandles newlines in values,
15206 # but we know of no workaround that is simple, portable, and efficient.
15207 # So, don't put newlines in cache variables' values.
15208 # Ultrix sh set writes to stderr and can't be redirected directly,
15209 # and sets the high bit in the cache file unless we assign to the vars.
15212 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15214 # `set' does not quote correctly, so add quotes (double-quote
15215 # substitution turns \\\\ into \\, and sed turns \\ into \).
15218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15221 # `set' quotes correctly as required by POSIX, so do not add quotes.
15223 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15230 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15232 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15234 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
15235 if test -w $cache_file; then
15236 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15237 cat confcache
>$cache_file
15239 echo "not updating unwritable cache $cache_file"
15244 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15245 # Let make expand exec_prefix.
15246 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15248 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15249 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15250 # trailing colons and then remove the whole line if VPATH becomes empty
15251 # (actually we leave an empty line to preserve line numbers).
15252 if test "x$srcdir" = x.
; then
15253 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15254 s/:*\$(srcdir):*/:/;
15255 s/:*\${srcdir}:*/:/;
15257 s/^\([^=]*=[ ]*\):*/\1/;
15263 DEFS
=-DHAVE_CONFIG_H
15267 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15268 # 1. Remove the extension, and $U if already installed.
15269 ac_i
=`echo "$ac_i" |
15270 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15272 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
15273 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
15275 LIBOBJS
=$ac_libobjs
15277 LTLIBOBJS
=$ac_ltlibobjs
15280 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15281 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15282 Usually this means the macro was only invoked conditionally." >&5
15283 echo "$as_me: error: conditional \"AMDEP\" was never defined.
15284 Usually this means the macro was only invoked conditionally." >&2;}
15285 { (exit 1); exit 1; }; }
15287 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15288 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15289 Usually this means the macro was only invoked conditionally." >&5
15290 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15291 Usually this means the macro was only invoked conditionally." >&2;}
15292 { (exit 1); exit 1; }; }
15294 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15295 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15296 Usually this means the macro was only invoked conditionally." >&5
15297 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15298 Usually this means the macro was only invoked conditionally." >&2;}
15299 { (exit 1); exit 1; }; }
15301 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
15302 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
15303 Usually this means the macro was only invoked conditionally." >&5
15304 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
15305 Usually this means the macro was only invoked conditionally." >&2;}
15306 { (exit 1); exit 1; }; }
15308 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
15309 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
15310 Usually this means the macro was only invoked conditionally." >&5
15311 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
15312 Usually this means the macro was only invoked conditionally." >&2;}
15313 { (exit 1); exit 1; }; }
15316 : ${CONFIG_STATUS=./config.status}
15317 ac_clean_files_save
=$ac_clean_files
15318 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15319 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15320 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15321 cat >$CONFIG_STATUS <<_ACEOF
15323 # Generated by $as_me.
15324 # Run this file to recreate the current configuration.
15325 # Compiler output produced by configure, useful for debugging
15326 # configure, is in config.log if it exists.
15329 ac_cs_recheck=false
15331 SHELL=\${CONFIG_SHELL-$SHELL}
15334 cat >>$CONFIG_STATUS <<\_ACEOF
15335 ## --------------------- ##
15336 ## M4sh Initialization. ##
15337 ## --------------------- ##
15339 # Be Bourne compatible
15340 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15343 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15344 # is contrary to our usage. Disable this feature.
15345 alias -g '${1+"$@"}'='"$@"'
15346 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
15349 DUALCASE
=1; export DUALCASE
# for MKS sh
15351 # Support unset when possible.
15352 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
15359 # Work around bugs in pre-3.0 UWIN ksh.
15360 $as_unset ENV MAIL MAILPATH
15367 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15368 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15369 LC_TELEPHONE LC_TIME
15371 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15372 eval $as_var=C
; export $as_var
15378 # Required to use basename.
15379 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15385 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
15386 as_basename
=basename
15392 # Name of the executable.
15393 as_me
=`$as_basename "$0" ||
15394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15395 X"$0" : 'X\(//\)$' \| \
15396 X"$0" : 'X\(/\)$' \| \
15397 . : '\(.\)' 2>/dev/null ||
15399 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15400 /^X\/\(\/\/\)$/{ s//\1/; q; }
15401 /^X\/\(\/\).*/{ s//\1/; q; }
15405 # PATH needs CR, and LINENO needs CR and PATH.
15406 # Avoid depending upon Character Ranges.
15407 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15408 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15409 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15410 as_cr_digits
='0123456789'
15411 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15413 # The user is always right.
15414 if test "${PATH_SEPARATOR+set}" != set; then
15415 echo "#! /bin/sh" >conf$$.sh
15416 echo "exit 0" >>conf$$.sh
15418 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15427 as_lineno_1
=$LINENO
15428 as_lineno_2
=$LINENO
15429 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
15430 test "x$as_lineno_1" != "x$as_lineno_2" &&
15431 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
15432 # Find who we are. Look in the path if we contain no path at all
15435 *[\\/]* ) as_myself
=$0 ;;
15436 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15437 for as_dir
in $PATH
15440 test -z "$as_dir" && as_dir
=.
15441 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15446 # We did not find ourselves, most probably we were run as `sh COMMAND'
15447 # in which case we are not to be found in the path.
15448 if test "x$as_myself" = x
; then
15451 if test ! -f "$as_myself"; then
15452 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15453 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15454 { (exit 1); exit 1; }; }
15456 case $CONFIG_SHELL in
15458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15459 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
15462 test -z "$as_dir" && as_dir
=.
15463 for as_base
in sh bash ksh sh5
; do
15466 if ("$as_dir/$as_base" -c '
15467 as_lineno_1=$LINENO
15468 as_lineno_2=$LINENO
15469 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15470 test "x$as_lineno_1" != "x$as_lineno_2" &&
15471 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
15472 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
15473 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
15474 CONFIG_SHELL
=$as_dir/$as_base
15475 export CONFIG_SHELL
15476 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15484 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15485 # uniformly replaced by the line number. The first 'sed' inserts a
15486 # line-number line before each line; the second 'sed' does the real
15487 # work. The second script uses 'N' to pair each line-number line
15488 # with the numbered line, and appends trailing '-' during
15489 # substitution so that $LINENO is not a special case at line end.
15490 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15491 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15492 sed '=' <$as_myself |
15497 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15500 s,^['$as_cr_digits']*\n,,
15501 ' >$as_me.lineno
&&
15502 chmod +x
$as_me.lineno ||
15503 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15504 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15505 { (exit 1); exit 1; }; }
15507 # Don't try to exec as it changes $[0], causing all sort of problems
15508 # (the dirname of $[0] is not the place where we might find the
15509 # original and so on. Autoconf is especially sensible to this).
15511 # Exit status is that of the last command.
15516 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15517 *c
*,-n*) ECHO_N
= ECHO_C
='
15519 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
15520 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
15523 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15529 rm -f conf$$ conf$$.exe conf$$.
file
15531 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15532 # We could just check for DJGPP; but this test a) works b) is more generic
15533 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15534 if test -f conf$$.exe
; then
15535 # Don't use ln at all; we don't have any links
15540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15545 rm -f conf$$ conf$$.exe conf$$.
file
15547 if mkdir
-p .
2>/dev
/null
; then
15550 test -d .
/-p && rmdir .
/-p
15554 as_executable_p
="test -f"
15556 # Sed expression to map a string onto a valid CPP name.
15557 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15559 # Sed expression to map a string onto a valid variable name.
15560 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15564 # We need space, tab and new line, in precisely that order.
15574 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15575 # report actual input values of CONFIG_FILES etc. instead of their
15576 # values after options handling. Logging --version etc. is OK.
15580 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15581 ## Running $as_me. ##
15586 This file was extended by $as_me, which was
15587 generated by GNU Autoconf 2.59. Invocation command line was
15589 CONFIG_FILES = $CONFIG_FILES
15590 CONFIG_HEADERS = $CONFIG_HEADERS
15591 CONFIG_LINKS = $CONFIG_LINKS
15592 CONFIG_COMMANDS = $CONFIG_COMMANDS
15596 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15600 # Files that config.status was made for.
15601 if test -n "$ac_config_files"; then
15602 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15605 if test -n "$ac_config_headers"; then
15606 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15609 if test -n "$ac_config_links"; then
15610 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15613 if test -n "$ac_config_commands"; then
15614 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15617 cat >>$CONFIG_STATUS <<\_ACEOF
15620 \`$as_me' instantiates files from templates according to the
15621 current configuration.
15623 Usage: $0 [OPTIONS] [FILE]...
15625 -h, --help print this help, then exit
15626 -V, --version print version number, then exit
15627 -q, --quiet do not print progress messages
15628 -d, --debug don't remove temporary files
15629 --recheck update $as_me by reconfiguring in the same conditions
15630 --file=FILE[:TEMPLATE]
15631 instantiate the configuration file FILE
15632 --header=FILE[:TEMPLATE]
15633 instantiate the configuration header FILE
15635 Configuration files:
15638 Configuration headers:
15641 Configuration commands:
15644 Report bugs to <bug-autoconf@gnu.org>."
15647 cat >>$CONFIG_STATUS <<_ACEOF
15650 configured by $0, generated by GNU Autoconf 2.59,
15651 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15653 Copyright (C) 2003 Free Software Foundation, Inc.
15654 This config.status script is free software; the Free Software Foundation
15655 gives unlimited permission to copy, distribute and modify it."
15660 cat >>$CONFIG_STATUS <<\_ACEOF
15661 # If no file are specified by the user, then we need to provide default
15662 # value. By we need to know if files were specified by the user.
15668 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15669 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15677 *) # This is not an option, so the user has probably given explicit
15680 ac_need_defaults
=false
;;
15684 # Handling of the options.
15686 cat >>$CONFIG_STATUS <<\_ACEOF
15687 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15689 --version |
--vers* |
-V )
15690 echo "$ac_cs_version"; exit 0 ;;
15692 # Conflict between --help and --header
15693 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15694 Try \`$0 --help' for more information." >&5
15695 echo "$as_me: error: ambiguous option: $1
15696 Try \`$0 --help' for more information." >&2;}
15697 { (exit 1); exit 1; }; };;
15698 --help |
--hel |
-h )
15699 echo "$ac_cs_usage"; exit 0 ;;
15700 --debug |
--d* |
-d )
15702 --file |
--fil |
--fi |
--f )
15704 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15705 ac_need_defaults
=false
;;
15706 --header |
--heade |
--head |
--hea )
15708 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15709 ac_need_defaults
=false
;;
15710 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15711 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15714 # This is an error.
15715 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15716 Try \`$0 --help' for more information." >&5
15717 echo "$as_me: error: unrecognized option: $1
15718 Try \`$0 --help' for more information." >&2;}
15719 { (exit 1); exit 1; }; } ;;
15721 *) ac_config_targets
="$ac_config_targets $1" ;;
15727 ac_configure_extra_args
=
15729 if $ac_cs_silent; then
15731 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15735 cat >>$CONFIG_STATUS <<_ACEOF
15736 if \$ac_cs_recheck; then
15737 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15738 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15743 cat >>$CONFIG_STATUS <<_ACEOF
15745 # INIT-COMMANDS section.
15748 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15749 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15750 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15752 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15753 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15754 LINGUAS="${LINGUAS-%UNSET%}"
15759 acx_cv_header_stdint="$acx_cv_header_stdint"
15760 acx_cv_type_int8_t="$acx_cv_type_int8_t"
15761 acx_cv_type_int16_t="$acx_cv_type_int16_t"
15762 acx_cv_type_int32_t="$acx_cv_type_int32_t"
15763 acx_cv_type_int64_t="$acx_cv_type_int64_t"
15764 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
15765 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
15766 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
15767 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
15768 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
15769 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
15770 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
15771 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
15772 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
15780 cat >>$CONFIG_STATUS <<\_ACEOF
15781 for ac_config_target
in $ac_config_targets
15783 case "$ac_config_target" in
15784 # Handling of arguments.
15785 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15786 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15787 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15788 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15789 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15790 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15791 "bfd_stdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS bfd_stdint.h" ;;
15792 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15793 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15794 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15795 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15796 { (exit 1); exit 1; }; };;
15800 # If the user did not use the arguments to specify the items to instantiate,
15801 # then the envvar interface is used. Set only those that are not.
15802 # We use the long form for the default assignment because of an extremely
15803 # bizarre bug on SunOS 4.1.3.
15804 if $ac_need_defaults; then
15805 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15806 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15807 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15810 # Have a temporary directory for convenience. Make it in the build tree
15811 # simply because there is no reason to put it here, and in addition,
15812 # creating and moving files from /tmp can sometimes cause problems.
15813 # Create a temporary directory, and hook for its removal unless debugging.
15816 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15817 trap '{ (exit 1); exit 1; }' 1 2 13 15
15820 # Create a (secure) tmp directory for tmp files.
15823 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15824 test -n "$tmp" && test -d "$tmp"
15827 tmp
=.
/confstat$$
-$RANDOM
15828 (umask 077 && mkdir
$tmp)
15831 echo "$me: cannot create a temporary directory in ." >&2
15832 { (exit 1); exit 1; }
15837 cat >>$CONFIG_STATUS <<_ACEOF
15840 # CONFIG_FILES section.
15843 # No need to generate the scripts if there are no CONFIG_FILES.
15844 # This happens for instance when ./config.status config.h
15845 if test -n "\$CONFIG_FILES"; then
15846 # Protect against being on the right side of a sed subst in config.status.
15847 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15848 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15849 s,@SHELL@,$SHELL,;t t
15850 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15851 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15852 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15853 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15854 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15855 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15856 s,@exec_prefix@,$exec_prefix,;t t
15857 s,@prefix@,$prefix,;t t
15858 s,@program_transform_name@,$program_transform_name,;t t
15859 s,@bindir@,$bindir,;t t
15860 s,@sbindir@,$sbindir,;t t
15861 s,@libexecdir@,$libexecdir,;t t
15862 s,@datadir@,$datadir,;t t
15863 s,@sysconfdir@,$sysconfdir,;t t
15864 s,@sharedstatedir@,$sharedstatedir,;t t
15865 s,@localstatedir@,$localstatedir,;t t
15866 s,@libdir@,$libdir,;t t
15867 s,@includedir@,$includedir,;t t
15868 s,@oldincludedir@,$oldincludedir,;t t
15869 s,@infodir@,$infodir,;t t
15870 s,@mandir@,$mandir,;t t
15871 s,@build_alias@,$build_alias,;t t
15872 s,@host_alias@,$host_alias,;t t
15873 s,@target_alias@,$target_alias,;t t
15874 s,@DEFS@,$DEFS,;t t
15875 s,@ECHO_C@,$ECHO_C,;t t
15876 s,@ECHO_N@,$ECHO_N,;t t
15877 s,@ECHO_T@,$ECHO_T,;t t
15878 s,@LIBS@,$LIBS,;t t
15879 s,@build@,$build,;t t
15880 s,@build_cpu@,$build_cpu,;t t
15881 s,@build_vendor@,$build_vendor,;t t
15882 s,@build_os@,$build_os,;t t
15883 s,@host@,$host,;t t
15884 s,@host_cpu@,$host_cpu,;t t
15885 s,@host_vendor@,$host_vendor,;t t
15886 s,@host_os@,$host_os,;t t
15887 s,@target@,$target,;t t
15888 s,@target_cpu@,$target_cpu,;t t
15889 s,@target_vendor@,$target_vendor,;t t
15890 s,@target_os@,$target_os,;t t
15892 s,@CFLAGS@,$CFLAGS,;t t
15893 s,@LDFLAGS@,$LDFLAGS,;t t
15894 s,@CPPFLAGS@,$CPPFLAGS,;t t
15895 s,@ac_ct_CC@,$ac_ct_CC,;t t
15896 s,@EXEEXT@,$EXEEXT,;t t
15897 s,@OBJEXT@,$OBJEXT,;t t
15898 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15899 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15900 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15901 s,@CYGPATH_W@,$CYGPATH_W,;t t
15902 s,@PACKAGE@,$PACKAGE,;t t
15903 s,@VERSION@,$VERSION,;t t
15904 s,@ACLOCAL@,$ACLOCAL,;t t
15905 s,@AUTOCONF@,$AUTOCONF,;t t
15906 s,@AUTOMAKE@,$AUTOMAKE,;t t
15907 s,@AUTOHEADER@,$AUTOHEADER,;t t
15908 s,@MAKEINFO@,$MAKEINFO,;t t
15909 s,@install_sh@,$install_sh,;t t
15910 s,@STRIP@,$STRIP,;t t
15911 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15912 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15913 s,@mkdir_p@,$mkdir_p,;t t
15915 s,@SET_MAKE@,$SET_MAKE,;t t
15916 s,@am__leading_dot@,$am__leading_dot,;t t
15917 s,@AMTAR@,$AMTAR,;t t
15918 s,@am__tar@,$am__tar,;t t
15919 s,@am__untar@,$am__untar,;t t
15920 s,@DEPDIR@,$DEPDIR,;t t
15921 s,@am__include@,$am__include,;t t
15922 s,@am__quote@,$am__quote,;t t
15923 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15924 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15925 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15926 s,@CCDEPMODE@,$CCDEPMODE,;t t
15927 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15928 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15930 s,@ac_ct_AR@,$ac_ct_AR,;t t
15931 s,@RANLIB@,$RANLIB,;t t
15932 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15933 s,@LN_S@,$LN_S,;t t
15934 s,@LIBTOOL@,$LIBTOOL,;t t
15935 s,@PKGVERSION@,$PKGVERSION,;t t
15936 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
15937 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
15938 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15939 s,@NO_WERROR@,$NO_WERROR,;t t
15940 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15941 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15942 s,@MAINT@,$MAINT,;t t
15943 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
15944 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
15945 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
15946 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
15947 s,@host_noncanonical@,$host_noncanonical,;t t
15948 s,@target_noncanonical@,$target_noncanonical,;t t
15949 s,@bfdlibdir@,$bfdlibdir,;t t
15950 s,@bfdincludedir@,$bfdincludedir,;t t
15951 s,@USE_NLS@,$USE_NLS,;t t
15952 s,@LIBINTL@,$LIBINTL,;t t
15953 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
15954 s,@INCINTL@,$INCINTL,;t t
15955 s,@XGETTEXT@,$XGETTEXT,;t t
15956 s,@GMSGFMT@,$GMSGFMT,;t t
15957 s,@POSUB@,$POSUB,;t t
15958 s,@CATALOGS@,$CATALOGS,;t t
15959 s,@DATADIRNAME@,$DATADIRNAME,;t t
15960 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15961 s,@GENCAT@,$GENCAT,;t t
15962 s,@CATOBJEXT@,$CATOBJEXT,;t t
15963 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15964 s,@MSGFMT@,$MSGFMT,;t t
15965 s,@MSGMERGE@,$MSGMERGE,;t t
15966 s,@HDEFINES@,$HDEFINES,;t t
15968 s,@EGREP@,$EGREP,;t t
15969 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
15970 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
15971 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
15972 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
15973 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
15974 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15975 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15976 s,@COREFILE@,$COREFILE,;t t
15977 s,@COREFLAG@,$COREFLAG,;t t
15978 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
15979 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
15980 s,@TDEFINES@,$TDEFINES,;t t
15981 s,@wordsize@,$wordsize,;t t
15982 s,@bfd64_libs@,$bfd64_libs,;t t
15983 s,@all_backends@,$all_backends,;t t
15984 s,@bfd_backends@,$bfd_backends,;t t
15985 s,@bfd_machines@,$bfd_machines,;t t
15986 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
15987 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
15988 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
15989 s,@tdefaults@,$tdefaults,;t t
15990 s,@datarootdir@,$datarootdir,;t t
15991 s,@docdir@,$docdir,;t t
15992 s,@htmldir@,$htmldir,;t t
15993 s,@LIBOBJS@,$LIBOBJS,;t t
15994 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15999 cat >>$CONFIG_STATUS <<\_ACEOF
16000 # Split the substitutions into bite-sized pieces for seds with
16001 # small command number limits, like on Digital OSF/1 and HP-UX.
16002 ac_max_sed_lines
=48
16003 ac_sed_frag
=1 # Number of current file.
16004 ac_beg
=1 # First line for current file.
16005 ac_end
=$ac_max_sed_lines # Line after last line for current file.
16008 while $ac_more_lines; do
16009 if test $ac_beg -gt 1; then
16010 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16012 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16014 if test ! -s $tmp/subs.frag
; then
16015 ac_more_lines
=false
16017 # The purpose of the label and of the branching condition is to
16018 # speed up the sed processing (if there are no `@' at all, there
16019 # is no need to browse any of the substitutions).
16020 # These are the two extra sed commands mentioned above.
16022 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
16023 if test -z "$ac_sed_cmds"; then
16024 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
16026 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16028 ac_sed_frag
=`expr $ac_sed_frag + 1`
16030 ac_end
=`expr $ac_end + $ac_max_sed_lines`
16033 if test -z "$ac_sed_cmds"; then
16036 fi # test -n "$CONFIG_FILES"
16039 cat >>$CONFIG_STATUS <<\_ACEOF
16040 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
16041 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16043 - |
*:- |
*:-:* ) # input from stdin
16045 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16046 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16047 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16048 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16049 * ) ac_file_in
=$ac_file.
in ;;
16052 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16053 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16054 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16055 X"$ac_file" : 'X\(//\)[^/]' \| \
16056 X"$ac_file" : 'X\(//\)$' \| \
16057 X"$ac_file" : 'X\(/\)' \| \
16058 . : '\(.\)' 2>/dev/null ||
16060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16061 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16062 /^X\(\/\/\)$/{ s//\1/; q; }
16063 /^X\(\/\).*/{ s//\1/; q; }
16065 { if $as_mkdir_p; then
16070 while test ! -d "$as_dir"; do
16071 as_dirs
="$as_dir $as_dirs"
16072 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16074 X"$as_dir" : 'X\(//\)[^/]' \| \
16075 X"$as_dir" : 'X\(//\)$' \| \
16076 X"$as_dir" : 'X\(/\)' \| \
16077 . : '\(.\)' 2>/dev/null ||
16079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16081 /^X\(\/\/\)$/{ s//\1/; q; }
16082 /^X\(\/\).*/{ s//\1/; q; }
16085 test ! -n "$as_dirs" || mkdir
$as_dirs
16086 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16087 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16088 { (exit 1); exit 1; }; }; }
16092 if test "$ac_dir" != .
; then
16093 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16094 # A "../" for each directory in $ac_dir_suffix.
16095 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16097 ac_dir_suffix
= ac_top_builddir
=
16101 .
) # No --srcdir option. We are building in place.
16103 if test -z "$ac_top_builddir"; then
16106 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16108 [\\/]* | ?
:[\\/]* ) # Absolute path.
16109 ac_srcdir
=$srcdir$ac_dir_suffix;
16110 ac_top_srcdir
=$srcdir ;;
16111 *) # Relative path.
16112 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16113 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16116 # Do not use `cd foo && pwd` to compute absolute paths, because
16117 # the directories may not exist.
16119 .
) ac_abs_builddir
="$ac_dir";;
16122 .
) ac_abs_builddir
=`pwd`;;
16123 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16124 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16127 case $ac_abs_builddir in
16128 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16130 case ${ac_top_builddir}.
in
16131 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16132 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16133 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16136 case $ac_abs_builddir in
16137 .
) ac_abs_srcdir
=$ac_srcdir;;
16140 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16141 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16142 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16145 case $ac_abs_builddir in
16146 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16148 case $ac_top_srcdir in
16149 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16150 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16151 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16157 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16158 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
16161 if test x
"$ac_file" != x-
; then
16162 { echo "$as_me:$LINENO: creating $ac_file" >&5
16163 echo "$as_me: creating $ac_file" >&6;}
16166 # Let's still pretend it is `configure' which instantiates (i.e., don't
16167 # use $as_me), people would be surprised to read:
16168 # /* config.h. Generated by config.status. */
16169 if test x
"$ac_file" = x-
; then
16172 configure_input
="$ac_file. "
16174 configure_input
=$configure_input"Generated from `echo $ac_file_in |
16175 sed 's,.*/,,'` by configure."
16177 # First look for the input files in the build tree, otherwise in the
16179 ac_file_inputs
=`IFS=:
16180 for f in $ac_file_in; do
16182 -) echo $tmp/stdin ;;
16184 # Absolute (can't be DOS-style, as IFS=:)
16185 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16186 echo "$as_me: error: cannot find input file: $f" >&2;}
16187 { (exit 1); exit 1; }; }
16190 if test -f "$f"; then
16193 elif test -f "$srcdir/$f"; then
16198 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16199 echo "$as_me: error: cannot find input file: $f" >&2;}
16200 { (exit 1); exit 1; }; }
16203 done` ||
{ (exit 1); exit 1; }
16205 cat >>$CONFIG_STATUS <<_ACEOF
16209 cat >>$CONFIG_STATUS <<\_ACEOF
16211 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16212 s
,@configure_input@
,$configure_input,;t t
16213 s
,@srcdir@
,$ac_srcdir,;t t
16214 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
16215 s
,@top_srcdir@
,$ac_top_srcdir,;t t
16216 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
16217 s
,@builddir@
,$ac_builddir,;t t
16218 s
,@abs_builddir@
,$ac_abs_builddir,;t t
16219 s
,@top_builddir@
,$ac_top_builddir,;t t
16220 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
16221 s
,@INSTALL@
,$ac_INSTALL,;t t
16222 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16224 if test x"$ac_file" != x-; then
16225 mv $tmp/out $ac_file
16233 cat >>$CONFIG_STATUS <<\_ACEOF
16236 # CONFIG_HEADER section.
16239 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
16240 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16242 # ac_d sets the value in "#define NAME VALUE" lines.
16243 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16244 ac_dB
='[ ].*$,\1#\2'
16247 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16248 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16249 ac_uB
='$,\1#\2define\3'
16253 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
16254 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16256 - |
*:- |
*:-:* ) # input from stdin
16258 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16259 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16260 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16261 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16262 * ) ac_file_in
=$ac_file.
in ;;
16265 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
16266 echo "$as_me: creating $ac_file" >&6;}
16268 # First look for the input files in the build tree, otherwise in the
16270 ac_file_inputs
=`IFS=:
16271 for f in $ac_file_in; do
16273 -) echo $tmp/stdin ;;
16275 # Absolute (can't be DOS-style, as IFS=:)
16276 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16277 echo "$as_me: error: cannot find input file: $f" >&2;}
16278 { (exit 1); exit 1; }; }
16279 # Do quote $f, to prevent DOS paths from being IFS'd.
16282 if test -f "$f"; then
16285 elif test -f "$srcdir/$f"; then
16290 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16291 echo "$as_me: error: cannot find input file: $f" >&2;}
16292 { (exit 1); exit 1; }; }
16295 done` ||
{ (exit 1); exit 1; }
16296 # Remove the trailing spaces.
16297 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16301 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16302 # `conftest.undefs', that substitutes the proper values into
16303 # config.h.in to produce config.h. The first handles `#define'
16304 # templates, and the second `#undef' templates.
16305 # And first: Protect against being on the right side of a sed subst in
16306 # config.status. Protect against being in an unquoted here document
16307 # in config.status.
16308 rm -f conftest.defines conftest.undefs
16309 # Using a here document instead of a string reduces the quoting nightmare.
16310 # Putting comments in sed scripts is not portable.
16312 # `end' is used to avoid that the second main sed command (meant for
16313 # 0-ary CPP macros) applies to n-ary macro definitions.
16314 # See the Autoconf documentation for `clear'.
16315 cat >confdef2sed.
sed <<\_ACEOF
16320 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16322 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16325 # If some macros were called several times there might be several times
16326 # the same #defines, which is useless. Nevertheless, we may not want to
16327 # sort them, since we want the *last* AC-DEFINE to be honored.
16328 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16329 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16330 rm -f confdef2sed.sed
16332 # This sed command replaces #undef with comments. This is necessary, for
16333 # example, in the case of _POSIX_SOURCE, which is predefined and required
16334 # on some systems where configure will not decide to define it.
16335 cat >>conftest.undefs <<\_ACEOF
16336 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16339 # Break up conftest.defines because some shells have a limit on the size
16340 # of here documents, and old seds have small limits too (100 cmds).
16341 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16342 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16343 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16344 echo ' :' >>$CONFIG_STATUS
16345 rm -f conftest.tail
16346 while grep . conftest.defines >/dev/null
16348 # Write a limited-size here document to $tmp/defines.sed.
16349 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16350 # Speed up: don't consider the non `#define' lines.
16351 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16352 # Work around the forget-to-reset-the-flag bug.
16353 echo 't clr' >>$CONFIG_STATUS
16354 echo ': clr' >>$CONFIG_STATUS
16355 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
16357 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16359 mv $tmp/out $tmp/in
16361 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
16362 rm -f conftest.defines
16363 mv conftest.
tail conftest.defines
16365 rm -f conftest.defines
16366 echo ' fi # grep' >>$CONFIG_STATUS
16367 echo >>$CONFIG_STATUS
16369 # Break up conftest.undefs because some shells have a limit on the size
16370 # of here documents, and old seds have small limits too (100 cmds).
16371 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16372 rm -f conftest.
tail
16373 while grep . conftest.undefs
>/dev
/null
16375 # Write a limited-size here document to $tmp/undefs.sed.
16376 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16377 # Speed up: don't consider the non
`#undef'
16378 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16379 # Work around the forget-to-reset-the-flag bug.
16380 echo 't clr' >>$CONFIG_STATUS
16381 echo ': clr' >>$CONFIG_STATUS
16382 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16384 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16386 mv $tmp/out $tmp/in
16388 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16389 rm -f conftest.undefs
16390 mv conftest.tail conftest.undefs
16392 rm -f conftest.undefs
16394 cat >>$CONFIG_STATUS <<\_ACEOF
16395 # Let's still pretend it is `configure
' which instantiates (i.e., don't
16396 # use $as_me), people would be surprised to read:
16397 # /* config.h. Generated by config.status. */
16398 if test x
"$ac_file" = x-
; then
16399 echo "/* Generated by configure. */" >$tmp/config.h
16401 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16403 cat $tmp/in >>$tmp/config.h
16405 if test x
"$ac_file" != x-
; then
16406 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
16407 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16408 echo "$as_me: $ac_file is unchanged" >&6;}
16410 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16411 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16412 X"$ac_file" : 'X\(//\)[^/]' \| \
16413 X"$ac_file" : 'X\(//\)$' \| \
16414 X"$ac_file" : 'X\(/\)' \| \
16415 . : '\(.\)' 2>/dev/null ||
16417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16419 /^X\(\/\/\)$/{ s//\1/; q; }
16420 /^X\(\/\).*/{ s//\1/; q; }
16422 { if $as_mkdir_p; then
16427 while test ! -d "$as_dir"; do
16428 as_dirs
="$as_dir $as_dirs"
16429 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16431 X"$as_dir" : 'X\(//\)[^/]' \| \
16432 X"$as_dir" : 'X\(//\)$' \| \
16433 X"$as_dir" : 'X\(/\)' \| \
16434 . : '\(.\)' 2>/dev/null ||
16436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16438 /^X\(\/\/\)$/{ s//\1/; q; }
16439 /^X\(\/\).*/{ s//\1/; q; }
16442 test ! -n "$as_dirs" || mkdir
$as_dirs
16443 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16444 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16445 { (exit 1); exit 1; }; }; }
16448 mv $tmp/config.h
$ac_file
16452 rm -f $tmp/config.h
16454 # Compute $ac_file's index in $config_headers.
16456 for _am_header
in $config_headers :; do
16457 case $_am_header in
16458 $ac_file |
$ac_file:* )
16461 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16464 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
16465 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16466 X$ac_file : 'X\(//\)[^/]' \| \
16467 X$ac_file : 'X\(//\)$' \| \
16468 X$ac_file : 'X\(/\)' \| \
16469 . : '\(.\)' 2>/dev/null ||
16471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16473 /^X\(\/\/\)$/{ s//\1/; q; }
16474 /^X\(\/\).*/{ s//\1/; q; }
16475 s/.*/./; q'`/stamp-h
$_am_stamp_count
16478 cat >>$CONFIG_STATUS <<\_ACEOF
16481 # CONFIG_COMMANDS section.
16483 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
16484 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
16485 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16486 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
16487 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16488 X"$ac_dest" : 'X\(//\)[^/]' \| \
16489 X"$ac_dest" : 'X\(//\)$' \| \
16490 X"$ac_dest" : 'X\(/\)' \| \
16491 . : '\(.\)' 2>/dev/null ||
16493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16494 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16495 /^X\(\/\/\)$/{ s//\1/; q; }
16496 /^X\(\/\).*/{ s//\1/; q; }
16498 { if $as_mkdir_p; then
16503 while test ! -d "$as_dir"; do
16504 as_dirs
="$as_dir $as_dirs"
16505 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16506 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16507 X"$as_dir" : 'X\(//\)[^/]' \| \
16508 X"$as_dir" : 'X\(//\)$' \| \
16509 X"$as_dir" : 'X\(/\)' \| \
16510 . : '\(.\)' 2>/dev/null ||
16512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16513 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16514 /^X\(\/\/\)$/{ s//\1/; q; }
16515 /^X\(\/\).*/{ s//\1/; q; }
16518 test ! -n "$as_dirs" || mkdir
$as_dirs
16519 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16520 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16521 { (exit 1); exit 1; }; }; }
16525 if test "$ac_dir" != .
; then
16526 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16527 # A "../" for each directory in $ac_dir_suffix.
16528 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16530 ac_dir_suffix
= ac_top_builddir
=
16534 .
) # No --srcdir option. We are building in place.
16536 if test -z "$ac_top_builddir"; then
16539 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16541 [\\/]* | ?
:[\\/]* ) # Absolute path.
16542 ac_srcdir
=$srcdir$ac_dir_suffix;
16543 ac_top_srcdir
=$srcdir ;;
16544 *) # Relative path.
16545 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16546 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16549 # Do not use `cd foo && pwd` to compute absolute paths, because
16550 # the directories may not exist.
16552 .
) ac_abs_builddir
="$ac_dir";;
16555 .
) ac_abs_builddir
=`pwd`;;
16556 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16557 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16560 case $ac_abs_builddir in
16561 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16563 case ${ac_top_builddir}.
in
16564 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16565 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16566 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16569 case $ac_abs_builddir in
16570 .
) ac_abs_srcdir
=$ac_srcdir;;
16573 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16574 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16575 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16578 case $ac_abs_builddir in
16579 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16581 case $ac_top_srcdir in
16582 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16583 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16584 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16589 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16590 echo "$as_me: executing $ac_dest commands" >&6;}
16592 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
16593 # Strip MF so we end up with the name of the file.
16594 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16595 # Check whether this is an Automake generated Makefile or not.
16596 # We used to match only the files named `Makefile.in', but
16597 # some people rename them; so instead we look at the file content.
16598 # Grep'ing the first line is not enough: some people post-process
16599 # each Makefile.in and add a new line on top of each file to say so.
16600 # So let's grep whole file.
16601 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
16602 dirpart
=`(dirname "$mf") 2>/dev/null ||
16603 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16604 X"$mf" : 'X\(//\)[^/]' \| \
16605 X"$mf" : 'X\(//\)$' \| \
16606 X"$mf" : 'X\(/\)' \| \
16607 . : '\(.\)' 2>/dev/null ||
16609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16610 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16611 /^X\(\/\/\)$/{ s//\1/; q; }
16612 /^X\(\/\).*/{ s//\1/; q; }
16617 # Extract the definition of DEPDIR, am__include, and am__quote
16618 # from the Makefile without running `make'.
16619 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16620 test -z "$DEPDIR" && continue
16621 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16622 test -z "am__include" && continue
16623 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16624 # When using ansi2knr, U may be empty or an underscore; expand it
16625 U
=`sed -n 's/^U = //p' < "$mf"`
16626 # Find all dependency output files, they are included files with
16627 # $(DEPDIR) in their names. We invoke sed twice because it is the
16628 # simplest approach to changing $(DEPDIR) to its actual value in the
16630 for file in `sed -n "
16631 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16632 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16633 # Make sure the directory exists.
16634 test -f "$dirpart/$file" && continue
16635 fdir
=`(dirname "$file") 2>/dev/null ||
16636 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16637 X"$file" : 'X\(//\)[^/]' \| \
16638 X"$file" : 'X\(//\)$' \| \
16639 X"$file" : 'X\(/\)' \| \
16640 . : '\(.\)' 2>/dev/null ||
16642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16643 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16644 /^X\(\/\/\)$/{ s//\1/; q; }
16645 /^X\(\/\).*/{ s//\1/; q; }
16647 { if $as_mkdir_p; then
16648 mkdir
-p $dirpart/$fdir
16650 as_dir
=$dirpart/$fdir
16652 while test ! -d "$as_dir"; do
16653 as_dirs
="$as_dir $as_dirs"
16654 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16656 X"$as_dir" : 'X\(//\)[^/]' \| \
16657 X"$as_dir" : 'X\(//\)$' \| \
16658 X"$as_dir" : 'X\(/\)' \| \
16659 . : '\(.\)' 2>/dev/null ||
16661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16662 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16663 /^X\(\/\/\)$/{ s//\1/; q; }
16664 /^X\(\/\).*/{ s//\1/; q; }
16667 test ! -n "$as_dirs" || mkdir
$as_dirs
16668 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16669 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16670 { (exit 1); exit 1; }; }; }
16672 # echo "creating $dirpart/$file"
16673 echo '# dummy' > "$dirpart/$file"
16678 for ac_file
in $CONFIG_FILES; do
16679 # Support "outfile[:infile[:infile...]]"
16681 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16683 # PO directories have a Makefile.in generated from Makefile.in.in.
16684 case "$ac_file" in */Makefile.
in)
16685 # Adjust a relative srcdir.
16686 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16687 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
16688 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16689 # In autoconf-2.13 it is called $ac_given_srcdir.
16690 # In autoconf-2.50 it is called $srcdir.
16691 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16692 case "$ac_given_srcdir" in
16693 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16694 /*) top_srcdir
="$ac_given_srcdir" ;;
16695 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16697 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16698 rm -f "$ac_dir/POTFILES"
16699 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16700 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16701 POMAKEFILEDEPS
="POTFILES.in"
16702 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16703 # on $ac_dir but don't depend on user-specified configuration
16705 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16706 # The LINGUAS file contains the set of available languages.
16707 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16708 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16710 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16711 # Hide the ALL_LINGUAS assigment from automake.
16712 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16713 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16715 # The set of available languages was given in configure.in.
16716 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16718 case "$ac_given_srcdir" in
16720 *) srcdirpre
='$(srcdir)/' ;;
16726 for lang
in $ALL_LINGUAS; do
16727 POFILES
="$POFILES $srcdirpre$lang.po"
16728 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16729 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16730 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16732 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16733 # environment variable.
16735 if test -n "$ALL_LINGUAS"; then
16736 for presentlang
in $ALL_LINGUAS; do
16738 if test "%UNSET%" != "$LINGUAS"; then
16739 desiredlanguages
="$LINGUAS"
16741 desiredlanguages
="$ALL_LINGUAS"
16743 for desiredlang
in $desiredlanguages; do
16744 # Use the presentlang catalog if desiredlang is
16745 # a. equal to presentlang, or
16746 # b. a variant of presentlang (because in this case,
16747 # presentlang can be used as a fallback for messages
16748 # which are not translated in the desiredlang catalog).
16749 case "$desiredlang" in
16750 "$presentlang"*) useit
=yes;;
16753 if test $useit = yes; then
16754 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16759 if test -n "$INST_LINGUAS"; then
16760 for lang
in $INST_LINGUAS; do
16761 CATALOGS
="$CATALOGS $lang.gmo"
16764 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16765 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
16766 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16767 if test -f "$f"; then
16769 *.orig |
*.bak |
*~
) ;;
16770 *) cat "$f" >> "$ac_dir/Makefile" ;;
16779 if test "$GCC" = yes; then
16780 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
16782 echo "/* generated for $CC */" > tmp-stdint.h
16785 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16787 #ifndef GCC_GENERATED_STDINT_H
16788 #define GCC_GENERATED_STDINT_H 1
16790 #include <sys/types.h>
16793 if test "$acx_cv_header_stdint" != stdint.h
; then
16794 echo "#include <stddef.h>" >> tmp-stdint.h
16796 if test "$acx_cv_header_stdint" != stddef.h
; then
16797 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
16800 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16801 /* glibc uses these symbols as guards to prevent redefinitions. */
16802 #ifdef __int8_t_defined
16807 #ifdef __uint32_t_defined
16813 # ----------------- done header, emit basic int types -------------
16814 if test "$acx_cv_header_stdint" = stddef.h
; then
16815 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16819 #ifndef __uint8_t_defined
16820 #define __uint8_t_defined
16821 typedef unsigned $acx_cv_type_int8_t uint8_t;
16827 #ifndef __uint16_t_defined
16828 #define __uint16_t_defined
16829 typedef unsigned $acx_cv_type_int16_t uint16_t;
16835 #ifndef __uint32_t_defined
16836 #define __uint32_t_defined
16837 typedef unsigned $acx_cv_type_int32_t uint32_t;
16843 #ifndef __int8_t_defined
16844 #define __int8_t_defined
16845 typedef $acx_cv_type_int8_t int8_t;
16851 #ifndef __int16_t_defined
16852 #define __int16_t_defined
16853 typedef $acx_cv_type_int16_t int16_t;
16859 #ifndef __int32_t_defined
16860 #define __int32_t_defined
16861 typedef $acx_cv_type_int32_t int32_t;
16865 elif test "$ac_cv_type_u_int32_t" = yes; then
16866 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16868 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
16881 #ifndef __uint8_t_defined
16882 #define __uint8_t_defined
16883 typedef u_int8_t uint8_t;
16889 #ifndef __uint16_t_defined
16890 #define __uint16_t_defined
16891 typedef u_int16_t uint16_t;
16897 #ifndef __uint32_t_defined
16898 #define __uint32_t_defined
16899 typedef u_int32_t uint32_t;
16904 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16906 /* Some systems have guard macros to prevent redefinitions, define them. */
16928 # ------------- done basic int types, emit int64_t types ------------
16929 if test "$ac_cv_type_uint64_t" = yes; then
16930 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16932 /* system headers have good uint64_t and int64_t */
16940 elif test "$ac_cv_type_u_int64_t" = yes; then
16941 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16943 /* system headers have an u_int64_t (and int64_t) */
16949 #ifndef __uint64_t_defined
16950 #define __uint64_t_defined
16951 typedef u_int64_t uint64_t;
16955 elif test -n "$acx_cv_type_int64_t"; then
16956 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16958 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
16961 typedef $acx_cv_type_int64_t int64_t;
16965 #ifndef __uint64_t_defined
16966 #define __uint64_t_defined
16967 typedef unsigned $acx_cv_type_int64_t uint64_t;
16972 sed 's/^ *//' >> tmp-stdint.h
<<EOF
16974 /* some common heuristics for int64_t, using compiler-specific tests */
16975 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
16978 #ifndef __int64_t_defined
16979 typedef long long int64_t;
16984 typedef unsigned long long uint64_t;
16987 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
16988 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
16989 does not implement __extension__. But that compiler doesn't define
16991 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
16992 # define __extension__
16997 __extension__ typedef long long int64_t;
17001 __extension__ typedef unsigned long long uint64_t;
17004 #elif !defined __STRICT_ANSI__
17005 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
17009 typedef __int64 int64_t;
17013 typedef unsigned __int64 uint64_t;
17015 # endif /* compiler */
17017 #endif /* ANSI version */
17021 # ------------- done int64_t types, emit intptr types ------------
17022 if test "$ac_cv_type_uintptr_t" != yes; then
17023 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17025 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
17026 #ifndef __uintptr_t_defined
17027 typedef u$acx_cv_type_intptr_t uintptr_t;
17029 #ifndef __intptr_t_defined
17030 typedef $acx_cv_type_intptr_t intptr_t;
17035 # ------------- done intptr types, emit int_least types ------------
17036 if test "$ac_cv_type_int_least32_t" != yes; then
17037 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17039 /* Define int_least types */
17040 typedef int8_t int_least8_t;
17041 typedef int16_t int_least16_t;
17042 typedef int32_t int_least32_t;
17044 typedef int64_t int_least64_t;
17047 typedef uint8_t uint_least8_t;
17048 typedef uint16_t uint_least16_t;
17049 typedef uint32_t uint_least32_t;
17051 typedef uint64_t uint_least64_t;
17056 # ------------- done intptr types, emit int_fast types ------------
17057 if test "$ac_cv_type_int_fast32_t" != yes; then
17058 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17060 /* Define int_fast types. short is often slow */
17061 typedef int8_t int_fast8_t;
17062 typedef int int_fast16_t;
17063 typedef int32_t int_fast32_t;
17065 typedef int64_t int_fast64_t;
17068 typedef uint8_t uint_fast8_t;
17069 typedef unsigned int uint_fast16_t;
17070 typedef uint32_t uint_fast32_t;
17072 typedef uint64_t uint_fast64_t;
17077 if test "$ac_cv_type_uintmax_t" != yes; then
17078 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17080 /* Define intmax based on what we found */
17082 typedef int64_t intmax_t;
17084 typedef long intmax_t;
17087 typedef uint64_t uintmax_t;
17089 typedef unsigned long uintmax_t;
17094 sed 's/^ *//' >> tmp-stdint.h
<<EOF
17096 #endif /* GCC_GENERATED_STDINT_H */
17099 if test -r bfd_stdint.h
&& cmp -s tmp-stdint.h bfd_stdint.h
; then
17102 mv -f tmp-stdint.h bfd_stdint.h
17109 *) srcdirpre
='$(srcdir)/' ;;
17113 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
17114 if test $lang != dummy
; then
17115 POFILES
="$POFILES $srcdirpre$lang.po"
17116 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17119 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
17120 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
17121 -e "s,@POFILES@,$POFILES," \
17122 -e "s,@GMOFILES@,$GMOFILES," \
17123 po
/Makefile.
in > po
/Makefile
;;
17128 cat >>$CONFIG_STATUS <<\_ACEOF
17130 { (exit 0); exit 0; }
17132 chmod +x
$CONFIG_STATUS
17133 ac_clean_files
=$ac_clean_files_save
17136 # configure is writing to config.log, and then calls config.status.
17137 # config.status does its own redirection, appending to config.log.
17138 # Unfortunately, on DOS this fails, as config.log is still kept open
17139 # by configure, so config.status won't be able to write to it; its
17140 # output is simply discarded. So we exec the FD to /dev/null,
17141 # effectively closing config.log, so it can be properly (re)opened and
17142 # appended to by config.status. When coming back to configure, we
17143 # need to make the FD available again.
17144 if test "$no_create" != yes; then
17146 ac_config_status_args
=
17147 test "$silent" = yes &&
17148 ac_config_status_args
="$ac_config_status_args --quiet"
17150 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17152 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17153 # would make configure fail if this is the last instruction.
17154 $ac_cs_success ||
{ (exit 1); exit 1; }