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 VERSUFFIX REPORT_BUGS_TO WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l HDEFINES 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 bfd_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-versuffix=SFX Append SFX to the version string
877 --with-bugurl=URL Direct users to URL to report a bug
878 --with-included-gettext use the GNU
gettext library included here
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
3264 # Check whether --enable-static or --disable-static was given.
3265 if test "${enable_static+set}" = set; then
3266 enableval
="$enable_static"
3267 p
=${PACKAGE-default}
3269 yes) enable_static
=yes ;;
3270 no
) enable_static
=no
;;
3273 # Look at the argument we got. We use all the common list separators.
3274 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3275 for pkg
in $enableval; do
3276 if test "X$pkg" = "X$p"; then
3286 # Check whether --enable-fast-install or --disable-fast-install was given.
3287 if test "${enable_fast_install+set}" = set; then
3288 enableval
="$enable_fast_install"
3289 p
=${PACKAGE-default}
3291 yes) enable_fast_install
=yes ;;
3292 no
) enable_fast_install
=no
;;
3294 enable_fast_install
=no
3295 # Look at the argument we got. We use all the common list separators.
3296 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3297 for pkg
in $enableval; do
3298 if test "X$pkg" = "X$p"; then
3299 enable_fast_install
=yes
3306 enable_fast_install
=yes
3309 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3310 if test "${with_gnu_ld+set}" = set; then
3311 withval
="$with_gnu_ld"
3312 test "$withval" = no || with_gnu_ld
=yes
3317 if test "$GCC" = yes; then
3318 # Check if gcc -print-prog-name=ld gives a path.
3319 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3320 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3323 # gcc leaves a trailing carriage return which upsets mingw
3324 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3326 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3329 # Accept absolute paths.
3330 [\\/]* |
[A-Za-z
]:[\\/]*)
3331 re_direlt
='/[^/][^/]*/\.\./'
3332 # Canonicalize the path of ld
3333 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3334 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3335 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3337 test -z "$LD" && LD
="$ac_prog"
3340 # If it fails, then pretend we aren't using GCC.
3344 # If it is relative, then search for the first ld in PATH.
3348 elif test "$with_gnu_ld" = yes; then
3349 echo "$as_me:$LINENO: checking for GNU ld" >&5
3350 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3352 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3353 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3355 if test "${lt_cv_path_LD+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 if test -z "$LD"; then
3359 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3360 for ac_dir
in $PATH; do
3361 test -z "$ac_dir" && ac_dir
=.
3362 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3363 lt_cv_path_LD
="$ac_dir/$ac_prog"
3364 # Check to see if the program is GNU ld. I'd rather use --version,
3365 # but apparently some GNU ld's only accept -v.
3366 # Break only if it was the GNU/non-GNU ld that we prefer.
3367 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3368 test "$with_gnu_ld" != no
&& break
3370 test "$with_gnu_ld" != yes && break
3376 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3381 if test -n "$LD"; then
3382 echo "$as_me:$LINENO: result: $LD" >&5
3383 echo "${ECHO_T}$LD" >&6
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3388 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3389 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3390 { (exit 1); exit 1; }; }
3391 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3392 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3393 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3397 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3398 lt_cv_prog_gnu_ld
=yes
3400 lt_cv_prog_gnu_ld
=no
3403 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3404 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3405 with_gnu_ld
=$lt_cv_prog_gnu_ld
3408 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3409 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3410 if test "${lt_cv_ld_reload_flag+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 lt_cv_ld_reload_flag
='-r'
3415 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3416 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3417 reload_flag
=$lt_cv_ld_reload_flag
3418 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3420 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3421 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3422 if test "${lt_cv_path_NM+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 if test -n "$NM"; then
3426 # Let the user override the test.
3429 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3430 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3431 test -z "$ac_dir" && ac_dir
=.
3432 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3433 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3434 # Check to see if the nm accepts a BSD-compat flag.
3435 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3436 # nm: unknown option "B" ignored
3437 # Tru64's nm complains that /dev/null is an invalid object file
3438 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3439 lt_cv_path_NM
="$tmp_nm -B"
3441 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3442 lt_cv_path_NM
="$tmp_nm -p"
3445 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3446 continue # so that we can try to find one that supports BSD flags
3451 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3456 echo "$as_me:$LINENO: result: $NM" >&5
3457 echo "${ECHO_T}$NM" >&6
3459 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3460 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3462 if test "$LN_S" = "ln -s"; then
3463 echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6
3466 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3467 echo "${ECHO_T}no, using $LN_S" >&6
3470 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3471 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3472 if test "${lt_cv_deplibs_check_method+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3475 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3476 lt_cv_file_magic_test_file
=
3477 lt_cv_deplibs_check_method
='unknown'
3478 # Need to set the preceding variable on all platforms that support
3479 # interlibrary dependencies.
3480 # 'none' -- dependencies not supported.
3481 # `unknown' -- same as none, but documents that we really don't know.
3482 # 'pass_all' -- all dependencies passed with no checks.
3483 # 'test_compile' -- check by making test program.
3484 # 'file_magic [regex]' -- check by looking for files in library path
3485 # which responds to the $file_magic_cmd with a given egrep regex.
3486 # If you have `file' or equivalent on your system and you're not sure
3487 # whether `pass_all' will *always* work, you probably want this one.
3491 lt_cv_deplibs_check_method
=pass_all
3495 lt_cv_deplibs_check_method
=pass_all
3499 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3500 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3501 lt_cv_file_magic_test_file
=/shlib
/libc.so
3504 cygwin
* | mingw
* |pw32
*)
3505 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3506 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3509 darwin
* | rhapsody
*)
3510 # this will be overwritten by pass_all, but leave it in just in case
3511 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3512 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3514 rhapsody
* | darwin1.012
)
3515 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3518 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3521 lt_cv_deplibs_check_method
=pass_all
3524 freebsd
* | kfreebsd
*-gnu)
3525 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3528 # Not sure whether the presence of OpenBSD here was a mistake.
3529 # Let's accept both of them until this is cleared up.
3530 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3531 lt_cv_file_magic_cmd
=/usr
/bin
/file
3532 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3536 lt_cv_deplibs_check_method
=pass_all
3541 lt_cv_deplibs_check_method
=pass_all
3547 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3548 lt_cv_file_magic_cmd
=/usr
/bin
/file
3549 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3552 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3553 lt_cv_file_magic_cmd
=/usr
/bin
/file
3554 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3562 # this will be overridden with pass_all, but let us keep it just in case
3563 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3567 *-32|
*"-32 ") libmagic
=32-bit;;
3568 *-n32|
*"-n32 ") libmagic
=N32
;;
3569 *-64|
*"-64 ") libmagic
=64-bit;;
3570 *) libmagic
=never-match
;;
3572 # this will be overridden with pass_all, but let us keep it just in case
3573 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3576 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3577 lt_cv_deplibs_check_method
=pass_all
3580 # This must be Linux ELF.
3582 lt_cv_deplibs_check_method
=pass_all
3585 netbsd
* | knetbsd
*-gnu)
3586 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3587 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3589 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3594 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3595 lt_cv_file_magic_cmd
=/usr
/bin
/file
3596 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3599 osf3
* | osf4
* | osf5
*)
3600 # this will be overridden with pass_all, but let us keep it just in case
3601 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3602 lt_cv_file_magic_test_file
=/shlib
/libc.so
3603 lt_cv_deplibs_check_method
=pass_all
3607 lt_cv_deplibs_check_method
=pass_all
3611 lt_cv_deplibs_check_method
=pass_all
3612 lt_cv_file_magic_test_file
=/lib
/libc.so
3615 sysv5uw
[78]* | sysv4
*uw2
*)
3616 lt_cv_deplibs_check_method
=pass_all
3619 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3620 case $host_vendor in
3622 lt_cv_deplibs_check_method
=pass_all
3625 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]'
3626 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3633 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3634 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3635 file_magic_cmd
=$lt_cv_file_magic_cmd
3636 deplibs_check_method
=$lt_cv_deplibs_check_method
3641 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3643 # find the maximum length of command line arguments
3644 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3645 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3646 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3654 # On DJGPP, this test can blow up pretty badly due to problems in libc
3655 # (any single argument exceeding 2000 bytes causes a buffer overrun
3656 # during glob expansion). Even if it were fixed, the result of this
3657 # check would be larger than it should be.
3658 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3662 # On Win9x/ME, this test blows up -- it succeeds, but takes
3663 # about 5 minutes as the teststring grows exponentially.
3664 # Worse, since 9x/ME are not pre-emptively multitasking,
3665 # you end up with a "frozen" computer, even though with patience
3666 # the test eventually succeeds (with a max line length of 256k).
3667 # Instead, let's just punt: use the minimum linelength reported by
3668 # all of the supported platforms: 8192 (on NT/2K/XP).
3669 lt_cv_sys_max_cmd_len
=8192;
3673 # On AmigaOS with pdksh, this test takes hours, literally.
3674 # So we just punt and use a minimum line length of 8192.
3675 lt_cv_sys_max_cmd_len
=8192;
3678 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3679 # This has been around since 386BSD, at least. Likely further.
3680 if test -x /sbin
/sysctl
; then
3681 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3682 elif test -x /usr
/sbin
/sysctl
; then
3683 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3685 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3687 # And add a safety zone
3688 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3689 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3695 if test -n "$lt_cv_sys_max_cmd_len" ; then
3696 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3697 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3699 echo "$as_me:$LINENO: result: none" >&5
3700 echo "${ECHO_T}none" >&6
3704 # Only perform the check for file, if the check method requires it
3705 case $deplibs_check_method in
3707 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3708 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3709 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3710 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3715 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3718 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3721 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3722 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3723 ac_dummy
="/usr/bin:$PATH"
3724 for ac_dir
in $ac_dummy; do
3725 test -z "$ac_dir" && ac_dir
=.
3726 if test -f $ac_dir/${ac_tool_prefix}file; then
3727 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3728 if test -n "$file_magic_test_file"; then
3729 case $deplibs_check_method in
3731 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3732 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3733 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3734 egrep "$file_magic_regex" > /dev
/null
; then
3739 *** Warning: the command libtool uses to detect shared libraries,
3740 *** $file_magic_cmd, produces output that libtool cannot recognize.
3741 *** The result is that libtool may fail to recognize shared libraries
3742 *** as such. This will affect the creation of libtool libraries that
3743 *** depend on shared libraries, but programs linked with such libtool
3744 *** libraries will work regardless of this problem. Nevertheless, you
3745 *** may want to report the problem to your system manager and/or to
3746 *** bug-libtool@gnu.org
3756 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3761 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3762 if test -n "$MAGIC_CMD"; then
3763 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3764 echo "${ECHO_T}$MAGIC_CMD" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3770 if test -z "$lt_cv_path_MAGIC_CMD"; then
3771 if test -n "$ac_tool_prefix"; then
3772 echo "$as_me:$LINENO: checking for file" >&5
3773 echo $ECHO_N "checking for file... $ECHO_C" >&6
3774 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3782 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3785 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3786 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3787 ac_dummy
="/usr/bin:$PATH"
3788 for ac_dir
in $ac_dummy; do
3789 test -z "$ac_dir" && ac_dir
=.
3790 if test -f $ac_dir/file; then
3791 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3792 if test -n "$file_magic_test_file"; then
3793 case $deplibs_check_method in
3795 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3796 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3797 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3798 egrep "$file_magic_regex" > /dev
/null
; then
3803 *** Warning: the command libtool uses to detect shared libraries,
3804 *** $file_magic_cmd, produces output that libtool cannot recognize.
3805 *** The result is that libtool may fail to recognize shared libraries
3806 *** as such. This will affect the creation of libtool libraries that
3807 *** depend on shared libraries, but programs linked with such libtool
3808 *** libraries will work regardless of this problem. Nevertheless, you
3809 *** may want to report the problem to your system manager and/or to
3810 *** bug-libtool@gnu.org
3820 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3825 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3826 if test -n "$MAGIC_CMD"; then
3827 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3828 echo "${ECHO_T}$MAGIC_CMD" >&6
3830 echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6
3843 if test -n "$ac_tool_prefix"; then
3844 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3845 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3846 echo "$as_me:$LINENO: checking for $ac_word" >&5
3847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3848 if test "${ac_cv_prog_RANLIB+set}" = set; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 if test -n "$RANLIB"; then
3852 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3858 test -z "$as_dir" && as_dir
=.
3859 for ac_exec_ext
in '' $ac_executable_extensions; do
3860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 RANLIB
=$ac_cv_prog_RANLIB
3871 if test -n "$RANLIB"; then
3872 echo "$as_me:$LINENO: result: $RANLIB" >&5
3873 echo "${ECHO_T}$RANLIB" >&6
3875 echo "$as_me:$LINENO: result: no" >&5
3876 echo "${ECHO_T}no" >&6
3880 if test -z "$ac_cv_prog_RANLIB"; then
3881 ac_ct_RANLIB
=$RANLIB
3882 # Extract the first word of "ranlib", so it can be a program name with args.
3883 set dummy ranlib
; ac_word
=$2
3884 echo "$as_me:$LINENO: checking for $ac_word" >&5
3885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3886 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 if test -n "$ac_ct_RANLIB"; then
3890 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir
=.
3897 for ac_exec_ext
in '' $ac_executable_extensions; do
3898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3899 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3906 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3909 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3910 if test -n "$ac_ct_RANLIB"; then
3911 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3912 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3914 echo "$as_me:$LINENO: result: no" >&5
3915 echo "${ECHO_T}no" >&6
3918 RANLIB
=$ac_ct_RANLIB
3920 RANLIB
="$ac_cv_prog_RANLIB"
3923 if test -n "$ac_tool_prefix"; then
3924 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3925 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3926 echo "$as_me:$LINENO: checking for $ac_word" >&5
3927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3928 if test "${ac_cv_prog_STRIP+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 if test -n "$STRIP"; then
3932 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir
=.
3939 for ac_exec_ext
in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 STRIP
=$ac_cv_prog_STRIP
3951 if test -n "$STRIP"; then
3952 echo "$as_me:$LINENO: result: $STRIP" >&5
3953 echo "${ECHO_T}$STRIP" >&6
3955 echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3960 if test -z "$ac_cv_prog_STRIP"; then
3962 # Extract the first word of "strip", so it can be a program name with args.
3963 set dummy strip
; ac_word
=$2
3964 echo "$as_me:$LINENO: checking for $ac_word" >&5
3965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3966 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3969 if test -n "$ac_ct_STRIP"; then
3970 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir
=.
3977 for ac_exec_ext
in '' $ac_executable_extensions; do
3978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_ac_ct_STRIP
="strip"
3980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3986 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3989 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3990 if test -n "$ac_ct_STRIP"; then
3991 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3992 echo "${ECHO_T}$ac_ct_STRIP" >&6
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
4000 STRIP
="$ac_cv_prog_STRIP"
4004 # Check for any special flags to pass to ltconfig.
4005 libtool_flags
="--cache-file=$cache_file"
4006 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4007 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4008 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4009 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4010 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4013 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4014 if test "${enable_libtool_lock+set}" = set; then
4015 enableval
="$enable_libtool_lock"
4018 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4019 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4022 # Check whether --with-pic or --without-pic was given.
4023 if test "${with_pic+set}" = set; then
4029 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4030 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4032 # Some flags need to be propagated to the compiler or linker for good
4036 # Find out which ABI we are using.
4037 echo '#line 4037 "configure"' > conftest.
$ac_ext
4038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4039 (eval $ac_compile) 2>&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; then
4043 if test "$lt_cv_prog_gnu_ld" = yes; then
4044 case `/usr/bin/file conftest.$ac_objext` in
4046 LD
="${LD-ld} -melf32bsmip"
4049 LD
="${LD-ld} -melf32bmipn32"
4052 LD
="${LD-ld} -melf64bmip"
4056 case `/usr/bin/file conftest.$ac_objext` in
4073 # Find out which ABI we are using.
4074 echo 'int i;' > conftest.
$ac_ext
4075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4076 (eval $ac_compile) 2>&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }; then
4080 case "`/usr/bin/file conftest.o`" in
4092 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4093 # Find out which ABI we are using.
4094 echo 'int i;' > conftest.
$ac_ext
4095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4096 (eval $ac_compile) 2>&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }; then
4100 case "`/usr/bin/file conftest.o`" in
4104 LD
="${LD-ld} -m elf_i386"
4106 ppc64-
*linux
*|powerpc64-
*linux
*)
4107 LD
="${LD-ld} -m elf32ppclinux"
4110 LD
="${LD-ld} -m elf_s390"
4113 LD
="${LD-ld} -m elf32_sparc"
4120 LD
="${LD-ld} -m elf_x86_64"
4122 ppc
*-*linux
*|powerpc
*-*linux
*)
4123 LD
="${LD-ld} -m elf64ppc"
4126 LD
="${LD-ld} -m elf64_s390"
4129 LD
="${LD-ld} -m elf64_sparc"
4139 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4140 SAVE_CFLAGS
="$CFLAGS"
4141 CFLAGS
="$CFLAGS -belf"
4142 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4143 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4144 if test "${lt_cv_cc_needs_belf+set}" = set; then
4145 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 ac_cpp
='$CPP $CPPFLAGS'
4151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4155 cat >conftest.
$ac_ext <<_ACEOF
4158 cat confdefs.h
>>conftest.
$ac_ext
4159 cat >>conftest.
$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4170 rm -f conftest.
$ac_objext conftest
$ac_exeext
4171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4172 (eval $ac_link) 2>conftest.er1
4174 grep -v '^ *+' conftest.er1
>conftest.err
4176 cat conftest.err
>&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); } &&
4179 { ac_try
='test -z "$ac_c_werror_flag"
4180 || test ! -s conftest.err'
4181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; } &&
4186 { ac_try
='test -s conftest$ac_exeext'
4187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); }; }; then
4192 lt_cv_cc_needs_belf
=yes
4194 echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.
$ac_ext >&5
4197 lt_cv_cc_needs_belf
=no
4199 rm -f conftest.err conftest.
$ac_objext \
4200 conftest
$ac_exeext conftest.
$ac_ext
4202 ac_cpp
='$CPP $CPPFLAGS'
4203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4208 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4209 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4210 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4211 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4212 CFLAGS
="$SAVE_CFLAGS"
4220 # Save cache, so that ltconfig can load it
4221 cat >confcache
<<\_ACEOF
4222 # This file is a shell script that caches the results of configure
4223 # tests run on this system so they can be shared between configure
4224 # scripts and configure runs, see configure's option --config-cache.
4225 # It is not useful on other systems. If it contains results you don't
4226 # want to keep, you may remove or edit it.
4228 # config.status only pays attention to the cache file if you give it
4229 # the --recheck option to rerun configure.
4231 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4232 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4237 # The following way of writing the cache mishandles newlines in values,
4238 # but we know of no workaround that is simple, portable, and efficient.
4239 # So, don't put newlines in cache variables' values.
4240 # Ultrix sh set writes to stderr and can't be redirected directly,
4241 # and sets the high bit in the cache file unless we assign to the vars.
4244 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4246 # `set' does not quote correctly, so add quotes (double-quote
4247 # substitution turns \\\\ into \\, and sed turns \\ into \).
4250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4253 # `set' quotes correctly as required by POSIX, so do not add quotes.
4255 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4262 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4264 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4266 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4267 if test -w $cache_file; then
4268 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4269 cat confcache
>$cache_file
4271 echo "not updating unwritable cache $cache_file"
4276 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4277 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4278 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4279 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4280 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4281 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4282 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4283 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4284 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4285 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4286 echo "$as_me: error: libtool configure failed" >&2;}
4287 { (exit 1); exit 1; }; }
4289 # Reload cache, that may have been modified by ltconfig
4290 if test -r "$cache_file"; then
4291 # Some versions of bash will fail to source /dev/null (special
4292 # files actually), so we avoid doing that.
4293 if test -f "$cache_file"; then
4294 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4295 echo "$as_me: loading cache $cache_file" >&6;}
4297 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4298 *) . .
/$cache_file;;
4302 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4303 echo "$as_me: creating cache $cache_file" >&6;}
4308 # This can be used to rebuild libtool when needed
4309 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4311 # Always use our own libtool.
4312 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4314 # Redirect the config.log output again, so that the ltconfig log is not
4315 # clobbered by the next message.
4316 exec 5>>.
/config.log
4324 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4325 if test "${enable_64_bit_bfd+set}" = set; then
4326 enableval
="$enable_64_bit_bfd"
4327 case "${enableval}" in
4330 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4331 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4332 { (exit 1); exit 1; }; } ;;
4336 fi; # Check whether --enable-targets or --disable-targets was given.
4337 if test "${enable_targets+set}" = set; then
4338 enableval
="$enable_targets"
4339 case "${enableval}" in
4340 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4341 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4342 { (exit 1); exit 1; }; }
4344 no
) enable_targets
= ;;
4345 *) enable_targets
=$enableval ;;
4347 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4348 if test "${enable_commonbfdlib+set}" = set; then
4349 enableval
="$enable_commonbfdlib"
4350 case "${enableval}" in
4351 yes) commonbfdlib
=true
;;
4352 no
) commonbfdlib
=false
;;
4353 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4354 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4355 { (exit 1); exit 1; }; } ;;
4358 # Check whether --with-mmap or --without-mmap was given.
4359 if test "${with_mmap+set}" = set; then
4360 withval
="$with_mmap"
4361 case "${withval}" in
4362 yes) want_mmap
=true
;;
4363 no
) want_mmap
=false
;;
4364 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4365 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
4366 { (exit 1); exit 1; }; } ;;
4371 # Check whether --enable-secureplt or --disable-secureplt was given.
4372 if test "${enable_secureplt+set}" = set; then
4373 enableval
="$enable_secureplt"
4374 case "${enableval}" in
4375 yes) use_secureplt
=true
;;
4376 no
) use_secureplt
=false
;;
4377 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4378 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
4379 { (exit 1); exit 1; }; } ;;
4383 fi; if test $use_secureplt = true
; then
4385 cat >>confdefs.h
<<\_ACEOF
4386 #define USE_SECUREPLT 1
4391 # The trailing component of the string reported as the version number
4392 # by gdb. For an official FSF release, it is empty.
4394 # Check whether --with-versuffix or --without-versuffix was given.
4395 if test "${with_versuffix+set}" = set; then
4396 withval
="$with_versuffix"
4398 yes) { { echo "$as_me:$LINENO: error: version suffix not specified" >&5
4399 echo "$as_me: error: version suffix not specified" >&2;}
4400 { (exit 1); exit 1; }; } ;;
4401 no
) VERSUFFIX
=" (CodeSourcery Unofficial)" ;;
4402 *) VERSUFFIX
=" ($withval)" ;;
4410 # The location to which bugs should be reported.
4412 # Check whether --with-bugurl or --without-bugurl was given.
4413 if test "${with_bugurl+set}" = set; then
4414 withval
="$with_bugurl"
4416 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4417 echo "$as_me: error: bug URL not specified" >&2;}
4418 { (exit 1); exit 1; }; } ;;
4419 no
) REPORT_BUGS_TO
="" ;;
4420 *) REPORT_BUGS_TO
="<URL:$withval>" ;;
4429 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4431 # Check whether --enable-werror or --disable-werror was given.
4432 if test "${enable_werror+set}" = set; then
4433 enableval
="$enable_werror"
4434 case "${enableval}" in
4435 yes | y
) ERROR_ON_WARNING
="yes" ;;
4436 no | n
) ERROR_ON_WARNING
="no" ;;
4437 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4438 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4439 { (exit 1); exit 1; }; } ;;
4443 # Enable -Werror by default when using gcc
4444 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4445 ERROR_ON_WARNING
=yes
4449 if test "${ERROR_ON_WARNING}" = yes ; then
4450 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4451 NO_WERROR
="-Wno-error"
4454 if test "${GCC}" = yes ; then
4455 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4458 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4459 if test "${enable_build_warnings+set}" = set; then
4460 enableval
="$enable_build_warnings"
4461 case "${enableval}" in
4462 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4463 no
) if test "${GCC}" = yes ; then
4466 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4467 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4468 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4469 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4470 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4474 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4475 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4482 ac_config_headers
="$ac_config_headers config.h:config.in"
4485 if test -z "$target" ; then
4486 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4487 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4488 { (exit 1); exit 1; }; }
4491 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4492 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4493 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4494 if test "${enable_maintainer_mode+set}" = set; then
4495 enableval
="$enable_maintainer_mode"
4496 USE_MAINTAINER_MODE
=$enableval
4498 USE_MAINTAINER_MODE
=no
4500 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4501 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4504 if test $USE_MAINTAINER_MODE = yes; then
4505 MAINTAINER_MODE_TRUE
=
4506 MAINTAINER_MODE_FALSE
='#'
4508 MAINTAINER_MODE_TRUE
='#'
4509 MAINTAINER_MODE_FALSE
=
4512 MAINT
=$MAINTAINER_MODE_TRUE
4515 case ${build_alias} in
4516 "") build_noncanonical
=${build} ;;
4517 *) build_noncanonical
=${build_alias} ;;
4520 case ${host_alias} in
4521 "") host_noncanonical
=${build_noncanonical} ;;
4522 *) host_noncanonical
=${host_alias} ;;
4525 case ${target_alias} in
4526 "") target_noncanonical
=${host_noncanonical} ;;
4527 *) target_noncanonical
=${target_alias} ;;
4530 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4531 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4532 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4533 if test "${enable_install_libbfd+set}" = set; then
4534 enableval
="$enable_install_libbfd"
4535 install_libbfd_p
=$enableval
4537 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
4538 install_libbfd_p
=yes
4543 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4544 echo "${ECHO_T}$install_libbfd_p" >&6
4547 if test $install_libbfd_p = yes; then
4548 INSTALL_LIBBFD_TRUE
=
4549 INSTALL_LIBBFD_FALSE
='#'
4551 INSTALL_LIBBFD_TRUE
='#'
4552 INSTALL_LIBBFD_FALSE
=
4555 # Need _noncanonical variables for this.
4560 # libbfd.a is a host library containing target dependent code
4561 bfdlibdir
='$(libdir)'
4562 bfdincludedir
='$(includedir)'
4563 if test "${host}" != "${target}"; then
4564 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4565 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4575 bfd_default_target_size
=32
4580 ac_cpp
='$CPP $CPPFLAGS'
4581 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4582 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4583 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4584 if test -n "$ac_tool_prefix"; then
4585 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4586 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4587 echo "$as_me:$LINENO: checking for $ac_word" >&5
4588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4589 if test "${ac_cv_prog_CC+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 if test -n "$CC"; then
4593 ac_cv_prog_CC
="$CC" # Let the user override the test.
4595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4599 test -z "$as_dir" && as_dir
=.
4600 for ac_exec_ext
in '' $ac_executable_extensions; do
4601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4612 if test -n "$CC"; then
4613 echo "$as_me:$LINENO: result: $CC" >&5
4614 echo "${ECHO_T}$CC" >&6
4616 echo "$as_me:$LINENO: result: no" >&5
4617 echo "${ECHO_T}no" >&6
4621 if test -z "$ac_cv_prog_CC"; then
4623 # Extract the first word of "gcc", so it can be a program name with args.
4624 set dummy gcc
; ac_word
=$2
4625 echo "$as_me:$LINENO: checking for $ac_word" >&5
4626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4628 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 if test -n "$ac_ct_CC"; then
4631 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4637 test -z "$as_dir" && as_dir
=.
4638 for ac_exec_ext
in '' $ac_executable_extensions; do
4639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4640 ac_cv_prog_ac_ct_CC
="gcc"
4641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4649 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4650 if test -n "$ac_ct_CC"; then
4651 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4652 echo "${ECHO_T}$ac_ct_CC" >&6
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4663 if test -z "$CC"; then
4664 if test -n "$ac_tool_prefix"; then
4665 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4666 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4667 echo "$as_me:$LINENO: checking for $ac_word" >&5
4668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4669 if test "${ac_cv_prog_CC+set}" = set; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6
4672 if test -n "$CC"; then
4673 ac_cv_prog_CC
="$CC" # Let the user override the test.
4675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4679 test -z "$as_dir" && as_dir
=.
4680 for ac_exec_ext
in '' $ac_executable_extensions; do
4681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4682 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4692 if test -n "$CC"; then
4693 echo "$as_me:$LINENO: result: $CC" >&5
4694 echo "${ECHO_T}$CC" >&6
4696 echo "$as_me:$LINENO: result: no" >&5
4697 echo "${ECHO_T}no" >&6
4701 if test -z "$ac_cv_prog_CC"; then
4703 # Extract the first word of "cc", so it can be a program name with args.
4704 set dummy cc
; ac_word
=$2
4705 echo "$as_me:$LINENO: checking for $ac_word" >&5
4706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4707 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 if test -n "$ac_ct_CC"; then
4711 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4717 test -z "$as_dir" && as_dir
=.
4718 for ac_exec_ext
in '' $ac_executable_extensions; do
4719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4720 ac_cv_prog_ac_ct_CC
="cc"
4721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4730 if test -n "$ac_ct_CC"; then
4731 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4732 echo "${ECHO_T}$ac_ct_CC" >&6
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4744 if test -z "$CC"; then
4745 # Extract the first word of "cc", so it can be a program name with args.
4746 set dummy cc
; ac_word
=$2
4747 echo "$as_me:$LINENO: checking for $ac_word" >&5
4748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4749 if test "${ac_cv_prog_CC+set}" = set; then
4750 echo $ECHO_N "(cached) $ECHO_C" >&6
4752 if test -n "$CC"; then
4753 ac_cv_prog_CC
="$CC" # Let the user override the test.
4756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4760 test -z "$as_dir" && as_dir
=.
4761 for ac_exec_ext
in '' $ac_executable_extensions; do
4762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4763 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4764 ac_prog_rejected
=yes
4768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 if test $ac_prog_rejected = yes; then
4775 # We found a bogon in the path, so make sure we never use it.
4776 set dummy
$ac_cv_prog_CC
4778 if test $# != 0; then
4779 # We chose a different compiler from the bogus one.
4780 # However, it has the same basename, so the bogon will be chosen
4781 # first if we set CC to just the basename; use the full file name.
4783 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4789 if test -n "$CC"; then
4790 echo "$as_me:$LINENO: result: $CC" >&5
4791 echo "${ECHO_T}$CC" >&6
4793 echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6
4798 if test -z "$CC"; then
4799 if test -n "$ac_tool_prefix"; then
4802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4803 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4804 echo "$as_me:$LINENO: checking for $ac_word" >&5
4805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4806 if test "${ac_cv_prog_CC+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 if test -n "$CC"; then
4810 ac_cv_prog_CC
="$CC" # Let the user override the test.
4812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4816 test -z "$as_dir" && as_dir
=.
4817 for ac_exec_ext
in '' $ac_executable_extensions; do
4818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4819 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 if test -n "$CC"; then
4830 echo "$as_me:$LINENO: result: $CC" >&5
4831 echo "${ECHO_T}$CC" >&6
4833 echo "$as_me:$LINENO: result: no" >&5
4834 echo "${ECHO_T}no" >&6
4837 test -n "$CC" && break
4840 if test -z "$CC"; then
4844 # Extract the first word of "$ac_prog", so it can be a program name with args.
4845 set dummy
$ac_prog; ac_word
=$2
4846 echo "$as_me:$LINENO: checking for $ac_word" >&5
4847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4848 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4849 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 if test -n "$ac_ct_CC"; then
4852 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4858 test -z "$as_dir" && as_dir
=.
4859 for ac_exec_ext
in '' $ac_executable_extensions; do
4860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4861 ac_cv_prog_ac_ct_CC
="$ac_prog"
4862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4870 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4871 if test -n "$ac_ct_CC"; then
4872 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4873 echo "${ECHO_T}$ac_ct_CC" >&6
4875 echo "$as_me:$LINENO: result: no" >&5
4876 echo "${ECHO_T}no" >&6
4879 test -n "$ac_ct_CC" && break
4888 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4889 See \`config.log' for more details." >&5
4890 echo "$as_me: error: no acceptable C compiler found in \$PATH
4891 See \`config.log' for more details." >&2;}
4892 { (exit 1); exit 1; }; }
4894 # Provide some information about the compiler.
4895 echo "$as_me:$LINENO:" \
4896 "checking for C compiler version" >&5
4897 ac_compiler
=`set X $ac_compile; echo $2`
4898 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4899 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); }
4903 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4904 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); }
4908 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4909 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); }
4914 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4915 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4916 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 cat >conftest.
$ac_ext <<_ACEOF
4922 cat confdefs.h
>>conftest.
$ac_ext
4923 cat >>conftest.
$ac_ext <<_ACEOF
4924 /* end confdefs.h. */
4937 rm -f conftest.
$ac_objext
4938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4939 (eval $ac_compile) 2>conftest.er1
4941 grep -v '^ *+' conftest.er1
>conftest.err
4943 cat conftest.err
>&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); } &&
4946 { ac_try
='test -z "$ac_c_werror_flag"
4947 || test ! -s conftest.err'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; } &&
4953 { ac_try
='test -s conftest.$ac_objext'
4954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); }; }; then
4961 echo "$as_me: failed program was:" >&5
4962 sed 's/^/| /' conftest.
$ac_ext >&5
4966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4967 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4970 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4971 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4972 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4973 ac_test_CFLAGS
=${CFLAGS+set}
4974 ac_save_CFLAGS
=$CFLAGS
4976 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4977 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4978 if test "${ac_cv_prog_cc_g+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4981 cat >conftest.
$ac_ext <<_ACEOF
4984 cat confdefs.h
>>conftest.
$ac_ext
4985 cat >>conftest.
$ac_ext <<_ACEOF
4986 /* end confdefs.h. */
4996 rm -f conftest.
$ac_objext
4997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4998 (eval $ac_compile) 2>conftest.er1
5000 grep -v '^ *+' conftest.er1
>conftest.err
5002 cat conftest.err
>&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } &&
5005 { ac_try
='test -z "$ac_c_werror_flag"
5006 || test ! -s conftest.err'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; } &&
5012 { ac_try
='test -s conftest.$ac_objext'
5013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); }; }; then
5020 echo "$as_me: failed program was:" >&5
5021 sed 's/^/| /' conftest.
$ac_ext >&5
5025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5028 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5029 if test "$ac_test_CFLAGS" = set; then
5030 CFLAGS
=$ac_save_CFLAGS
5031 elif test $ac_cv_prog_cc_g = yes; then
5032 if test "$GCC" = yes; then
5038 if test "$GCC" = yes; then
5044 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5045 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5046 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5047 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 ac_cv_prog_cc_stdc
=no
5051 cat >conftest.
$ac_ext <<_ACEOF
5054 cat confdefs.h
>>conftest.
$ac_ext
5055 cat >>conftest.
$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5059 #include <sys/types.h>
5060 #include <sys/stat.h>
5061 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5062 struct buf { int x; };
5063 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5064 static char *e (p, i)
5070 static char *f (char * (*g) (char **, int), char **p, ...)
5075 s = g (p, va_arg (v,int));
5080 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5081 function prototypes and stuff, but not '\xHH' hex character constants.
5082 These don't provoke an error unfortunately, instead are silently treated
5083 as 'x'. The following induces an error, until -std1 is added to get
5084 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5085 array size at least. It's necessary to write '\x00'==0 to get something
5086 that's true only with -std1. */
5087 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5089 int test (int i, double x);
5090 struct s1 {int (*f) (int a);};
5091 struct s2 {int (*f) (double a);};
5092 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5098 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5103 # Don't try gcc -ansi; that turns off useful extensions and
5104 # breaks some systems' header files.
5105 # AIX -qlanglvl=ansi
5106 # Ultrix and OSF/1 -std1
5107 # HP-UX 10.20 and later -Ae
5108 # HP-UX older versions -Aa -D_HPUX_SOURCE
5109 # SVR4 -Xc -D__EXTENSIONS__
5110 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5112 CC
="$ac_save_CC $ac_arg"
5113 rm -f conftest.
$ac_objext
5114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5115 (eval $ac_compile) 2>conftest.er1
5117 grep -v '^ *+' conftest.er1
>conftest.err
5119 cat conftest.err
>&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); } &&
5122 { ac_try
='test -z "$ac_c_werror_flag"
5123 || test ! -s conftest.err'
5124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); }; } &&
5129 { ac_try
='test -s conftest.$ac_objext'
5130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); }; }; then
5135 ac_cv_prog_cc_stdc
=$ac_arg
5138 echo "$as_me: failed program was:" >&5
5139 sed 's/^/| /' conftest.
$ac_ext >&5
5142 rm -f conftest.err conftest.
$ac_objext
5144 rm -f conftest.
$ac_ext conftest.
$ac_objext
5149 case "x$ac_cv_prog_cc_stdc" in
5151 echo "$as_me:$LINENO: result: none needed" >&5
5152 echo "${ECHO_T}none needed" >&6 ;;
5154 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5155 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5156 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5159 # Some people use a C++ compiler to compile C. Since we use `exit',
5160 # in C++ we need to declare it. In case someone uses the same compiler
5161 # for both compiling C and C++ we need to have the C++ compiler decide
5162 # the declaration of exit, since it's the most demanding environment.
5163 cat >conftest.
$ac_ext <<_ACEOF
5168 rm -f conftest.
$ac_objext
5169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5170 (eval $ac_compile) 2>conftest.er1
5172 grep -v '^ *+' conftest.er1
>conftest.err
5174 cat conftest.err
>&5
5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 (exit $ac_status); } &&
5177 { ac_try
='test -z "$ac_c_werror_flag"
5178 || test ! -s conftest.err'
5179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); }; } &&
5184 { ac_try
='test -s conftest.$ac_objext'
5185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); }; }; then
5190 for ac_declaration
in \
5192 'extern "C" void std::exit (int) throw (); using std::exit;' \
5193 'extern "C" void std::exit (int); using std::exit;' \
5194 'extern "C" void exit (int) throw ();' \
5195 'extern "C" void exit (int);' \
5198 cat >conftest.
$ac_ext <<_ACEOF
5201 cat confdefs.h
>>conftest.
$ac_ext
5202 cat >>conftest.
$ac_ext <<_ACEOF
5203 /* end confdefs.h. */
5214 rm -f conftest.
$ac_objext
5215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5216 (eval $ac_compile) 2>conftest.er1
5218 grep -v '^ *+' conftest.er1
>conftest.err
5220 cat conftest.err
>&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); } &&
5223 { ac_try
='test -z "$ac_c_werror_flag"
5224 || test ! -s conftest.err'
5225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); }; } &&
5230 { ac_try
='test -s conftest.$ac_objext'
5231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); }; }; then
5238 echo "$as_me: failed program was:" >&5
5239 sed 's/^/| /' conftest.
$ac_ext >&5
5243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5244 cat >conftest.
$ac_ext <<_ACEOF
5247 cat confdefs.h
>>conftest.
$ac_ext
5248 cat >>conftest.
$ac_ext <<_ACEOF
5249 /* end confdefs.h. */
5259 rm -f conftest.
$ac_objext
5260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5261 (eval $ac_compile) 2>conftest.er1
5263 grep -v '^ *+' conftest.er1
>conftest.err
5265 cat conftest.err
>&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); } &&
5268 { ac_try
='test -z "$ac_c_werror_flag"
5269 || test ! -s conftest.err'
5270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; } &&
5275 { ac_try
='test -s conftest.$ac_objext'
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }; }; then
5283 echo "$as_me: failed program was:" >&5
5284 sed 's/^/| /' conftest.
$ac_ext >&5
5287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5290 if test -n "$ac_declaration"; then
5291 echo '#ifdef __cplusplus' >>confdefs.h
5292 echo $ac_declaration >>confdefs.h
5293 echo '#endif' >>confdefs.h
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.
$ac_ext >&5
5301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5303 ac_cpp
='$CPP $CPPFLAGS'
5304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5309 cat >>confdefs.h
<<\_ACEOF
5310 #define _GNU_SOURCE 1
5315 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi"
5316 if test -n "$ac_tool_prefix"; then
5317 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5318 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5319 echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5321 if test "${ac_cv_prog_RANLIB+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -n "$RANLIB"; then
5325 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir
=.
5332 for ac_exec_ext
in '' $ac_executable_extensions; do
5333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5334 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 RANLIB
=$ac_cv_prog_RANLIB
5344 if test -n "$RANLIB"; then
5345 echo "$as_me:$LINENO: result: $RANLIB" >&5
5346 echo "${ECHO_T}$RANLIB" >&6
5348 echo "$as_me:$LINENO: result: no" >&5
5349 echo "${ECHO_T}no" >&6
5353 if test -z "$ac_cv_prog_RANLIB"; then
5354 ac_ct_RANLIB
=$RANLIB
5355 # Extract the first word of "ranlib", so it can be a program name with args.
5356 set dummy ranlib
; ac_word
=$2
5357 echo "$as_me:$LINENO: checking for $ac_word" >&5
5358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5359 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5360 echo $ECHO_N "(cached) $ECHO_C" >&6
5362 if test -n "$ac_ct_RANLIB"; then
5363 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5369 test -z "$as_dir" && as_dir
=.
5370 for ac_exec_ext
in '' $ac_executable_extensions; do
5371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5372 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5382 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5383 if test -n "$ac_ct_RANLIB"; then
5384 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5385 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5391 RANLIB
=$ac_ct_RANLIB
5393 RANLIB
="$ac_cv_prog_RANLIB"
5397 ac_cpp
='$CPP $CPPFLAGS'
5398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5401 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5402 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5403 # On Suns, sometimes $CPP names a directory.
5404 if test -n "$CPP" && test -d "$CPP"; then
5407 if test -z "$CPP"; then
5408 if test "${ac_cv_prog_CPP+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 # Double quotes because CPP needs to be expanded
5412 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5415 for ac_c_preproc_warn_flag
in '' yes
5417 # Use a header file that comes with gcc, so configuring glibc
5418 # with a fresh cross-compiler works.
5419 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5420 # <limits.h> exists even on freestanding compilers.
5421 # On the NeXT, cc -E runs the code through the compiler's parser,
5422 # not just through cpp. "Syntax error" is here to catch this case.
5423 cat >conftest.
$ac_ext <<_ACEOF
5426 cat confdefs.h
>>conftest.
$ac_ext
5427 cat >>conftest.
$ac_ext <<_ACEOF
5428 /* end confdefs.h. */
5430 # include <limits.h>
5432 # include <assert.h>
5436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5439 grep -v '^ *+' conftest.er1
>conftest.err
5441 cat conftest.err
>&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } >/dev
/null
; then
5444 if test -s conftest.err
; then
5445 ac_cpp_err
=$ac_c_preproc_warn_flag
5446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5453 if test -z "$ac_cpp_err"; then
5456 echo "$as_me: failed program was:" >&5
5457 sed 's/^/| /' conftest.
$ac_ext >&5
5459 # Broken: fails on valid input.
5462 rm -f conftest.err conftest.
$ac_ext
5464 # OK, works on sane cases. Now check whether non-existent headers
5465 # can be detected and how.
5466 cat >conftest.
$ac_ext <<_ACEOF
5469 cat confdefs.h
>>conftest.
$ac_ext
5470 cat >>conftest.
$ac_ext <<_ACEOF
5471 /* end confdefs.h. */
5472 #include <ac_nonexistent.h>
5474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5475 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5477 grep -v '^ *+' conftest.er1
>conftest.err
5479 cat conftest.err
>&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); } >/dev
/null
; then
5482 if test -s conftest.err
; then
5483 ac_cpp_err
=$ac_c_preproc_warn_flag
5484 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5491 if test -z "$ac_cpp_err"; then
5492 # Broken: success on invalid input.
5495 echo "$as_me: failed program was:" >&5
5496 sed 's/^/| /' conftest.
$ac_ext >&5
5498 # Passes both tests.
5502 rm -f conftest.err conftest.
$ac_ext
5505 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5506 rm -f conftest.err conftest.
$ac_ext
5507 if $ac_preproc_ok; then
5519 echo "$as_me:$LINENO: result: $CPP" >&5
5520 echo "${ECHO_T}$CPP" >&6
5522 for ac_c_preproc_warn_flag
in '' yes
5524 # Use a header file that comes with gcc, so configuring glibc
5525 # with a fresh cross-compiler works.
5526 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5527 # <limits.h> exists even on freestanding compilers.
5528 # On the NeXT, cc -E runs the code through the compiler's parser,
5529 # not just through cpp. "Syntax error" is here to catch this case.
5530 cat >conftest.
$ac_ext <<_ACEOF
5533 cat confdefs.h
>>conftest.
$ac_ext
5534 cat >>conftest.
$ac_ext <<_ACEOF
5535 /* end confdefs.h. */
5537 # include <limits.h>
5539 # include <assert.h>
5543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5546 grep -v '^ *+' conftest.er1
>conftest.err
5548 cat conftest.err
>&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); } >/dev
/null
; then
5551 if test -s conftest.err
; then
5552 ac_cpp_err
=$ac_c_preproc_warn_flag
5553 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5560 if test -z "$ac_cpp_err"; then
5563 echo "$as_me: failed program was:" >&5
5564 sed 's/^/| /' conftest.
$ac_ext >&5
5566 # Broken: fails on valid input.
5569 rm -f conftest.err conftest.
$ac_ext
5571 # OK, works on sane cases. Now check whether non-existent headers
5572 # can be detected and how.
5573 cat >conftest.
$ac_ext <<_ACEOF
5576 cat confdefs.h
>>conftest.
$ac_ext
5577 cat >>conftest.
$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5579 #include <ac_nonexistent.h>
5581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5582 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5584 grep -v '^ *+' conftest.er1
>conftest.err
5586 cat conftest.err
>&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } >/dev
/null
; then
5589 if test -s conftest.err
; then
5590 ac_cpp_err
=$ac_c_preproc_warn_flag
5591 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5598 if test -z "$ac_cpp_err"; then
5599 # Broken: success on invalid input.
5602 echo "$as_me: failed program was:" >&5
5603 sed 's/^/| /' conftest.
$ac_ext >&5
5605 # Passes both tests.
5609 rm -f conftest.err conftest.
$ac_ext
5612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5613 rm -f conftest.err conftest.
$ac_ext
5614 if $ac_preproc_ok; then
5617 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5618 See \`config.log' for more details." >&5
5619 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5620 See \`config.log' for more details." >&2;}
5621 { (exit 1); exit 1; }; }
5625 ac_cpp
='$CPP $CPPFLAGS'
5626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5631 echo "$as_me:$LINENO: checking for egrep" >&5
5632 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5633 if test "${ac_cv_prog_egrep+set}" = set; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5637 then ac_cv_prog_egrep
='grep -E'
5638 else ac_cv_prog_egrep
='egrep'
5641 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5642 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5643 EGREP
=$ac_cv_prog_egrep
5646 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5647 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5648 if test "${ac_cv_header_stdc+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 cat >conftest.
$ac_ext <<_ACEOF
5654 cat confdefs.h
>>conftest.
$ac_ext
5655 cat >>conftest.
$ac_ext <<_ACEOF
5656 /* end confdefs.h. */
5670 rm -f conftest.
$ac_objext
5671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5672 (eval $ac_compile) 2>conftest.er1
5674 grep -v '^ *+' conftest.er1
>conftest.err
5676 cat conftest.err
>&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); } &&
5679 { ac_try
='test -z "$ac_c_werror_flag"
5680 || test ! -s conftest.err'
5681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; } &&
5686 { ac_try
='test -s conftest.$ac_objext'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; }; then
5692 ac_cv_header_stdc
=yes
5694 echo "$as_me: failed program was:" >&5
5695 sed 's/^/| /' conftest.
$ac_ext >&5
5697 ac_cv_header_stdc
=no
5699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5701 if test $ac_cv_header_stdc = yes; then
5702 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5703 cat >conftest.
$ac_ext <<_ACEOF
5706 cat confdefs.h
>>conftest.
$ac_ext
5707 cat >>conftest.
$ac_ext <<_ACEOF
5708 /* end confdefs.h. */
5712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5713 $EGREP "memchr" >/dev
/null
2>&1; then
5716 ac_cv_header_stdc
=no
5722 if test $ac_cv_header_stdc = yes; then
5723 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5724 cat >conftest.
$ac_ext <<_ACEOF
5727 cat confdefs.h
>>conftest.
$ac_ext
5728 cat >>conftest.
$ac_ext <<_ACEOF
5729 /* end confdefs.h. */
5733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5734 $EGREP "free" >/dev
/null
2>&1; then
5737 ac_cv_header_stdc
=no
5743 if test $ac_cv_header_stdc = yes; then
5744 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5745 if test "$cross_compiling" = yes; then
5748 cat >conftest.
$ac_ext <<_ACEOF
5751 cat confdefs.h
>>conftest.
$ac_ext
5752 cat >>conftest.
$ac_ext <<_ACEOF
5753 /* end confdefs.h. */
5755 #if ((' ' & 0x0FF) == 0x020)
5756 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5757 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5759 # define ISLOWER(c) \
5760 (('a' <= (c) && (c) <= 'i') \
5761 || ('j' <= (c) && (c) <= 'r') \
5762 || ('s' <= (c) && (c) <= 'z'))
5763 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5766 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5771 for (i = 0; i < 256; i++)
5772 if (XOR (islower (i), ISLOWER (i))
5773 || toupper (i) != TOUPPER (i))
5778 rm -f conftest
$ac_exeext
5779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5780 (eval $ac_link) 2>&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); }; }; then
5791 echo "$as_me: program exited with status $ac_status" >&5
5792 echo "$as_me: failed program was:" >&5
5793 sed 's/^/| /' conftest.
$ac_ext >&5
5796 ac_cv_header_stdc
=no
5798 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5802 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5803 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5804 if test $ac_cv_header_stdc = yes; then
5806 cat >>confdefs.h
<<\_ACEOF
5807 #define STDC_HEADERS 1
5812 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5813 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5814 if test "${ac_cv_c_const+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 cat >conftest.
$ac_ext <<_ACEOF
5820 cat confdefs.h
>>conftest.
$ac_ext
5821 cat >>conftest.
$ac_ext <<_ACEOF
5822 /* end confdefs.h. */
5827 /* FIXME: Include the comments suggested by Paul. */
5829 /* Ultrix mips cc rejects this. */
5830 typedef int charset[2];
5832 /* SunOS 4.1.1 cc rejects this. */
5833 char const *const *ccp;
5835 /* NEC SVR4.0.2 mips cc rejects this. */
5836 struct point {int x, y;};
5837 static struct point const zero = {0,0};
5838 /* AIX XL C 1.02.0.0 rejects this.
5839 It does not let you subtract one const X* pointer from another in
5840 an arm of an if-expression whose if-part is not a constant
5842 const char *g = "string";
5843 ccp = &g + (g ? g-g : 0);
5844 /* HPUX 7.0 cc rejects these. */
5847 ccp = (char const *const *) p;
5848 { /* SCO 3.2v4 cc rejects this. */
5850 char const *s = 0 ? (char *) 0 : (char const *) 0;
5854 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5856 const int *foo = &x[0];
5859 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5860 typedef const int *iptr;
5864 { /* AIX XL C 1.02.0.0 rejects this saying
5865 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5866 struct s { int j; const int *ap[3]; };
5867 struct s *b; b->j = 5;
5869 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5878 rm -f conftest.
$ac_objext
5879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5880 (eval $ac_compile) 2>conftest.er1
5882 grep -v '^ *+' conftest.er1
>conftest.err
5884 cat conftest.err
>&5
5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 (exit $ac_status); } &&
5887 { ac_try
='test -z "$ac_c_werror_flag"
5888 || test ! -s conftest.err'
5889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); }; } &&
5894 { ac_try
='test -s conftest.$ac_objext'
5895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); }; }; then
5902 echo "$as_me: failed program was:" >&5
5903 sed 's/^/| /' conftest.
$ac_ext >&5
5907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5909 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5910 echo "${ECHO_T}$ac_cv_c_const" >&6
5911 if test $ac_cv_c_const = no
; then
5913 cat >>confdefs.h
<<\_ACEOF
5919 echo "$as_me:$LINENO: checking for inline" >&5
5920 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5921 if test "${ac_cv_c_inline+set}" = set; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5925 for ac_kw
in inline __inline__ __inline
; do
5926 cat >conftest.
$ac_ext <<_ACEOF
5929 cat confdefs.h
>>conftest.
$ac_ext
5930 cat >>conftest.
$ac_ext <<_ACEOF
5931 /* end confdefs.h. */
5934 static $ac_kw foo_t static_foo () {return 0; }
5935 $ac_kw foo_t foo () {return 0; }
5939 rm -f conftest.
$ac_objext
5940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5941 (eval $ac_compile) 2>conftest.er1
5943 grep -v '^ *+' conftest.er1
>conftest.err
5945 cat conftest.err
>&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } &&
5948 { ac_try
='test -z "$ac_c_werror_flag"
5949 || test ! -s conftest.err'
5950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); }; } &&
5955 { ac_try
='test -s conftest.$ac_objext'
5956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960 (exit $ac_status); }; }; then
5961 ac_cv_c_inline
=$ac_kw; break
5963 echo "$as_me: failed program was:" >&5
5964 sed 's/^/| /' conftest.
$ac_ext >&5
5967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5971 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5972 echo "${ECHO_T}$ac_cv_c_inline" >&6
5975 case $ac_cv_c_inline in
5978 case $ac_cv_c_inline in
5980 *) ac_val
=$ac_cv_c_inline;;
5982 cat >>confdefs.h
<<_ACEOF
5984 #define inline $ac_val
5990 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6000 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6001 inttypes.h stdint.h unistd.h
6003 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6004 echo "$as_me:$LINENO: checking for $ac_header" >&5
6005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6007 echo $ECHO_N "(cached) $ECHO_C" >&6
6009 cat >conftest.
$ac_ext <<_ACEOF
6012 cat confdefs.h
>>conftest.
$ac_ext
6013 cat >>conftest.
$ac_ext <<_ACEOF
6014 /* end confdefs.h. */
6015 $ac_includes_default
6017 #include <$ac_header>
6019 rm -f conftest.
$ac_objext
6020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6021 (eval $ac_compile) 2>conftest.er1
6023 grep -v '^ *+' conftest.er1
>conftest.err
6025 cat conftest.err
>&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); } &&
6028 { ac_try
='test -z "$ac_c_werror_flag"
6029 || test ! -s conftest.err'
6030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; } &&
6035 { ac_try
='test -s conftest.$ac_objext'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; }; then
6041 eval "$as_ac_Header=yes"
6043 echo "$as_me: failed program was:" >&5
6044 sed 's/^/| /' conftest.
$ac_ext >&5
6046 eval "$as_ac_Header=no"
6048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6053 cat >>confdefs.h
<<_ACEOF
6054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6062 echo "$as_me:$LINENO: checking for off_t" >&5
6063 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6064 if test "${ac_cv_type_off_t+set}" = set; then
6065 echo $ECHO_N "(cached) $ECHO_C" >&6
6067 cat >conftest.
$ac_ext <<_ACEOF
6070 cat confdefs.h
>>conftest.
$ac_ext
6071 cat >>conftest.
$ac_ext <<_ACEOF
6072 /* end confdefs.h. */
6073 $ac_includes_default
6085 rm -f conftest.
$ac_objext
6086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6087 (eval $ac_compile) 2>conftest.er1
6089 grep -v '^ *+' conftest.er1
>conftest.err
6091 cat conftest.err
>&5
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 (exit $ac_status); } &&
6094 { ac_try
='test -z "$ac_c_werror_flag"
6095 || test ! -s conftest.err'
6096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); }; } &&
6101 { ac_try
='test -s conftest.$ac_objext'
6102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); }; }; then
6107 ac_cv_type_off_t
=yes
6109 echo "$as_me: failed program was:" >&5
6110 sed 's/^/| /' conftest.
$ac_ext >&5
6114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6116 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6117 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6118 if test $ac_cv_type_off_t = yes; then
6122 cat >>confdefs.h
<<_ACEOF
6128 echo "$as_me:$LINENO: checking for size_t" >&5
6129 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6130 if test "${ac_cv_type_size_t+set}" = set; then
6131 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 cat >conftest.
$ac_ext <<_ACEOF
6136 cat confdefs.h
>>conftest.
$ac_ext
6137 cat >>conftest.
$ac_ext <<_ACEOF
6138 /* end confdefs.h. */
6139 $ac_includes_default
6145 if (sizeof (size_t))
6151 rm -f conftest.
$ac_objext
6152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6153 (eval $ac_compile) 2>conftest.er1
6155 grep -v '^ *+' conftest.er1
>conftest.err
6157 cat conftest.err
>&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); } &&
6160 { ac_try
='test -z "$ac_c_werror_flag"
6161 || test ! -s conftest.err'
6162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); }; } &&
6167 { ac_try
='test -s conftest.$ac_objext'
6168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); }; }; then
6173 ac_cv_type_size_t
=yes
6175 echo "$as_me: failed program was:" >&5
6176 sed 's/^/| /' conftest.
$ac_ext >&5
6178 ac_cv_type_size_t
=no
6180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6182 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6183 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6184 if test $ac_cv_type_size_t = yes; then
6188 cat >>confdefs.h
<<_ACEOF
6189 #define size_t unsigned
6194 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6195 # for constant arguments. Useless!
6196 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6197 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6198 if test "${ac_cv_working_alloca_h+set}" = set; then
6199 echo $ECHO_N "(cached) $ECHO_C" >&6
6201 cat >conftest.
$ac_ext <<_ACEOF
6204 cat confdefs.h
>>conftest.
$ac_ext
6205 cat >>conftest.
$ac_ext <<_ACEOF
6206 /* end confdefs.h. */
6211 char *p = (char *) alloca (2 * sizeof (int));
6216 rm -f conftest.
$ac_objext conftest
$ac_exeext
6217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6218 (eval $ac_link) 2>conftest.er1
6220 grep -v '^ *+' conftest.er1
>conftest.err
6222 cat conftest.err
>&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } &&
6225 { ac_try
='test -z "$ac_c_werror_flag"
6226 || test ! -s conftest.err'
6227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); }; } &&
6232 { ac_try
='test -s conftest$ac_exeext'
6233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); }; }; then
6238 ac_cv_working_alloca_h
=yes
6240 echo "$as_me: failed program was:" >&5
6241 sed 's/^/| /' conftest.
$ac_ext >&5
6243 ac_cv_working_alloca_h
=no
6245 rm -f conftest.err conftest.
$ac_objext \
6246 conftest
$ac_exeext conftest.
$ac_ext
6248 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6249 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6250 if test $ac_cv_working_alloca_h = yes; then
6252 cat >>confdefs.h
<<\_ACEOF
6253 #define HAVE_ALLOCA_H 1
6258 echo "$as_me:$LINENO: checking for alloca" >&5
6259 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6260 if test "${ac_cv_func_alloca_works+set}" = set; then
6261 echo $ECHO_N "(cached) $ECHO_C" >&6
6263 cat >conftest.
$ac_ext <<_ACEOF
6266 cat confdefs.h
>>conftest.
$ac_ext
6267 cat >>conftest.
$ac_ext <<_ACEOF
6268 /* end confdefs.h. */
6270 # define alloca __builtin_alloca
6273 # include <malloc.h>
6274 # define alloca _alloca
6277 # include <alloca.h>
6282 # ifndef alloca /* predefined by HP cc +Olibcalls */
6293 char *p = (char *) alloca (1);
6298 rm -f conftest.
$ac_objext conftest
$ac_exeext
6299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6300 (eval $ac_link) 2>conftest.er1
6302 grep -v '^ *+' conftest.er1
>conftest.err
6304 cat conftest.err
>&5
6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); } &&
6307 { ac_try
='test -z "$ac_c_werror_flag"
6308 || test ! -s conftest.err'
6309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }; } &&
6314 { ac_try
='test -s conftest$ac_exeext'
6315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); }; }; then
6320 ac_cv_func_alloca_works
=yes
6322 echo "$as_me: failed program was:" >&5
6323 sed 's/^/| /' conftest.
$ac_ext >&5
6325 ac_cv_func_alloca_works
=no
6327 rm -f conftest.err conftest.
$ac_objext \
6328 conftest
$ac_exeext conftest.
$ac_ext
6330 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6331 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6333 if test $ac_cv_func_alloca_works = yes; then
6335 cat >>confdefs.h
<<\_ACEOF
6336 #define HAVE_ALLOCA 1
6340 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6341 # that cause trouble. Some versions do not even contain alloca or
6342 # contain a buggy version. If you still want to use their alloca,
6343 # use ar to extract alloca.o from them instead of compiling alloca.c.
6345 ALLOCA
=alloca.
$ac_objext
6347 cat >>confdefs.h
<<\_ACEOF
6352 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6353 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6354 if test "${ac_cv_os_cray+set}" = set; then
6355 echo $ECHO_N "(cached) $ECHO_C" >&6
6357 cat >conftest.
$ac_ext <<_ACEOF
6360 cat confdefs.h
>>conftest.
$ac_ext
6361 cat >>conftest.
$ac_ext <<_ACEOF
6362 /* end confdefs.h. */
6363 #if defined(CRAY) && ! defined(CRAY2)
6370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6371 $EGREP "webecray" >/dev
/null
2>&1; then
6379 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6380 echo "${ECHO_T}$ac_cv_os_cray" >&6
6381 if test $ac_cv_os_cray = yes; then
6382 for ac_func
in _getb67 GETB67 getb67
; do
6383 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6384 echo "$as_me:$LINENO: checking for $ac_func" >&5
6385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6386 if eval "test \"\${$as_ac_var+set}\" = set"; then
6387 echo $ECHO_N "(cached) $ECHO_C" >&6
6389 cat >conftest.
$ac_ext <<_ACEOF
6392 cat confdefs.h
>>conftest.
$ac_ext
6393 cat >>conftest.
$ac_ext <<_ACEOF
6394 /* end confdefs.h. */
6395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6397 #define $ac_func innocuous_$ac_func
6399 /* System header to define __stub macros and hopefully few prototypes,
6400 which can conflict with char $ac_func (); below.
6401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6402 <limits.h> exists even on freestanding compilers. */
6405 # include <limits.h>
6407 # include <assert.h>
6412 /* Override any gcc2 internal prototype to avoid an error. */
6417 /* We use char because int might match the return type of a gcc2
6418 builtin and then its argument prototype would still apply. */
6420 /* The GNU C library defines this for functions which it implements
6421 to always fail with ENOSYS. Some functions are actually named
6422 something starting with __ and the normal name is an alias. */
6423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6426 char (*f) () = $ac_func;
6435 return f != $ac_func;
6440 rm -f conftest.
$ac_objext conftest
$ac_exeext
6441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6442 (eval $ac_link) 2>conftest.er1
6444 grep -v '^ *+' conftest.er1
>conftest.err
6446 cat conftest.err
>&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); } &&
6449 { ac_try
='test -z "$ac_c_werror_flag"
6450 || test ! -s conftest.err'
6451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); }; } &&
6456 { ac_try
='test -s conftest$ac_exeext'
6457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); }; }; then
6462 eval "$as_ac_var=yes"
6464 echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.
$ac_ext >&5
6467 eval "$as_ac_var=no"
6469 rm -f conftest.err conftest.
$ac_objext \
6470 conftest
$ac_exeext conftest.
$ac_ext
6472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6474 if test `eval echo '${'$as_ac_var'}'` = yes; then
6476 cat >>confdefs.h
<<_ACEOF
6477 #define CRAY_STACKSEG_END $ac_func
6486 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6487 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6488 if test "${ac_cv_c_stack_direction+set}" = set; then
6489 echo $ECHO_N "(cached) $ECHO_C" >&6
6491 if test "$cross_compiling" = yes; then
6492 ac_cv_c_stack_direction
=0
6494 cat >conftest.
$ac_ext <<_ACEOF
6497 cat confdefs.h
>>conftest.
$ac_ext
6498 cat >>conftest.
$ac_ext <<_ACEOF
6499 /* end confdefs.h. */
6501 find_stack_direction ()
6503 static char *addr = 0;
6508 return find_stack_direction ();
6511 return (&dummy > addr) ? 1 : -1;
6517 exit (find_stack_direction () < 0);
6520 rm -f conftest
$ac_exeext
6521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6522 (eval $ac_link) 2>&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); }; }; then
6531 ac_cv_c_stack_direction
=1
6533 echo "$as_me: program exited with status $ac_status" >&5
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.
$ac_ext >&5
6538 ac_cv_c_stack_direction
=-1
6540 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6543 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6544 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6546 cat >>confdefs.h
<<_ACEOF
6547 #define STACK_DIRECTION $ac_cv_c_stack_direction
6555 for ac_header
in stdlib.h unistd.h
6557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6559 echo "$as_me:$LINENO: checking for $ac_header" >&5
6560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
6564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6567 # Is the header compilable?
6568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6570 cat >conftest.
$ac_ext <<_ACEOF
6573 cat confdefs.h
>>conftest.
$ac_ext
6574 cat >>conftest.
$ac_ext <<_ACEOF
6575 /* end confdefs.h. */
6576 $ac_includes_default
6577 #include <$ac_header>
6579 rm -f conftest.
$ac_objext
6580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6581 (eval $ac_compile) 2>conftest.er1
6583 grep -v '^ *+' conftest.er1
>conftest.err
6585 cat conftest.err
>&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } &&
6588 { ac_try
='test -z "$ac_c_werror_flag"
6589 || test ! -s conftest.err'
6590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); }; } &&
6595 { ac_try
='test -s conftest.$ac_objext'
6596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); }; }; then
6601 ac_header_compiler
=yes
6603 echo "$as_me: failed program was:" >&5
6604 sed 's/^/| /' conftest.
$ac_ext >&5
6606 ac_header_compiler
=no
6608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6610 echo "${ECHO_T}$ac_header_compiler" >&6
6612 # Is the header present?
6613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6615 cat >conftest.
$ac_ext <<_ACEOF
6618 cat confdefs.h
>>conftest.
$ac_ext
6619 cat >>conftest.
$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6621 #include <$ac_header>
6623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6626 grep -v '^ *+' conftest.er1
>conftest.err
6628 cat conftest.err
>&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); } >/dev
/null
; then
6631 if test -s conftest.err
; then
6632 ac_cpp_err
=$ac_c_preproc_warn_flag
6633 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6640 if test -z "$ac_cpp_err"; then
6641 ac_header_preproc
=yes
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.
$ac_ext >&5
6646 ac_header_preproc
=no
6648 rm -f conftest.err conftest.
$ac_ext
6649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6650 echo "${ECHO_T}$ac_header_preproc" >&6
6652 # So? What about this header?
6653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6659 ac_header_preproc
=yes
6662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6676 ## ------------------------------------------ ##
6677 ## Report this to the AC_PACKAGE_NAME lists. ##
6678 ## ------------------------------------------ ##
6681 sed "s/^/$as_me: WARNING: /" >&2
6684 echo "$as_me:$LINENO: checking for $ac_header" >&5
6685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6687 echo $ECHO_N "(cached) $ECHO_C" >&6
6689 eval "$as_ac_Header=\$ac_header_preproc"
6691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6696 cat >>confdefs.h
<<_ACEOF
6697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6705 for ac_func
in getpagesize
6707 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6708 echo "$as_me:$LINENO: checking for $ac_func" >&5
6709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6710 if eval "test \"\${$as_ac_var+set}\" = set"; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 cat >conftest.
$ac_ext <<_ACEOF
6716 cat confdefs.h
>>conftest.
$ac_ext
6717 cat >>conftest.
$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6721 #define $ac_func innocuous_$ac_func
6723 /* System header to define __stub macros and hopefully few prototypes,
6724 which can conflict with char $ac_func (); below.
6725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6726 <limits.h> exists even on freestanding compilers. */
6729 # include <limits.h>
6731 # include <assert.h>
6736 /* Override any gcc2 internal prototype to avoid an error. */
6741 /* We use char because int might match the return type of a gcc2
6742 builtin and then its argument prototype would still apply. */
6744 /* The GNU C library defines this for functions which it implements
6745 to always fail with ENOSYS. Some functions are actually named
6746 something starting with __ and the normal name is an alias. */
6747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6750 char (*f) () = $ac_func;
6759 return f != $ac_func;
6764 rm -f conftest.
$ac_objext conftest
$ac_exeext
6765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6766 (eval $ac_link) 2>conftest.er1
6768 grep -v '^ *+' conftest.er1
>conftest.err
6770 cat conftest.err
>&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } &&
6773 { ac_try
='test -z "$ac_c_werror_flag"
6774 || test ! -s conftest.err'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; } &&
6780 { ac_try
='test -s conftest$ac_exeext'
6781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; }; then
6786 eval "$as_ac_var=yes"
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.
$ac_ext >&5
6791 eval "$as_ac_var=no"
6793 rm -f conftest.err conftest.
$ac_objext \
6794 conftest
$ac_exeext conftest.
$ac_ext
6796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6798 if test `eval echo '${'$as_ac_var'}'` = yes; then
6799 cat >>confdefs.h
<<_ACEOF
6800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6806 echo "$as_me:$LINENO: checking for working mmap" >&5
6807 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6808 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6811 if test "$cross_compiling" = yes; then
6812 ac_cv_func_mmap_fixed_mapped
=no
6814 cat >conftest.
$ac_ext <<_ACEOF
6817 cat confdefs.h
>>conftest.
$ac_ext
6818 cat >>conftest.
$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820 $ac_includes_default
6821 /* malloc might have been renamed as rpl_malloc. */
6824 /* Thanks to Mike Haertel and Jim Avera for this test.
6825 Here is a matrix of mmap possibilities:
6826 mmap private not fixed
6827 mmap private fixed at somewhere currently unmapped
6828 mmap private fixed at somewhere already mapped
6829 mmap shared not fixed
6830 mmap shared fixed at somewhere currently unmapped
6831 mmap shared fixed at somewhere already mapped
6832 For private mappings, we should verify that changes cannot be read()
6833 back from the file, nor mmap's back from the file at a different
6834 address. (There have been systems where private was not correctly
6835 implemented like the infamous i386 svr4.0, and systems where the
6836 VM page cache was not coherent with the file system buffer cache
6837 like early versions of FreeBSD and possibly contemporary NetBSD.)
6838 For shared mappings, we should conversely verify that changes get
6839 propagated back to all the places they're supposed to be.
6841 Grep wants private fixed already mapped.
6842 The main things grep needs to know about mmap are:
6843 * does it exist and is it safe to write into the mmap'd area
6844 * how to use it (BSD variants) */
6847 #include <sys/mman.h>
6849 #if !STDC_HEADERS && !HAVE_STDLIB_H
6853 /* This mess was copied from the GNU getpagesize.h. */
6854 #if !HAVE_GETPAGESIZE
6855 /* Assume that all systems that can run configure have sys/param.h. */
6856 # if !HAVE_SYS_PARAM_H
6857 # define HAVE_SYS_PARAM_H 1
6860 # ifdef _SC_PAGESIZE
6861 # define getpagesize() sysconf(_SC_PAGESIZE)
6862 # else /* no _SC_PAGESIZE */
6863 # if HAVE_SYS_PARAM_H
6864 # include <sys/param.h>
6865 # ifdef EXEC_PAGESIZE
6866 # define getpagesize() EXEC_PAGESIZE
6867 # else /* no EXEC_PAGESIZE */
6869 # define getpagesize() NBPG * CLSIZE
6872 # endif /* no CLSIZE */
6873 # else /* no NBPG */
6875 # define getpagesize() NBPC
6876 # else /* no NBPC */
6878 # define getpagesize() PAGESIZE
6879 # endif /* PAGESIZE */
6880 # endif /* no NBPC */
6881 # endif /* no NBPG */
6882 # endif /* no EXEC_PAGESIZE */
6883 # else /* no HAVE_SYS_PARAM_H */
6884 # define getpagesize() 8192 /* punt totally */
6885 # endif /* no HAVE_SYS_PARAM_H */
6886 # endif /* no _SC_PAGESIZE */
6888 #endif /* no HAVE_GETPAGESIZE */
6893 char *data, *data2, *data3;
6897 pagesize = getpagesize ();
6899 /* First, make a file with some known garbage in it. */
6900 data = (char *) malloc (pagesize);
6903 for (i = 0; i < pagesize; ++i)
6904 *(data + i) = rand ();
6906 fd = creat ("conftest.mmap", 0600);
6909 if (write (fd, data, pagesize) != pagesize)
6913 /* Next, try to mmap the file at a fixed address which already has
6914 something else allocated at it. If we can, also make sure that
6915 we see the same garbage. */
6916 fd = open ("conftest.mmap", O_RDWR);
6919 data2 = (char *) malloc (2 * pagesize);
6922 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6923 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6924 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6926 for (i = 0; i < pagesize; ++i)
6927 if (*(data + i) != *(data2 + i))
6930 /* Finally, make sure that changes to the mapped area do not
6931 percolate back to the file as seen by read(). (This is a bug on
6932 some variants of i386 svr4.0.) */
6933 for (i = 0; i < pagesize; ++i)
6934 *(data2 + i) = *(data2 + i) + 1;
6935 data3 = (char *) malloc (pagesize);
6938 if (read (fd, data3, pagesize) != pagesize)
6940 for (i = 0; i < pagesize; ++i)
6941 if (*(data + i) != *(data3 + i))
6947 rm -f conftest
$ac_exeext
6948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6949 (eval $ac_link) 2>&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); }; }; then
6958 ac_cv_func_mmap_fixed_mapped
=yes
6960 echo "$as_me: program exited with status $ac_status" >&5
6961 echo "$as_me: failed program was:" >&5
6962 sed 's/^/| /' conftest.
$ac_ext >&5
6965 ac_cv_func_mmap_fixed_mapped
=no
6967 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6970 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6971 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6972 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6974 cat >>confdefs.h
<<\_ACEOF
6991 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6992 unistd.h values.h sys
/param.h
6994 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6996 echo "$as_me:$LINENO: checking for $ac_header" >&5
6997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6999 echo $ECHO_N "(cached) $ECHO_C" >&6
7001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7004 # Is the header compilable?
7005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7007 cat >conftest.
$ac_ext <<_ACEOF
7010 cat confdefs.h
>>conftest.
$ac_ext
7011 cat >>conftest.
$ac_ext <<_ACEOF
7012 /* end confdefs.h. */
7013 $ac_includes_default
7014 #include <$ac_header>
7016 rm -f conftest.
$ac_objext
7017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7018 (eval $ac_compile) 2>conftest.er1
7020 grep -v '^ *+' conftest.er1
>conftest.err
7022 cat conftest.err
>&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); } &&
7025 { ac_try
='test -z "$ac_c_werror_flag"
7026 || test ! -s conftest.err'
7027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); }; } &&
7032 { ac_try
='test -s conftest.$ac_objext'
7033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); }; }; then
7038 ac_header_compiler
=yes
7040 echo "$as_me: failed program was:" >&5
7041 sed 's/^/| /' conftest.
$ac_ext >&5
7043 ac_header_compiler
=no
7045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7047 echo "${ECHO_T}$ac_header_compiler" >&6
7049 # Is the header present?
7050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7052 cat >conftest.
$ac_ext <<_ACEOF
7055 cat confdefs.h
>>conftest.
$ac_ext
7056 cat >>conftest.
$ac_ext <<_ACEOF
7057 /* end confdefs.h. */
7058 #include <$ac_header>
7060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7061 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
7068 if test -s conftest.err
; then
7069 ac_cpp_err
=$ac_c_preproc_warn_flag
7070 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7077 if test -z "$ac_cpp_err"; then
7078 ac_header_preproc
=yes
7080 echo "$as_me: failed program was:" >&5
7081 sed 's/^/| /' conftest.
$ac_ext >&5
7083 ac_header_preproc
=no
7085 rm -f conftest.err conftest.
$ac_ext
7086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7087 echo "${ECHO_T}$ac_header_preproc" >&6
7089 # So? What about this header?
7090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7096 ac_header_preproc
=yes
7099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7106 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7113 ## ------------------------------------------ ##
7114 ## Report this to the AC_PACKAGE_NAME lists. ##
7115 ## ------------------------------------------ ##
7118 sed "s/^/$as_me: WARNING: /" >&2
7121 echo "$as_me:$LINENO: checking for $ac_header" >&5
7122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7124 echo $ECHO_N "(cached) $ECHO_C" >&6
7126 eval "$as_ac_Header=\$ac_header_preproc"
7128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7133 cat >>confdefs.h
<<_ACEOF
7134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7151 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
7152 __argz_count __argz_stringify __argz_next
7154 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7155 echo "$as_me:$LINENO: checking for $ac_func" >&5
7156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7157 if eval "test \"\${$as_ac_var+set}\" = set"; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 cat >conftest.
$ac_ext <<_ACEOF
7163 cat confdefs.h
>>conftest.
$ac_ext
7164 cat >>conftest.
$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7168 #define $ac_func innocuous_$ac_func
7170 /* System header to define __stub macros and hopefully few prototypes,
7171 which can conflict with char $ac_func (); below.
7172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7173 <limits.h> exists even on freestanding compilers. */
7176 # include <limits.h>
7178 # include <assert.h>
7183 /* Override any gcc2 internal prototype to avoid an error. */
7188 /* We use char because int might match the return type of a gcc2
7189 builtin and then its argument prototype would still apply. */
7191 /* The GNU C library defines this for functions which it implements
7192 to always fail with ENOSYS. Some functions are actually named
7193 something starting with __ and the normal name is an alias. */
7194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7197 char (*f) () = $ac_func;
7206 return f != $ac_func;
7211 rm -f conftest.
$ac_objext conftest
$ac_exeext
7212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7213 (eval $ac_link) 2>conftest.er1
7215 grep -v '^ *+' conftest.er1
>conftest.err
7217 cat conftest.err
>&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); } &&
7220 { ac_try
='test -z "$ac_c_werror_flag"
7221 || test ! -s conftest.err'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); }; } &&
7227 { ac_try
='test -s conftest$ac_exeext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7233 eval "$as_ac_var=yes"
7235 echo "$as_me: failed program was:" >&5
7236 sed 's/^/| /' conftest.
$ac_ext >&5
7238 eval "$as_ac_var=no"
7240 rm -f conftest.err conftest.
$ac_objext \
7241 conftest
$ac_exeext conftest.
$ac_ext
7243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7245 if test `eval echo '${'$as_ac_var'}'` = yes; then
7246 cat >>confdefs.h
<<_ACEOF
7247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7254 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7256 for ac_func
in stpcpy
7258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7259 echo "$as_me:$LINENO: checking for $ac_func" >&5
7260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7261 if eval "test \"\${$as_ac_var+set}\" = set"; then
7262 echo $ECHO_N "(cached) $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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7272 #define $ac_func innocuous_$ac_func
7274 /* System header to define __stub macros and hopefully few prototypes,
7275 which can conflict with char $ac_func (); below.
7276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7277 <limits.h> exists even on freestanding compilers. */
7280 # include <limits.h>
7282 # include <assert.h>
7287 /* Override any gcc2 internal prototype to avoid an error. */
7292 /* We use char because int might match the return type of a gcc2
7293 builtin and then its argument prototype would still apply. */
7295 /* The GNU C library defines this for functions which it implements
7296 to always fail with ENOSYS. Some functions are actually named
7297 something starting with __ and the normal name is an alias. */
7298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7301 char (*f) () = $ac_func;
7310 return f != $ac_func;
7315 rm -f conftest.
$ac_objext conftest
$ac_exeext
7316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7317 (eval $ac_link) 2>conftest.er1
7319 grep -v '^ *+' conftest.er1
>conftest.err
7321 cat conftest.err
>&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); } &&
7324 { ac_try
='test -z "$ac_c_werror_flag"
7325 || test ! -s conftest.err'
7326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; } &&
7331 { ac_try
='test -s conftest$ac_exeext'
7332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336 (exit $ac_status); }; }; then
7337 eval "$as_ac_var=yes"
7339 echo "$as_me: failed program was:" >&5
7340 sed 's/^/| /' conftest.
$ac_ext >&5
7342 eval "$as_ac_var=no"
7344 rm -f conftest.err conftest.
$ac_objext \
7345 conftest
$ac_exeext conftest.
$ac_ext
7347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7349 if test `eval echo '${'$as_ac_var'}'` = yes; then
7350 cat >>confdefs.h
<<_ACEOF
7351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7358 if test "${ac_cv_func_stpcpy}" = "yes"; then
7360 cat >>confdefs.h
<<\_ACEOF
7361 #define HAVE_STPCPY 1
7366 if test $ac_cv_header_locale_h = yes; then
7367 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7368 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7369 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7370 echo $ECHO_N "(cached) $ECHO_C" >&6
7372 cat >conftest.
$ac_ext <<_ACEOF
7375 cat confdefs.h
>>conftest.
$ac_ext
7376 cat >>conftest.
$ac_ext <<_ACEOF
7377 /* end confdefs.h. */
7387 rm -f conftest.
$ac_objext conftest
$ac_exeext
7388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7389 (eval $ac_link) 2>conftest.er1
7391 grep -v '^ *+' conftest.er1
>conftest.err
7393 cat conftest.err
>&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } &&
7396 { ac_try
='test -z "$ac_c_werror_flag"
7397 || test ! -s conftest.err'
7398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); }; } &&
7403 { ac_try
='test -s conftest$ac_exeext'
7404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); }; }; then
7409 am_cv_val_LC_MESSAGES
=yes
7411 echo "$as_me: failed program was:" >&5
7412 sed 's/^/| /' conftest.
$ac_ext >&5
7414 am_cv_val_LC_MESSAGES
=no
7416 rm -f conftest.err conftest.
$ac_objext \
7417 conftest
$ac_exeext conftest.
$ac_ext
7419 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7420 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7421 if test $am_cv_val_LC_MESSAGES = yes; then
7423 cat >>confdefs.h
<<\_ACEOF
7424 #define HAVE_LC_MESSAGES 1
7429 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7430 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7431 # Check whether --enable-nls or --disable-nls was given.
7432 if test "${enable_nls+set}" = set; then
7433 enableval
="$enable_nls"
7438 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7439 echo "${ECHO_T}$USE_NLS" >&6
7442 USE_INCLUDED_LIBINTL
=no
7444 if test "$USE_NLS" = "yes"; then
7445 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7446 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7448 # Check whether --with-included-gettext or --without-included-gettext was given.
7449 if test "${with_included_gettext+set}" = set; then
7450 withval
="$with_included_gettext"
7451 nls_cv_force_use_gnu_gettext
=$withval
7453 nls_cv_force_use_gnu_gettext
=no
7455 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7456 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7458 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7459 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7461 nls_cv_header_libgt
=
7464 if test "${ac_cv_header_libintl_h+set}" = set; then
7465 echo "$as_me:$LINENO: checking for libintl.h" >&5
7466 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7467 if test "${ac_cv_header_libintl_h+set}" = set; then
7468 echo $ECHO_N "(cached) $ECHO_C" >&6
7470 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7471 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7473 # Is the header compilable?
7474 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7475 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7476 cat >conftest.
$ac_ext <<_ACEOF
7479 cat confdefs.h
>>conftest.
$ac_ext
7480 cat >>conftest.
$ac_ext <<_ACEOF
7481 /* end confdefs.h. */
7482 $ac_includes_default
7483 #include <libintl.h>
7485 rm -f conftest.
$ac_objext
7486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7487 (eval $ac_compile) 2>conftest.er1
7489 grep -v '^ *+' conftest.er1
>conftest.err
7491 cat conftest.err
>&5
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); } &&
7494 { ac_try
='test -z "$ac_c_werror_flag"
7495 || test ! -s conftest.err'
7496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); }; } &&
7501 { ac_try
='test -s conftest.$ac_objext'
7502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); }; }; then
7507 ac_header_compiler
=yes
7509 echo "$as_me: failed program was:" >&5
7510 sed 's/^/| /' conftest.
$ac_ext >&5
7512 ac_header_compiler
=no
7514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7516 echo "${ECHO_T}$ac_header_compiler" >&6
7518 # Is the header present?
7519 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7520 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7521 cat >conftest.
$ac_ext <<_ACEOF
7524 cat confdefs.h
>>conftest.
$ac_ext
7525 cat >>conftest.
$ac_ext <<_ACEOF
7526 /* end confdefs.h. */
7527 #include <libintl.h>
7529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7530 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7532 grep -v '^ *+' conftest.er1
>conftest.err
7534 cat conftest.err
>&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); } >/dev
/null
; then
7537 if test -s conftest.err
; then
7538 ac_cpp_err
=$ac_c_preproc_warn_flag
7539 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7546 if test -z "$ac_cpp_err"; then
7547 ac_header_preproc
=yes
7549 echo "$as_me: failed program was:" >&5
7550 sed 's/^/| /' conftest.
$ac_ext >&5
7552 ac_header_preproc
=no
7554 rm -f conftest.err conftest.
$ac_ext
7555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7556 echo "${ECHO_T}$ac_header_preproc" >&6
7558 # So? What about this header?
7559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7561 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7562 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7563 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7564 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7565 ac_header_preproc
=yes
7568 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7569 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7570 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7571 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7572 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7573 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7574 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7575 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7576 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7577 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7578 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7579 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7582 ## ------------------------------------------ ##
7583 ## Report this to the AC_PACKAGE_NAME lists. ##
7584 ## ------------------------------------------ ##
7587 sed "s/^/$as_me: WARNING: /" >&2
7590 echo "$as_me:$LINENO: checking for libintl.h" >&5
7591 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7592 if test "${ac_cv_header_libintl_h+set}" = set; then
7593 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 ac_cv_header_libintl_h
=$ac_header_preproc
7597 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7598 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7601 if test $ac_cv_header_libintl_h = yes; then
7602 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7603 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7604 if test "${gt_cv_func_gettext_libc+set}" = set; then
7605 echo $ECHO_N "(cached) $ECHO_C" >&6
7607 cat >conftest.
$ac_ext <<_ACEOF
7610 cat confdefs.h
>>conftest.
$ac_ext
7611 cat >>conftest.
$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7613 #include <libintl.h>
7617 return (int) gettext ("")
7622 rm -f conftest.
$ac_objext conftest
$ac_exeext
7623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7624 (eval $ac_link) 2>conftest.er1
7626 grep -v '^ *+' conftest.er1
>conftest.err
7628 cat conftest.err
>&5
7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); } &&
7631 { ac_try
='test -z "$ac_c_werror_flag"
7632 || test ! -s conftest.err'
7633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); }; } &&
7638 { ac_try
='test -s conftest$ac_exeext'
7639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); }; }; then
7644 gt_cv_func_gettext_libc
=yes
7646 echo "$as_me: failed program was:" >&5
7647 sed 's/^/| /' conftest.
$ac_ext >&5
7649 gt_cv_func_gettext_libc
=no
7651 rm -f conftest.err conftest.
$ac_objext \
7652 conftest
$ac_exeext conftest.
$ac_ext
7654 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7655 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7657 if test "$gt_cv_func_gettext_libc" != "yes"; then
7658 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7659 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7660 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7663 ac_check_lib_save_LIBS
=$LIBS
7665 cat >conftest.
$ac_ext <<_ACEOF
7668 cat confdefs.h
>>conftest.
$ac_ext
7669 cat >>conftest.
$ac_ext <<_ACEOF
7670 /* end confdefs.h. */
7672 /* Override any gcc2 internal prototype to avoid an error. */
7676 /* We use char because int might match the return type of a gcc2
7677 builtin and then its argument prototype would still apply. */
7678 char bindtextdomain ();
7687 rm -f conftest.
$ac_objext conftest
$ac_exeext
7688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7689 (eval $ac_link) 2>conftest.er1
7691 grep -v '^ *+' conftest.er1
>conftest.err
7693 cat conftest.err
>&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); } &&
7696 { ac_try
='test -z "$ac_c_werror_flag"
7697 || test ! -s conftest.err'
7698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7702 (exit $ac_status); }; } &&
7703 { ac_try
='test -s conftest$ac_exeext'
7704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); }; }; then
7709 ac_cv_lib_intl_bindtextdomain
=yes
7711 echo "$as_me: failed program was:" >&5
7712 sed 's/^/| /' conftest.
$ac_ext >&5
7714 ac_cv_lib_intl_bindtextdomain
=no
7716 rm -f conftest.err conftest.
$ac_objext \
7717 conftest
$ac_exeext conftest.
$ac_ext
7718 LIBS
=$ac_check_lib_save_LIBS
7720 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7721 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7722 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7723 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7724 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7725 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7726 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 cat >conftest.
$ac_ext <<_ACEOF
7731 cat confdefs.h
>>conftest.
$ac_ext
7732 cat >>conftest.
$ac_ext <<_ACEOF
7733 /* end confdefs.h. */
7738 return (int) gettext ("")
7743 rm -f conftest.
$ac_objext conftest
$ac_exeext
7744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7745 (eval $ac_link) 2>conftest.er1
7747 grep -v '^ *+' conftest.er1
>conftest.err
7749 cat conftest.err
>&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); } &&
7752 { ac_try
='test -z "$ac_c_werror_flag"
7753 || test ! -s conftest.err'
7754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); }; } &&
7759 { ac_try
='test -s conftest$ac_exeext'
7760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); }; }; then
7765 gt_cv_func_gettext_libintl
=yes
7767 echo "$as_me: failed program was:" >&5
7768 sed 's/^/| /' conftest.
$ac_ext >&5
7770 gt_cv_func_gettext_libintl
=no
7772 rm -f conftest.err conftest.
$ac_objext \
7773 conftest
$ac_exeext conftest.
$ac_ext
7775 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7776 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7781 if test "$gt_cv_func_gettext_libc" = "yes" \
7782 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7784 cat >>confdefs.h
<<\_ACEOF
7785 #define HAVE_GETTEXT 1
7788 # Extract the first word of "msgfmt", so it can be a program name with args.
7789 set dummy msgfmt
; ac_word
=$2
7790 echo "$as_me:$LINENO: checking for $ac_word" >&5
7791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7792 if test "${ac_cv_path_MSGFMT+set}" = set; then
7793 echo $ECHO_N "(cached) $ECHO_C" >&6
7797 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7800 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7801 for ac_dir
in $PATH; do
7802 test -z "$ac_dir" && ac_dir
=.
7803 if test -f $ac_dir/$ac_word; then
7804 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7805 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7811 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7815 MSGFMT
="$ac_cv_path_MSGFMT"
7816 if test -n "$MSGFMT"; then
7817 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7818 echo "${ECHO_T}$MSGFMT" >&6
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7823 if test "$MSGFMT" != "no"; then
7825 for ac_func
in dcgettext
7827 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7828 echo "$as_me:$LINENO: checking for $ac_func" >&5
7829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7830 if eval "test \"\${$as_ac_var+set}\" = set"; then
7831 echo $ECHO_N "(cached) $ECHO_C" >&6
7833 cat >conftest.
$ac_ext <<_ACEOF
7836 cat confdefs.h
>>conftest.
$ac_ext
7837 cat >>conftest.
$ac_ext <<_ACEOF
7838 /* end confdefs.h. */
7839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7841 #define $ac_func innocuous_$ac_func
7843 /* System header to define __stub macros and hopefully few prototypes,
7844 which can conflict with char $ac_func (); below.
7845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7846 <limits.h> exists even on freestanding compilers. */
7849 # include <limits.h>
7851 # include <assert.h>
7856 /* Override any gcc2 internal prototype to avoid an error. */
7861 /* We use char because int might match the return type of a gcc2
7862 builtin and then its argument prototype would still apply. */
7864 /* The GNU C library defines this for functions which it implements
7865 to always fail with ENOSYS. Some functions are actually named
7866 something starting with __ and the normal name is an alias. */
7867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7870 char (*f) () = $ac_func;
7879 return f != $ac_func;
7884 rm -f conftest.
$ac_objext conftest
$ac_exeext
7885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7886 (eval $ac_link) 2>conftest.er1
7888 grep -v '^ *+' conftest.er1
>conftest.err
7890 cat conftest.err
>&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); } &&
7893 { ac_try
='test -z "$ac_c_werror_flag"
7894 || test ! -s conftest.err'
7895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899 (exit $ac_status); }; } &&
7900 { ac_try
='test -s conftest$ac_exeext'
7901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); }; }; then
7906 eval "$as_ac_var=yes"
7908 echo "$as_me: failed program was:" >&5
7909 sed 's/^/| /' conftest.
$ac_ext >&5
7911 eval "$as_ac_var=no"
7913 rm -f conftest.err conftest.
$ac_objext \
7914 conftest
$ac_exeext conftest.
$ac_ext
7916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7918 if test `eval echo '${'$as_ac_var'}'` = yes; then
7919 cat >>confdefs.h
<<_ACEOF
7920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7926 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7927 set dummy gmsgfmt
; ac_word
=$2
7928 echo "$as_me:$LINENO: checking for $ac_word" >&5
7929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7930 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7942 test -z "$as_dir" && as_dir
=.
7943 for ac_exec_ext
in '' $ac_executable_extensions; do
7944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7945 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7956 GMSGFMT
=$ac_cv_path_GMSGFMT
7958 if test -n "$GMSGFMT"; then
7959 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7960 echo "${ECHO_T}$GMSGFMT" >&6
7962 echo "$as_me:$LINENO: result: no" >&5
7963 echo "${ECHO_T}no" >&6
7966 # Extract the first word of "xgettext", so it can be a program name with args.
7967 set dummy xgettext
; ac_word
=$2
7968 echo "$as_me:$LINENO: checking for $ac_word" >&5
7969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7970 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7975 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7978 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7979 for ac_dir
in $PATH; do
7980 test -z "$ac_dir" && ac_dir
=.
7981 if test -f $ac_dir/$ac_word; then
7982 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7983 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7989 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7993 XGETTEXT
="$ac_cv_path_XGETTEXT"
7994 if test -n "$XGETTEXT"; then
7995 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7996 echo "${ECHO_T}$XGETTEXT" >&6
7998 echo "$as_me:$LINENO: result: no" >&5
7999 echo "${ECHO_T}no" >&6
8002 cat >conftest.
$ac_ext <<_ACEOF
8005 cat confdefs.h
>>conftest.
$ac_ext
8006 cat >>conftest.
$ac_ext <<_ACEOF
8007 /* end confdefs.h. */
8012 extern int _nl_msg_cat_cntr;
8013 return _nl_msg_cat_cntr
8018 rm -f conftest.
$ac_objext conftest
$ac_exeext
8019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8020 (eval $ac_link) 2>conftest.er1
8022 grep -v '^ *+' conftest.er1
>conftest.err
8024 cat conftest.err
>&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); } &&
8027 { ac_try
='test -z "$ac_c_werror_flag"
8028 || test ! -s conftest.err'
8029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); }; } &&
8034 { ac_try
='test -s conftest$ac_exeext'
8035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); }; }; then
8043 echo "$as_me: failed program was:" >&5
8044 sed 's/^/| /' conftest.
$ac_ext >&5
8049 rm -f conftest.err conftest.
$ac_objext \
8050 conftest
$ac_exeext conftest.
$ac_ext
8060 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
8061 # Neither gettext nor catgets in included in the C library.
8062 # Fall back on GNU gettext library (assuming it is present).
8063 nls_cv_use_gnu_gettext
=yes
8067 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8068 INTLOBJS
="\$(GETTOBJS)"
8069 # Extract the first word of "msgfmt", so it can be a program name with args.
8070 set dummy msgfmt
; ac_word
=$2
8071 echo "$as_me:$LINENO: checking for $ac_word" >&5
8072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8073 if test "${ac_cv_path_MSGFMT+set}" = set; then
8074 echo $ECHO_N "(cached) $ECHO_C" >&6
8078 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8081 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8082 for ac_dir
in $PATH; do
8083 test -z "$ac_dir" && ac_dir
=.
8084 if test -f $ac_dir/$ac_word; then
8085 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8086 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8092 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
8096 MSGFMT
="$ac_cv_path_MSGFMT"
8097 if test -n "$MSGFMT"; then
8098 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8099 echo "${ECHO_T}$MSGFMT" >&6
8101 echo "$as_me:$LINENO: result: no" >&5
8102 echo "${ECHO_T}no" >&6
8105 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8106 set dummy gmsgfmt
; ac_word
=$2
8107 echo "$as_me:$LINENO: checking for $ac_word" >&5
8108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8109 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8110 echo $ECHO_N "(cached) $ECHO_C" >&6
8114 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8121 test -z "$as_dir" && as_dir
=.
8122 for ac_exec_ext
in '' $ac_executable_extensions; do
8123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8131 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8135 GMSGFMT
=$ac_cv_path_GMSGFMT
8137 if test -n "$GMSGFMT"; then
8138 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8139 echo "${ECHO_T}$GMSGFMT" >&6
8141 echo "$as_me:$LINENO: result: no" >&5
8142 echo "${ECHO_T}no" >&6
8145 # Extract the first word of "xgettext", so it can be a program name with args.
8146 set dummy xgettext
; ac_word
=$2
8147 echo "$as_me:$LINENO: checking for $ac_word" >&5
8148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8149 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8154 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8157 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8158 for ac_dir
in $PATH; do
8159 test -z "$ac_dir" && ac_dir
=.
8160 if test -f $ac_dir/$ac_word; then
8161 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8162 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8168 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8172 XGETTEXT
="$ac_cv_path_XGETTEXT"
8173 if test -n "$XGETTEXT"; then
8174 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8175 echo "${ECHO_T}$XGETTEXT" >&6
8177 echo "$as_me:$LINENO: result: no" >&5
8178 echo "${ECHO_T}no" >&6
8182 USE_INCLUDED_LIBINTL
=yes
8186 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
8188 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8189 nls_cv_header_intl
=libintl.h
8190 nls_cv_header_libgt
=libgettext.h
8193 if test "$XGETTEXT" != ":"; then
8194 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
8197 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8198 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8203 # We need to process the po/ directory.
8207 nls_cv_header_intl
=libintl.h
8208 nls_cv_header_libgt
=libgettext.h
8211 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8212 # because some of the sources are only built for this goal.
8213 if test "$PACKAGE" = gettext; then
8215 USE_INCLUDED_LIBINTL
=yes
8218 for lang
in $ALL_LINGUAS; do
8219 GMOFILES
="$GMOFILES $lang.gmo"
8220 POFILES
="$POFILES $lang.po"
8234 if test "x$CATOBJEXT" != "x"; then
8236 cat >>confdefs.h
<<\_ACEOF
8237 #define ENABLE_NLS 1
8243 if test "x$CATOBJEXT" != "x"; then
8244 if test "x$ALL_LINGUAS" = "x"; then
8247 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8248 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8250 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8251 case "$ALL_LINGUAS" in
8252 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8255 LINGUAS
=$NEW_LINGUAS
8256 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8257 echo "${ECHO_T}$LINGUAS" >&6
8260 if test -n "$LINGUAS"; then
8261 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8265 if test $ac_cv_header_locale_h = yes; then
8266 INCLUDE_LOCALE_H
="#include <locale.h>"
8269 /* The system does not provide the header <locale.h>. Take care yourself. */"
8273 if test -f $srcdir/po2tbl.
sed.
in; then
8274 if test "$CATOBJEXT" = ".cat"; then
8275 if test "${ac_cv_header_linux_version_h+set}" = set; then
8276 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8277 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8278 if test "${ac_cv_header_linux_version_h+set}" = set; then
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8282 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8284 # Is the header compilable?
8285 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8286 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8287 cat >conftest.
$ac_ext <<_ACEOF
8290 cat confdefs.h
>>conftest.
$ac_ext
8291 cat >>conftest.
$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8293 $ac_includes_default
8294 #include <linux/version.h>
8296 rm -f conftest.
$ac_objext
8297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8298 (eval $ac_compile) 2>conftest.er1
8300 grep -v '^ *+' conftest.er1
>conftest.err
8302 cat conftest.err
>&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); } &&
8305 { ac_try
='test -z "$ac_c_werror_flag"
8306 || test ! -s conftest.err'
8307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 (exit $ac_status); }; } &&
8312 { ac_try
='test -s conftest.$ac_objext'
8313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); }; }; then
8318 ac_header_compiler
=yes
8320 echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.
$ac_ext >&5
8323 ac_header_compiler
=no
8325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8327 echo "${ECHO_T}$ac_header_compiler" >&6
8329 # Is the header present?
8330 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8331 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8332 cat >conftest.
$ac_ext <<_ACEOF
8335 cat confdefs.h
>>conftest.
$ac_ext
8336 cat >>conftest.
$ac_ext <<_ACEOF
8337 /* end confdefs.h. */
8338 #include <linux/version.h>
8340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8341 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8343 grep -v '^ *+' conftest.er1
>conftest.err
8345 cat conftest.err
>&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); } >/dev
/null
; then
8348 if test -s conftest.err
; then
8349 ac_cpp_err
=$ac_c_preproc_warn_flag
8350 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8357 if test -z "$ac_cpp_err"; then
8358 ac_header_preproc
=yes
8360 echo "$as_me: failed program was:" >&5
8361 sed 's/^/| /' conftest.
$ac_ext >&5
8363 ac_header_preproc
=no
8365 rm -f conftest.err conftest.
$ac_ext
8366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8367 echo "${ECHO_T}$ac_header_preproc" >&6
8369 # So? What about this header?
8370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8372 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8373 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8374 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8375 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8376 ac_header_preproc
=yes
8379 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8380 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8381 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8382 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8383 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8384 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8385 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8386 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8387 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8388 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8389 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8390 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8393 ## ------------------------------------------ ##
8394 ## Report this to the AC_PACKAGE_NAME lists. ##
8395 ## ------------------------------------------ ##
8398 sed "s/^/$as_me: WARNING: /" >&2
8401 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8402 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8403 if test "${ac_cv_header_linux_version_h+set}" = set; then
8404 echo $ECHO_N "(cached) $ECHO_C" >&6
8406 ac_cv_header_linux_version_h
=$ac_header_preproc
8408 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8409 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8412 if test $ac_cv_header_linux_version_h = yes; then
8420 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8422 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8423 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8426 if test "$PACKAGE" = "gettext"; then
8436 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8442 if test -f $srcdir/po
/POTFILES.
in; then
8443 test -d po || mkdir po
8444 if test "x$srcdir" != "x."; then
8445 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8446 posrcprefix
="$srcdir/"
8448 posrcprefix
="../$srcdir/"
8454 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8455 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8459 # Permit host specific settings.
8460 .
${srcdir}/configure.
host
8463 # Find a good install program. We prefer a C program (faster),
8464 # so one script is as good as another. But avoid the broken or
8465 # incompatible versions:
8466 # SysV /etc/install, /usr/sbin/install
8467 # SunOS /usr/etc/install
8468 # IRIX /sbin/install
8470 # AmigaOS /C/install, which installs bootblocks on floppy discs
8471 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8472 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8473 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8474 # OS/2's system install, which has a completely different semantic
8475 # ./install, which can be erroneously created by make from ./install.sh.
8476 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8477 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8478 if test -z "$INSTALL"; then
8479 if test "${ac_cv_path_install+set}" = set; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8486 test -z "$as_dir" && as_dir
=.
8487 # Account for people who put trailing slashes in PATH elements.
8489 .
/ | .
// |
/cC
/* | \
8490 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8491 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8494 # OSF1 and SCO ODT 3.0 have their own names for install.
8495 # Don't use installbsd from OSF since it installs stuff as root
8497 for ac_prog
in ginstall scoinst
install; do
8498 for ac_exec_ext
in '' $ac_executable_extensions; do
8499 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8500 if test $ac_prog = install &&
8501 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8502 # AIX install. It has an incompatible calling convention.
8504 elif test $ac_prog = install &&
8505 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8506 # program-specific install script used by HP pwplus--don't use.
8509 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8521 if test "${ac_cv_path_install+set}" = set; then
8522 INSTALL
=$ac_cv_path_install
8524 # As a last resort, use the slow shell script. We don't cache a
8525 # path for INSTALL within a source directory, because that will
8526 # break other packages using the cache if that directory is
8527 # removed, or if the path is relative.
8528 INSTALL
=$ac_install_sh
8531 echo "$as_me:$LINENO: result: $INSTALL" >&5
8532 echo "${ECHO_T}$INSTALL" >&6
8534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8535 # It thinks the first close brace ends the variable substitution.
8536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8540 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8543 BFD_HOST_64BIT_LONG
=0
8544 BFD_HOST_LONG_LONG
=0
8545 BFD_HOST_64_BIT_DEFINED
=0
8549 echo "$as_me:$LINENO: checking for long long" >&5
8550 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8551 if test "${bfd_cv_has_long_long+set}" = set; then
8552 echo $ECHO_N "(cached) $ECHO_C" >&6
8554 cat >conftest.
$ac_ext <<_ACEOF
8557 cat confdefs.h
>>conftest.
$ac_ext
8558 cat >>conftest.
$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8564 unsigned long long ll = 18446744073709551615ULL;
8569 rm -f conftest.
$ac_objext
8570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8571 (eval $ac_compile) 2>conftest.er1
8573 grep -v '^ *+' conftest.er1
>conftest.err
8575 cat conftest.err
>&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); } &&
8578 { ac_try
='test -z "$ac_c_werror_flag"
8579 || test ! -s conftest.err'
8580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); }; } &&
8585 { ac_try
='test -s conftest.$ac_objext'
8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); }; }; then
8591 bfd_cv_has_long_long
=yes
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.
$ac_ext >&5
8596 bfd_cv_has_long_long
=no
8598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8601 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
8602 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
8603 if test $bfd_cv_has_long_long = yes; then
8604 BFD_HOST_LONG_LONG
=1
8605 echo "$as_me:$LINENO: checking for long long" >&5
8606 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8607 if test "${ac_cv_type_long_long+set}" = set; then
8608 echo $ECHO_N "(cached) $ECHO_C" >&6
8610 cat >conftest.
$ac_ext <<_ACEOF
8613 cat confdefs.h
>>conftest.
$ac_ext
8614 cat >>conftest.
$ac_ext <<_ACEOF
8615 /* end confdefs.h. */
8616 $ac_includes_default
8620 if ((long long *) 0)
8622 if (sizeof (long long))
8628 rm -f conftest.
$ac_objext
8629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8630 (eval $ac_compile) 2>conftest.er1
8632 grep -v '^ *+' conftest.er1
>conftest.err
8634 cat conftest.err
>&5
8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636 (exit $ac_status); } &&
8637 { ac_try
='test -z "$ac_c_werror_flag"
8638 || test ! -s conftest.err'
8639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); }; } &&
8644 { ac_try
='test -s conftest.$ac_objext'
8645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); }; }; then
8650 ac_cv_type_long_long
=yes
8652 echo "$as_me: failed program was:" >&5
8653 sed 's/^/| /' conftest.
$ac_ext >&5
8655 ac_cv_type_long_long
=no
8657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8659 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
8660 echo "${ECHO_T}$ac_cv_type_long_long" >&6
8662 echo "$as_me:$LINENO: checking size of long long" >&5
8663 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
8664 if test "${ac_cv_sizeof_long_long+set}" = set; then
8665 echo $ECHO_N "(cached) $ECHO_C" >&6
8667 if test "$ac_cv_type_long_long" = yes; then
8668 # The cast to unsigned long works around a bug in the HP C Compiler
8669 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8670 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8671 # This bug is HP SR number 8606223364.
8672 if test "$cross_compiling" = yes; then
8673 # Depending upon the size, compute the lo and hi bounds.
8674 cat >conftest.
$ac_ext <<_ACEOF
8677 cat confdefs.h
>>conftest.
$ac_ext
8678 cat >>conftest.
$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8680 $ac_includes_default
8684 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
8691 rm -f conftest.
$ac_objext
8692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8693 (eval $ac_compile) 2>conftest.er1
8695 grep -v '^ *+' conftest.er1
>conftest.err
8697 cat conftest.err
>&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); } &&
8700 { ac_try
='test -z "$ac_c_werror_flag"
8701 || test ! -s conftest.err'
8702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); }; } &&
8707 { ac_try
='test -s conftest.$ac_objext'
8708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); }; }; then
8715 cat >conftest.
$ac_ext <<_ACEOF
8718 cat confdefs.h
>>conftest.
$ac_ext
8719 cat >>conftest.
$ac_ext <<_ACEOF
8720 /* end confdefs.h. */
8721 $ac_includes_default
8725 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
8732 rm -f conftest.
$ac_objext
8733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8734 (eval $ac_compile) 2>conftest.er1
8736 grep -v '^ *+' conftest.er1
>conftest.err
8738 cat conftest.err
>&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); } &&
8741 { ac_try
='test -z "$ac_c_werror_flag"
8742 || test ! -s conftest.err'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; } &&
8748 { ac_try
='test -s conftest.$ac_objext'
8749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; }; then
8754 ac_hi
=$ac_mid; break
8756 echo "$as_me: failed program was:" >&5
8757 sed 's/^/| /' conftest.
$ac_ext >&5
8759 ac_lo
=`expr $ac_mid + 1`
8760 if test $ac_lo -le $ac_mid; then
8764 ac_mid
=`expr 2 '*' $ac_mid + 1`
8766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8769 echo "$as_me: failed program was:" >&5
8770 sed 's/^/| /' conftest.
$ac_ext >&5
8772 cat >conftest.
$ac_ext <<_ACEOF
8775 cat confdefs.h
>>conftest.
$ac_ext
8776 cat >>conftest.
$ac_ext <<_ACEOF
8777 /* end confdefs.h. */
8778 $ac_includes_default
8782 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
8789 rm -f conftest.
$ac_objext
8790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8791 (eval $ac_compile) 2>conftest.er1
8793 grep -v '^ *+' conftest.er1
>conftest.err
8795 cat conftest.err
>&5
8796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 (exit $ac_status); } &&
8798 { ac_try
='test -z "$ac_c_werror_flag"
8799 || test ! -s conftest.err'
8800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; } &&
8805 { ac_try
='test -s conftest.$ac_objext'
8806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); }; }; then
8813 cat >conftest.
$ac_ext <<_ACEOF
8816 cat confdefs.h
>>conftest.
$ac_ext
8817 cat >>conftest.
$ac_ext <<_ACEOF
8818 /* end confdefs.h. */
8819 $ac_includes_default
8823 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
8830 rm -f conftest.
$ac_objext
8831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8832 (eval $ac_compile) 2>conftest.er1
8834 grep -v '^ *+' conftest.er1
>conftest.err
8836 cat conftest.err
>&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); } &&
8839 { ac_try
='test -z "$ac_c_werror_flag"
8840 || test ! -s conftest.err'
8841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); }; } &&
8846 { ac_try
='test -s conftest.$ac_objext'
8847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); }; }; then
8852 ac_lo
=$ac_mid; break
8854 echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.
$ac_ext >&5
8857 ac_hi
=`expr '(' $ac_mid ')' - 1`
8858 if test $ac_mid -le $ac_hi; then
8862 ac_mid
=`expr 2 '*' $ac_mid`
8864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8867 echo "$as_me: failed program was:" >&5
8868 sed 's/^/| /' conftest.
$ac_ext >&5
8872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8875 # Binary search between lo and hi bounds.
8876 while test "x$ac_lo" != "x$ac_hi"; do
8877 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8878 cat >conftest.
$ac_ext <<_ACEOF
8881 cat confdefs.h
>>conftest.
$ac_ext
8882 cat >>conftest.
$ac_ext <<_ACEOF
8883 /* end confdefs.h. */
8884 $ac_includes_default
8888 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
8895 rm -f conftest.
$ac_objext
8896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8897 (eval $ac_compile) 2>conftest.er1
8899 grep -v '^ *+' conftest.er1
>conftest.err
8901 cat conftest.err
>&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); } &&
8904 { ac_try
='test -z "$ac_c_werror_flag"
8905 || test ! -s conftest.err'
8906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; } &&
8911 { ac_try
='test -s conftest.$ac_objext'
8912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); }; }; then
8919 echo "$as_me: failed program was:" >&5
8920 sed 's/^/| /' conftest.
$ac_ext >&5
8922 ac_lo
=`expr '(' $ac_mid ')' + 1`
8924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8927 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
8928 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
8929 See \`config.log' for more details." >&5
8930 echo "$as_me: error: cannot compute sizeof (long long), 77
8931 See \`config.log' for more details." >&2;}
8932 { (exit 1); exit 1; }; } ;;
8935 if test "$cross_compiling" = yes; then
8936 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8937 See \`config.log' for more details." >&5
8938 echo "$as_me: error: cannot run test program while cross compiling
8939 See \`config.log' for more details." >&2;}
8940 { (exit 1); exit 1; }; }
8942 cat >conftest.
$ac_ext <<_ACEOF
8945 cat confdefs.h
>>conftest.
$ac_ext
8946 cat >>conftest.
$ac_ext <<_ACEOF
8947 /* end confdefs.h. */
8948 $ac_includes_default
8949 long longval () { return (long) (sizeof (long long)); }
8950 unsigned long ulongval () { return (long) (sizeof (long long)); }
8957 FILE *f = fopen ("conftest.val", "w");
8960 if (((long) (sizeof (long long))) < 0)
8962 long i = longval ();
8963 if (i != ((long) (sizeof (long long))))
8965 fprintf (f, "%ld\n", i);
8969 unsigned long i = ulongval ();
8970 if (i != ((long) (sizeof (long long))))
8972 fprintf (f, "%lu\n", i);
8974 exit (ferror (f) || fclose (f) != 0);
8980 rm -f conftest
$ac_exeext
8981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8982 (eval $ac_link) 2>&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); }; }; then
8991 ac_cv_sizeof_long_long
=`cat conftest.val`
8993 echo "$as_me: program exited with status $ac_status" >&5
8994 echo "$as_me: failed program was:" >&5
8995 sed 's/^/| /' conftest.
$ac_ext >&5
8998 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
8999 See \`config.log' for more details." >&5
9000 echo "$as_me: error: cannot compute sizeof (long long), 77
9001 See \`config.log' for more details." >&2;}
9002 { (exit 1); exit 1; }; }
9004 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9009 ac_cv_sizeof_long_long
=0
9012 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9013 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
9014 cat >>confdefs.h
<<_ACEOF
9015 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9021 echo "$as_me:$LINENO: checking for long" >&5
9022 echo $ECHO_N "checking for long... $ECHO_C" >&6
9023 if test "${ac_cv_type_long+set}" = set; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 cat >conftest.
$ac_ext <<_ACEOF
9029 cat confdefs.h
>>conftest.
$ac_ext
9030 cat >>conftest.
$ac_ext <<_ACEOF
9031 /* end confdefs.h. */
9032 $ac_includes_default
9044 rm -f conftest.
$ac_objext
9045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9046 (eval $ac_compile) 2>conftest.er1
9048 grep -v '^ *+' conftest.er1
>conftest.err
9050 cat conftest.err
>&5
9051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9052 (exit $ac_status); } &&
9053 { ac_try
='test -z "$ac_c_werror_flag"
9054 || test ! -s conftest.err'
9055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }; } &&
9060 { ac_try
='test -s conftest.$ac_objext'
9061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); }; }; then
9068 echo "$as_me: failed program was:" >&5
9069 sed 's/^/| /' conftest.
$ac_ext >&5
9073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9075 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9076 echo "${ECHO_T}$ac_cv_type_long" >&6
9078 echo "$as_me:$LINENO: checking size of long" >&5
9079 echo $ECHO_N "checking size of long... $ECHO_C" >&6
9080 if test "${ac_cv_sizeof_long+set}" = set; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9083 if test "$ac_cv_type_long" = yes; then
9084 # The cast to unsigned long works around a bug in the HP C Compiler
9085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9087 # This bug is HP SR number 8606223364.
9088 if test "$cross_compiling" = yes; then
9089 # Depending upon the size, compute the lo and hi bounds.
9090 cat >conftest.
$ac_ext <<_ACEOF
9093 cat confdefs.h
>>conftest.
$ac_ext
9094 cat >>conftest.
$ac_ext <<_ACEOF
9095 /* end confdefs.h. */
9096 $ac_includes_default
9100 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
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 cat >conftest.
$ac_ext <<_ACEOF
9134 cat confdefs.h
>>conftest.
$ac_ext
9135 cat >>conftest.
$ac_ext <<_ACEOF
9136 /* end confdefs.h. */
9137 $ac_includes_default
9141 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9148 rm -f conftest.
$ac_objext
9149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9150 (eval $ac_compile) 2>conftest.er1
9152 grep -v '^ *+' conftest.er1
>conftest.err
9154 cat conftest.err
>&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); } &&
9157 { ac_try
='test -z "$ac_c_werror_flag"
9158 || test ! -s conftest.err'
9159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); }; } &&
9164 { ac_try
='test -s conftest.$ac_objext'
9165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); }; }; then
9170 ac_hi
=$ac_mid; break
9172 echo "$as_me: failed program was:" >&5
9173 sed 's/^/| /' conftest.
$ac_ext >&5
9175 ac_lo
=`expr $ac_mid + 1`
9176 if test $ac_lo -le $ac_mid; then
9180 ac_mid
=`expr 2 '*' $ac_mid + 1`
9182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9185 echo "$as_me: failed program was:" >&5
9186 sed 's/^/| /' conftest.
$ac_ext >&5
9188 cat >conftest.
$ac_ext <<_ACEOF
9191 cat confdefs.h
>>conftest.
$ac_ext
9192 cat >>conftest.
$ac_ext <<_ACEOF
9193 /* end confdefs.h. */
9194 $ac_includes_default
9198 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
9205 rm -f conftest.
$ac_objext
9206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9207 (eval $ac_compile) 2>conftest.er1
9209 grep -v '^ *+' conftest.er1
>conftest.err
9211 cat conftest.err
>&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); } &&
9214 { ac_try
='test -z "$ac_c_werror_flag"
9215 || test ! -s conftest.err'
9216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); }; } &&
9221 { ac_try
='test -s conftest.$ac_objext'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; }; then
9229 cat >conftest.
$ac_ext <<_ACEOF
9232 cat confdefs.h
>>conftest.
$ac_ext
9233 cat >>conftest.
$ac_ext <<_ACEOF
9234 /* end confdefs.h. */
9235 $ac_includes_default
9239 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
9246 rm -f conftest.
$ac_objext
9247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9248 (eval $ac_compile) 2>conftest.er1
9250 grep -v '^ *+' conftest.er1
>conftest.err
9252 cat conftest.err
>&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); } &&
9255 { ac_try
='test -z "$ac_c_werror_flag"
9256 || test ! -s conftest.err'
9257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); }; } &&
9262 { ac_try
='test -s conftest.$ac_objext'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; }; then
9268 ac_lo
=$ac_mid; break
9270 echo "$as_me: failed program was:" >&5
9271 sed 's/^/| /' conftest.
$ac_ext >&5
9273 ac_hi
=`expr '(' $ac_mid ')' - 1`
9274 if test $ac_mid -le $ac_hi; then
9278 ac_mid
=`expr 2 '*' $ac_mid`
9280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9283 echo "$as_me: failed program was:" >&5
9284 sed 's/^/| /' conftest.
$ac_ext >&5
9288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9291 # Binary search between lo and hi bounds.
9292 while test "x$ac_lo" != "x$ac_hi"; do
9293 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9294 cat >conftest.
$ac_ext <<_ACEOF
9297 cat confdefs.h
>>conftest.
$ac_ext
9298 cat >>conftest.
$ac_ext <<_ACEOF
9299 /* end confdefs.h. */
9300 $ac_includes_default
9304 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9311 rm -f conftest.
$ac_objext
9312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9313 (eval $ac_compile) 2>conftest.er1
9315 grep -v '^ *+' conftest.er1
>conftest.err
9317 cat conftest.err
>&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); } &&
9320 { ac_try
='test -z "$ac_c_werror_flag"
9321 || test ! -s conftest.err'
9322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); }; } &&
9327 { ac_try
='test -s conftest.$ac_objext'
9328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; }; then
9335 echo "$as_me: failed program was:" >&5
9336 sed 's/^/| /' conftest.
$ac_ext >&5
9338 ac_lo
=`expr '(' $ac_mid ')' + 1`
9340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9343 ?
*) ac_cv_sizeof_long
=$ac_lo;;
9344 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
9345 See \`config.log' for more details." >&5
9346 echo "$as_me: error: cannot compute sizeof (long), 77
9347 See \`config.log' for more details." >&2;}
9348 { (exit 1); exit 1; }; } ;;
9351 if test "$cross_compiling" = yes; then
9352 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9353 See \`config.log' for more details." >&5
9354 echo "$as_me: error: cannot run test program while cross compiling
9355 See \`config.log' for more details." >&2;}
9356 { (exit 1); exit 1; }; }
9358 cat >conftest.
$ac_ext <<_ACEOF
9361 cat confdefs.h
>>conftest.
$ac_ext
9362 cat >>conftest.
$ac_ext <<_ACEOF
9363 /* end confdefs.h. */
9364 $ac_includes_default
9365 long longval () { return (long) (sizeof (long)); }
9366 unsigned long ulongval () { return (long) (sizeof (long)); }
9373 FILE *f = fopen ("conftest.val", "w");
9376 if (((long) (sizeof (long))) < 0)
9378 long i = longval ();
9379 if (i != ((long) (sizeof (long))))
9381 fprintf (f, "%ld\n", i);
9385 unsigned long i = ulongval ();
9386 if (i != ((long) (sizeof (long))))
9388 fprintf (f, "%lu\n", i);
9390 exit (ferror (f) || fclose (f) != 0);
9396 rm -f conftest
$ac_exeext
9397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9398 (eval $ac_link) 2>&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); }; }; then
9407 ac_cv_sizeof_long
=`cat conftest.val`
9409 echo "$as_me: program exited with status $ac_status" >&5
9410 echo "$as_me: failed program was:" >&5
9411 sed 's/^/| /' conftest.
$ac_ext >&5
9414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
9415 See \`config.log' for more details." >&5
9416 echo "$as_me: error: cannot compute sizeof (long), 77
9417 See \`config.log' for more details." >&2;}
9418 { (exit 1); exit 1; }; }
9420 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9428 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
9429 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
9430 cat >>confdefs.h
<<_ACEOF
9431 #define SIZEOF_LONG $ac_cv_sizeof_long
9435 if test "x${ac_cv_sizeof_long}" = "x8"; then
9437 BFD_HOST_64BIT_LONG
=1
9438 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
9439 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
9440 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
9441 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
9442 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
9445 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
9446 BFD_HOST_64_BIT_DEFINED
=1
9447 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
9448 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
9457 # Put a plausible default for CC_FOR_BUILD in Makefile.
9458 if test -z "$CC_FOR_BUILD"; then
9459 if test "x$cross_compiling" = "xno"; then
9460 CC_FOR_BUILD
='$(CC)'
9466 # Also set EXEEXT_FOR_BUILD.
9467 if test "x$cross_compiling" = "xno"; then
9468 EXEEXT_FOR_BUILD
='$(EXEEXT)'
9470 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
9471 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
9472 if test "${bfd_cv_build_exeext+set}" = set; then
9473 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 echo 'int main () { return 0; }' > conftest.c
9477 bfd_cv_build_exeext
=
9478 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
9479 for file in conftest.
*; do
9481 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
9482 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
9486 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
9488 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
9489 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
9491 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
9501 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
9503 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9505 echo "$as_me:$LINENO: checking for $ac_header" >&5
9506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9508 echo $ECHO_N "(cached) $ECHO_C" >&6
9510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9513 # Is the header compilable?
9514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9516 cat >conftest.
$ac_ext <<_ACEOF
9519 cat confdefs.h
>>conftest.
$ac_ext
9520 cat >>conftest.
$ac_ext <<_ACEOF
9521 /* end confdefs.h. */
9522 $ac_includes_default
9523 #include <$ac_header>
9525 rm -f conftest.
$ac_objext
9526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9527 (eval $ac_compile) 2>conftest.er1
9529 grep -v '^ *+' conftest.er1
>conftest.err
9531 cat conftest.err
>&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); } &&
9534 { ac_try
='test -z "$ac_c_werror_flag"
9535 || test ! -s conftest.err'
9536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); }; } &&
9541 { ac_try
='test -s conftest.$ac_objext'
9542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); }; }; then
9547 ac_header_compiler
=yes
9549 echo "$as_me: failed program was:" >&5
9550 sed 's/^/| /' conftest.
$ac_ext >&5
9552 ac_header_compiler
=no
9554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9556 echo "${ECHO_T}$ac_header_compiler" >&6
9558 # Is the header present?
9559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9561 cat >conftest.
$ac_ext <<_ACEOF
9564 cat confdefs.h
>>conftest.
$ac_ext
9565 cat >>conftest.
$ac_ext <<_ACEOF
9566 /* end confdefs.h. */
9567 #include <$ac_header>
9569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9572 grep -v '^ *+' conftest.er1
>conftest.err
9574 cat conftest.err
>&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 (exit $ac_status); } >/dev
/null
; then
9577 if test -s conftest.err
; then
9578 ac_cpp_err
=$ac_c_preproc_warn_flag
9579 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9586 if test -z "$ac_cpp_err"; then
9587 ac_header_preproc
=yes
9589 echo "$as_me: failed program was:" >&5
9590 sed 's/^/| /' conftest.
$ac_ext >&5
9592 ac_header_preproc
=no
9594 rm -f conftest.err conftest.
$ac_ext
9595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9596 echo "${ECHO_T}$ac_header_preproc" >&6
9598 # So? What about this header?
9599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9605 ac_header_preproc
=yes
9608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9622 ## ------------------------------------------ ##
9623 ## Report this to the AC_PACKAGE_NAME lists. ##
9624 ## ------------------------------------------ ##
9627 sed "s/^/$as_me: WARNING: /" >&2
9630 echo "$as_me:$LINENO: checking for $ac_header" >&5
9631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9633 echo $ECHO_N "(cached) $ECHO_C" >&6
9635 eval "$as_ac_Header=\$ac_header_preproc"
9637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9642 cat >>confdefs.h
<<_ACEOF
9643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9653 for ac_header
in fcntl.h sys
/file.h sys
/time.h
9655 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9657 echo "$as_me:$LINENO: checking for $ac_header" >&5
9658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9660 echo $ECHO_N "(cached) $ECHO_C" >&6
9662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9665 # Is the header compilable?
9666 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9667 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9668 cat >conftest.
$ac_ext <<_ACEOF
9671 cat confdefs.h
>>conftest.
$ac_ext
9672 cat >>conftest.
$ac_ext <<_ACEOF
9673 /* end confdefs.h. */
9674 $ac_includes_default
9675 #include <$ac_header>
9677 rm -f conftest.
$ac_objext
9678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9679 (eval $ac_compile) 2>conftest.er1
9681 grep -v '^ *+' conftest.er1
>conftest.err
9683 cat conftest.err
>&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); } &&
9686 { ac_try
='test -z "$ac_c_werror_flag"
9687 || test ! -s conftest.err'
9688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); }; } &&
9693 { ac_try
='test -s conftest.$ac_objext'
9694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); }; }; then
9699 ac_header_compiler
=yes
9701 echo "$as_me: failed program was:" >&5
9702 sed 's/^/| /' conftest.
$ac_ext >&5
9704 ac_header_compiler
=no
9706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9708 echo "${ECHO_T}$ac_header_compiler" >&6
9710 # Is the header present?
9711 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9713 cat >conftest.
$ac_ext <<_ACEOF
9716 cat confdefs.h
>>conftest.
$ac_ext
9717 cat >>conftest.
$ac_ext <<_ACEOF
9718 /* end confdefs.h. */
9719 #include <$ac_header>
9721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9722 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9724 grep -v '^ *+' conftest.er1
>conftest.err
9726 cat conftest.err
>&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); } >/dev
/null
; then
9729 if test -s conftest.err
; then
9730 ac_cpp_err
=$ac_c_preproc_warn_flag
9731 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9738 if test -z "$ac_cpp_err"; then
9739 ac_header_preproc
=yes
9741 echo "$as_me: failed program was:" >&5
9742 sed 's/^/| /' conftest.
$ac_ext >&5
9744 ac_header_preproc
=no
9746 rm -f conftest.err conftest.
$ac_ext
9747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9748 echo "${ECHO_T}$ac_header_preproc" >&6
9750 # So? What about this header?
9751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9753 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9754 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9756 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9757 ac_header_preproc
=yes
9760 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9761 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9762 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9763 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9764 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9765 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9766 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9767 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9770 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9771 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9774 ## ------------------------------------------ ##
9775 ## Report this to the AC_PACKAGE_NAME lists. ##
9776 ## ------------------------------------------ ##
9779 sed "s/^/$as_me: WARNING: /" >&2
9782 echo "$as_me:$LINENO: checking for $ac_header" >&5
9783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
9787 eval "$as_ac_Header=\$ac_header_preproc"
9789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9794 cat >>confdefs.h
<<_ACEOF
9795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9802 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9803 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9804 if test "${ac_cv_header_time+set}" = set; then
9805 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 cat >conftest.
$ac_ext <<_ACEOF
9810 cat confdefs.h
>>conftest.
$ac_ext
9811 cat >>conftest.
$ac_ext <<_ACEOF
9812 /* end confdefs.h. */
9813 #include <sys/types.h>
9814 #include <sys/time.h>
9820 if ((struct tm *) 0)
9826 rm -f conftest.
$ac_objext
9827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9828 (eval $ac_compile) 2>conftest.er1
9830 grep -v '^ *+' conftest.er1
>conftest.err
9832 cat conftest.err
>&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); } &&
9835 { ac_try
='test -z "$ac_c_werror_flag"
9836 || test ! -s conftest.err'
9837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); }; } &&
9842 { ac_try
='test -s conftest.$ac_objext'
9843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); }; }; then
9848 ac_cv_header_time
=yes
9850 echo "$as_me: failed program was:" >&5
9851 sed 's/^/| /' conftest.
$ac_ext >&5
9853 ac_cv_header_time
=no
9855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9857 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9858 echo "${ECHO_T}$ac_cv_header_time" >&6
9859 if test $ac_cv_header_time = yes; then
9861 cat >>confdefs.h
<<\_ACEOF
9862 #define TIME_WITH_SYS_TIME 1
9873 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9874 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9875 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9876 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 cat >conftest.
$ac_ext <<_ACEOF
9883 cat confdefs.h
>>conftest.
$ac_ext
9884 cat >>conftest.
$ac_ext <<_ACEOF
9885 /* end confdefs.h. */
9886 #include <sys/types.h>
9898 rm -f conftest.
$ac_objext
9899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9900 (eval $ac_compile) 2>conftest.er1
9902 grep -v '^ *+' conftest.er1
>conftest.err
9904 cat conftest.err
>&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); } &&
9907 { ac_try
='test -z "$ac_c_werror_flag"
9908 || test ! -s conftest.err'
9909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); }; } &&
9914 { ac_try
='test -s conftest.$ac_objext'
9915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); }; }; then
9920 eval "$as_ac_Header=yes"
9922 echo "$as_me: failed program was:" >&5
9923 sed 's/^/| /' conftest.
$ac_ext >&5
9925 eval "$as_ac_Header=no"
9927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9932 cat >>confdefs.h
<<_ACEOF
9933 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9936 ac_header_dirent
=$ac_hdr; break
9940 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9941 if test $ac_header_dirent = dirent.h
; then
9942 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9943 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9944 if test "${ac_cv_search_opendir+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9947 ac_func_search_save_LIBS
=$LIBS
9948 ac_cv_search_opendir
=no
9949 cat >conftest.
$ac_ext <<_ACEOF
9952 cat confdefs.h
>>conftest.
$ac_ext
9953 cat >>conftest.
$ac_ext <<_ACEOF
9954 /* end confdefs.h. */
9956 /* Override any gcc2 internal prototype to avoid an error. */
9960 /* We use char because int might match the return type of a gcc2
9961 builtin and then its argument prototype would still apply. */
9971 rm -f conftest.
$ac_objext conftest
$ac_exeext
9972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9973 (eval $ac_link) 2>conftest.er1
9975 grep -v '^ *+' conftest.er1
>conftest.err
9977 cat conftest.err
>&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); } &&
9980 { ac_try
='test -z "$ac_c_werror_flag"
9981 || test ! -s conftest.err'
9982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); }; } &&
9987 { ac_try
='test -s conftest$ac_exeext'
9988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); }; }; then
9993 ac_cv_search_opendir
="none required"
9995 echo "$as_me: failed program was:" >&5
9996 sed 's/^/| /' conftest.
$ac_ext >&5
9999 rm -f conftest.err conftest.
$ac_objext \
10000 conftest
$ac_exeext conftest.
$ac_ext
10001 if test "$ac_cv_search_opendir" = no
; then
10002 for ac_lib
in dir
; do
10003 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10004 cat >conftest.
$ac_ext <<_ACEOF
10007 cat confdefs.h
>>conftest.
$ac_ext
10008 cat >>conftest.
$ac_ext <<_ACEOF
10009 /* end confdefs.h. */
10011 /* Override any gcc2 internal prototype to avoid an error. */
10015 /* We use char because int might match the return type of a gcc2
10016 builtin and then its argument prototype would still apply. */
10026 rm -f conftest.
$ac_objext conftest
$ac_exeext
10027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10028 (eval $ac_link) 2>conftest.er1
10030 grep -v '^ *+' conftest.er1
>conftest.err
10032 cat conftest.err
>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } &&
10035 { ac_try
='test -z "$ac_c_werror_flag"
10036 || test ! -s conftest.err'
10037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10038 (eval $ac_try) 2>&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); }; } &&
10042 { ac_try
='test -s conftest$ac_exeext'
10043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10044 (eval $ac_try) 2>&5
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); }; }; then
10048 ac_cv_search_opendir
="-l$ac_lib"
10051 echo "$as_me: failed program was:" >&5
10052 sed 's/^/| /' conftest.
$ac_ext >&5
10055 rm -f conftest.err conftest.
$ac_objext \
10056 conftest
$ac_exeext conftest.
$ac_ext
10059 LIBS
=$ac_func_search_save_LIBS
10061 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10062 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10063 if test "$ac_cv_search_opendir" != no
; then
10064 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
10069 echo "$as_me:$LINENO: checking for library containing opendir" >&5
10070 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10071 if test "${ac_cv_search_opendir+set}" = set; then
10072 echo $ECHO_N "(cached) $ECHO_C" >&6
10074 ac_func_search_save_LIBS
=$LIBS
10075 ac_cv_search_opendir
=no
10076 cat >conftest.
$ac_ext <<_ACEOF
10079 cat confdefs.h
>>conftest.
$ac_ext
10080 cat >>conftest.
$ac_ext <<_ACEOF
10081 /* end confdefs.h. */
10083 /* Override any gcc2 internal prototype to avoid an error. */
10087 /* We use char because int might match the return type of a gcc2
10088 builtin and then its argument prototype would still apply. */
10098 rm -f conftest.
$ac_objext conftest
$ac_exeext
10099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10100 (eval $ac_link) 2>conftest.er1
10102 grep -v '^ *+' conftest.er1
>conftest.err
10104 cat conftest.err
>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } &&
10107 { ac_try
='test -z "$ac_c_werror_flag"
10108 || test ! -s conftest.err'
10109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10110 (eval $ac_try) 2>&5
10112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113 (exit $ac_status); }; } &&
10114 { ac_try
='test -s conftest$ac_exeext'
10115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10116 (eval $ac_try) 2>&5
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); }; }; then
10120 ac_cv_search_opendir
="none required"
10122 echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.
$ac_ext >&5
10126 rm -f conftest.err conftest.
$ac_objext \
10127 conftest
$ac_exeext conftest.
$ac_ext
10128 if test "$ac_cv_search_opendir" = no
; then
10129 for ac_lib
in x
; do
10130 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10131 cat >conftest.
$ac_ext <<_ACEOF
10134 cat confdefs.h
>>conftest.
$ac_ext
10135 cat >>conftest.
$ac_ext <<_ACEOF
10136 /* end confdefs.h. */
10138 /* Override any gcc2 internal prototype to avoid an error. */
10142 /* We use char because int might match the return type of a gcc2
10143 builtin and then its argument prototype would still apply. */
10153 rm -f conftest.
$ac_objext conftest
$ac_exeext
10154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10155 (eval $ac_link) 2>conftest.er1
10157 grep -v '^ *+' conftest.er1
>conftest.err
10159 cat conftest.err
>&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); } &&
10162 { ac_try
='test -z "$ac_c_werror_flag"
10163 || test ! -s conftest.err'
10164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10165 (eval $ac_try) 2>&5
10167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168 (exit $ac_status); }; } &&
10169 { ac_try
='test -s conftest$ac_exeext'
10170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10171 (eval $ac_try) 2>&5
10173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174 (exit $ac_status); }; }; then
10175 ac_cv_search_opendir
="-l$ac_lib"
10178 echo "$as_me: failed program was:" >&5
10179 sed 's/^/| /' conftest.
$ac_ext >&5
10182 rm -f conftest.err conftest.
$ac_objext \
10183 conftest
$ac_exeext conftest.
$ac_ext
10186 LIBS
=$ac_func_search_save_LIBS
10188 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10189 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10190 if test "$ac_cv_search_opendir" != no
; then
10191 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
10197 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
10198 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
10199 if test "${gcc_cv_header_string+set}" = set; then
10200 echo $ECHO_N "(cached) $ECHO_C" >&6
10202 cat >conftest.
$ac_ext <<_ACEOF
10205 cat confdefs.h
>>conftest.
$ac_ext
10206 cat >>conftest.
$ac_ext <<_ACEOF
10207 /* end confdefs.h. */
10208 #include <string.h>
10209 #include <strings.h>
10218 rm -f conftest.
$ac_objext
10219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10220 (eval $ac_compile) 2>conftest.er1
10222 grep -v '^ *+' conftest.er1
>conftest.err
10224 cat conftest.err
>&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); } &&
10227 { ac_try
='test -z "$ac_c_werror_flag"
10228 || test ! -s conftest.err'
10229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10230 (eval $ac_try) 2>&5
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); }; } &&
10234 { ac_try
='test -s conftest.$ac_objext'
10235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10236 (eval $ac_try) 2>&5
10238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239 (exit $ac_status); }; }; then
10240 gcc_cv_header_string
=yes
10242 echo "$as_me: failed program was:" >&5
10243 sed 's/^/| /' conftest.
$ac_ext >&5
10245 gcc_cv_header_string
=no
10247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10249 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
10250 echo "${ECHO_T}$gcc_cv_header_string" >&6
10251 if test $gcc_cv_header_string = yes; then
10253 cat >>confdefs.h
<<\_ACEOF
10254 #define STRING_WITH_STRINGS 1
10266 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
10268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10269 echo "$as_me:$LINENO: checking for $ac_func" >&5
10270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10271 if eval "test \"\${$as_ac_var+set}\" = set"; then
10272 echo $ECHO_N "(cached) $ECHO_C" >&6
10274 cat >conftest.
$ac_ext <<_ACEOF
10277 cat confdefs.h
>>conftest.
$ac_ext
10278 cat >>conftest.
$ac_ext <<_ACEOF
10279 /* end confdefs.h. */
10280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10282 #define $ac_func innocuous_$ac_func
10284 /* System header to define __stub macros and hopefully few prototypes,
10285 which can conflict with char $ac_func (); below.
10286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10287 <limits.h> exists even on freestanding compilers. */
10290 # include <limits.h>
10292 # include <assert.h>
10297 /* Override any gcc2 internal prototype to avoid an error. */
10302 /* We use char because int might match the return type of a gcc2
10303 builtin and then its argument prototype would still apply. */
10305 /* The GNU C library defines this for functions which it implements
10306 to always fail with ENOSYS. Some functions are actually named
10307 something starting with __ and the normal name is an alias. */
10308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10311 char (*f) () = $ac_func;
10320 return f != $ac_func;
10325 rm -f conftest.
$ac_objext conftest
$ac_exeext
10326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10327 (eval $ac_link) 2>conftest.er1
10329 grep -v '^ *+' conftest.er1
>conftest.err
10331 cat conftest.err
>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } &&
10334 { ac_try
='test -z "$ac_c_werror_flag"
10335 || test ! -s conftest.err'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; } &&
10341 { ac_try
='test -s conftest$ac_exeext'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; }; then
10347 eval "$as_ac_var=yes"
10349 echo "$as_me: failed program was:" >&5
10350 sed 's/^/| /' conftest.
$ac_ext >&5
10352 eval "$as_ac_var=no"
10354 rm -f conftest.err conftest.
$ac_objext \
10355 conftest
$ac_exeext conftest.
$ac_ext
10357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10359 if test `eval echo '${'$as_ac_var'}'` = yes; then
10360 cat >>confdefs.h
<<_ACEOF
10361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10368 for ac_func
in strtoull
10370 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10371 echo "$as_me:$LINENO: checking for $ac_func" >&5
10372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10373 if eval "test \"\${$as_ac_var+set}\" = set"; then
10374 echo $ECHO_N "(cached) $ECHO_C" >&6
10376 cat >conftest.
$ac_ext <<_ACEOF
10379 cat confdefs.h
>>conftest.
$ac_ext
10380 cat >>conftest.
$ac_ext <<_ACEOF
10381 /* end confdefs.h. */
10382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10384 #define $ac_func innocuous_$ac_func
10386 /* System header to define __stub macros and hopefully few prototypes,
10387 which can conflict with char $ac_func (); below.
10388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10389 <limits.h> exists even on freestanding compilers. */
10392 # include <limits.h>
10394 # include <assert.h>
10399 /* Override any gcc2 internal prototype to avoid an error. */
10404 /* We use char because int might match the return type of a gcc2
10405 builtin and then its argument prototype would still apply. */
10407 /* The GNU C library defines this for functions which it implements
10408 to always fail with ENOSYS. Some functions are actually named
10409 something starting with __ and the normal name is an alias. */
10410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10413 char (*f) () = $ac_func;
10422 return f != $ac_func;
10427 rm -f conftest.
$ac_objext conftest
$ac_exeext
10428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10429 (eval $ac_link) 2>conftest.er1
10431 grep -v '^ *+' conftest.er1
>conftest.err
10433 cat conftest.err
>&5
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); } &&
10436 { ac_try
='test -z "$ac_c_werror_flag"
10437 || test ! -s conftest.err'
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); }; } &&
10443 { ac_try
='test -s conftest$ac_exeext'
10444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10445 (eval $ac_try) 2>&5
10447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448 (exit $ac_status); }; }; then
10449 eval "$as_ac_var=yes"
10451 echo "$as_me: failed program was:" >&5
10452 sed 's/^/| /' conftest.
$ac_ext >&5
10454 eval "$as_ac_var=no"
10456 rm -f conftest.err conftest.
$ac_objext \
10457 conftest
$ac_exeext conftest.
$ac_ext
10459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10461 if test `eval echo '${'$as_ac_var'}'` = yes; then
10462 cat >>confdefs.h
<<_ACEOF
10463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10470 echo "$as_me:$LINENO: checking whether basename is declared" >&5
10471 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
10472 if test "${ac_cv_have_decl_basename+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 $ac_includes_default
10486 char *p = (char *) basename;
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 ac_cv_have_decl_basename
=yes
10517 echo "$as_me: failed program was:" >&5
10518 sed 's/^/| /' conftest.
$ac_ext >&5
10520 ac_cv_have_decl_basename
=no
10522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10524 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
10525 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
10526 if test $ac_cv_have_decl_basename = yes; then
10528 cat >>confdefs.h
<<_ACEOF
10529 #define HAVE_DECL_BASENAME 1
10534 cat >>confdefs.h
<<_ACEOF
10535 #define HAVE_DECL_BASENAME 0
10542 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
10543 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
10544 if test "${ac_cv_have_decl_ftello+set}" = set; then
10545 echo $ECHO_N "(cached) $ECHO_C" >&6
10547 cat >conftest.
$ac_ext <<_ACEOF
10550 cat confdefs.h
>>conftest.
$ac_ext
10551 cat >>conftest.
$ac_ext <<_ACEOF
10552 /* end confdefs.h. */
10553 $ac_includes_default
10558 char *p = (char *) ftello;
10565 rm -f conftest.
$ac_objext
10566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10567 (eval $ac_compile) 2>conftest.er1
10569 grep -v '^ *+' conftest.er1
>conftest.err
10571 cat conftest.err
>&5
10572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573 (exit $ac_status); } &&
10574 { ac_try
='test -z "$ac_c_werror_flag"
10575 || test ! -s conftest.err'
10576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10577 (eval $ac_try) 2>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); }; } &&
10581 { ac_try
='test -s conftest.$ac_objext'
10582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10583 (eval $ac_try) 2>&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); }; }; then
10587 ac_cv_have_decl_ftello
=yes
10589 echo "$as_me: failed program was:" >&5
10590 sed 's/^/| /' conftest.
$ac_ext >&5
10592 ac_cv_have_decl_ftello
=no
10594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10596 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
10597 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
10598 if test $ac_cv_have_decl_ftello = yes; then
10600 cat >>confdefs.h
<<_ACEOF
10601 #define HAVE_DECL_FTELLO 1
10606 cat >>confdefs.h
<<_ACEOF
10607 #define HAVE_DECL_FTELLO 0
10614 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
10615 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
10616 if test "${ac_cv_have_decl_ftello64+set}" = set; then
10617 echo $ECHO_N "(cached) $ECHO_C" >&6
10619 cat >conftest.
$ac_ext <<_ACEOF
10622 cat confdefs.h
>>conftest.
$ac_ext
10623 cat >>conftest.
$ac_ext <<_ACEOF
10624 /* end confdefs.h. */
10625 $ac_includes_default
10630 char *p = (char *) ftello64;
10637 rm -f conftest.
$ac_objext
10638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10639 (eval $ac_compile) 2>conftest.er1
10641 grep -v '^ *+' conftest.er1
>conftest.err
10643 cat conftest.err
>&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); } &&
10646 { ac_try
='test -z "$ac_c_werror_flag"
10647 || test ! -s conftest.err'
10648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10649 (eval $ac_try) 2>&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); }; } &&
10653 { ac_try
='test -s conftest.$ac_objext'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; }; then
10659 ac_cv_have_decl_ftello64
=yes
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.
$ac_ext >&5
10664 ac_cv_have_decl_ftello64
=no
10666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10668 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
10669 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
10670 if test $ac_cv_have_decl_ftello64 = yes; then
10672 cat >>confdefs.h
<<_ACEOF
10673 #define HAVE_DECL_FTELLO64 1
10678 cat >>confdefs.h
<<_ACEOF
10679 #define HAVE_DECL_FTELLO64 0
10686 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
10687 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
10688 if test "${ac_cv_have_decl_fseeko+set}" = set; then
10689 echo $ECHO_N "(cached) $ECHO_C" >&6
10691 cat >conftest.
$ac_ext <<_ACEOF
10694 cat confdefs.h
>>conftest.
$ac_ext
10695 cat >>conftest.
$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10697 $ac_includes_default
10702 char *p = (char *) fseeko;
10709 rm -f conftest.
$ac_objext
10710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10711 (eval $ac_compile) 2>conftest.er1
10713 grep -v '^ *+' conftest.er1
>conftest.err
10715 cat conftest.err
>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } &&
10718 { ac_try
='test -z "$ac_c_werror_flag"
10719 || test ! -s conftest.err'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; } &&
10725 { ac_try
='test -s conftest.$ac_objext'
10726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10727 (eval $ac_try) 2>&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); }; }; then
10731 ac_cv_have_decl_fseeko
=yes
10733 echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.
$ac_ext >&5
10736 ac_cv_have_decl_fseeko
=no
10738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10740 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
10741 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
10742 if test $ac_cv_have_decl_fseeko = yes; then
10744 cat >>confdefs.h
<<_ACEOF
10745 #define HAVE_DECL_FSEEKO 1
10750 cat >>confdefs.h
<<_ACEOF
10751 #define HAVE_DECL_FSEEKO 0
10758 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
10759 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
10760 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 cat >conftest.
$ac_ext <<_ACEOF
10766 cat confdefs.h
>>conftest.
$ac_ext
10767 cat >>conftest.
$ac_ext <<_ACEOF
10768 /* end confdefs.h. */
10769 $ac_includes_default
10774 char *p = (char *) fseeko64;
10781 rm -f conftest.
$ac_objext
10782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10783 (eval $ac_compile) 2>conftest.er1
10785 grep -v '^ *+' conftest.er1
>conftest.err
10787 cat conftest.err
>&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); } &&
10790 { ac_try
='test -z "$ac_c_werror_flag"
10791 || test ! -s conftest.err'
10792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10793 (eval $ac_try) 2>&5
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); }; } &&
10797 { ac_try
='test -s conftest.$ac_objext'
10798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10799 (eval $ac_try) 2>&5
10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802 (exit $ac_status); }; }; then
10803 ac_cv_have_decl_fseeko64
=yes
10805 echo "$as_me: failed program was:" >&5
10806 sed 's/^/| /' conftest.
$ac_ext >&5
10808 ac_cv_have_decl_fseeko64
=no
10810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10812 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
10813 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
10814 if test $ac_cv_have_decl_fseeko64 = yes; then
10816 cat >>confdefs.h
<<_ACEOF
10817 #define HAVE_DECL_FSEEKO64 1
10822 cat >>confdefs.h
<<_ACEOF
10823 #define HAVE_DECL_FSEEKO64 0
10833 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
10835 cat >>confdefs.h
<<\_ACEOF
10836 #define USE_BINARY_FOPEN 1
10841 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
10842 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
10843 if test "${ac_cv_have_decl_ffs+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 cat >conftest.
$ac_ext <<_ACEOF
10849 cat confdefs.h
>>conftest.
$ac_ext
10850 cat >>conftest.
$ac_ext <<_ACEOF
10851 /* end confdefs.h. */
10852 $ac_includes_default
10857 char *p = (char *) ffs;
10864 rm -f conftest.
$ac_objext
10865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10866 (eval $ac_compile) 2>conftest.er1
10868 grep -v '^ *+' conftest.er1
>conftest.err
10870 cat conftest.err
>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); } &&
10873 { ac_try
='test -z "$ac_c_werror_flag"
10874 || test ! -s conftest.err'
10875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10876 (eval $ac_try) 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; } &&
10880 { ac_try
='test -s conftest.$ac_objext'
10881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10882 (eval $ac_try) 2>&5
10884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); }; }; then
10886 ac_cv_have_decl_ffs
=yes
10888 echo "$as_me: failed program was:" >&5
10889 sed 's/^/| /' conftest.
$ac_ext >&5
10891 ac_cv_have_decl_ffs
=no
10893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10895 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
10896 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
10897 if test $ac_cv_have_decl_ffs = yes; then
10899 cat >>confdefs.h
<<_ACEOF
10900 #define HAVE_DECL_FFS 1
10905 cat >>confdefs.h
<<_ACEOF
10906 #define HAVE_DECL_FFS 0
10913 echo "$as_me:$LINENO: checking whether free is declared" >&5
10914 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
10915 if test "${ac_cv_have_decl_free+set}" = set; then
10916 echo $ECHO_N "(cached) $ECHO_C" >&6
10918 cat >conftest.
$ac_ext <<_ACEOF
10921 cat confdefs.h
>>conftest.
$ac_ext
10922 cat >>conftest.
$ac_ext <<_ACEOF
10923 /* end confdefs.h. */
10924 $ac_includes_default
10929 char *p = (char *) free;
10936 rm -f conftest.
$ac_objext
10937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10938 (eval $ac_compile) 2>conftest.er1
10940 grep -v '^ *+' conftest.er1
>conftest.err
10942 cat conftest.err
>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); } &&
10945 { ac_try
='test -z "$ac_c_werror_flag"
10946 || test ! -s conftest.err'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; } &&
10952 { ac_try
='test -s conftest.$ac_objext'
10953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10954 (eval $ac_try) 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; }; then
10958 ac_cv_have_decl_free
=yes
10960 echo "$as_me: failed program was:" >&5
10961 sed 's/^/| /' conftest.
$ac_ext >&5
10963 ac_cv_have_decl_free
=no
10965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10967 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
10968 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
10969 if test $ac_cv_have_decl_free = yes; then
10971 cat >>confdefs.h
<<_ACEOF
10972 #define HAVE_DECL_FREE 1
10977 cat >>confdefs.h
<<_ACEOF
10978 #define HAVE_DECL_FREE 0
10985 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
10986 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
10987 if test "${ac_cv_have_decl_getenv+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 cat >conftest.
$ac_ext <<_ACEOF
10993 cat confdefs.h
>>conftest.
$ac_ext
10994 cat >>conftest.
$ac_ext <<_ACEOF
10995 /* end confdefs.h. */
10996 $ac_includes_default
11001 char *p = (char *) getenv;
11008 rm -f conftest.
$ac_objext
11009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11010 (eval $ac_compile) 2>conftest.er1
11012 grep -v '^ *+' conftest.er1
>conftest.err
11014 cat conftest.err
>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); } &&
11017 { ac_try
='test -z "$ac_c_werror_flag"
11018 || test ! -s conftest.err'
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; } &&
11024 { ac_try
='test -s conftest.$ac_objext'
11025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11026 (eval $ac_try) 2>&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }; }; then
11030 ac_cv_have_decl_getenv
=yes
11032 echo "$as_me: failed program was:" >&5
11033 sed 's/^/| /' conftest.
$ac_ext >&5
11035 ac_cv_have_decl_getenv
=no
11037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11039 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
11040 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
11041 if test $ac_cv_have_decl_getenv = yes; then
11043 cat >>confdefs.h
<<_ACEOF
11044 #define HAVE_DECL_GETENV 1
11049 cat >>confdefs.h
<<_ACEOF
11050 #define HAVE_DECL_GETENV 0
11057 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
11058 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
11059 if test "${ac_cv_have_decl_malloc+set}" = set; then
11060 echo $ECHO_N "(cached) $ECHO_C" >&6
11062 cat >conftest.
$ac_ext <<_ACEOF
11065 cat confdefs.h
>>conftest.
$ac_ext
11066 cat >>conftest.
$ac_ext <<_ACEOF
11067 /* end confdefs.h. */
11068 $ac_includes_default
11073 char *p = (char *) malloc;
11080 rm -f conftest.
$ac_objext
11081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11082 (eval $ac_compile) 2>conftest.er1
11084 grep -v '^ *+' conftest.er1
>conftest.err
11086 cat conftest.err
>&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); } &&
11089 { ac_try
='test -z "$ac_c_werror_flag"
11090 || test ! -s conftest.err'
11091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11092 (eval $ac_try) 2>&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }; } &&
11096 { ac_try
='test -s conftest.$ac_objext'
11097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11098 (eval $ac_try) 2>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }; }; then
11102 ac_cv_have_decl_malloc
=yes
11104 echo "$as_me: failed program was:" >&5
11105 sed 's/^/| /' conftest.
$ac_ext >&5
11107 ac_cv_have_decl_malloc
=no
11109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11111 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
11112 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
11113 if test $ac_cv_have_decl_malloc = yes; then
11115 cat >>confdefs.h
<<_ACEOF
11116 #define HAVE_DECL_MALLOC 1
11121 cat >>confdefs.h
<<_ACEOF
11122 #define HAVE_DECL_MALLOC 0
11129 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
11130 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
11131 if test "${ac_cv_have_decl_realloc+set}" = set; then
11132 echo $ECHO_N "(cached) $ECHO_C" >&6
11134 cat >conftest.
$ac_ext <<_ACEOF
11137 cat confdefs.h
>>conftest.
$ac_ext
11138 cat >>conftest.
$ac_ext <<_ACEOF
11139 /* end confdefs.h. */
11140 $ac_includes_default
11145 char *p = (char *) realloc;
11152 rm -f conftest.
$ac_objext
11153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11154 (eval $ac_compile) 2>conftest.er1
11156 grep -v '^ *+' conftest.er1
>conftest.err
11158 cat conftest.err
>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); } &&
11161 { ac_try
='test -z "$ac_c_werror_flag"
11162 || test ! -s conftest.err'
11163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11164 (eval $ac_try) 2>&5
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); }; } &&
11168 { ac_try
='test -s conftest.$ac_objext'
11169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11170 (eval $ac_try) 2>&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); }; }; then
11174 ac_cv_have_decl_realloc
=yes
11176 echo "$as_me: failed program was:" >&5
11177 sed 's/^/| /' conftest.
$ac_ext >&5
11179 ac_cv_have_decl_realloc
=no
11181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11183 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
11184 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
11185 if test $ac_cv_have_decl_realloc = yes; then
11187 cat >>confdefs.h
<<_ACEOF
11188 #define HAVE_DECL_REALLOC 1
11193 cat >>confdefs.h
<<_ACEOF
11194 #define HAVE_DECL_REALLOC 0
11201 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
11202 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
11203 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
11204 echo $ECHO_N "(cached) $ECHO_C" >&6
11206 cat >conftest.
$ac_ext <<_ACEOF
11209 cat confdefs.h
>>conftest.
$ac_ext
11210 cat >>conftest.
$ac_ext <<_ACEOF
11211 /* end confdefs.h. */
11212 $ac_includes_default
11217 char *p = (char *) stpcpy;
11224 rm -f conftest.
$ac_objext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11226 (eval $ac_compile) 2>conftest.er1
11228 grep -v '^ *+' conftest.er1
>conftest.err
11230 cat conftest.err
>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } &&
11233 { ac_try
='test -z "$ac_c_werror_flag"
11234 || test ! -s conftest.err'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; } &&
11240 { ac_try
='test -s conftest.$ac_objext'
11241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11242 (eval $ac_try) 2>&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); }; }; then
11246 ac_cv_have_decl_stpcpy
=yes
11248 echo "$as_me: failed program was:" >&5
11249 sed 's/^/| /' conftest.
$ac_ext >&5
11251 ac_cv_have_decl_stpcpy
=no
11253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11255 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
11256 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
11257 if test $ac_cv_have_decl_stpcpy = yes; then
11259 cat >>confdefs.h
<<_ACEOF
11260 #define HAVE_DECL_STPCPY 1
11265 cat >>confdefs.h
<<_ACEOF
11266 #define HAVE_DECL_STPCPY 0
11273 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
11274 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
11275 if test "${ac_cv_have_decl_strstr+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 cat >conftest.
$ac_ext <<_ACEOF
11281 cat confdefs.h
>>conftest.
$ac_ext
11282 cat >>conftest.
$ac_ext <<_ACEOF
11283 /* end confdefs.h. */
11284 $ac_includes_default
11289 char *p = (char *) strstr;
11296 rm -f conftest.
$ac_objext
11297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11298 (eval $ac_compile) 2>conftest.er1
11300 grep -v '^ *+' conftest.er1
>conftest.err
11302 cat conftest.err
>&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); } &&
11305 { ac_try
='test -z "$ac_c_werror_flag"
11306 || test ! -s conftest.err'
11307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11308 (eval $ac_try) 2>&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); }; } &&
11312 { ac_try
='test -s conftest.$ac_objext'
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11314 (eval $ac_try) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; }; then
11318 ac_cv_have_decl_strstr
=yes
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.
$ac_ext >&5
11323 ac_cv_have_decl_strstr
=no
11325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11327 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
11328 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
11329 if test $ac_cv_have_decl_strstr = yes; then
11331 cat >>confdefs.h
<<_ACEOF
11332 #define HAVE_DECL_STRSTR 1
11337 cat >>confdefs.h
<<_ACEOF
11338 #define HAVE_DECL_STRSTR 0
11345 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
11346 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
11347 if test "${ac_cv_have_decl_snprintf+set}" = set; then
11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 cat >conftest.
$ac_ext <<_ACEOF
11353 cat confdefs.h
>>conftest.
$ac_ext
11354 cat >>conftest.
$ac_ext <<_ACEOF
11355 /* end confdefs.h. */
11356 $ac_includes_default
11361 char *p = (char *) snprintf;
11368 rm -f conftest.
$ac_objext
11369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11370 (eval $ac_compile) 2>conftest.er1
11372 grep -v '^ *+' conftest.er1
>conftest.err
11374 cat conftest.err
>&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); } &&
11377 { ac_try
='test -z "$ac_c_werror_flag"
11378 || test ! -s conftest.err'
11379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11380 (eval $ac_try) 2>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); }; } &&
11384 { ac_try
='test -s conftest.$ac_objext'
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386 (eval $ac_try) 2>&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; }; then
11390 ac_cv_have_decl_snprintf
=yes
11392 echo "$as_me: failed program was:" >&5
11393 sed 's/^/| /' conftest.
$ac_ext >&5
11395 ac_cv_have_decl_snprintf
=no
11397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11399 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
11400 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
11401 if test $ac_cv_have_decl_snprintf = yes; then
11403 cat >>confdefs.h
<<_ACEOF
11404 #define HAVE_DECL_SNPRINTF 1
11409 cat >>confdefs.h
<<_ACEOF
11410 #define HAVE_DECL_SNPRINTF 0
11417 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
11418 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
11419 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 cat >conftest.
$ac_ext <<_ACEOF
11425 cat confdefs.h
>>conftest.
$ac_ext
11426 cat >>conftest.
$ac_ext <<_ACEOF
11427 /* end confdefs.h. */
11428 $ac_includes_default
11433 char *p = (char *) vsnprintf;
11440 rm -f conftest.
$ac_objext
11441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11442 (eval $ac_compile) 2>conftest.er1
11444 grep -v '^ *+' conftest.er1
>conftest.err
11446 cat conftest.err
>&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); } &&
11449 { ac_try
='test -z "$ac_c_werror_flag"
11450 || test ! -s conftest.err'
11451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11452 (eval $ac_try) 2>&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); }; } &&
11456 { ac_try
='test -s conftest.$ac_objext'
11457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11458 (eval $ac_try) 2>&5
11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); }; }; then
11462 ac_cv_have_decl_vsnprintf
=yes
11464 echo "$as_me: failed program was:" >&5
11465 sed 's/^/| /' conftest.
$ac_ext >&5
11467 ac_cv_have_decl_vsnprintf
=no
11469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11471 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
11472 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
11473 if test $ac_cv_have_decl_vsnprintf = yes; then
11475 cat >>confdefs.h
<<_ACEOF
11476 #define HAVE_DECL_VSNPRINTF 1
11481 cat >>confdefs.h
<<_ACEOF
11482 #define HAVE_DECL_VSNPRINTF 0
11490 # If we are configured native, pick a core file support file.
11494 if test "${target}" = "${host}"; then
11496 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
11500 COREFILE
=trad-core.lo
11501 TRAD_HEADER
='"hosts/alphalinux.h"'
11503 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
11504 COREFILE
=netbsd-core.lo
11506 alpha
*-*-*) COREFILE
=osf-core.lo
;;
11507 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
11509 arm-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
11510 arm-
*-riscix) COREFILE
=trad-core.lo
;;
11511 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
11512 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
11513 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
11514 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
11515 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
11516 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
11517 COREFILE
=netbsd-core.lo
11521 COREFILE
=trad-core.lo
11522 TRAD_HEADER
='"hosts/i370linux.h"'
11525 i
[3-7]86-sequent-bsd*)
11526 COREFILE
=trad-core.lo
11527 TRAD_HEADER
='"hosts/symmetry.h"'
11529 i
[3-7]86-sequent-sysv4*) ;;
11530 i
[3-7]86-sequent-sysv*)
11531 COREFILE
=trad-core.lo
11532 TRAD_HEADER
='"hosts/symmetry.h"'
11537 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
*)
11538 COREFILE
=trad-core.lo
11539 TRAD_HEADER
='"hosts/i386bsd.h"'
11541 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
11543 TRAD_HEADER
='"hosts/i386bsd.h"'
11545 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
11546 COREFILE
=netbsd-core.lo
11548 i
[3-7]86-esix-sysv3*)
11549 COREFILE
=trad-core.lo
11550 TRAD_HEADER
='"hosts/esix.h"'
11552 i
[3-7]86-*-sco3.2v5
*)
11553 COREFILE
=sco5-core.lo
11555 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
11556 COREFILE
=trad-core.lo
11557 TRAD_HEADER
='"hosts/i386sco.h"'
11560 COREFILE
=trad-core.lo
11561 TRAD_HEADER
='"hosts/i386mach3.h"'
11563 i
[3-7]86-*-linux-*)
11564 COREFILE
=trad-core.lo
11565 TRAD_HEADER
='"hosts/i386linux.h"'
11567 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
11568 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
11569 i860-
*-mach3* | i860-
*-osf1*)
11570 COREFILE
=trad-core.lo
11571 TRAD_HEADER
='"hosts/i860mach3.h"'
11573 mips-
*-netbsd* | mips
*-*-openbsd*)
11574 COREFILE
=netbsd-core.lo
11577 COREFILE
=trad-core.lo
11578 TRAD_HEADER
='"hosts/decstation.h"'
11580 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
11581 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
11582 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
11584 mips-
*-sysv* | mips-
*-riscos*)
11585 COREFILE
=trad-core.lo
11586 TRAD_HEADER
='"hosts/riscos.h"'
11589 COREFILE
=trad-core.lo
11590 TRAD_HEADER
='"hosts/news-mips.h"'
11593 COREFILE
=trad-core.lo
11594 TRAD_HEADER
='"hosts/dpx2.h"'
11596 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
11598 COREFILE
=trad-core.lo
11599 TRAD_HEADER
='"hosts/hp300bsd.h"'
11602 COREFILE
=trad-core.lo
11603 TRAD_HEADER
='"hosts/m68klinux.h"'
11605 m68
*-motorola-sysv*)
11606 COREFILE
=trad-core.lo
11607 TRAD_HEADER
='"hosts/delta68.h"'
11610 COREFILE
=trad-core.lo
11611 TRAD_HEADER
='"hosts/news.h"'
11613 m68
*-*-netbsd* | m68
*-*-openbsd*)
11614 COREFILE
=netbsd-core.lo
11617 COREFILE
=trad-core.lo
11618 TRAD_HEADER
='"hosts/m68kaux.h"'
11622 m88
*-motorola-sysv*)
11623 COREFILE
=ptrace-core.lo
11626 COREFILE
=trad-core.lo
11627 TRAD_HEADER
='"hosts/m88kmach3.h"'
11630 COREFILE
=netbsd-core.lo
11633 COREFILE
=trad-core.lo
11634 TRAD_HEADER
='"hosts/pc532mach.h"'
11636 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
11637 COREFILE
=netbsd-core.lo
11640 COREFILE
=lynx-core.lo
11642 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
11643 COREFILE
=rs6000-core.lo
11644 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
11646 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
11647 COREFILE
=rs6000-core.lo
11648 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
11649 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
11650 # have c_impl as a member of struct core_dumpx
11651 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
11652 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
11653 cat >conftest.
$ac_ext <<_ACEOF
11656 cat confdefs.h
>>conftest.
$ac_ext
11657 cat >>conftest.
$ac_ext <<_ACEOF
11658 /* end confdefs.h. */
11663 struct core_dumpx c; c.c_impl = 0;
11668 rm -f conftest.
$ac_objext
11669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11670 (eval $ac_compile) 2>conftest.er1
11672 grep -v '^ *+' conftest.er1
>conftest.err
11674 cat conftest.err
>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } &&
11677 { ac_try
='test -z "$ac_c_werror_flag"
11678 || test ! -s conftest.err'
11679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11680 (eval $ac_try) 2>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); }; } &&
11684 { ac_try
='test -s conftest.$ac_objext'
11685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11686 (eval $ac_try) 2>&5
11688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); }; }; then
11691 cat >>confdefs.h
<<\_ACEOF
11692 #define HAVE_ST_C_IMPL 1
11695 echo "$as_me:$LINENO: result: yes" >&5
11696 echo "${ECHO_T}yes" >&6
11698 echo "$as_me: failed program was:" >&5
11699 sed 's/^/| /' conftest.
$ac_ext >&5
11701 echo "$as_me:$LINENO: result: no" >&5
11702 echo "${ECHO_T}no" >&6
11704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11706 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
11707 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
11708 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
11709 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
11710 powerpc-
*-beos*) ;;
11711 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
11713 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
11714 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
11715 s390
*-*-*) COREFILE
=trad-core.lo
;;
11716 sh
*-*-netbsd*) COREFILE
=netbsd-core.lo
;;
11717 sparc-
*-netbsd* | sparc
*-*-openbsd*)
11718 COREFILE
=netbsd-core.lo
11721 COREFILE
=trad-core.lo
11722 TRAD_HEADER
='"hosts/tahoe.h"'
11724 vax-
*-netbsd* | vax-
*-openbsd*)
11725 COREFILE
=netbsd-core.lo
11728 COREFILE
=trad-core.lo
11729 TRAD_HEADER
='"hosts/vaxult2.h"'
11732 COREFILE
=trad-core.lo
11733 TRAD_HEADER
='"hosts/vaxult2.h"'
11736 COREFILE
=trad-core.lo
11737 TRAD_HEADER
='"hosts/vaxlinux.h"'
11740 COREFILE
=trad-core.lo
11741 TRAD_HEADER
='"hosts/vaxbsd.h"'
11743 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
11744 COREFILE
=netbsd-core.lo
11748 case "$COREFILE" in
11749 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
11750 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
11751 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
11752 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
11753 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
11754 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
11755 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
11756 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
11757 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
11758 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
11759 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
11762 # ELF corefile support has several flavors, but all of
11763 # them use something called <sys/procfs.h>
11765 for ac_header
in sys
/procfs.h
11767 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11769 echo "$as_me:$LINENO: checking for $ac_header" >&5
11770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11777 # Is the header compilable?
11778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11780 cat >conftest.
$ac_ext <<_ACEOF
11783 cat confdefs.h
>>conftest.
$ac_ext
11784 cat >>conftest.
$ac_ext <<_ACEOF
11785 /* end confdefs.h. */
11786 $ac_includes_default
11787 #include <$ac_header>
11789 rm -f conftest.
$ac_objext
11790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11791 (eval $ac_compile) 2>conftest.er1
11793 grep -v '^ *+' conftest.er1
>conftest.err
11795 cat conftest.err
>&5
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); } &&
11798 { ac_try
='test -z "$ac_c_werror_flag"
11799 || test ! -s conftest.err'
11800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11801 (eval $ac_try) 2>&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); }; } &&
11805 { ac_try
='test -s conftest.$ac_objext'
11806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11807 (eval $ac_try) 2>&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); }; }; then
11811 ac_header_compiler
=yes
11813 echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.
$ac_ext >&5
11816 ac_header_compiler
=no
11818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11820 echo "${ECHO_T}$ac_header_compiler" >&6
11822 # Is the header present?
11823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11825 cat >conftest.
$ac_ext <<_ACEOF
11828 cat confdefs.h
>>conftest.
$ac_ext
11829 cat >>conftest.
$ac_ext <<_ACEOF
11830 /* end confdefs.h. */
11831 #include <$ac_header>
11833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11836 grep -v '^ *+' conftest.er1
>conftest.err
11838 cat conftest.err
>&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); } >/dev
/null
; then
11841 if test -s conftest.err
; then
11842 ac_cpp_err
=$ac_c_preproc_warn_flag
11843 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11850 if test -z "$ac_cpp_err"; then
11851 ac_header_preproc
=yes
11853 echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.
$ac_ext >&5
11856 ac_header_preproc
=no
11858 rm -f conftest.err conftest.
$ac_ext
11859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11860 echo "${ECHO_T}$ac_header_preproc" >&6
11862 # So? What about this header?
11863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11869 ac_header_preproc
=yes
11872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11886 ## ------------------------------------------ ##
11887 ## Report this to the AC_PACKAGE_NAME lists. ##
11888 ## ------------------------------------------ ##
11891 sed "s/^/$as_me: WARNING: /" >&2
11894 echo "$as_me:$LINENO: checking for $ac_header" >&5
11895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11899 eval "$as_ac_Header=\$ac_header_preproc"
11901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11906 cat >>confdefs.h
<<_ACEOF
11907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11914 if test "$ac_cv_header_sys_procfs_h" = yes; then
11915 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
11916 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
11917 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
11918 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 cat >conftest.
$ac_ext <<_ACEOF
11923 cat confdefs.h
>>conftest.
$ac_ext
11924 cat >>conftest.
$ac_ext <<_ACEOF
11925 /* end confdefs.h. */
11928 #include <sys/procfs.h>
11937 rm -f conftest.
$ac_objext
11938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11939 (eval $ac_compile) 2>conftest.er1
11941 grep -v '^ *+' conftest.er1
>conftest.err
11943 cat conftest.err
>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); } &&
11946 { ac_try
='test -z "$ac_c_werror_flag"
11947 || test ! -s conftest.err'
11948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11949 (eval $ac_try) 2>&5
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); }; } &&
11953 { ac_try
='test -s conftest.$ac_objext'
11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11955 (eval $ac_try) 2>&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; }; then
11959 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.
$ac_ext >&5
11964 bfd_cv_have_sys_procfs_type_prstatus_t
=no
11967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11970 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
11972 cat >>confdefs.h
<<\_ACEOF
11973 #define HAVE_PRSTATUS_T 1
11977 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
11978 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
11980 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
11981 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
11982 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
11983 echo $ECHO_N "(cached) $ECHO_C" >&6
11985 cat >conftest.
$ac_ext <<_ACEOF
11988 cat confdefs.h
>>conftest.
$ac_ext
11989 cat >>conftest.
$ac_ext <<_ACEOF
11990 /* end confdefs.h. */
11993 #include <sys/procfs.h>
12002 rm -f conftest.
$ac_objext
12003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12004 (eval $ac_compile) 2>conftest.er1
12006 grep -v '^ *+' conftest.er1
>conftest.err
12008 cat conftest.err
>&5
12009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12010 (exit $ac_status); } &&
12011 { ac_try
='test -z "$ac_c_werror_flag"
12012 || test ! -s conftest.err'
12013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014 (eval $ac_try) 2>&5
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; } &&
12018 { ac_try
='test -s conftest.$ac_objext'
12019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12020 (eval $ac_try) 2>&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); }; }; then
12024 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.
$ac_ext >&5
12029 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
12032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12035 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
12037 cat >>confdefs.h
<<\_ACEOF
12038 #define HAVE_PRSTATUS32_T 1
12042 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12043 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
12045 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12046 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12047 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 cat >conftest.
$ac_ext <<_ACEOF
12053 cat confdefs.h
>>conftest.
$ac_ext
12054 cat >>conftest.
$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12058 #include <sys/procfs.h>
12062 prstatus_t avar; void* aref = (void*) &avar.pr_who
12067 rm -f conftest.
$ac_objext
12068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12069 (eval $ac_compile) 2>conftest.er1
12071 grep -v '^ *+' conftest.er1
>conftest.err
12073 cat conftest.err
>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } &&
12076 { ac_try
='test -z "$ac_c_werror_flag"
12077 || test ! -s conftest.err'
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; } &&
12083 { ac_try
='test -s conftest.$ac_objext'
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085 (eval $ac_try) 2>&5
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); }; }; then
12089 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.
$ac_ext >&5
12094 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
12097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12100 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
12102 cat >>confdefs.h
<<\_ACEOF
12103 #define HAVE_PRSTATUS_T_PR_WHO 1
12107 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12108 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
12110 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12111 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12112 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 cat >conftest.
$ac_ext <<_ACEOF
12118 cat confdefs.h
>>conftest.
$ac_ext
12119 cat >>conftest.
$ac_ext <<_ACEOF
12120 /* end confdefs.h. */
12123 #include <sys/procfs.h>
12127 prstatus32_t avar; void* aref = (void*) &avar.pr_who
12132 rm -f conftest.
$ac_objext
12133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12134 (eval $ac_compile) 2>conftest.er1
12136 grep -v '^ *+' conftest.er1
>conftest.err
12138 cat conftest.err
>&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); } &&
12141 { ac_try
='test -z "$ac_c_werror_flag"
12142 || test ! -s conftest.err'
12143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; } &&
12148 { ac_try
='test -s conftest.$ac_objext'
12149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12150 (eval $ac_try) 2>&5
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); }; }; then
12154 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
12156 echo "$as_me: failed program was:" >&5
12157 sed 's/^/| /' conftest.
$ac_ext >&5
12159 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
12162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12165 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
12167 cat >>confdefs.h
<<\_ACEOF
12168 #define HAVE_PRSTATUS32_T_PR_WHO 1
12172 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12173 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
12175 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12176 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
12177 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 cat >conftest.
$ac_ext <<_ACEOF
12183 cat confdefs.h
>>conftest.
$ac_ext
12184 cat >>conftest.
$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12188 #include <sys/procfs.h>
12197 rm -f conftest.
$ac_objext
12198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12199 (eval $ac_compile) 2>conftest.er1
12201 grep -v '^ *+' conftest.er1
>conftest.err
12203 cat conftest.err
>&5
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); } &&
12206 { ac_try
='test -z "$ac_c_werror_flag"
12207 || test ! -s conftest.err'
12208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12209 (eval $ac_try) 2>&5
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); }; } &&
12213 { ac_try
='test -s conftest.$ac_objext'
12214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12215 (eval $ac_try) 2>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); }; }; then
12219 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
12221 echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.
$ac_ext >&5
12224 bfd_cv_have_sys_procfs_type_pstatus_t
=no
12227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12230 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
12232 cat >>confdefs.h
<<\_ACEOF
12233 #define HAVE_PSTATUS_T 1
12237 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
12238 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
12240 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
12241 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
12242 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12245 cat >conftest.
$ac_ext <<_ACEOF
12248 cat confdefs.h
>>conftest.
$ac_ext
12249 cat >>conftest.
$ac_ext <<_ACEOF
12250 /* end confdefs.h. */
12253 #include <sys/procfs.h>
12262 rm -f conftest.
$ac_objext
12263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12264 (eval $ac_compile) 2>conftest.er1
12266 grep -v '^ *+' conftest.er1
>conftest.err
12268 cat conftest.err
>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); } &&
12271 { ac_try
='test -z "$ac_c_werror_flag"
12272 || test ! -s conftest.err'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; } &&
12278 { ac_try
='test -s conftest.$ac_objext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12284 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.
$ac_ext >&5
12289 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
12292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12295 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
12297 cat >>confdefs.h
<<\_ACEOF
12298 #define HAVE_PXSTATUS_T 1
12302 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
12303 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
12305 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
12306 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
12307 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
12308 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 cat >conftest.
$ac_ext <<_ACEOF
12313 cat confdefs.h
>>conftest.
$ac_ext
12314 cat >>conftest.
$ac_ext <<_ACEOF
12315 /* end confdefs.h. */
12318 #include <sys/procfs.h>
12327 rm -f conftest.
$ac_objext
12328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12329 (eval $ac_compile) 2>conftest.er1
12331 grep -v '^ *+' conftest.er1
>conftest.err
12333 cat conftest.err
>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); } &&
12336 { ac_try
='test -z "$ac_c_werror_flag"
12337 || test ! -s conftest.err'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; } &&
12343 { ac_try
='test -s conftest.$ac_objext'
12344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12345 (eval $ac_try) 2>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); }; }; then
12349 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
12351 echo "$as_me: failed program was:" >&5
12352 sed 's/^/| /' conftest.
$ac_ext >&5
12354 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
12357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12360 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
12362 cat >>confdefs.h
<<\_ACEOF
12363 #define HAVE_PSTATUS32_T 1
12367 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
12368 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
12370 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
12371 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
12372 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
12373 echo $ECHO_N "(cached) $ECHO_C" >&6
12375 cat >conftest.
$ac_ext <<_ACEOF
12378 cat confdefs.h
>>conftest.
$ac_ext
12379 cat >>conftest.
$ac_ext <<_ACEOF
12380 /* end confdefs.h. */
12383 #include <sys/procfs.h>
12392 rm -f conftest.
$ac_objext
12393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12394 (eval $ac_compile) 2>conftest.er1
12396 grep -v '^ *+' conftest.er1
>conftest.err
12398 cat conftest.err
>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); } &&
12401 { ac_try
='test -z "$ac_c_werror_flag"
12402 || test ! -s conftest.err'
12403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12404 (eval $ac_try) 2>&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); }; } &&
12408 { ac_try
='test -s conftest.$ac_objext'
12409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410 (eval $ac_try) 2>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; }; then
12414 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
12416 echo "$as_me: failed program was:" >&5
12417 sed 's/^/| /' conftest.
$ac_ext >&5
12419 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
12422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12425 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
12427 cat >>confdefs.h
<<\_ACEOF
12428 #define HAVE_PRPSINFO_T 1
12432 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
12433 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
12435 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
12436 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
12437 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
12438 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 cat >conftest.
$ac_ext <<_ACEOF
12443 cat confdefs.h
>>conftest.
$ac_ext
12444 cat >>conftest.
$ac_ext <<_ACEOF
12445 /* end confdefs.h. */
12448 #include <sys/procfs.h>
12457 rm -f conftest.
$ac_objext
12458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12459 (eval $ac_compile) 2>conftest.er1
12461 grep -v '^ *+' conftest.er1
>conftest.err
12463 cat conftest.err
>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); } &&
12466 { ac_try
='test -z "$ac_c_werror_flag"
12467 || test ! -s conftest.err'
12468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }; } &&
12473 { ac_try
='test -s conftest.$ac_objext'
12474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12475 (eval $ac_try) 2>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; }; then
12479 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
12481 echo "$as_me: failed program was:" >&5
12482 sed 's/^/| /' conftest.
$ac_ext >&5
12484 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
12487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12490 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
12492 cat >>confdefs.h
<<\_ACEOF
12493 #define HAVE_PRPSINFO32_T 1
12497 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
12498 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
12500 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
12501 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
12502 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
12503 echo $ECHO_N "(cached) $ECHO_C" >&6
12505 cat >conftest.
$ac_ext <<_ACEOF
12508 cat confdefs.h
>>conftest.
$ac_ext
12509 cat >>conftest.
$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12513 #include <sys/procfs.h>
12522 rm -f conftest.
$ac_objext
12523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12524 (eval $ac_compile) 2>conftest.er1
12526 grep -v '^ *+' conftest.er1
>conftest.err
12528 cat conftest.err
>&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); } &&
12531 { ac_try
='test -z "$ac_c_werror_flag"
12532 || test ! -s conftest.err'
12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534 (eval $ac_try) 2>&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; } &&
12538 { ac_try
='test -s conftest.$ac_objext'
12539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12540 (eval $ac_try) 2>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }; }; then
12544 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
12546 echo "$as_me: failed program was:" >&5
12547 sed 's/^/| /' conftest.
$ac_ext >&5
12549 bfd_cv_have_sys_procfs_type_psinfo_t
=no
12552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12555 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
12557 cat >>confdefs.h
<<\_ACEOF
12558 #define HAVE_PSINFO_T 1
12562 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
12563 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
12565 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
12566 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
12567 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
12568 echo $ECHO_N "(cached) $ECHO_C" >&6
12570 cat >conftest.
$ac_ext <<_ACEOF
12573 cat confdefs.h
>>conftest.
$ac_ext
12574 cat >>conftest.
$ac_ext <<_ACEOF
12575 /* end confdefs.h. */
12578 #include <sys/procfs.h>
12587 rm -f conftest.
$ac_objext
12588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12589 (eval $ac_compile) 2>conftest.er1
12591 grep -v '^ *+' conftest.er1
>conftest.err
12593 cat conftest.err
>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } &&
12596 { ac_try
='test -z "$ac_c_werror_flag"
12597 || test ! -s conftest.err'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; } &&
12603 { ac_try
='test -s conftest.$ac_objext'
12604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 (eval $ac_try) 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12609 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.
$ac_ext >&5
12614 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
12617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12620 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
12622 cat >>confdefs.h
<<\_ACEOF
12623 #define HAVE_PSINFO32_T 1
12627 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
12628 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
12630 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
12631 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
12632 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 cat >conftest.
$ac_ext <<_ACEOF
12638 cat confdefs.h
>>conftest.
$ac_ext
12639 cat >>conftest.
$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12643 #include <sys/procfs.h>
12652 rm -f conftest.
$ac_objext
12653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12654 (eval $ac_compile) 2>conftest.er1
12656 grep -v '^ *+' conftest.er1
>conftest.err
12658 cat conftest.err
>&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); } &&
12661 { ac_try
='test -z "$ac_c_werror_flag"
12662 || test ! -s conftest.err'
12663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12664 (eval $ac_try) 2>&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); }; } &&
12668 { ac_try
='test -s conftest.$ac_objext'
12669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12670 (eval $ac_try) 2>&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); }; }; then
12674 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
12676 echo "$as_me: failed program was:" >&5
12677 sed 's/^/| /' conftest.
$ac_ext >&5
12679 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
12682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12685 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
12687 cat >>confdefs.h
<<\_ACEOF
12688 #define HAVE_LWPSTATUS_T 1
12692 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
12693 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
12695 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
12696 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
12697 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12700 cat >conftest.
$ac_ext <<_ACEOF
12703 cat confdefs.h
>>conftest.
$ac_ext
12704 cat >>conftest.
$ac_ext <<_ACEOF
12705 /* end confdefs.h. */
12708 #include <sys/procfs.h>
12717 rm -f conftest.
$ac_objext
12718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12719 (eval $ac_compile) 2>conftest.er1
12721 grep -v '^ *+' conftest.er1
>conftest.err
12723 cat conftest.err
>&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); } &&
12726 { ac_try
='test -z "$ac_c_werror_flag"
12727 || test ! -s conftest.err'
12728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12729 (eval $ac_try) 2>&5
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); }; } &&
12733 { ac_try
='test -s conftest.$ac_objext'
12734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12735 (eval $ac_try) 2>&5
12737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12738 (exit $ac_status); }; }; then
12739 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
12741 echo "$as_me: failed program was:" >&5
12742 sed 's/^/| /' conftest.
$ac_ext >&5
12744 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
12747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12750 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
12752 cat >>confdefs.h
<<\_ACEOF
12753 #define HAVE_LWPXSTATUS_T 1
12757 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
12758 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
12760 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
12761 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
12762 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 cat >conftest.
$ac_ext <<_ACEOF
12768 cat confdefs.h
>>conftest.
$ac_ext
12769 cat >>conftest.
$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12773 #include <sys/procfs.h>
12777 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
12782 rm -f conftest.
$ac_objext
12783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12784 (eval $ac_compile) 2>conftest.er1
12786 grep -v '^ *+' conftest.er1
>conftest.err
12788 cat conftest.err
>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); } &&
12791 { ac_try
='test -z "$ac_c_werror_flag"
12792 || test ! -s conftest.err'
12793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12794 (eval $ac_try) 2>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); }; } &&
12798 { ac_try
='test -s conftest.$ac_objext'
12799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12800 (eval $ac_try) 2>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }; }; then
12804 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
12806 echo "$as_me: failed program was:" >&5
12807 sed 's/^/| /' conftest.
$ac_ext >&5
12809 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
12812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12815 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
12817 cat >>confdefs.h
<<\_ACEOF
12818 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
12822 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
12823 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
12825 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
12826 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
12827 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 cat >conftest.
$ac_ext <<_ACEOF
12833 cat confdefs.h
>>conftest.
$ac_ext
12834 cat >>conftest.
$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12838 #include <sys/procfs.h>
12842 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
12847 rm -f conftest.
$ac_objext
12848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12849 (eval $ac_compile) 2>conftest.er1
12851 grep -v '^ *+' conftest.er1
>conftest.err
12853 cat conftest.err
>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); } &&
12856 { ac_try
='test -z "$ac_c_werror_flag"
12857 || test ! -s conftest.err'
12858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12859 (eval $ac_try) 2>&5
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); }; } &&
12863 { ac_try
='test -s conftest.$ac_objext'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; }; then
12869 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.
$ac_ext >&5
12874 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
12877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12880 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
12882 cat >>confdefs.h
<<\_ACEOF
12883 #define HAVE_LWPSTATUS_T_PR_REG 1
12887 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
12888 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
12890 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
12891 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
12892 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 cat >conftest.
$ac_ext <<_ACEOF
12898 cat confdefs.h
>>conftest.
$ac_ext
12899 cat >>conftest.
$ac_ext <<_ACEOF
12900 /* end confdefs.h. */
12903 #include <sys/procfs.h>
12907 win32_pstatus_t avar
12912 rm -f conftest.
$ac_objext
12913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12914 (eval $ac_compile) 2>conftest.er1
12916 grep -v '^ *+' conftest.er1
>conftest.err
12918 cat conftest.err
>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } &&
12921 { ac_try
='test -z "$ac_c_werror_flag"
12922 || test ! -s conftest.err'
12923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12924 (eval $ac_try) 2>&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); }; } &&
12928 { ac_try
='test -s conftest.$ac_objext'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; }; then
12934 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
12936 echo "$as_me: failed program was:" >&5
12937 sed 's/^/| /' conftest.
$ac_ext >&5
12939 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
12942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12945 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
12947 cat >>confdefs.h
<<\_ACEOF
12948 #define HAVE_WIN32_PSTATUS_T 1
12952 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
12953 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
12959 if test -n "$TRAD_HEADER"; then
12961 cat >>confdefs.h
<<_ACEOF
12962 #define TRAD_HEADER $TRAD_HEADER
12967 # Horrible hacks to build DLLs on Windows.
12972 if test "$enable_shared" = "yes"; then
12973 WIN32LDFLAGS
="-no-undefined"
12974 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
12978 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
12982 # Linux/MIPS uses PIC by default.
12983 if test "$enable_shared" = "yes"; then
12984 WIN32LIBADD
="-L../libiberty -liberty"
12988 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
12989 if test -n "$x"; then
12990 WIN32LIBADD
="-L../libiberty/pic -liberty"
13001 # Canonicalize the secondary target names.
13002 if test -n "$enable_targets" ; then
13003 for targ
in `echo $enable_targets | sed 's/,/ /g'`
13005 result
=`$ac_config_sub $targ 2>/dev/null`
13006 if test -n "$result" ; then
13007 canon_targets
="$canon_targets $result"
13009 # Allow targets that config.sub doesn't recognize, like "all".
13010 canon_targets
="$canon_targets $targ"
13021 for targ
in $target $canon_targets
13023 if test "x$targ" = "xall"; then
13025 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
13027 .
$srcdir/config.bfd
13028 if test "x$targ" = "x$target"; then
13029 defvec
=$targ_defvec
13031 selvecs
="$selvecs $targ_defvec $targ_selvecs"
13032 selarchs
="$selarchs $targ_archs"
13033 TDEFINES
="$TDEFINES $targ_cflags"
13038 # This processing still needs to be done if we're to decide properly whether
13039 # 64-bit support needs to be compiled in. Currently, it will be included if
13040 # the default or any other explicitly requested target requires it; it
13041 # will not be included on a 32-bit host if no 64-bit target is requested, and
13042 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
13045 # uniq the default and selected vectors in all the configured targets.
13047 for i
in $selvecs ; do
13056 # uniq the associated vectors in all the configured targets.
13058 for i
in $assocvecs ; do
13067 # uniq the architectures in all the configured targets.
13069 for i
in $selarchs ; do
13077 # Target backend .o files.
13080 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
13082 for vec
in $selvecs
13086 # This list is alphabetized to make it easy to compare
13087 # with the two vector lists in targets.c. For the same reason,
13088 # use one entry per line, even though this leads to long lines.
13089 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
13090 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
13091 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
13092 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
13093 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
13094 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
13095 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
13096 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
13097 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
13098 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
13099 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
13100 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
13101 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
13102 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
13103 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
13104 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
13105 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
13106 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
13107 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
13108 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
13109 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
13110 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
13111 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
13112 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
13113 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
13114 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
13115 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13116 bfd_elf32_bigarm_symbian_vec
)
13117 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13118 bfd_elf32_bigarm_vxworks_vec
)
13119 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13120 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
13121 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
13122 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
13123 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
13124 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
13125 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
13126 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
13127 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
13128 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
13129 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
13130 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
13131 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13132 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13133 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13134 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
13135 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13136 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13137 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13138 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
13139 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
13140 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
13141 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
13142 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
13143 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
13144 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
13145 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
13146 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
13147 bfd_elf32_littlearm_symbian_vec
)
13148 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13149 bfd_elf32_littlearm_vxworks_vec
)
13150 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13151 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13152 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
13153 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
13154 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13155 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13156 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13157 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13158 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
13159 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
13160 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
13161 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
13162 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
13163 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
13164 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
13165 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
13166 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
13167 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
13168 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13169 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13170 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13171 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13172 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
13173 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
13174 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
13175 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
13176 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13177 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13178 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13179 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
13180 # FIXME: We include cofflink.lo not because it's needed for
13181 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
13182 # which needs it but does not list it. Should be fixed in right place.
13183 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13184 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13185 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13186 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13187 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
13188 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
13189 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
13190 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13191 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
13192 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf32.lo $elf coff-sh.lo" ;;
13193 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13194 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13195 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13196 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf32.lo $elf" ;;
13197 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
13198 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
13199 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
13200 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
13201 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
13202 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
13203 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
13204 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
13205 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
13206 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
13207 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
13208 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13209 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13210 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
13211 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
13212 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13213 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13214 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13215 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13216 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13217 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
13218 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13219 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
13220 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
13221 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13222 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13223 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13224 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13225 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13226 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13227 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf64.lo $elf"; target_size
=64 ;;
13228 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13229 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13230 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
13231 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
13232 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
13233 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
13234 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
13235 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
13236 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
13237 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
13238 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13239 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13240 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13241 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
13242 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
13243 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
13244 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
13245 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
13246 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
13247 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
13248 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
13249 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
13250 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
13251 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
13252 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
13253 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
13254 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
13255 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
13256 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
13257 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
13258 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
13259 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
13260 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
13261 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
13262 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
13263 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
13264 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
13265 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
13266 ieee_vec
) tb
="$tb ieee.lo" ;;
13267 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
13268 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
13269 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
13270 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
13271 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
13272 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
13273 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
13274 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
13275 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
13276 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
13277 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
13278 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
13279 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
13280 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
13281 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
13282 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
13283 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
13284 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
13285 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
13286 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
13287 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
13288 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
13289 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
13290 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
13291 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
13292 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
13293 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
13294 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
13295 pef_vec
) tb
="$tb pef.lo" ;;
13296 pef_xlib_vec
) tb
="$tb pef.lo" ;;
13297 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
13298 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
13299 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
13300 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
13301 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
13302 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
13303 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13304 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13305 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13306 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13307 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
13308 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
13309 som_vec
) tb
="$tb som.lo" ;;
13310 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
13311 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
13312 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
13313 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
13314 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
13315 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
13316 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
13317 sym_vec
) tb
="$tb xsym.lo" ;;
13318 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
13319 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
13320 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
13321 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13322 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
13323 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13324 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
13325 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13326 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13327 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
13328 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13329 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
13330 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13331 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
13332 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
13333 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
13334 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
13335 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
13336 versados_vec
) tb
="$tb versados.lo" ;;
13337 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
13338 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
13339 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
13340 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
13341 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
13342 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
13344 # These appear out of order in targets.c
13345 srec_vec
) tb
="$tb srec.lo" ;;
13346 symbolsrec_vec
) tb
="$tb srec.lo" ;;
13347 tekhex_vec
) tb
="$tb tekhex.lo" ;;
13348 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
13349 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
13352 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
13353 echo "$as_me: error: *** unknown target vector $vec" >&2;}
13354 { (exit 1); exit 1; }; } ;;
13357 if test ${target_size} = 64; then
13360 if test x
"${vec}" = x
"${defvec}"; then
13361 bfd_default_target_size
=${target_size}
13365 # Target architecture .o files.
13366 # A couple of CPUs use shorter file names to avoid problems on DOS
13368 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
13370 # Weed out duplicate .o files.
13392 if test x
${all_targets} = xtrue
; then
13393 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
13394 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
13398 test -n "$assocvecs" &&
13399 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13400 else # all_targets is true
13401 # Only set these if they will be nonempty, for the clever echo.
13404 test -n "$selvecs" &&
13405 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
13406 test -n "$selvecs" &&
13407 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13408 test -n "$selarchs" &&
13409 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13410 fi # all_targets is true
13412 case ${host64}-${target64}-${want64} in
13415 bfd_libs
='$(BFD64_LIBS) $(BFD32_LIBS)'
13416 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
13417 if test $BFD_HOST_64_BIT_DEFINED = 0; then
13418 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
13419 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
13420 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
13421 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
13423 if test -n "$GCC" ; then
13425 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13426 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
13427 # Add more tests for gcc versions with non-working 64-bit support here.
13428 cat >conftest.
$ac_ext <<_ACEOF
13431 cat confdefs.h
>>conftest.
$ac_ext
13432 cat >>conftest.
$ac_ext <<_ACEOF
13433 /* end confdefs.h. */
13434 :__GNUC__:__GNUC_MINOR__:__i386__:
13436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13437 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
13439 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13440 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
13442 echo "$as_me:$LINENO: result: no" >&5
13443 echo "${ECHO_T}no" >&6
13447 if test $bad_64bit_gcc = yes ; then
13448 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
13449 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
13450 { (exit 1); exit 1; }; }
13456 bfd_libs
='$(BFD32_LIBS)'
13457 all_backends
='$(BFD32_BACKENDS)'
13468 # Determine the host dependant file_ptr a.k.a. off_t type. In order
13469 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
13470 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
13471 # Hopefully a reasonable assumption since fseeko et.al. should be
13472 # upward compatible.
13478 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
13480 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13481 echo "$as_me:$LINENO: checking for $ac_func" >&5
13482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13483 if eval "test \"\${$as_ac_var+set}\" = set"; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 cat >conftest.
$ac_ext <<_ACEOF
13489 cat confdefs.h
>>conftest.
$ac_ext
13490 cat >>conftest.
$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13494 #define $ac_func innocuous_$ac_func
13496 /* System header to define __stub macros and hopefully few prototypes,
13497 which can conflict with char $ac_func (); below.
13498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13499 <limits.h> exists even on freestanding compilers. */
13502 # include <limits.h>
13504 # include <assert.h>
13509 /* Override any gcc2 internal prototype to avoid an error. */
13514 /* We use char because int might match the return type of a gcc2
13515 builtin and then its argument prototype would still apply. */
13517 /* The GNU C library defines this for functions which it implements
13518 to always fail with ENOSYS. Some functions are actually named
13519 something starting with __ and the normal name is an alias. */
13520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13523 char (*f) () = $ac_func;
13532 return f != $ac_func;
13537 rm -f conftest.
$ac_objext conftest
$ac_exeext
13538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13539 (eval $ac_link) 2>conftest.er1
13541 grep -v '^ *+' conftest.er1
>conftest.err
13543 cat conftest.err
>&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } &&
13546 { ac_try
='test -z "$ac_c_werror_flag"
13547 || test ! -s conftest.err'
13548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13549 (eval $ac_try) 2>&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); }; } &&
13553 { ac_try
='test -s conftest$ac_exeext'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; }; then
13559 eval "$as_ac_var=yes"
13561 echo "$as_me: failed program was:" >&5
13562 sed 's/^/| /' conftest.
$ac_ext >&5
13564 eval "$as_ac_var=no"
13566 rm -f conftest.err conftest.
$ac_objext \
13567 conftest
$ac_exeext conftest.
$ac_ext
13569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13571 if test `eval echo '${'$as_ac_var'}'` = yes; then
13572 cat >>confdefs.h
<<_ACEOF
13573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13579 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
13580 echo "$as_me:$LINENO: checking for off_t" >&5
13581 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13582 if test "${ac_cv_type_off_t+set}" = set; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13585 cat >conftest.
$ac_ext <<_ACEOF
13588 cat confdefs.h
>>conftest.
$ac_ext
13589 cat >>conftest.
$ac_ext <<_ACEOF
13590 /* end confdefs.h. */
13591 $ac_includes_default
13597 if (sizeof (off_t))
13603 rm -f conftest.
$ac_objext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13605 (eval $ac_compile) 2>conftest.er1
13607 grep -v '^ *+' conftest.er1
>conftest.err
13609 cat conftest.err
>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try
='test -z "$ac_c_werror_flag"
13613 || test ! -s conftest.err'
13614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13615 (eval $ac_try) 2>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; } &&
13619 { ac_try
='test -s conftest.$ac_objext'
13620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621 (eval $ac_try) 2>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); }; }; then
13625 ac_cv_type_off_t
=yes
13627 echo "$as_me: failed program was:" >&5
13628 sed 's/^/| /' conftest.
$ac_ext >&5
13630 ac_cv_type_off_t
=no
13632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13634 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13635 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13637 echo "$as_me:$LINENO: checking size of off_t" >&5
13638 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
13639 if test "${ac_cv_sizeof_off_t+set}" = set; then
13640 echo $ECHO_N "(cached) $ECHO_C" >&6
13642 if test "$ac_cv_type_off_t" = yes; then
13643 # The cast to unsigned long works around a bug in the HP C Compiler
13644 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13645 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13646 # This bug is HP SR number 8606223364.
13647 if test "$cross_compiling" = yes; then
13648 # Depending upon the size, compute the lo and hi bounds.
13649 cat >conftest.
$ac_ext <<_ACEOF
13652 cat confdefs.h
>>conftest.
$ac_ext
13653 cat >>conftest.
$ac_ext <<_ACEOF
13654 /* end confdefs.h. */
13655 $ac_includes_default
13659 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
13666 rm -f conftest.
$ac_objext
13667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13668 (eval $ac_compile) 2>conftest.er1
13670 grep -v '^ *+' conftest.er1
>conftest.err
13672 cat conftest.err
>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } &&
13675 { ac_try
='test -z "$ac_c_werror_flag"
13676 || test ! -s conftest.err'
13677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13678 (eval $ac_try) 2>&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); }; } &&
13682 { ac_try
='test -s conftest.$ac_objext'
13683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13684 (eval $ac_try) 2>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); }; }; then
13690 cat >conftest.
$ac_ext <<_ACEOF
13693 cat confdefs.h
>>conftest.
$ac_ext
13694 cat >>conftest.
$ac_ext <<_ACEOF
13695 /* end confdefs.h. */
13696 $ac_includes_default
13700 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
13707 rm -f conftest.
$ac_objext
13708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13709 (eval $ac_compile) 2>conftest.er1
13711 grep -v '^ *+' conftest.er1
>conftest.err
13713 cat conftest.err
>&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); } &&
13716 { ac_try
='test -z "$ac_c_werror_flag"
13717 || test ! -s conftest.err'
13718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13719 (eval $ac_try) 2>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); }; } &&
13723 { ac_try
='test -s conftest.$ac_objext'
13724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13725 (eval $ac_try) 2>&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); }; }; then
13729 ac_hi
=$ac_mid; break
13731 echo "$as_me: failed program was:" >&5
13732 sed 's/^/| /' conftest.
$ac_ext >&5
13734 ac_lo
=`expr $ac_mid + 1`
13735 if test $ac_lo -le $ac_mid; then
13739 ac_mid
=`expr 2 '*' $ac_mid + 1`
13741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13744 echo "$as_me: failed program was:" >&5
13745 sed 's/^/| /' conftest.
$ac_ext >&5
13747 cat >conftest.
$ac_ext <<_ACEOF
13750 cat confdefs.h
>>conftest.
$ac_ext
13751 cat >>conftest.
$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 $ac_includes_default
13757 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
13764 rm -f conftest.
$ac_objext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13766 (eval $ac_compile) 2>conftest.er1
13768 grep -v '^ *+' conftest.er1
>conftest.err
13770 cat conftest.err
>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); } &&
13773 { ac_try
='test -z "$ac_c_werror_flag"
13774 || test ! -s conftest.err'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; } &&
13780 { ac_try
='test -s conftest.$ac_objext'
13781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13782 (eval $ac_try) 2>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); }; }; then
13788 cat >conftest.
$ac_ext <<_ACEOF
13791 cat confdefs.h
>>conftest.
$ac_ext
13792 cat >>conftest.
$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13794 $ac_includes_default
13798 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
13805 rm -f conftest.
$ac_objext
13806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13807 (eval $ac_compile) 2>conftest.er1
13809 grep -v '^ *+' conftest.er1
>conftest.err
13811 cat conftest.err
>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); } &&
13814 { ac_try
='test -z "$ac_c_werror_flag"
13815 || test ! -s conftest.err'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; } &&
13821 { ac_try
='test -s conftest.$ac_objext'
13822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13823 (eval $ac_try) 2>&5
13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826 (exit $ac_status); }; }; then
13827 ac_lo
=$ac_mid; break
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.
$ac_ext >&5
13832 ac_hi
=`expr '(' $ac_mid ')' - 1`
13833 if test $ac_mid -le $ac_hi; then
13837 ac_mid
=`expr 2 '*' $ac_mid`
13839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13842 echo "$as_me: failed program was:" >&5
13843 sed 's/^/| /' conftest.
$ac_ext >&5
13847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13850 # Binary search between lo and hi bounds.
13851 while test "x$ac_lo" != "x$ac_hi"; do
13852 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13853 cat >conftest.
$ac_ext <<_ACEOF
13856 cat confdefs.h
>>conftest.
$ac_ext
13857 cat >>conftest.
$ac_ext <<_ACEOF
13858 /* end confdefs.h. */
13859 $ac_includes_default
13863 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
13870 rm -f conftest.
$ac_objext
13871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13872 (eval $ac_compile) 2>conftest.er1
13874 grep -v '^ *+' conftest.er1
>conftest.err
13876 cat conftest.err
>&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } &&
13879 { ac_try
='test -z "$ac_c_werror_flag"
13880 || test ! -s conftest.err'
13881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882 (eval $ac_try) 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; } &&
13886 { ac_try
='test -s conftest.$ac_objext'
13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888 (eval $ac_try) 2>&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); }; }; then
13894 echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.
$ac_ext >&5
13897 ac_lo
=`expr '(' $ac_mid ')' + 1`
13899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13902 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
13903 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
13904 See \`config.log' for more details." >&5
13905 echo "$as_me: error: cannot compute sizeof (off_t), 77
13906 See \`config.log' for more details." >&2;}
13907 { (exit 1); exit 1; }; } ;;
13910 if test "$cross_compiling" = yes; then
13911 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13912 See \`config.log' for more details." >&5
13913 echo "$as_me: error: cannot run test program while cross compiling
13914 See \`config.log' for more details." >&2;}
13915 { (exit 1); exit 1; }; }
13917 cat >conftest.
$ac_ext <<_ACEOF
13920 cat confdefs.h
>>conftest.
$ac_ext
13921 cat >>conftest.
$ac_ext <<_ACEOF
13922 /* end confdefs.h. */
13923 $ac_includes_default
13924 long longval () { return (long) (sizeof (off_t)); }
13925 unsigned long ulongval () { return (long) (sizeof (off_t)); }
13927 #include <stdlib.h>
13932 FILE *f = fopen ("conftest.val", "w");
13935 if (((long) (sizeof (off_t))) < 0)
13937 long i = longval ();
13938 if (i != ((long) (sizeof (off_t))))
13940 fprintf (f, "%ld\n", i);
13944 unsigned long i = ulongval ();
13945 if (i != ((long) (sizeof (off_t))))
13947 fprintf (f, "%lu\n", i);
13949 exit (ferror (f) || fclose (f) != 0);
13955 rm -f conftest
$ac_exeext
13956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13957 (eval $ac_link) 2>&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; }; then
13966 ac_cv_sizeof_off_t
=`cat conftest.val`
13968 echo "$as_me: program exited with status $ac_status" >&5
13969 echo "$as_me: failed program was:" >&5
13970 sed 's/^/| /' conftest.
$ac_ext >&5
13972 ( exit $ac_status )
13973 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
13974 See \`config.log' for more details." >&5
13975 echo "$as_me: error: cannot compute sizeof (off_t), 77
13976 See \`config.log' for more details." >&2;}
13977 { (exit 1); exit 1; }; }
13979 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13984 ac_cv_sizeof_off_t
=0
13987 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
13988 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
13989 cat >>confdefs.h
<<_ACEOF
13990 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
13995 echo "$as_me:$LINENO: checking file_ptr type" >&5
13996 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
13997 bfd_file_ptr
="long"
13998 bfd_ufile_ptr
="unsigned long"
13999 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
14000 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
14001 bfd_file_ptr
=BFD_HOST_64_BIT
14002 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
14004 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
14005 echo "${ECHO_T}$bfd_file_ptr" >&6
14011 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
14012 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
14013 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
14014 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
14015 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
14020 for ac_header
in stdlib.h unistd.h
14022 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14024 echo "$as_me:$LINENO: checking for $ac_header" >&5
14025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14027 echo $ECHO_N "(cached) $ECHO_C" >&6
14029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14032 # Is the header compilable?
14033 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14034 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14035 cat >conftest.
$ac_ext <<_ACEOF
14038 cat confdefs.h
>>conftest.
$ac_ext
14039 cat >>conftest.
$ac_ext <<_ACEOF
14040 /* end confdefs.h. */
14041 $ac_includes_default
14042 #include <$ac_header>
14044 rm -f conftest.
$ac_objext
14045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14046 (eval $ac_compile) 2>conftest.er1
14048 grep -v '^ *+' conftest.er1
>conftest.err
14050 cat conftest.err
>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
14053 { ac_try
='test -z "$ac_c_werror_flag"
14054 || test ! -s conftest.err'
14055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14056 (eval $ac_try) 2>&5
14058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); }; } &&
14060 { ac_try
='test -s conftest.$ac_objext'
14061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14062 (eval $ac_try) 2>&5
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); }; }; then
14066 ac_header_compiler
=yes
14068 echo "$as_me: failed program was:" >&5
14069 sed 's/^/| /' conftest.
$ac_ext >&5
14071 ac_header_compiler
=no
14073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14075 echo "${ECHO_T}$ac_header_compiler" >&6
14077 # Is the header present?
14078 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14080 cat >conftest.
$ac_ext <<_ACEOF
14083 cat confdefs.h
>>conftest.
$ac_ext
14084 cat >>conftest.
$ac_ext <<_ACEOF
14085 /* end confdefs.h. */
14086 #include <$ac_header>
14088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14089 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14091 grep -v '^ *+' conftest.er1
>conftest.err
14093 cat conftest.err
>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } >/dev
/null
; then
14096 if test -s conftest.err
; then
14097 ac_cpp_err
=$ac_c_preproc_warn_flag
14098 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14105 if test -z "$ac_cpp_err"; then
14106 ac_header_preproc
=yes
14108 echo "$as_me: failed program was:" >&5
14109 sed 's/^/| /' conftest.
$ac_ext >&5
14111 ac_header_preproc
=no
14113 rm -f conftest.err conftest.
$ac_ext
14114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14115 echo "${ECHO_T}$ac_header_preproc" >&6
14117 # So? What about this header?
14118 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14121 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14123 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14124 ac_header_preproc
=yes
14127 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14128 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14129 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14130 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14131 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14132 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14133 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14134 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14136 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14137 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14138 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14141 ## ------------------------------------------ ##
14142 ## Report this to the AC_PACKAGE_NAME lists. ##
14143 ## ------------------------------------------ ##
14146 sed "s/^/$as_me: WARNING: /" >&2
14149 echo "$as_me:$LINENO: checking for $ac_header" >&5
14150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14152 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 eval "$as_ac_Header=\$ac_header_preproc"
14156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14161 cat >>confdefs.h
<<_ACEOF
14162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14170 for ac_func
in getpagesize
14172 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14173 echo "$as_me:$LINENO: checking for $ac_func" >&5
14174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14175 if eval "test \"\${$as_ac_var+set}\" = set"; then
14176 echo $ECHO_N "(cached) $ECHO_C" >&6
14178 cat >conftest.
$ac_ext <<_ACEOF
14181 cat confdefs.h
>>conftest.
$ac_ext
14182 cat >>conftest.
$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14186 #define $ac_func innocuous_$ac_func
14188 /* System header to define __stub macros and hopefully few prototypes,
14189 which can conflict with char $ac_func (); below.
14190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14191 <limits.h> exists even on freestanding compilers. */
14194 # include <limits.h>
14196 # include <assert.h>
14201 /* Override any gcc2 internal prototype to avoid an error. */
14206 /* We use char because int might match the return type of a gcc2
14207 builtin and then its argument prototype would still apply. */
14209 /* The GNU C library defines this for functions which it implements
14210 to always fail with ENOSYS. Some functions are actually named
14211 something starting with __ and the normal name is an alias. */
14212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14215 char (*f) () = $ac_func;
14224 return f != $ac_func;
14229 rm -f conftest.
$ac_objext conftest
$ac_exeext
14230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14231 (eval $ac_link) 2>conftest.er1
14233 grep -v '^ *+' conftest.er1
>conftest.err
14235 cat conftest.err
>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } &&
14238 { ac_try
='test -z "$ac_c_werror_flag"
14239 || test ! -s conftest.err'
14240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241 (eval $ac_try) 2>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); }; } &&
14245 { ac_try
='test -s conftest$ac_exeext'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; }; then
14251 eval "$as_ac_var=yes"
14253 echo "$as_me: failed program was:" >&5
14254 sed 's/^/| /' conftest.
$ac_ext >&5
14256 eval "$as_ac_var=no"
14258 rm -f conftest.err conftest.
$ac_objext \
14259 conftest
$ac_exeext conftest.
$ac_ext
14261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14263 if test `eval echo '${'$as_ac_var'}'` = yes; then
14264 cat >>confdefs.h
<<_ACEOF
14265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14271 echo "$as_me:$LINENO: checking for working mmap" >&5
14272 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14273 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 if test "$cross_compiling" = yes; then
14277 ac_cv_func_mmap_fixed_mapped
=no
14279 cat >conftest.
$ac_ext <<_ACEOF
14282 cat confdefs.h
>>conftest.
$ac_ext
14283 cat >>conftest.
$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14285 $ac_includes_default
14286 /* malloc might have been renamed as rpl_malloc. */
14289 /* Thanks to Mike Haertel and Jim Avera for this test.
14290 Here is a matrix of mmap possibilities:
14291 mmap private not fixed
14292 mmap private fixed at somewhere currently unmapped
14293 mmap private fixed at somewhere already mapped
14294 mmap shared not fixed
14295 mmap shared fixed at somewhere currently unmapped
14296 mmap shared fixed at somewhere already mapped
14297 For private mappings, we should verify that changes cannot be read()
14298 back from the file, nor mmap's back from the file at a different
14299 address. (There have been systems where private was not correctly
14300 implemented like the infamous i386 svr4.0, and systems where the
14301 VM page cache was not coherent with the file system buffer cache
14302 like early versions of FreeBSD and possibly contemporary NetBSD.)
14303 For shared mappings, we should conversely verify that changes get
14304 propagated back to all the places they're supposed to be.
14306 Grep wants private fixed already mapped.
14307 The main things grep needs to know about mmap are:
14308 * does it exist and is it safe to write into the mmap'd area
14309 * how to use it (BSD variants) */
14312 #include <sys/mman.h>
14314 #if !STDC_HEADERS && !HAVE_STDLIB_H
14318 /* This mess was copied from the GNU getpagesize.h. */
14319 #if !HAVE_GETPAGESIZE
14320 /* Assume that all systems that can run configure have sys/param.h. */
14321 # if !HAVE_SYS_PARAM_H
14322 # define HAVE_SYS_PARAM_H 1
14325 # ifdef _SC_PAGESIZE
14326 # define getpagesize() sysconf(_SC_PAGESIZE)
14327 # else /* no _SC_PAGESIZE */
14328 # if HAVE_SYS_PARAM_H
14329 # include <sys/param.h>
14330 # ifdef EXEC_PAGESIZE
14331 # define getpagesize() EXEC_PAGESIZE
14332 # else /* no EXEC_PAGESIZE */
14334 # define getpagesize() NBPG * CLSIZE
14337 # endif /* no CLSIZE */
14338 # else /* no NBPG */
14340 # define getpagesize() NBPC
14341 # else /* no NBPC */
14343 # define getpagesize() PAGESIZE
14344 # endif /* PAGESIZE */
14345 # endif /* no NBPC */
14346 # endif /* no NBPG */
14347 # endif /* no EXEC_PAGESIZE */
14348 # else /* no HAVE_SYS_PARAM_H */
14349 # define getpagesize() 8192 /* punt totally */
14350 # endif /* no HAVE_SYS_PARAM_H */
14351 # endif /* no _SC_PAGESIZE */
14353 #endif /* no HAVE_GETPAGESIZE */
14358 char *data, *data2, *data3;
14362 pagesize = getpagesize ();
14364 /* First, make a file with some known garbage in it. */
14365 data = (char *) malloc (pagesize);
14368 for (i = 0; i < pagesize; ++i)
14369 *(data + i) = rand ();
14371 fd = creat ("conftest.mmap", 0600);
14374 if (write (fd, data, pagesize) != pagesize)
14378 /* Next, try to mmap the file at a fixed address which already has
14379 something else allocated at it. If we can, also make sure that
14380 we see the same garbage. */
14381 fd = open ("conftest.mmap", O_RDWR);
14384 data2 = (char *) malloc (2 * pagesize);
14387 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14388 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14389 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14391 for (i = 0; i < pagesize; ++i)
14392 if (*(data + i) != *(data2 + i))
14395 /* Finally, make sure that changes to the mapped area do not
14396 percolate back to the file as seen by read(). (This is a bug on
14397 some variants of i386 svr4.0.) */
14398 for (i = 0; i < pagesize; ++i)
14399 *(data2 + i) = *(data2 + i) + 1;
14400 data3 = (char *) malloc (pagesize);
14403 if (read (fd, data3, pagesize) != pagesize)
14405 for (i = 0; i < pagesize; ++i)
14406 if (*(data + i) != *(data3 + i))
14412 rm -f conftest
$ac_exeext
14413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14414 (eval $ac_link) 2>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14419 (eval $ac_try) 2>&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); }; }; then
14423 ac_cv_func_mmap_fixed_mapped
=yes
14425 echo "$as_me: program exited with status $ac_status" >&5
14426 echo "$as_me: failed program was:" >&5
14427 sed 's/^/| /' conftest.
$ac_ext >&5
14429 ( exit $ac_status )
14430 ac_cv_func_mmap_fixed_mapped
=no
14432 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14435 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14436 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14437 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14439 cat >>confdefs.h
<<\_ACEOF
14440 #define HAVE_MMAP 1
14444 rm -f conftest.mmap
14448 for ac_func
in madvise mprotect
14450 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14451 echo "$as_me:$LINENO: checking for $ac_func" >&5
14452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14453 if eval "test \"\${$as_ac_var+set}\" = set"; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14456 cat >conftest.
$ac_ext <<_ACEOF
14459 cat confdefs.h
>>conftest.
$ac_ext
14460 cat >>conftest.
$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14464 #define $ac_func innocuous_$ac_func
14466 /* System header to define __stub macros and hopefully few prototypes,
14467 which can conflict with char $ac_func (); below.
14468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14469 <limits.h> exists even on freestanding compilers. */
14472 # include <limits.h>
14474 # include <assert.h>
14479 /* Override any gcc2 internal prototype to avoid an error. */
14484 /* We use char because int might match the return type of a gcc2
14485 builtin and then its argument prototype would still apply. */
14487 /* The GNU C library defines this for functions which it implements
14488 to always fail with ENOSYS. Some functions are actually named
14489 something starting with __ and the normal name is an alias. */
14490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14493 char (*f) () = $ac_func;
14502 return f != $ac_func;
14507 rm -f conftest.
$ac_objext conftest
$ac_exeext
14508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14509 (eval $ac_link) 2>conftest.er1
14511 grep -v '^ *+' conftest.er1
>conftest.err
14513 cat conftest.err
>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } &&
14516 { ac_try
='test -z "$ac_c_werror_flag"
14517 || test ! -s conftest.err'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; } &&
14523 { ac_try
='test -s conftest$ac_exeext'
14524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14525 (eval $ac_try) 2>&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); }; }; then
14529 eval "$as_ac_var=yes"
14531 echo "$as_me: failed program was:" >&5
14532 sed 's/^/| /' conftest.
$ac_ext >&5
14534 eval "$as_ac_var=no"
14536 rm -f conftest.err conftest.
$ac_objext \
14537 conftest
$ac_exeext conftest.
$ac_ext
14539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14541 if test `eval echo '${'$as_ac_var'}'` = yes; then
14542 cat >>confdefs.h
<<_ACEOF
14543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14549 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
14551 cat >>confdefs.h
<<\_ACEOF
14557 rm -f doc
/config.status
14558 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
14560 ac_config_commands
="$ac_config_commands default"
14567 cat >confcache
<<\_ACEOF
14568 # This file is a shell script that caches the results of configure
14569 # tests run on this system so they can be shared between configure
14570 # scripts and configure runs, see configure's option --config-cache.
14571 # It is not useful on other systems. If it contains results you don't
14572 # want to keep, you may remove or edit it.
14574 # config.status only pays attention to the cache file if you give it
14575 # the --recheck option to rerun configure.
14577 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14578 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14579 # following values.
14583 # The following way of writing the cache mishandles newlines in values,
14584 # but we know of no workaround that is simple, portable, and efficient.
14585 # So, don't put newlines in cache variables' values.
14586 # Ultrix sh set writes to stderr and can't be redirected directly,
14587 # and sets the high bit in the cache file unless we assign to the vars.
14590 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14592 # `set' does not quote correctly, so add quotes (double-quote
14593 # substitution turns \\\\ into \\, and sed turns \\ into \).
14596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14599 # `set' quotes correctly as required by POSIX, so do not add quotes.
14601 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14608 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14610 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14612 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
14613 if test -w $cache_file; then
14614 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14615 cat confcache
>$cache_file
14617 echo "not updating unwritable cache $cache_file"
14622 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14623 # Let make expand exec_prefix.
14624 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14626 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14627 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14628 # trailing colons and then remove the whole line if VPATH becomes empty
14629 # (actually we leave an empty line to preserve line numbers).
14630 if test "x$srcdir" = x.
; then
14631 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14632 s/:*\$(srcdir):*/:/;
14633 s/:*\${srcdir}:*/:/;
14635 s/^\([^=]*=[ ]*\):*/\1/;
14641 DEFS
=-DHAVE_CONFIG_H
14645 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14646 # 1. Remove the extension, and $U if already installed.
14647 ac_i
=`echo "$ac_i" |
14648 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14650 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
14651 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
14653 LIBOBJS
=$ac_libobjs
14655 LTLIBOBJS
=$ac_ltlibobjs
14658 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14659 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14660 Usually this means the macro was only invoked conditionally." >&5
14661 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14662 Usually this means the macro was only invoked conditionally." >&2;}
14663 { (exit 1); exit 1; }; }
14665 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14666 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14667 Usually this means the macro was only invoked conditionally." >&5
14668 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14669 Usually this means the macro was only invoked conditionally." >&2;}
14670 { (exit 1); exit 1; }; }
14672 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14673 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14674 Usually this means the macro was only invoked conditionally." >&5
14675 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14676 Usually this means the macro was only invoked conditionally." >&2;}
14677 { (exit 1); exit 1; }; }
14679 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
14680 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
14681 Usually this means the macro was only invoked conditionally." >&5
14682 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
14683 Usually this means the macro was only invoked conditionally." >&2;}
14684 { (exit 1); exit 1; }; }
14687 : ${CONFIG_STATUS=./config.status}
14688 ac_clean_files_save
=$ac_clean_files
14689 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14690 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14691 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14692 cat >$CONFIG_STATUS <<_ACEOF
14694 # Generated by $as_me.
14695 # Run this file to recreate the current configuration.
14696 # Compiler output produced by configure, useful for debugging
14697 # configure, is in config.log if it exists.
14700 ac_cs_recheck=false
14702 SHELL=\${CONFIG_SHELL-$SHELL}
14705 cat >>$CONFIG_STATUS <<\_ACEOF
14706 ## --------------------- ##
14707 ## M4sh Initialization. ##
14708 ## --------------------- ##
14710 # Be Bourne compatible
14711 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14714 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14715 # is contrary to our usage. Disable this feature.
14716 alias -g '${1+"$@"}'='"$@"'
14717 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
14720 DUALCASE
=1; export DUALCASE
# for MKS sh
14722 # Support unset when possible.
14723 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
14730 # Work around bugs in pre-3.0 UWIN ksh.
14731 $as_unset ENV MAIL MAILPATH
14738 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14739 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14740 LC_TELEPHONE LC_TIME
14742 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14743 eval $as_var=C
; export $as_var
14749 # Required to use basename.
14750 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14756 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
14757 as_basename
=basename
14763 # Name of the executable.
14764 as_me
=`$as_basename "$0" ||
14765 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14766 X"$0" : 'X\(//\)$' \| \
14767 X"$0" : 'X\(/\)$' \| \
14768 . : '\(.\)' 2>/dev/null ||
14770 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14771 /^X\/\(\/\/\)$/{ s//\1/; q; }
14772 /^X\/\(\/\).*/{ s//\1/; q; }
14776 # PATH needs CR, and LINENO needs CR and PATH.
14777 # Avoid depending upon Character Ranges.
14778 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14779 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14780 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14781 as_cr_digits
='0123456789'
14782 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14784 # The user is always right.
14785 if test "${PATH_SEPARATOR+set}" != set; then
14786 echo "#! /bin/sh" >conf$$.sh
14787 echo "exit 0" >>conf$$.sh
14789 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14798 as_lineno_1
=$LINENO
14799 as_lineno_2
=$LINENO
14800 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14801 test "x$as_lineno_1" != "x$as_lineno_2" &&
14802 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14803 # Find who we are. Look in the path if we contain no path at all
14806 *[\\/]* ) as_myself
=$0 ;;
14807 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14808 for as_dir
in $PATH
14811 test -z "$as_dir" && as_dir
=.
14812 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14817 # We did not find ourselves, most probably we were run as `sh COMMAND'
14818 # in which case we are not to be found in the path.
14819 if test "x$as_myself" = x
; then
14822 if test ! -f "$as_myself"; then
14823 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14824 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14825 { (exit 1); exit 1; }; }
14827 case $CONFIG_SHELL in
14829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14830 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14833 test -z "$as_dir" && as_dir
=.
14834 for as_base
in sh bash ksh sh5
; do
14837 if ("$as_dir/$as_base" -c '
14838 as_lineno_1=$LINENO
14839 as_lineno_2=$LINENO
14840 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14841 test "x$as_lineno_1" != "x$as_lineno_2" &&
14842 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14843 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
14844 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
14845 CONFIG_SHELL
=$as_dir/$as_base
14846 export CONFIG_SHELL
14847 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14855 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14856 # uniformly replaced by the line number. The first 'sed' inserts a
14857 # line-number line before each line; the second 'sed' does the real
14858 # work. The second script uses 'N' to pair each line-number line
14859 # with the numbered line, and appends trailing '-' during
14860 # substitution so that $LINENO is not a special case at line end.
14861 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14862 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14863 sed '=' <$as_myself |
14868 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14871 s,^['$as_cr_digits']*\n,,
14872 ' >$as_me.lineno
&&
14873 chmod +x
$as_me.lineno ||
14874 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14875 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14876 { (exit 1); exit 1; }; }
14878 # Don't try to exec as it changes $[0], causing all sort of problems
14879 # (the dirname of $[0] is not the place where we might find the
14880 # original and so on. Autoconf is especially sensible to this).
14882 # Exit status is that of the last command.
14887 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14888 *c
*,-n*) ECHO_N
= ECHO_C
='
14890 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14891 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14894 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14900 rm -f conf$$ conf$$.exe conf$$.
file
14902 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14903 # We could just check for DJGPP; but this test a) works b) is more generic
14904 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14905 if test -f conf$$.exe
; then
14906 # Don't use ln at all; we don't have any links
14911 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14916 rm -f conf$$ conf$$.exe conf$$.
file
14918 if mkdir
-p .
2>/dev
/null
; then
14921 test -d .
/-p && rmdir .
/-p
14925 as_executable_p
="test -f"
14927 # Sed expression to map a string onto a valid CPP name.
14928 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14930 # Sed expression to map a string onto a valid variable name.
14931 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14935 # We need space, tab and new line, in precisely that order.
14945 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14946 # report actual input values of CONFIG_FILES etc. instead of their
14947 # values after options handling. Logging --version etc. is OK.
14951 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14952 ## Running $as_me. ##
14957 This file was extended by $as_me, which was
14958 generated by GNU Autoconf 2.59. Invocation command line was
14960 CONFIG_FILES = $CONFIG_FILES
14961 CONFIG_HEADERS = $CONFIG_HEADERS
14962 CONFIG_LINKS = $CONFIG_LINKS
14963 CONFIG_COMMANDS = $CONFIG_COMMANDS
14967 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14971 # Files that config.status was made for.
14972 if test -n "$ac_config_files"; then
14973 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14976 if test -n "$ac_config_headers"; then
14977 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14980 if test -n "$ac_config_links"; then
14981 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14984 if test -n "$ac_config_commands"; then
14985 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14988 cat >>$CONFIG_STATUS <<\_ACEOF
14991 \`$as_me' instantiates files from templates according to the
14992 current configuration.
14994 Usage: $0 [OPTIONS] [FILE]...
14996 -h, --help print this help, then exit
14997 -V, --version print version number, then exit
14998 -q, --quiet do not print progress messages
14999 -d, --debug don't remove temporary files
15000 --recheck update $as_me by reconfiguring in the same conditions
15001 --file=FILE[:TEMPLATE]
15002 instantiate the configuration file FILE
15003 --header=FILE[:TEMPLATE]
15004 instantiate the configuration header FILE
15006 Configuration files:
15009 Configuration headers:
15012 Configuration commands:
15015 Report bugs to <bug-autoconf@gnu.org>."
15018 cat >>$CONFIG_STATUS <<_ACEOF
15021 configured by $0, generated by GNU Autoconf 2.59,
15022 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15024 Copyright (C) 2003 Free Software Foundation, Inc.
15025 This config.status script is free software; the Free Software Foundation
15026 gives unlimited permission to copy, distribute and modify it."
15031 cat >>$CONFIG_STATUS <<\_ACEOF
15032 # If no file are specified by the user, then we need to provide default
15033 # value. By we need to know if files were specified by the user.
15039 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15040 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15048 *) # This is not an option, so the user has probably given explicit
15051 ac_need_defaults
=false
;;
15055 # Handling of the options.
15057 cat >>$CONFIG_STATUS <<\_ACEOF
15058 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15060 --version |
--vers* |
-V )
15061 echo "$ac_cs_version"; exit 0 ;;
15063 # Conflict between --help and --header
15064 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15065 Try \`$0 --help' for more information." >&5
15066 echo "$as_me: error: ambiguous option: $1
15067 Try \`$0 --help' for more information." >&2;}
15068 { (exit 1); exit 1; }; };;
15069 --help |
--hel |
-h )
15070 echo "$ac_cs_usage"; exit 0 ;;
15071 --debug |
--d* |
-d )
15073 --file |
--fil |
--fi |
--f )
15075 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15076 ac_need_defaults
=false
;;
15077 --header |
--heade |
--head |
--hea )
15079 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15080 ac_need_defaults
=false
;;
15081 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15082 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15085 # This is an error.
15086 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15087 Try \`$0 --help' for more information." >&5
15088 echo "$as_me: error: unrecognized option: $1
15089 Try \`$0 --help' for more information." >&2;}
15090 { (exit 1); exit 1; }; } ;;
15092 *) ac_config_targets
="$ac_config_targets $1" ;;
15098 ac_configure_extra_args
=
15100 if $ac_cs_silent; then
15102 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15106 cat >>$CONFIG_STATUS <<_ACEOF
15107 if \$ac_cs_recheck; then
15108 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15109 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15114 cat >>$CONFIG_STATUS <<_ACEOF
15116 # INIT-COMMANDS section.
15119 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15126 cat >>$CONFIG_STATUS <<\_ACEOF
15127 for ac_config_target
in $ac_config_targets
15129 case "$ac_config_target" in
15130 # Handling of arguments.
15131 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15132 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15133 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15134 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15135 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15136 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15137 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15138 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15139 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15140 { (exit 1); exit 1; }; };;
15144 # If the user did not use the arguments to specify the items to instantiate,
15145 # then the envvar interface is used. Set only those that are not.
15146 # We use the long form for the default assignment because of an extremely
15147 # bizarre bug on SunOS 4.1.3.
15148 if $ac_need_defaults; then
15149 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15150 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15151 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15154 # Have a temporary directory for convenience. Make it in the build tree
15155 # simply because there is no reason to put it here, and in addition,
15156 # creating and moving files from /tmp can sometimes cause problems.
15157 # Create a temporary directory, and hook for its removal unless debugging.
15160 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15161 trap '{ (exit 1); exit 1; }' 1 2 13 15
15164 # Create a (secure) tmp directory for tmp files.
15167 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15168 test -n "$tmp" && test -d "$tmp"
15171 tmp
=.
/confstat$$
-$RANDOM
15172 (umask 077 && mkdir
$tmp)
15175 echo "$me: cannot create a temporary directory in ." >&2
15176 { (exit 1); exit 1; }
15181 cat >>$CONFIG_STATUS <<_ACEOF
15184 # CONFIG_FILES section.
15187 # No need to generate the scripts if there are no CONFIG_FILES.
15188 # This happens for instance when ./config.status config.h
15189 if test -n "\$CONFIG_FILES"; then
15190 # Protect against being on the right side of a sed subst in config.status.
15191 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15192 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15193 s,@SHELL@,$SHELL,;t t
15194 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15195 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15196 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15197 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15198 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15199 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15200 s,@exec_prefix@,$exec_prefix,;t t
15201 s,@prefix@,$prefix,;t t
15202 s,@program_transform_name@,$program_transform_name,;t t
15203 s,@bindir@,$bindir,;t t
15204 s,@sbindir@,$sbindir,;t t
15205 s,@libexecdir@,$libexecdir,;t t
15206 s,@datadir@,$datadir,;t t
15207 s,@sysconfdir@,$sysconfdir,;t t
15208 s,@sharedstatedir@,$sharedstatedir,;t t
15209 s,@localstatedir@,$localstatedir,;t t
15210 s,@libdir@,$libdir,;t t
15211 s,@includedir@,$includedir,;t t
15212 s,@oldincludedir@,$oldincludedir,;t t
15213 s,@infodir@,$infodir,;t t
15214 s,@mandir@,$mandir,;t t
15215 s,@build_alias@,$build_alias,;t t
15216 s,@host_alias@,$host_alias,;t t
15217 s,@target_alias@,$target_alias,;t t
15218 s,@DEFS@,$DEFS,;t t
15219 s,@ECHO_C@,$ECHO_C,;t t
15220 s,@ECHO_N@,$ECHO_N,;t t
15221 s,@ECHO_T@,$ECHO_T,;t t
15222 s,@LIBS@,$LIBS,;t t
15223 s,@build@,$build,;t t
15224 s,@build_cpu@,$build_cpu,;t t
15225 s,@build_vendor@,$build_vendor,;t t
15226 s,@build_os@,$build_os,;t t
15227 s,@host@,$host,;t t
15228 s,@host_cpu@,$host_cpu,;t t
15229 s,@host_vendor@,$host_vendor,;t t
15230 s,@host_os@,$host_os,;t t
15231 s,@target@,$target,;t t
15232 s,@target_cpu@,$target_cpu,;t t
15233 s,@target_vendor@,$target_vendor,;t t
15234 s,@target_os@,$target_os,;t t
15236 s,@CFLAGS@,$CFLAGS,;t t
15237 s,@LDFLAGS@,$LDFLAGS,;t t
15238 s,@CPPFLAGS@,$CPPFLAGS,;t t
15239 s,@ac_ct_CC@,$ac_ct_CC,;t t
15240 s,@EXEEXT@,$EXEEXT,;t t
15241 s,@OBJEXT@,$OBJEXT,;t t
15242 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15243 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15244 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15245 s,@CYGPATH_W@,$CYGPATH_W,;t t
15246 s,@PACKAGE@,$PACKAGE,;t t
15247 s,@VERSION@,$VERSION,;t t
15248 s,@ACLOCAL@,$ACLOCAL,;t t
15249 s,@AUTOCONF@,$AUTOCONF,;t t
15250 s,@AUTOMAKE@,$AUTOMAKE,;t t
15251 s,@AUTOHEADER@,$AUTOHEADER,;t t
15252 s,@MAKEINFO@,$MAKEINFO,;t t
15253 s,@install_sh@,$install_sh,;t t
15254 s,@STRIP@,$STRIP,;t t
15255 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15256 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15257 s,@mkdir_p@,$mkdir_p,;t t
15259 s,@SET_MAKE@,$SET_MAKE,;t t
15260 s,@am__leading_dot@,$am__leading_dot,;t t
15261 s,@AMTAR@,$AMTAR,;t t
15262 s,@am__tar@,$am__tar,;t t
15263 s,@am__untar@,$am__untar,;t t
15264 s,@DEPDIR@,$DEPDIR,;t t
15265 s,@am__include@,$am__include,;t t
15266 s,@am__quote@,$am__quote,;t t
15267 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15268 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15269 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15270 s,@CCDEPMODE@,$CCDEPMODE,;t t
15271 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15272 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15274 s,@ac_ct_AR@,$ac_ct_AR,;t t
15275 s,@RANLIB@,$RANLIB,;t t
15276 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15277 s,@LN_S@,$LN_S,;t t
15278 s,@LIBTOOL@,$LIBTOOL,;t t
15279 s,@VERSUFFIX@,$VERSUFFIX,;t t
15280 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
15281 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15282 s,@NO_WERROR@,$NO_WERROR,;t t
15283 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15284 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15285 s,@MAINT@,$MAINT,;t t
15286 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
15287 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
15288 s,@host_noncanonical@,$host_noncanonical,;t t
15289 s,@target_noncanonical@,$target_noncanonical,;t t
15290 s,@bfdlibdir@,$bfdlibdir,;t t
15291 s,@bfdincludedir@,$bfdincludedir,;t t
15293 s,@EGREP@,$EGREP,;t t
15294 s,@ALLOCA@,$ALLOCA,;t t
15295 s,@USE_NLS@,$USE_NLS,;t t
15296 s,@MSGFMT@,$MSGFMT,;t t
15297 s,@GMSGFMT@,$GMSGFMT,;t t
15298 s,@XGETTEXT@,$XGETTEXT,;t t
15299 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15300 s,@CATALOGS@,$CATALOGS,;t t
15301 s,@CATOBJEXT@,$CATOBJEXT,;t t
15302 s,@DATADIRNAME@,$DATADIRNAME,;t t
15303 s,@GMOFILES@,$GMOFILES,;t t
15304 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15305 s,@INTLDEPS@,$INTLDEPS,;t t
15306 s,@INTLLIBS@,$INTLLIBS,;t t
15307 s,@INTLOBJS@,$INTLOBJS,;t t
15308 s,@POFILES@,$POFILES,;t t
15309 s,@POSUB@,$POSUB,;t t
15310 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
15311 s,@GT_NO@,$GT_NO,;t t
15312 s,@GT_YES@,$GT_YES,;t t
15313 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15315 s,@HDEFINES@,$HDEFINES,;t t
15316 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
15317 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
15318 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
15319 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
15320 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
15321 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15322 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15323 s,@COREFILE@,$COREFILE,;t t
15324 s,@COREFLAG@,$COREFLAG,;t t
15325 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
15326 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
15327 s,@TDEFINES@,$TDEFINES,;t t
15328 s,@wordsize@,$wordsize,;t t
15329 s,@bfd_libs@,$bfd_libs,;t t
15330 s,@all_backends@,$all_backends,;t t
15331 s,@bfd_backends@,$bfd_backends,;t t
15332 s,@bfd_machines@,$bfd_machines,;t t
15333 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
15334 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
15335 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
15336 s,@tdefaults@,$tdefaults,;t t
15337 s,@datarootdir@,$datarootdir,;t t
15338 s,@docdir@,$docdir,;t t
15339 s,@htmldir@,$htmldir,;t t
15340 s,@LIBOBJS@,$LIBOBJS,;t t
15341 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15346 cat >>$CONFIG_STATUS <<\_ACEOF
15347 # Split the substitutions into bite-sized pieces for seds with
15348 # small command number limits, like on Digital OSF/1 and HP-UX.
15349 ac_max_sed_lines
=48
15350 ac_sed_frag
=1 # Number of current file.
15351 ac_beg
=1 # First line for current file.
15352 ac_end
=$ac_max_sed_lines # Line after last line for current file.
15355 while $ac_more_lines; do
15356 if test $ac_beg -gt 1; then
15357 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15359 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15361 if test ! -s $tmp/subs.frag
; then
15362 ac_more_lines
=false
15364 # The purpose of the label and of the branching condition is to
15365 # speed up the sed processing (if there are no `@' at all, there
15366 # is no need to browse any of the substitutions).
15367 # These are the two extra sed commands mentioned above.
15369 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
15370 if test -z "$ac_sed_cmds"; then
15371 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
15373 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15375 ac_sed_frag
=`expr $ac_sed_frag + 1`
15377 ac_end
=`expr $ac_end + $ac_max_sed_lines`
15380 if test -z "$ac_sed_cmds"; then
15383 fi # test -n "$CONFIG_FILES"
15386 cat >>$CONFIG_STATUS <<\_ACEOF
15387 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
15388 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15390 - |
*:- |
*:-:* ) # input from stdin
15392 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15393 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15394 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15395 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15396 * ) ac_file_in
=$ac_file.
in ;;
15399 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15400 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15401 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15402 X"$ac_file" : 'X\(//\)[^/]' \| \
15403 X"$ac_file" : 'X\(//\)$' \| \
15404 X"$ac_file" : 'X\(/\)' \| \
15405 . : '\(.\)' 2>/dev/null ||
15407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15408 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15409 /^X\(\/\/\)$/{ s//\1/; q; }
15410 /^X\(\/\).*/{ s//\1/; q; }
15412 { if $as_mkdir_p; then
15417 while test ! -d "$as_dir"; do
15418 as_dirs
="$as_dir $as_dirs"
15419 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15420 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15421 X"$as_dir" : 'X\(//\)[^/]' \| \
15422 X"$as_dir" : 'X\(//\)$' \| \
15423 X"$as_dir" : 'X\(/\)' \| \
15424 . : '\(.\)' 2>/dev/null ||
15426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15427 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15428 /^X\(\/\/\)$/{ s//\1/; q; }
15429 /^X\(\/\).*/{ s//\1/; q; }
15432 test ! -n "$as_dirs" || mkdir
$as_dirs
15433 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15434 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15435 { (exit 1); exit 1; }; }; }
15439 if test "$ac_dir" != .
; then
15440 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15441 # A "../" for each directory in $ac_dir_suffix.
15442 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15444 ac_dir_suffix
= ac_top_builddir
=
15448 .
) # No --srcdir option. We are building in place.
15450 if test -z "$ac_top_builddir"; then
15453 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15455 [\\/]* | ?
:[\\/]* ) # Absolute path.
15456 ac_srcdir
=$srcdir$ac_dir_suffix;
15457 ac_top_srcdir
=$srcdir ;;
15458 *) # Relative path.
15459 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15460 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15463 # Do not use `cd foo && pwd` to compute absolute paths, because
15464 # the directories may not exist.
15466 .
) ac_abs_builddir
="$ac_dir";;
15469 .
) ac_abs_builddir
=`pwd`;;
15470 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15471 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15474 case $ac_abs_builddir in
15475 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15477 case ${ac_top_builddir}.
in
15478 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15479 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15480 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15483 case $ac_abs_builddir in
15484 .
) ac_abs_srcdir
=$ac_srcdir;;
15487 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15488 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15489 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15492 case $ac_abs_builddir in
15493 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15495 case $ac_top_srcdir in
15496 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15497 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15498 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15504 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15505 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
15508 if test x
"$ac_file" != x-
; then
15509 { echo "$as_me:$LINENO: creating $ac_file" >&5
15510 echo "$as_me: creating $ac_file" >&6;}
15513 # Let's still pretend it is `configure' which instantiates (i.e., don't
15514 # use $as_me), people would be surprised to read:
15515 # /* config.h. Generated by config.status. */
15516 if test x
"$ac_file" = x-
; then
15519 configure_input
="$ac_file. "
15521 configure_input
=$configure_input"Generated from `echo $ac_file_in |
15522 sed 's,.*/,,'` by configure."
15524 # First look for the input files in the build tree, otherwise in the
15526 ac_file_inputs
=`IFS=:
15527 for f in $ac_file_in; do
15529 -) echo $tmp/stdin ;;
15531 # Absolute (can't be DOS-style, as IFS=:)
15532 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15533 echo "$as_me: error: cannot find input file: $f" >&2;}
15534 { (exit 1); exit 1; }; }
15537 if test -f "$f"; then
15540 elif test -f "$srcdir/$f"; then
15545 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15546 echo "$as_me: error: cannot find input file: $f" >&2;}
15547 { (exit 1); exit 1; }; }
15550 done` ||
{ (exit 1); exit 1; }
15552 cat >>$CONFIG_STATUS <<_ACEOF
15556 cat >>$CONFIG_STATUS <<\_ACEOF
15558 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15559 s
,@configure_input@
,$configure_input,;t t
15560 s
,@srcdir@
,$ac_srcdir,;t t
15561 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
15562 s
,@top_srcdir@
,$ac_top_srcdir,;t t
15563 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
15564 s
,@builddir@
,$ac_builddir,;t t
15565 s
,@abs_builddir@
,$ac_abs_builddir,;t t
15566 s
,@top_builddir@
,$ac_top_builddir,;t t
15567 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
15568 s
,@INSTALL@
,$ac_INSTALL,;t t
15569 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15571 if test x"$ac_file" != x-; then
15572 mv $tmp/out $ac_file
15580 cat >>$CONFIG_STATUS <<\_ACEOF
15583 # CONFIG_HEADER section.
15586 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15587 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15589 # ac_d sets the value in "#define NAME VALUE" lines.
15590 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15591 ac_dB
='[ ].*$,\1#\2'
15594 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15595 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15596 ac_uB
='$,\1#\2define\3'
15600 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15601 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15603 - |
*:- |
*:-:* ) # input from stdin
15605 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15606 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15607 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15608 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15609 * ) ac_file_in
=$ac_file.
in ;;
15612 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15613 echo "$as_me: creating $ac_file" >&6;}
15615 # First look for the input files in the build tree, otherwise in the
15617 ac_file_inputs
=`IFS=:
15618 for f in $ac_file_in; do
15620 -) echo $tmp/stdin ;;
15622 # Absolute (can't be DOS-style, as IFS=:)
15623 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15624 echo "$as_me: error: cannot find input file: $f" >&2;}
15625 { (exit 1); exit 1; }; }
15626 # Do quote $f, to prevent DOS paths from being IFS'd.
15629 if test -f "$f"; then
15632 elif test -f "$srcdir/$f"; then
15637 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15638 echo "$as_me: error: cannot find input file: $f" >&2;}
15639 { (exit 1); exit 1; }; }
15642 done` ||
{ (exit 1); exit 1; }
15643 # Remove the trailing spaces.
15644 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15648 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15649 # `conftest.undefs', that substitutes the proper values into
15650 # config.h.in to produce config.h. The first handles `#define'
15651 # templates, and the second `#undef' templates.
15652 # And first: Protect against being on the right side of a sed subst in
15653 # config.status. Protect against being in an unquoted here document
15654 # in config.status.
15655 rm -f conftest.defines conftest.undefs
15656 # Using a here document instead of a string reduces the quoting nightmare.
15657 # Putting comments in sed scripts is not portable.
15659 # `end' is used to avoid that the second main sed command (meant for
15660 # 0-ary CPP macros) applies to n-ary macro definitions.
15661 # See the Autoconf documentation for `clear'.
15662 cat >confdef2sed.
sed <<\_ACEOF
15667 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15669 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15672 # If some macros were called several times there might be several times
15673 # the same #defines, which is useless. Nevertheless, we may not want to
15674 # sort them, since we want the *last* AC-DEFINE to be honored.
15675 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15676 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15677 rm -f confdef2sed.sed
15679 # This sed command replaces #undef with comments. This is necessary, for
15680 # example, in the case of _POSIX_SOURCE, which is predefined and required
15681 # on some systems where configure will not decide to define it.
15682 cat >>conftest.undefs <<\_ACEOF
15683 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15686 # Break up conftest.defines because some shells have a limit on the size
15687 # of here documents, and old seds have small limits too (100 cmds).
15688 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15689 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15690 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15691 echo ' :' >>$CONFIG_STATUS
15692 rm -f conftest.tail
15693 while grep . conftest.defines >/dev/null
15695 # Write a limited-size here document to $tmp/defines.sed.
15696 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15697 # Speed up: don't consider the non `#define' lines.
15698 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15699 # Work around the forget-to-reset-the-flag bug.
15700 echo 't clr' >>$CONFIG_STATUS
15701 echo ': clr' >>$CONFIG_STATUS
15702 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15704 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15706 mv $tmp/out $tmp/in
15708 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15709 rm -f conftest.defines
15710 mv conftest.
tail conftest.defines
15712 rm -f conftest.defines
15713 echo ' fi # grep' >>$CONFIG_STATUS
15714 echo >>$CONFIG_STATUS
15716 # Break up conftest.undefs because some shells have a limit on the size
15717 # of here documents, and old seds have small limits too (100 cmds).
15718 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15719 rm -f conftest.
tail
15720 while grep . conftest.undefs
>/dev
/null
15722 # Write a limited-size here document to $tmp/undefs.sed.
15723 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15724 # Speed up: don't consider the non
`#undef'
15725 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15726 # Work around the forget-to-reset-the-flag bug.
15727 echo 't clr' >>$CONFIG_STATUS
15728 echo ': clr' >>$CONFIG_STATUS
15729 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15731 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15733 mv $tmp/out $tmp/in
15735 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15736 rm -f conftest.undefs
15737 mv conftest.tail conftest.undefs
15739 rm -f conftest.undefs
15741 cat >>$CONFIG_STATUS <<\_ACEOF
15742 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15743 # use $as_me), people would be surprised to read:
15744 # /* config.h. Generated by config.status. */
15745 if test x
"$ac_file" = x-
; then
15746 echo "/* Generated by configure. */" >$tmp/config.h
15748 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15750 cat $tmp/in >>$tmp/config.h
15752 if test x
"$ac_file" != x-
; then
15753 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
15754 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15755 echo "$as_me: $ac_file is unchanged" >&6;}
15757 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15758 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15759 X"$ac_file" : 'X\(//\)[^/]' \| \
15760 X"$ac_file" : 'X\(//\)$' \| \
15761 X"$ac_file" : 'X\(/\)' \| \
15762 . : '\(.\)' 2>/dev/null ||
15764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15765 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15766 /^X\(\/\/\)$/{ s//\1/; q; }
15767 /^X\(\/\).*/{ s//\1/; q; }
15769 { if $as_mkdir_p; then
15774 while test ! -d "$as_dir"; do
15775 as_dirs
="$as_dir $as_dirs"
15776 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15777 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15778 X"$as_dir" : 'X\(//\)[^/]' \| \
15779 X"$as_dir" : 'X\(//\)$' \| \
15780 X"$as_dir" : 'X\(/\)' \| \
15781 . : '\(.\)' 2>/dev/null ||
15783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15784 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15785 /^X\(\/\/\)$/{ s//\1/; q; }
15786 /^X\(\/\).*/{ s//\1/; q; }
15789 test ! -n "$as_dirs" || mkdir
$as_dirs
15790 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15791 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15792 { (exit 1); exit 1; }; }; }
15795 mv $tmp/config.h
$ac_file
15799 rm -f $tmp/config.h
15801 # Compute $ac_file's index in $config_headers.
15803 for _am_header
in $config_headers :; do
15804 case $_am_header in
15805 $ac_file |
$ac_file:* )
15808 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15811 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15812 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15813 X$ac_file : 'X\(//\)[^/]' \| \
15814 X$ac_file : 'X\(//\)$' \| \
15815 X$ac_file : 'X\(/\)' \| \
15816 . : '\(.\)' 2>/dev/null ||
15818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15819 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15820 /^X\(\/\/\)$/{ s//\1/; q; }
15821 /^X\(\/\).*/{ s//\1/; q; }
15822 s/.*/./; q'`/stamp-h
$_am_stamp_count
15825 cat >>$CONFIG_STATUS <<\_ACEOF
15828 # CONFIG_COMMANDS section.
15830 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
15831 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15832 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15833 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15834 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15835 X"$ac_dest" : 'X\(//\)[^/]' \| \
15836 X"$ac_dest" : 'X\(//\)$' \| \
15837 X"$ac_dest" : 'X\(/\)' \| \
15838 . : '\(.\)' 2>/dev/null ||
15840 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15841 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15842 /^X\(\/\/\)$/{ s//\1/; q; }
15843 /^X\(\/\).*/{ s//\1/; q; }
15845 { if $as_mkdir_p; then
15850 while test ! -d "$as_dir"; do
15851 as_dirs
="$as_dir $as_dirs"
15852 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15853 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15854 X"$as_dir" : 'X\(//\)[^/]' \| \
15855 X"$as_dir" : 'X\(//\)$' \| \
15856 X"$as_dir" : 'X\(/\)' \| \
15857 . : '\(.\)' 2>/dev/null ||
15859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15860 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15861 /^X\(\/\/\)$/{ s//\1/; q; }
15862 /^X\(\/\).*/{ s//\1/; q; }
15865 test ! -n "$as_dirs" || mkdir
$as_dirs
15866 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15867 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15868 { (exit 1); exit 1; }; }; }
15872 if test "$ac_dir" != .
; then
15873 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15874 # A "../" for each directory in $ac_dir_suffix.
15875 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15877 ac_dir_suffix
= ac_top_builddir
=
15881 .
) # No --srcdir option. We are building in place.
15883 if test -z "$ac_top_builddir"; then
15886 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15888 [\\/]* | ?
:[\\/]* ) # Absolute path.
15889 ac_srcdir
=$srcdir$ac_dir_suffix;
15890 ac_top_srcdir
=$srcdir ;;
15891 *) # Relative path.
15892 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15893 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15896 # Do not use `cd foo && pwd` to compute absolute paths, because
15897 # the directories may not exist.
15899 .
) ac_abs_builddir
="$ac_dir";;
15902 .
) ac_abs_builddir
=`pwd`;;
15903 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15904 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15907 case $ac_abs_builddir in
15908 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15910 case ${ac_top_builddir}.
in
15911 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15912 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15913 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15916 case $ac_abs_builddir in
15917 .
) ac_abs_srcdir
=$ac_srcdir;;
15920 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15921 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15922 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15925 case $ac_abs_builddir in
15926 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15928 case $ac_top_srcdir in
15929 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15930 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15931 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15936 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15937 echo "$as_me: executing $ac_dest commands" >&6;}
15939 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
15940 # Strip MF so we end up with the name of the file.
15941 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15942 # Check whether this is an Automake generated Makefile or not.
15943 # We used to match only the files named `Makefile.in', but
15944 # some people rename them; so instead we look at the file content.
15945 # Grep'ing the first line is not enough: some people post-process
15946 # each Makefile.in and add a new line on top of each file to say so.
15947 # So let's grep whole file.
15948 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
15949 dirpart
=`(dirname "$mf") 2>/dev/null ||
15950 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15951 X"$mf" : 'X\(//\)[^/]' \| \
15952 X"$mf" : 'X\(//\)$' \| \
15953 X"$mf" : 'X\(/\)' \| \
15954 . : '\(.\)' 2>/dev/null ||
15956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15957 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15958 /^X\(\/\/\)$/{ s//\1/; q; }
15959 /^X\(\/\).*/{ s//\1/; q; }
15964 # Extract the definition of DEPDIR, am__include, and am__quote
15965 # from the Makefile without running `make'.
15966 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15967 test -z "$DEPDIR" && continue
15968 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15969 test -z "am__include" && continue
15970 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15971 # When using ansi2knr, U may be empty or an underscore; expand it
15972 U
=`sed -n 's/^U = //p' < "$mf"`
15973 # Find all dependency output files, they are included files with
15974 # $(DEPDIR) in their names. We invoke sed twice because it is the
15975 # simplest approach to changing $(DEPDIR) to its actual value in the
15977 for file in `sed -n "
15978 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15979 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15980 # Make sure the directory exists.
15981 test -f "$dirpart/$file" && continue
15982 fdir
=`(dirname "$file") 2>/dev/null ||
15983 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15984 X"$file" : 'X\(//\)[^/]' \| \
15985 X"$file" : 'X\(//\)$' \| \
15986 X"$file" : 'X\(/\)' \| \
15987 . : '\(.\)' 2>/dev/null ||
15989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15990 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15991 /^X\(\/\/\)$/{ s//\1/; q; }
15992 /^X\(\/\).*/{ s//\1/; q; }
15994 { if $as_mkdir_p; then
15995 mkdir
-p $dirpart/$fdir
15997 as_dir
=$dirpart/$fdir
15999 while test ! -d "$as_dir"; do
16000 as_dirs
="$as_dir $as_dirs"
16001 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16002 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16003 X"$as_dir" : 'X\(//\)[^/]' \| \
16004 X"$as_dir" : 'X\(//\)$' \| \
16005 X"$as_dir" : 'X\(/\)' \| \
16006 . : '\(.\)' 2>/dev/null ||
16008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16010 /^X\(\/\/\)$/{ s//\1/; q; }
16011 /^X\(\/\).*/{ s//\1/; q; }
16014 test ! -n "$as_dirs" || mkdir
$as_dirs
16015 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16016 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16017 { (exit 1); exit 1; }; }; }
16019 # echo "creating $dirpart/$file"
16020 echo '# dummy' > "$dirpart/$file"
16024 default
) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po
/Makefile.
in > po
/Makefile
;;
16029 cat >>$CONFIG_STATUS <<\_ACEOF
16031 { (exit 0); exit 0; }
16033 chmod +x
$CONFIG_STATUS
16034 ac_clean_files
=$ac_clean_files_save
16037 # configure is writing to config.log, and then calls config.status.
16038 # config.status does its own redirection, appending to config.log.
16039 # Unfortunately, on DOS this fails, as config.log is still kept open
16040 # by configure, so config.status won't be able to write to it; its
16041 # output is simply discarded. So we exec the FD to /dev/null,
16042 # effectively closing config.log, so it can be properly (re)opened and
16043 # appended to by config.status. When coming back to configure, we
16044 # need to make the FD available again.
16045 if test "$no_create" != yes; then
16047 ac_config_status_args
=
16048 test "$silent" = yes &&
16049 ac_config_status_args
="$ac_config_status_args --quiet"
16051 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16053 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16054 # would make configure fail if this is the last instruction.
16055 $ac_cs_success ||
{ (exit 1); exit 1; }