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 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-included-gettext use the GNU
gettext library included here
879 Some influential environment variables
:
880 CC C compiler
command
881 CFLAGS C compiler flags
882 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
883 nonstandard directory
<lib dir
>
884 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
885 headers
in a nonstandard directory
<include dir
>
888 Use these variables to override the choices made by
`configure' or to help
889 it to find libraries and programs with nonstandard names/locations.
894 if test "$ac_init_help" = "recursive"; then
895 # If there are subdirs, report their specific --help.
897 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
898 test -d $ac_dir || continue
901 if test "$ac_dir" != .; then
902 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
903 # A "../" for each directory in $ac_dir_suffix.
904 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
906 ac_dir_suffix= ac_top_builddir=
910 .) # No --srcdir option. We are building in place.
912 if test -z "$ac_top_builddir"; then
915 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
917 [\\/]* | ?:[\\/]* ) # Absolute path.
918 ac_srcdir=$srcdir$ac_dir_suffix;
919 ac_top_srcdir=$srcdir ;;
921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
922 ac_top_srcdir=$ac_top_builddir$srcdir ;;
925 # Do not use `cd foo
&& pwd` to compute absolute paths, because
926 # the directories may not exist.
928 .) ac_abs_builddir="$ac_dir";;
931 .) ac_abs_builddir=`pwd`;;
932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
933 *) ac_abs_builddir=`pwd`/"$ac_dir";;
936 case $ac_abs_builddir in
937 .) ac_abs_top_builddir=${ac_top_builddir}.;;
939 case ${ac_top_builddir}. in
940 .) ac_abs_top_builddir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
945 case $ac_abs_builddir in
946 .) ac_abs_srcdir=$ac_srcdir;;
949 .) ac_abs_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
954 case $ac_abs_builddir in
955 .) ac_abs_top_srcdir=$ac_top_srcdir;;
957 case $ac_top_srcdir in
958 .) ac_abs_top_srcdir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
965 # Check for guested configure; otherwise get Cygnus style configure.
966 if test -f $ac_srcdir/configure.gnu; then
968 $SHELL $ac_srcdir/configure.gnu --help=recursive
969 elif test -f $ac_srcdir/configure; then
971 $SHELL $ac_srcdir/configure --help=recursive
972 elif test -f $ac_srcdir/configure.ac ||
973 test -f $ac_srcdir/configure.in; then
977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
983 test -n "$ac_init_help" && exit 0
984 if $ac_init_version; then
987 Copyright (C) 2003 Free Software Foundation, Inc.
988 This configure script is free software; the Free Software Foundation
989 gives unlimited permission to copy, distribute and modify it.
995 This file contains any messages produced by compilers while
996 running configure, to aid debugging if configure makes a mistake.
998 It was created by $as_me, which was
999 generated by GNU Autoconf 2.59. Invocation command line was
1010 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1011 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1012 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1013 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1014 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1017 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1019 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1021 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1022 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1023 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1024 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1025 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1033 test -z "$as_dir" && as_dir=.
1034 echo "PATH: $as_dir"
1049 # Keep a trace of the command line.
1050 # Strip out --no-create and --no-recursion so they do not pile up.
1051 # Strip out --silent because we don't want to record it for future runs.
1052 # Also quote any args containing shell meta-characters.
1053 # Make two passes to allow for proper duplicate-argument suppression.
1058 ac_must_keep_next=false
1064 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1068 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1069 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1072 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1074 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1075 if test $ac_must_keep_next = true; then
1076 ac_must_keep_next=false # Got value, back to normal.
1079 *=* | --config-cache | -C | -disable-* | --disable-* \
1080 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1081 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1082 | -with-* | --with-* | -without-* | --without-* | --x)
1083 case "$ac_configure_args0 " in
1084 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1087 -* ) ac_must_keep_next=true ;;
1090 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1091 # Get rid of the leading space.
1097 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1098 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1100 # When interrupted or exit'd, cleanup temporary files, and complete
1101 # config.log. We remove comments because anyway the quotes in there
1102 # would cause problems or look ugly.
1103 # WARNING: Be sure not to use single quotes in there, as some shells,
1104 # such as our DU 5.0 friend, will then `close
' the trap.
1105 trap 'exit_status
=$?
1106 # Save into config.log some information that might help in debugging.
1111 ## ---------------- ##
1112 ## Cache variables. ##
1113 ## ---------------- ##
1116 # The following way of writing the cache mishandles newlines in values,
1119 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1122 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1127 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1134 ## ----------------- ##
1135 ## Output variables. ##
1136 ## ----------------- ##
1139 for ac_var
in $ac_subst_vars
1141 eval ac_val
=$
`echo $ac_var`
1142 echo "$ac_var='"'"'$ac_val'"'"'"
1146 if test -n "$ac_subst_files"; then
1153 for ac_var
in $ac_subst_files
1155 eval ac_val
=$
`echo $ac_var`
1156 echo "$ac_var='"'"'$ac_val'"'"'"
1161 if test -s confdefs.h
; then
1168 sed "/^$/d" confdefs.h |
sort
1171 test "$ac_signal" != 0 &&
1172 echo "$as_me: caught signal $ac_signal"
1173 echo "$as_me: exit $exit_status"
1175 rm -f core
*.core
&&
1176 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1179 for ac_signal in 1 2 13 15; do
1180 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1184 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1185 rm -rf conftest* confdefs.h
1186 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1189 # Predefined preprocessor variables.
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_NAME "$PACKAGE_NAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_STRING "$PACKAGE_STRING"
1211 cat >>confdefs.h <<_ACEOF
1212 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1216 # Let the site file select an alternate cache file if it wants to.
1217 # Prefer explicitly selected file to automatically selected ones.
1218 if test -z "$CONFIG_SITE"; then
1219 if test "x$prefix" != xNONE; then
1220 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1222 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1225 for ac_site_file in $CONFIG_SITE; do
1226 if test -r "$ac_site_file"; then
1227 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1228 echo "$as_me: loading site script $ac_site_file" >&6;}
1229 sed 's
/^
/|
/' "$ac_site_file" >&5
1234 if test -r "$cache_file"; then
1235 # Some versions of bash will fail to source /dev/null (special
1236 # files actually), so we avoid doing that.
1237 if test -f "$cache_file"; then
1238 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1239 echo "$as_me: loading cache $cache_file" >&6;}
1241 [\\/]* | ?:[\\/]* ) . $cache_file;;
1242 *) . ./$cache_file;;
1246 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1247 echo "$as_me: creating cache $cache_file" >&6;}
1251 # Check that the precious variables saved in the cache have kept the same
1253 ac_cache_corrupted=false
1254 for ac_var in `(set) 2>&1 |
1255 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1256 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1257 eval ac_new_set=\$ac_env_${ac_var}_set
1258 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1259 eval ac_new_val="\$ac_env_${ac_var}_value"
1260 case $ac_old_set,$ac_new_set in
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1264 ac_cache_corrupted=: ;;
1266 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1267 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1268 ac_cache_corrupted=: ;;
1271 if test "x$ac_old_val" != "x$ac_new_val"; then
1272 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1273 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1274 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1275 echo "$as_me: former value: $ac_old_val" >&2;}
1276 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1277 echo "$as_me: current value: $ac_new_val" >&2;}
1278 ac_cache_corrupted=:
1281 # Pass precious variables to config.status.
1282 if test "$ac_new_set" = set; then
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1286 *) ac_arg=$ac_var=$ac_new_val ;;
1288 case " $ac_configure_args " in
1289 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1290 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1294 if $ac_cache_corrupted; then
1295 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1296 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1297 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1298 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1299 { (exit 1); exit 1; }; }
1303 ac_cpp='$CPP $CPPFLAGS'
1304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1305 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1330 if test -f $ac_dir/install-sh; then
1332 ac_install_sh="$ac_aux_dir/install-sh -c"
1334 elif test -f $ac_dir/install.sh; then
1336 ac_install_sh="$ac_aux_dir/install.sh -c"
1338 elif test -f $ac_dir/shtool; then
1340 ac_install_sh="$ac_aux_dir/shtool install -c"
1344 if test -z "$ac_aux_dir"; then
1345 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1346 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1347 { (exit 1); exit 1; }; }
1349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1351 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1353 # Make sure we can run config.sub.
1354 $ac_config_sub sun4 >/dev/null 2>&1 ||
1355 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1356 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1357 { (exit 1); exit 1; }; }
1359 echo "$as_me:$LINENO: checking build system type" >&5
1360 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1361 if test "${ac_cv_build+set}" = set; then
1362 echo $ECHO_N "(cached) $ECHO_C" >&6
1364 ac_cv_build_alias=$build_alias
1365 test -z "$ac_cv_build_alias" &&
1366 ac_cv_build_alias=`$ac_config_guess`
1367 test -z "$ac_cv_build_alias" &&
1368 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1369 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1370 { (exit 1); exit 1; }; }
1371 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1372 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1373 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1374 { (exit 1); exit 1; }; }
1377 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1378 echo "${ECHO_T}$ac_cv_build" >&6
1380 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1381 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1382 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1385 echo "$as_me:$LINENO: checking host system type" >&5
1386 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1387 if test "${ac_cv_host+set}" = set; then
1388 echo $ECHO_N "(cached) $ECHO_C" >&6
1390 ac_cv_host_alias=$host_alias
1391 test -z "$ac_cv_host_alias" &&
1392 ac_cv_host_alias=$ac_cv_build_alias
1393 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1394 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1395 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1396 { (exit 1); exit 1; }; }
1399 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1400 echo "${ECHO_T}$ac_cv_host" >&6
1402 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1403 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1404 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1407 echo "$as_me:$LINENO: checking target system type" >&5
1408 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1409 if test "${ac_cv_target+set}" = set; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 ac_cv_target_alias=$target_alias
1413 test "x$ac_cv_target_alias" = "x" &&
1414 ac_cv_target_alias=$ac_cv_host_alias
1415 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1416 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1417 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1418 { (exit 1); exit 1; }; }
1421 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1422 echo "${ECHO_T}$ac_cv_target" >&6
1423 target=$ac_cv_target
1424 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1425 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1426 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1429 # The aliases save the names the user supplied, while $host etc.
1430 # will get canonicalized.
1431 test -n "$target_alias" &&
1432 test "$program_prefix$program_suffix$program_transform_name" = \
1434 program_prefix=${target_alias}-
1436 ac_cpp='$CPP $CPPFLAGS'
1437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1438 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1440 if test -n "$ac_tool_prefix"; then
1441 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1442 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1443 echo "$as_me:$LINENO: checking for $ac_word" >&5
1444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1445 if test "${ac_cv_prog_CC+set}" = set; then
1446 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 if test -n "$CC"; then
1449 ac_cv_prog_CC="$CC" # Let the user override the test.
1451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1455 test -z "$as_dir" && as_dir=.
1456 for ac_exec_ext in '' $ac_executable_extensions; do
1457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1458 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1468 if test -n "$CC"; then
1469 echo "$as_me:$LINENO: result: $CC" >&5
1470 echo "${ECHO_T}$CC" >&6
1472 echo "$as_me:$LINENO: result: no" >&5
1473 echo "${ECHO_T}no" >&6
1477 if test -z "$ac_cv_prog_CC"; then
1479 # Extract the first word of "gcc", so it can be a program name with args.
1480 set dummy gcc; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 if test -n "$ac_ct_CC"; then
1487 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_prog_ac_ct_CC="gcc"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1505 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1506 if test -n "$ac_ct_CC"; then
1507 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1508 echo "${ECHO_T}$ac_ct_CC" >&6
1510 echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1519 if test -z "$CC"; then
1520 if test -n "$ac_tool_prefix"; then
1521 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1522 set dummy ${ac_tool_prefix}cc; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_CC+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$CC"; then
1529 ac_cv_prog_CC="$CC" # Let the user override the test.
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 for ac_exec_ext in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 ac_cv_prog_CC="${ac_tool_prefix}cc"
1539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1548 if test -n "$CC"; then
1549 echo "$as_me:$LINENO: result: $CC" >&5
1550 echo "${ECHO_T}$CC" >&6
1552 echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1557 if test -z "$ac_cv_prog_CC"; then
1559 # Extract the first word of "cc", so it can be a program name with args.
1560 set dummy cc; ac_word=$2
1561 echo "$as_me:$LINENO: checking for $ac_word" >&5
1562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1566 if test -n "$ac_ct_CC"; then
1567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573 test -z "$as_dir" && as_dir=.
1574 for ac_exec_ext in '' $ac_executable_extensions; do
1575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1576 ac_cv_prog_ac_ct_CC="cc"
1577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1586 if test -n "$ac_ct_CC"; then
1587 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1588 echo "${ECHO_T}$ac_ct_CC" >&6
1590 echo "$as_me:$LINENO: result: no" >&5
1591 echo "${ECHO_T}no" >&6
1600 if test -z "$CC"; then
1601 # Extract the first word of "cc", so it can be a program name with args.
1602 set dummy cc; ac_word=$2
1603 echo "$as_me:$LINENO: checking for $ac_word" >&5
1604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605 if test "${ac_cv_prog_CC+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 if test -n "$CC"; then
1609 ac_cv_prog_CC="$CC" # Let the user override the test.
1612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616 test -z "$as_dir" && as_dir=.
1617 for ac_exec_ext in '' $ac_executable_extensions; do
1618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1619 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1620 ac_prog_rejected=yes
1624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630 if test $ac_prog_rejected = yes; then
1631 # We found a bogon in the path, so make sure we never use it.
1632 set dummy $ac_cv_prog_CC
1634 if test $# != 0; then
1635 # We chose a different compiler from the bogus one.
1636 # However, it has the same basename, so the bogon will be chosen
1637 # first if we set CC to just the basename; use the full file name.
1639 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1645 if test -n "$CC"; then
1646 echo "$as_me:$LINENO: result: $CC" >&5
1647 echo "${ECHO_T}$CC" >&6
1649 echo "$as_me:$LINENO: result: no" >&5
1650 echo "${ECHO_T}no" >&6
1654 if test -z "$CC"; then
1655 if test -n "$ac_tool_prefix"; then
1658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1660 echo "$as_me:$LINENO: checking for $ac_word" >&5
1661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1662 if test "${ac_cv_prog_CC+set}" = set; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 if test -n "$CC"; then
1666 ac_cv_prog_CC="$CC" # Let the user override the test.
1668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1672 test -z "$as_dir" && as_dir=.
1673 for ac_exec_ext in '' $ac_executable_extensions; do
1674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1675 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 if test -n "$CC"; then
1686 echo "$as_me:$LINENO: result: $CC" >&5
1687 echo "${ECHO_T}$CC" >&6
1689 echo "$as_me:$LINENO: result: no" >&5
1690 echo "${ECHO_T}no" >&6
1693 test -n "$CC" && break
1696 if test -z "$CC"; then
1700 # Extract the first word of "$ac_prog", so it can be a program name with args.
1701 set dummy $ac_prog; ac_word=$2
1702 echo "$as_me:$LINENO: checking for $ac_word" >&5
1703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1704 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 if test -n "$ac_ct_CC"; then
1708 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir=.
1715 for ac_exec_ext in '' $ac_executable_extensions; do
1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717 ac_cv_prog_ac_ct_CC="$ac_prog"
1718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1727 if test -n "$ac_ct_CC"; then
1728 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1729 echo "${ECHO_T}$ac_ct_CC" >&6
1731 echo "$as_me:$LINENO: result: no" >&5
1732 echo "${ECHO_T}no" >&6
1735 test -n "$ac_ct_CC" && break
1744 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1745 See \`config.log' for more details.
" >&5
1746 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1747 See \
`config.log' for more details." >&2;}
1748 { (exit 1); exit 1; }; }
1750 # Provide some information about the compiler.
1751 echo "$as_me:$LINENO:" \
1752 "checking for C compiler version" >&5
1753 ac_compiler=`set X
$ac_compile; echo $2`
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1755 (eval $ac_compiler --version </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1759 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1760 (eval $ac_compiler -v </dev/null >&5) 2>&5
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1763 (exit $ac_status); }
1764 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1765 (eval $ac_compiler -V </dev/null >&5) 2>&5
1767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1768 (exit $ac_status); }
1770 cat >conftest.$ac_ext <<_ACEOF
1773 cat confdefs.h >>conftest.$ac_ext
1774 cat >>conftest.$ac_ext <<_ACEOF
1775 /* end confdefs.h. */
1785 ac_clean_files_save=$ac_clean_files
1786 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1787 # Try to create an executable without -o first, disregard a.out.
1788 # It will help us diagnose broken compilers, and finding out an intuition
1790 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1791 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1792 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1793 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1794 (eval $ac_link_default) 2>&5
1796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1797 (exit $ac_status); }; then
1798 # Find the output, starting from the most likely. This scheme is
1799 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1802 # Be careful to initialize this variable, since it used to be cached.
1803 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1805 # b.out is created by i960 compilers.
1806 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1808 test -f "$ac_file" || continue
1810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1813 # This is the source file.
1816 # We found the default executable, but exeext='' is most
1820 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1821 # FIXME: I believe we export ac_cv_exeext for Libtool,
1822 # but it would be cool to find out if it's true. Does anybody
1823 # maintain Libtool? --akim.
1831 echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1834 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1835 See \`config.log
' for more details." >&5
1836 echo "$as_me: error: C compiler cannot create executables
1837 See \`config.log' for more details.
" >&2;}
1838 { (exit 77); exit 77; }; }
1841 ac_exeext=$ac_cv_exeext
1842 echo "$as_me:$LINENO: result
: $ac_file" >&5
1843 echo "${ECHO_T}$ac_file" >&6
1845 # Check the compiler produces executables we can run. If not, either
1846 # the compiler is broken, or we cross compile.
1847 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1848 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1849 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1850 # If not cross compiling, check that we can run a simple program.
1851 if test "$cross_compiling" != yes; then
1852 if { ac_try='./$ac_file'
1853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1856 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1857 (exit $ac_status); }; }; then
1860 if test "$cross_compiling" = maybe; then
1863 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1864 If you meant to cross compile
, use \
`--host'.
1865 See \`config.log
' for more details." >&5
1866 echo "$as_me: error: cannot run C compiled programs.
1867 If you meant to cross compile, use \`--host'.
1868 See \
`config.log' for more details." >&2;}
1869 { (exit 1); exit 1; }; }
1873 echo "$as_me:$LINENO: result: yes" >&5
1874 echo "${ECHO_T}yes" >&6
1876 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1877 ac_clean_files=$ac_clean_files_save
1878 # Check the compiler produces executables we can run. If not, either
1879 # the compiler is broken, or we cross compile.
1880 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1881 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1882 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1883 echo "${ECHO_T}$cross_compiling" >&6
1885 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1886 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1888 (eval $ac_link) 2>&5
1890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1891 (exit $ac_status); }; then
1892 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1893 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1894 # work properly (i.e., refer to `conftest.exe'), while it won't with
1896 for ac_file
in conftest.exe conftest conftest.
*; do
1897 test -f "$ac_file" ||
continue
1899 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1900 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1907 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1908 See \`config.log' for more details." >&5
1909 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1910 See \`config.log' for more details." >&2;}
1911 { (exit 1); exit 1; }; }
1914 rm -f conftest
$ac_cv_exeext
1915 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1916 echo "${ECHO_T}$ac_cv_exeext" >&6
1918 rm -f conftest.
$ac_ext
1919 EXEEXT
=$ac_cv_exeext
1921 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1922 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1923 if test "${ac_cv_objext+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 cat >conftest.
$ac_ext <<_ACEOF
1929 cat confdefs.h
>>conftest.
$ac_ext
1930 cat >>conftest.
$ac_ext <<_ACEOF
1931 /* end confdefs.h. */
1941 rm -f conftest.o conftest.obj
1942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1943 (eval $ac_compile) 2>&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; then
1947 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1949 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1950 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1955 echo "$as_me: failed program was:" >&5
1956 sed 's/^/| /' conftest.
$ac_ext >&5
1958 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1959 See \`config.log' for more details." >&5
1960 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1961 See \`config.log' for more details." >&2;}
1962 { (exit 1); exit 1; }; }
1965 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1967 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1968 echo "${ECHO_T}$ac_cv_objext" >&6
1969 OBJEXT
=$ac_cv_objext
1971 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1972 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1973 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 cat >conftest.
$ac_ext <<_ACEOF
1979 cat confdefs.h
>>conftest.
$ac_ext
1980 cat >>conftest.
$ac_ext <<_ACEOF
1981 /* end confdefs.h. */
1994 rm -f conftest.
$ac_objext
1995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1996 (eval $ac_compile) 2>conftest.er1
1998 grep -v '^ *+' conftest.er1
>conftest.err
2000 cat conftest.err
>&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); } &&
2003 { ac_try
='test -z "$ac_c_werror_flag"
2004 || test ! -s conftest.err'
2005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }; } &&
2010 { ac_try
='test -s conftest.$ac_objext'
2011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 (exit $ac_status); }; }; then
2018 echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.
$ac_ext >&5
2023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2024 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2027 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2028 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2029 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2030 ac_test_CFLAGS
=${CFLAGS+set}
2031 ac_save_CFLAGS
=$CFLAGS
2033 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2034 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2035 if test "${ac_cv_prog_cc_g+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 cat >conftest.
$ac_ext <<_ACEOF
2041 cat confdefs.h
>>conftest.
$ac_ext
2042 cat >>conftest.
$ac_ext <<_ACEOF
2043 /* end confdefs.h. */
2053 rm -f conftest.
$ac_objext
2054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2055 (eval $ac_compile) 2>conftest.er1
2057 grep -v '^ *+' conftest.er1
>conftest.err
2059 cat conftest.err
>&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); } &&
2062 { ac_try
='test -z "$ac_c_werror_flag"
2063 || test ! -s conftest.err'
2064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); }; } &&
2069 { ac_try
='test -s conftest.$ac_objext'
2070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074 (exit $ac_status); }; }; then
2077 echo "$as_me: failed program was:" >&5
2078 sed 's/^/| /' conftest.
$ac_ext >&5
2082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2084 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2085 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2086 if test "$ac_test_CFLAGS" = set; then
2087 CFLAGS
=$ac_save_CFLAGS
2088 elif test $ac_cv_prog_cc_g = yes; then
2089 if test "$GCC" = yes; then
2095 if test "$GCC" = yes; then
2101 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2102 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2103 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2106 ac_cv_prog_cc_stdc
=no
2108 cat >conftest.
$ac_ext <<_ACEOF
2111 cat confdefs.h
>>conftest.
$ac_ext
2112 cat >>conftest.
$ac_ext <<_ACEOF
2113 /* end confdefs.h. */
2116 #include <sys/types.h>
2117 #include <sys/stat.h>
2118 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2119 struct buf { int x; };
2120 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2121 static char *e (p, i)
2127 static char *f (char * (*g) (char **, int), char **p, ...)
2132 s = g (p, va_arg (v,int));
2137 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2138 function prototypes and stuff, but not '\xHH' hex character constants.
2139 These don't provoke an error unfortunately, instead are silently treated
2140 as 'x'. The following induces an error, until -std1 is added to get
2141 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2142 array size at least. It's necessary to write '\x00'==0 to get something
2143 that's true only with -std1. */
2144 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2146 int test (int i, double x);
2147 struct s1 {int (*f) (int a);};
2148 struct s2 {int (*f) (double a);};
2149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2160 # Don't try gcc -ansi; that turns off useful extensions and
2161 # breaks some systems' header files.
2162 # AIX -qlanglvl=ansi
2163 # Ultrix and OSF/1 -std1
2164 # HP-UX 10.20 and later -Ae
2165 # HP-UX older versions -Aa -D_HPUX_SOURCE
2166 # SVR4 -Xc -D__EXTENSIONS__
2167 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2169 CC
="$ac_save_CC $ac_arg"
2170 rm -f conftest.
$ac_objext
2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2172 (eval $ac_compile) 2>conftest.er1
2174 grep -v '^ *+' conftest.er1
>conftest.err
2176 cat conftest.err
>&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); } &&
2179 { ac_try
='test -z "$ac_c_werror_flag"
2180 || test ! -s conftest.err'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; } &&
2186 { ac_try
='test -s conftest.$ac_objext'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2192 ac_cv_prog_cc_stdc
=$ac_arg
2195 echo "$as_me: failed program was:" >&5
2196 sed 's/^/| /' conftest.
$ac_ext >&5
2199 rm -f conftest.err conftest.
$ac_objext
2201 rm -f conftest.
$ac_ext conftest.
$ac_objext
2206 case "x$ac_cv_prog_cc_stdc" in
2208 echo "$as_me:$LINENO: result: none needed" >&5
2209 echo "${ECHO_T}none needed" >&6 ;;
2211 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2212 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2213 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2216 # Some people use a C++ compiler to compile C. Since we use `exit',
2217 # in C++ we need to declare it. In case someone uses the same compiler
2218 # for both compiling C and C++ we need to have the C++ compiler decide
2219 # the declaration of exit, since it's the most demanding environment.
2220 cat >conftest.
$ac_ext <<_ACEOF
2225 rm -f conftest.
$ac_objext
2226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2227 (eval $ac_compile) 2>conftest.er1
2229 grep -v '^ *+' conftest.er1
>conftest.err
2231 cat conftest.err
>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); } &&
2234 { ac_try
='test -z "$ac_c_werror_flag"
2235 || test ! -s conftest.err'
2236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; } &&
2241 { ac_try
='test -s conftest.$ac_objext'
2242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; }; then
2247 for ac_declaration
in \
2249 'extern "C" void std::exit (int) throw (); using std::exit;' \
2250 'extern "C" void std::exit (int); using std::exit;' \
2251 'extern "C" void exit (int) throw ();' \
2252 'extern "C" void exit (int);' \
2255 cat >conftest.
$ac_ext <<_ACEOF
2258 cat confdefs.h
>>conftest.
$ac_ext
2259 cat >>conftest.
$ac_ext <<_ACEOF
2260 /* end confdefs.h. */
2271 rm -f conftest.
$ac_objext
2272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2273 (eval $ac_compile) 2>conftest.er1
2275 grep -v '^ *+' conftest.er1
>conftest.err
2277 cat conftest.err
>&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); } &&
2280 { ac_try
='test -z "$ac_c_werror_flag"
2281 || test ! -s conftest.err'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; } &&
2287 { ac_try
='test -s conftest.$ac_objext'
2288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292 (exit $ac_status); }; }; then
2295 echo "$as_me: failed program was:" >&5
2296 sed 's/^/| /' conftest.
$ac_ext >&5
2300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2301 cat >conftest.
$ac_ext <<_ACEOF
2304 cat confdefs.h
>>conftest.
$ac_ext
2305 cat >>conftest.
$ac_ext <<_ACEOF
2306 /* end confdefs.h. */
2316 rm -f conftest.
$ac_objext
2317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2318 (eval $ac_compile) 2>conftest.er1
2320 grep -v '^ *+' conftest.er1
>conftest.err
2322 cat conftest.err
>&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); } &&
2325 { ac_try
='test -z "$ac_c_werror_flag"
2326 || test ! -s conftest.err'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; } &&
2332 { ac_try
='test -s conftest.$ac_objext'
2333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; }; then
2340 echo "$as_me: failed program was:" >&5
2341 sed 's/^/| /' conftest.
$ac_ext >&5
2344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2347 if test -n "$ac_declaration"; then
2348 echo '#ifdef __cplusplus' >>confdefs.h
2349 echo $ac_declaration >>confdefs.h
2350 echo '#endif' >>confdefs.h
2354 echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.
$ac_ext >&5
2358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2360 ac_cpp
='$CPP $CPPFLAGS'
2361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2366 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2367 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2368 if test "${ac_cv_search_strerror+set}" = set; then
2369 echo $ECHO_N "(cached) $ECHO_C" >&6
2371 ac_func_search_save_LIBS
=$LIBS
2372 ac_cv_search_strerror
=no
2373 cat >conftest.
$ac_ext <<_ACEOF
2376 cat confdefs.h
>>conftest.
$ac_ext
2377 cat >>conftest.
$ac_ext <<_ACEOF
2378 /* end confdefs.h. */
2380 /* Override any gcc2 internal prototype to avoid an error. */
2384 /* We use char because int might match the return type of a gcc2
2385 builtin and then its argument prototype would still apply. */
2395 rm -f conftest.
$ac_objext conftest
$ac_exeext
2396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2397 (eval $ac_link) 2>conftest.er1
2399 grep -v '^ *+' conftest.er1
>conftest.err
2401 cat conftest.err
>&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); } &&
2404 { ac_try
='test -z "$ac_c_werror_flag"
2405 || test ! -s conftest.err'
2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; } &&
2411 { ac_try
='test -s conftest$ac_exeext'
2412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; }; then
2417 ac_cv_search_strerror
="none required"
2419 echo "$as_me: failed program was:" >&5
2420 sed 's/^/| /' conftest.
$ac_ext >&5
2423 rm -f conftest.err conftest.
$ac_objext \
2424 conftest
$ac_exeext conftest.
$ac_ext
2425 if test "$ac_cv_search_strerror" = no
; then
2426 for ac_lib
in cposix
; do
2427 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2428 cat >conftest.
$ac_ext <<_ACEOF
2431 cat confdefs.h
>>conftest.
$ac_ext
2432 cat >>conftest.
$ac_ext <<_ACEOF
2433 /* end confdefs.h. */
2435 /* Override any gcc2 internal prototype to avoid an error. */
2439 /* We use char because int might match the return type of a gcc2
2440 builtin and then its argument prototype would still apply. */
2450 rm -f conftest.
$ac_objext conftest
$ac_exeext
2451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2452 (eval $ac_link) 2>conftest.er1
2454 grep -v '^ *+' conftest.er1
>conftest.err
2456 cat conftest.err
>&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); } &&
2459 { ac_try
='test -z "$ac_c_werror_flag"
2460 || test ! -s conftest.err'
2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; } &&
2466 { ac_try
='test -s conftest$ac_exeext'
2467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); }; }; then
2472 ac_cv_search_strerror
="-l$ac_lib"
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.
$ac_ext >&5
2479 rm -f conftest.err conftest.
$ac_objext \
2480 conftest
$ac_exeext conftest.
$ac_ext
2483 LIBS
=$ac_func_search_save_LIBS
2485 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2486 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2487 if test "$ac_cv_search_strerror" != no
; then
2488 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2493 am__api_version
="1.9"
2494 # Find a good install program. We prefer a C program (faster),
2495 # so one script is as good as another. But avoid the broken or
2496 # incompatible versions:
2497 # SysV /etc/install, /usr/sbin/install
2498 # SunOS /usr/etc/install
2499 # IRIX /sbin/install
2501 # AmigaOS /C/install, which installs bootblocks on floppy discs
2502 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2503 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2505 # OS/2's system install, which has a completely different semantic
2506 # ./install, which can be erroneously created by make from ./install.sh.
2507 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2508 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2509 if test -z "$INSTALL"; then
2510 if test "${ac_cv_path_install+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2517 test -z "$as_dir" && as_dir
=.
2518 # Account for people who put trailing slashes in PATH elements.
2520 .
/ | .
// |
/cC
/* | \
2521 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2522 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2525 # OSF1 and SCO ODT 3.0 have their own names for install.
2526 # Don't use installbsd from OSF since it installs stuff as root
2528 for ac_prog
in ginstall scoinst
install; do
2529 for ac_exec_ext
in '' $ac_executable_extensions; do
2530 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2531 if test $ac_prog = install &&
2532 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2533 # AIX install. It has an incompatible calling convention.
2535 elif test $ac_prog = install &&
2536 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2537 # program-specific install script used by HP pwplus--don't use.
2540 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2552 if test "${ac_cv_path_install+set}" = set; then
2553 INSTALL
=$ac_cv_path_install
2555 # As a last resort, use the slow shell script. We don't cache a
2556 # path for INSTALL within a source directory, because that will
2557 # break other packages using the cache if that directory is
2558 # removed, or if the path is relative.
2559 INSTALL
=$ac_install_sh
2562 echo "$as_me:$LINENO: result: $INSTALL" >&5
2563 echo "${ECHO_T}$INSTALL" >&6
2565 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2566 # It thinks the first close brace ends the variable substitution.
2567 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2569 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2571 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2573 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2574 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2577 echo timestamp
> conftest.
file
2578 # Do `set' in a subshell so we don't clobber the current shell's
2579 # arguments. Must try -L first in case configure is actually a
2580 # symlink; some systems play weird games with the mod time of symlinks
2581 # (eg FreeBSD returns the mod time of the symlink's containing
2584 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2585 if test "$*" = "X"; then
2587 set X
`ls -t $srcdir/configure conftest.file`
2590 if test "$*" != "X $srcdir/configure conftest.file" \
2591 && test "$*" != "X conftest.file $srcdir/configure"; then
2593 # If neither matched, then we have a broken ls. This can happen
2594 # if, for instance, CONFIG_SHELL is bash and it inherits a
2595 # broken ls alias from the environment. This has actually
2596 # happened. Such a system could not be considered "sane".
2597 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2598 alias in your environment" >&5
2599 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2600 alias in your environment" >&2;}
2601 { (exit 1); exit 1; }; }
2604 test "$2" = conftest.
file
2610 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2611 Check your system clock" >&5
2612 echo "$as_me: error: newly created file is older than distributed files!
2613 Check your system clock" >&2;}
2614 { (exit 1); exit 1; }; }
2616 echo "$as_me:$LINENO: result: yes" >&5
2617 echo "${ECHO_T}yes" >&6
2618 test "$program_prefix" != NONE
&&
2619 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2620 # Use a double $ so make ignores it.
2621 test "$program_suffix" != NONE
&&
2622 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2623 # Double any \ or $. echo might interpret backslashes.
2624 # By default was `s,x,x', remove it if useless.
2625 cat <<\_ACEOF
>conftest.
sed
2626 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2628 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2631 # expand $ac_aux_dir to an absolute path
2632 am_aux_dir
=`cd $ac_aux_dir && pwd`
2634 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2635 # Use eval to expand $SHELL
2636 if eval "$MISSING --run true"; then
2637 am_missing_run
="$MISSING --run "
2640 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2641 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2644 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2645 # We used to keeping the `.' as first argument, in order to
2646 # allow $(mkdir_p) to be used without argument. As in
2647 # $(mkdir_p) $(somedir)
2648 # where $(somedir) is conditionally defined. However this is wrong
2650 # 1. if the package is installed by a user who cannot write `.'
2651 # make install will fail,
2652 # 2. the above comment should most certainly read
2653 # $(mkdir_p) $(DESTDIR)$(somedir)
2654 # so it does not work when $(somedir) is undefined and
2655 # $(DESTDIR) is not.
2656 # To support the latter case, we have to write
2657 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2658 # so the `.' trick is pointless.
2659 mkdir_p
='mkdir -p --'
2661 # On NextStep and OpenStep, the `mkdir' command does not
2662 # recognize any option. It will interpret all options as
2663 # directories to create, and then abort because `.' already
2665 for d
in .
/-p .
/--version;
2667 test -d $d && rmdir $d
2669 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2670 if test -f "$ac_aux_dir/mkinstalldirs"; then
2671 mkdir_p
='$(mkinstalldirs)'
2673 mkdir_p
='$(install_sh) -d'
2677 for ac_prog
in gawk mawk nawk
awk
2679 # Extract the first word of "$ac_prog", so it can be a program name with args.
2680 set dummy
$ac_prog; ac_word
=$2
2681 echo "$as_me:$LINENO: checking for $ac_word" >&5
2682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2683 if test "${ac_cv_prog_AWK+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2686 if test -n "$AWK"; then
2687 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2693 test -z "$as_dir" && as_dir
=.
2694 for ac_exec_ext
in '' $ac_executable_extensions; do
2695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2696 ac_cv_prog_AWK
="$ac_prog"
2697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 if test -n "$AWK"; then
2707 echo "$as_me:$LINENO: result: $AWK" >&5
2708 echo "${ECHO_T}$AWK" >&6
2710 echo "$as_me:$LINENO: result: no" >&5
2711 echo "${ECHO_T}no" >&6
2714 test -n "$AWK" && break
2717 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2718 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2719 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2720 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 cat >conftest.
make <<\_ACEOF
2725 @
echo 'ac_maketemp="$(MAKE)"'
2727 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2728 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2729 if test -n "$ac_maketemp"; then
2730 eval ac_cv_prog_make_
${ac_make}_set
=yes
2732 eval ac_cv_prog_make_
${ac_make}_set
=no
2736 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2737 echo "$as_me:$LINENO: result: yes" >&5
2738 echo "${ECHO_T}yes" >&6
2741 echo "$as_me:$LINENO: result: no" >&5
2742 echo "${ECHO_T}no" >&6
2743 SET_MAKE
="MAKE=${MAKE-make}"
2746 rm -rf .tst
2>/dev
/null
2747 mkdir .tst
2>/dev
/null
2748 if test -d .tst
; then
2753 rmdir .tst
2>/dev
/null
2755 DEPDIR
="${am__leading_dot}deps"
2757 ac_config_commands
="$ac_config_commands depfiles"
2760 am_make
=${MAKE-make}
2761 cat > confinc
<< 'END'
2766 # If we don't find an include directive, just comment out the code.
2767 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2768 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2772 # First try GNU make style include.
2773 echo "include confinc" > confmf
2774 # We grep out `Entering directory' and `Leaving directory'
2775 # messages which can occur if `w' ends up in MAKEFLAGS.
2776 # In particular we don't look at `^make:' because GNU make might
2777 # be invoked under some other name (usually "gmake"), in which
2778 # case it prints its new name instead of `make'.
2779 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2784 # Now try BSD make style include.
2785 if test "$am__include" = "#"; then
2786 echo '.include "confinc"' > confmf
2787 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2788 am__include
=.include
2795 echo "$as_me:$LINENO: result: $_am_result" >&5
2796 echo "${ECHO_T}$_am_result" >&6
2797 rm -f confinc confmf
2799 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2800 if test "${enable_dependency_tracking+set}" = set; then
2801 enableval
="$enable_dependency_tracking"
2804 if test "x$enable_dependency_tracking" != xno
; then
2805 am_depcomp
="$ac_aux_dir/depcomp"
2810 if test "x$enable_dependency_tracking" != xno; then
2820 # test to see if srcdir already configured
2821 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2822 test -f $srcdir/config.status
; then
2823 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2824 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2825 { (exit 1); exit 1; }; }
2828 # test whether we have cygpath
2829 if test -z "$CYGPATH_W"; then
2830 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2831 CYGPATH_W
='cygpath -w'
2838 # Define the identity of the package.
2843 cat >>confdefs.h
<<_ACEOF
2844 #define PACKAGE "$PACKAGE"
2848 cat >>confdefs.h
<<_ACEOF
2849 #define VERSION "$VERSION"
2852 # Some tools Automake needs.
2854 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2857 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2860 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2863 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2866 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2868 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2870 # Installed binaries are usually stripped using `strip' when the user
2871 # run `make install-strip'. However `strip' might not be the right
2872 # tool to use in cross-compilation environments, therefore Automake
2873 # will honor the `STRIP' environment variable to overrule this program.
2874 if test "$cross_compiling" != no
; then
2875 if test -n "$ac_tool_prefix"; then
2876 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2877 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2878 echo "$as_me:$LINENO: checking for $ac_word" >&5
2879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2880 if test "${ac_cv_prog_STRIP+set}" = set; then
2881 echo $ECHO_N "(cached) $ECHO_C" >&6
2883 if test -n "$STRIP"; then
2884 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2890 test -z "$as_dir" && as_dir
=.
2891 for ac_exec_ext
in '' $ac_executable_extensions; do
2892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2893 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 STRIP
=$ac_cv_prog_STRIP
2903 if test -n "$STRIP"; then
2904 echo "$as_me:$LINENO: result: $STRIP" >&5
2905 echo "${ECHO_T}$STRIP" >&6
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2912 if test -z "$ac_cv_prog_STRIP"; then
2914 # Extract the first word of "strip", so it can be a program name with args.
2915 set dummy strip
; ac_word
=$2
2916 echo "$as_me:$LINENO: checking for $ac_word" >&5
2917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2918 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 if test -n "$ac_ct_STRIP"; then
2922 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir
=.
2929 for ac_exec_ext
in '' $ac_executable_extensions; do
2930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2931 ac_cv_prog_ac_ct_STRIP
="strip"
2932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2941 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2942 if test -n "$ac_ct_STRIP"; then
2943 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2944 echo "${ECHO_T}$ac_ct_STRIP" >&6
2946 echo "$as_me:$LINENO: result: no" >&5
2947 echo "${ECHO_T}no" >&6
2952 STRIP
="$ac_cv_prog_STRIP"
2956 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2958 # We need awk for the "check" target. The system "awk" is bad on
2960 # Always define AMTAR for backward compatibility.
2962 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2964 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2969 depcc
="$CC" am_compiler_list
=
2971 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2972 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2973 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2977 # We make a subdir and do the tests there. Otherwise we can end up
2978 # making bogus files that we don't know about and never remove. For
2979 # instance it was reported that on HP-UX the gcc test will end up
2980 # making a dummy file named `D' -- because `-MD' means `put the output
2983 # Copy depcomp to subdir because otherwise we won't find it if we're
2984 # using a relative directory.
2985 cp "$am_depcomp" conftest.dir
2987 # We will build objects and dependencies in a subdirectory because
2988 # it helps to detect inapplicable dependency modes. For instance
2989 # both Tru64's cc and ICC support -MD to output dependencies as a
2990 # side effect of compilation, but ICC will put the dependencies in
2991 # the current directory while Tru64 will put them in the object
2995 am_cv_CC_dependencies_compiler_type
=none
2996 if test "$am_compiler_list" = ""; then
2997 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2999 for depmode
in $am_compiler_list; do
3000 # Setup a source with many dependencies, because some compilers
3001 # like to wrap large dependency lists on column 80 (with \), and
3002 # we should not choose a depcomp mode which is confused by this.
3004 # We need to recreate these files for each test, as the compiler may
3005 # overwrite some of them when testing with obscure command lines.
3006 # This happens at least with the AIX C compiler.
3008 for i
in 1 2 3 4 5 6; do
3009 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3010 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3011 # Solaris 8's {/usr,}/bin/sh.
3012 touch sub
/conftst
$i.h
3014 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3018 # after this tag, mechanisms are not by side-effect, so they'll
3019 # only be used when explicitly requested
3020 if test "x$enable_dependency_tracking" = xyes
; then
3028 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3029 # mode. It turns out that the SunPro C++ compiler does not properly
3030 # handle `-M -o', and we need to detect this.
3031 if depmode
=$depmode \
3032 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3033 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3034 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3035 >/dev
/null
2>conftest.err
&&
3036 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3037 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3038 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3039 # icc doesn't choke on unknown options, it will just issue warnings
3040 # or remarks (even with -Werror). So we grep stderr for any message
3041 # that says an option was ignored or not supported.
3042 # When given -MP, icc 7.0 and 7.1 complain thusly:
3043 # icc: Command line warning: ignoring option '-M'; no argument required
3044 # The diagnosis changed in icc 8.0:
3045 # icc: Command line remark: option '-MP' not supported
3046 if (grep 'ignoring option' conftest.err ||
3047 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3048 am_cv_CC_dependencies_compiler_type
=$depmode
3057 am_cv_CC_dependencies_compiler_type
=none
3061 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3062 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3063 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3068 test "x$enable_dependency_tracking" != xno \
3069 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3071 am__fastdepCC_FALSE
='#'
3073 am__fastdepCC_TRUE
='#'
3074 am__fastdepCC_FALSE
=
3080 if test -n "$ac_tool_prefix"; then
3081 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3082 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3083 echo "$as_me:$LINENO: checking for $ac_word" >&5
3084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3085 if test "${ac_cv_prog_AR+set}" = set; then
3086 echo $ECHO_N "(cached) $ECHO_C" >&6
3088 if test -n "$AR"; then
3089 ac_cv_prog_AR
="$AR" # Let the user override the test.
3091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir
=.
3096 for ac_exec_ext
in '' $ac_executable_extensions; do
3097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3108 if test -n "$AR"; then
3109 echo "$as_me:$LINENO: result: $AR" >&5
3110 echo "${ECHO_T}$AR" >&6
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3117 if test -z "$ac_cv_prog_AR"; then
3119 # Extract the first word of "ar", so it can be a program name with args.
3120 set dummy
ar; ac_word
=$2
3121 echo "$as_me:$LINENO: checking for $ac_word" >&5
3122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3123 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3126 if test -n "$ac_ct_AR"; then
3127 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3133 test -z "$as_dir" && as_dir
=.
3134 for ac_exec_ext
in '' $ac_executable_extensions; do
3135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3136 ac_cv_prog_ac_ct_AR
="ar"
3137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3146 if test -n "$ac_ct_AR"; then
3147 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3148 echo "${ECHO_T}$ac_ct_AR" >&6
3150 echo "$as_me:$LINENO: result: no" >&5
3151 echo "${ECHO_T}no" >&6
3159 if test -n "$ac_tool_prefix"; then
3160 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3161 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3162 echo "$as_me:$LINENO: checking for $ac_word" >&5
3163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3164 if test "${ac_cv_prog_RANLIB+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 if test -n "$RANLIB"; then
3168 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir
=.
3175 for ac_exec_ext
in '' $ac_executable_extensions; do
3176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3177 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 RANLIB
=$ac_cv_prog_RANLIB
3187 if test -n "$RANLIB"; then
3188 echo "$as_me:$LINENO: result: $RANLIB" >&5
3189 echo "${ECHO_T}$RANLIB" >&6
3191 echo "$as_me:$LINENO: result: no" >&5
3192 echo "${ECHO_T}no" >&6
3196 if test -z "$ac_cv_prog_RANLIB"; then
3197 ac_ct_RANLIB
=$RANLIB
3198 # Extract the first word of "ranlib", so it can be a program name with args.
3199 set dummy ranlib
; ac_word
=$2
3200 echo "$as_me:$LINENO: checking for $ac_word" >&5
3201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3202 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3203 echo $ECHO_N "(cached) $ECHO_C" >&6
3205 if test -n "$ac_ct_RANLIB"; then
3206 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir
=.
3213 for ac_exec_ext
in '' $ac_executable_extensions; do
3214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3215 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3225 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3226 if test -n "$ac_ct_RANLIB"; then
3227 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3228 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3234 RANLIB
=$ac_ct_RANLIB
3236 RANLIB
="$ac_cv_prog_RANLIB"
3240 # Check whether --enable-shared or --disable-shared was given.
3241 if test "${enable_shared+set}" = set; then
3242 enableval
="$enable_shared"
3243 p
=${PACKAGE-default}
3245 yes) enable_shared
=yes ;;
3246 no
) enable_shared
=no
;;
3249 # Look at the argument we got. We use all the common list separators.
3250 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3251 for pkg
in $enableval; do
3252 if test "X$pkg" = "X$p"; then
3263 # Check whether --enable-static or --disable-static was given.
3264 if test "${enable_static+set}" = set; then
3265 enableval
="$enable_static"
3266 p
=${PACKAGE-default}
3268 yes) enable_static
=yes ;;
3269 no
) enable_static
=no
;;
3272 # Look at the argument we got. We use all the common list separators.
3273 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3274 for pkg
in $enableval; do
3275 if test "X$pkg" = "X$p"; then
3285 # Check whether --enable-fast-install or --disable-fast-install was given.
3286 if test "${enable_fast_install+set}" = set; then
3287 enableval
="$enable_fast_install"
3288 p
=${PACKAGE-default}
3290 yes) enable_fast_install
=yes ;;
3291 no
) enable_fast_install
=no
;;
3293 enable_fast_install
=no
3294 # Look at the argument we got. We use all the common list separators.
3295 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3296 for pkg
in $enableval; do
3297 if test "X$pkg" = "X$p"; then
3298 enable_fast_install
=yes
3305 enable_fast_install
=yes
3308 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3309 if test "${with_gnu_ld+set}" = set; then
3310 withval
="$with_gnu_ld"
3311 test "$withval" = no || with_gnu_ld
=yes
3316 if test "$GCC" = yes; then
3317 # Check if gcc -print-prog-name=ld gives a path.
3318 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3319 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3322 # gcc leaves a trailing carriage return which upsets mingw
3323 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3325 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3328 # Accept absolute paths.
3329 [\\/]* |
[A-Za-z
]:[\\/]*)
3330 re_direlt
='/[^/][^/]*/\.\./'
3331 # Canonicalize the path of ld
3332 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3333 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3334 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3336 test -z "$LD" && LD
="$ac_prog"
3339 # If it fails, then pretend we aren't using GCC.
3343 # If it is relative, then search for the first ld in PATH.
3347 elif test "$with_gnu_ld" = yes; then
3348 echo "$as_me:$LINENO: checking for GNU ld" >&5
3349 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3351 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3352 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3354 if test "${lt_cv_path_LD+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3357 if test -z "$LD"; then
3358 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3359 for ac_dir
in $PATH; do
3360 test -z "$ac_dir" && ac_dir
=.
3361 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3362 lt_cv_path_LD
="$ac_dir/$ac_prog"
3363 # Check to see if the program is GNU ld. I'd rather use --version,
3364 # but apparently some GNU ld's only accept -v.
3365 # Break only if it was the GNU/non-GNU ld that we prefer.
3366 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3367 test "$with_gnu_ld" != no
&& break
3369 test "$with_gnu_ld" != yes && break
3375 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3380 if test -n "$LD"; then
3381 echo "$as_me:$LINENO: result: $LD" >&5
3382 echo "${ECHO_T}$LD" >&6
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3387 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3388 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3389 { (exit 1); exit 1; }; }
3390 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3391 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3392 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3396 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3397 lt_cv_prog_gnu_ld
=yes
3399 lt_cv_prog_gnu_ld
=no
3402 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3403 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3404 with_gnu_ld
=$lt_cv_prog_gnu_ld
3407 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3408 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3409 if test "${lt_cv_ld_reload_flag+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 lt_cv_ld_reload_flag
='-r'
3414 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3415 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3416 reload_flag
=$lt_cv_ld_reload_flag
3417 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3419 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3420 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3421 if test "${lt_cv_path_NM+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 if test -n "$NM"; then
3425 # Let the user override the test.
3428 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3429 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3430 test -z "$ac_dir" && ac_dir
=.
3431 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3432 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3433 # Check to see if the nm accepts a BSD-compat flag.
3434 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3435 # nm: unknown option "B" ignored
3436 # Tru64's nm complains that /dev/null is an invalid object file
3437 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3438 lt_cv_path_NM
="$tmp_nm -B"
3440 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3441 lt_cv_path_NM
="$tmp_nm -p"
3444 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3445 continue # so that we can try to find one that supports BSD flags
3450 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3455 echo "$as_me:$LINENO: result: $NM" >&5
3456 echo "${ECHO_T}$NM" >&6
3458 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3459 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3461 if test "$LN_S" = "ln -s"; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3465 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3466 echo "${ECHO_T}no, using $LN_S" >&6
3469 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3470 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3471 if test "${lt_cv_deplibs_check_method+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3475 lt_cv_file_magic_test_file
=
3476 lt_cv_deplibs_check_method
='unknown'
3477 # Need to set the preceding variable on all platforms that support
3478 # interlibrary dependencies.
3479 # 'none' -- dependencies not supported.
3480 # `unknown' -- same as none, but documents that we really don't know.
3481 # 'pass_all' -- all dependencies passed with no checks.
3482 # 'test_compile' -- check by making test program.
3483 # 'file_magic [regex]' -- check by looking for files in library path
3484 # which responds to the $file_magic_cmd with a given egrep regex.
3485 # If you have `file' or equivalent on your system and you're not sure
3486 # whether `pass_all' will *always* work, you probably want this one.
3490 lt_cv_deplibs_check_method
=pass_all
3494 lt_cv_deplibs_check_method
=pass_all
3498 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3499 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3500 lt_cv_file_magic_test_file
=/shlib
/libc.so
3503 cygwin
* | mingw
* |pw32
*)
3504 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3505 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3508 darwin
* | rhapsody
*)
3509 # this will be overwritten by pass_all, but leave it in just in case
3510 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3511 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3513 rhapsody
* | darwin1.012
)
3514 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3517 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3520 lt_cv_deplibs_check_method
=pass_all
3523 freebsd
* | kfreebsd
*-gnu)
3524 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3527 # Not sure whether the presence of OpenBSD here was a mistake.
3528 # Let's accept both of them until this is cleared up.
3529 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3530 lt_cv_file_magic_cmd
=/usr
/bin
/file
3531 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3535 lt_cv_deplibs_check_method
=pass_all
3540 lt_cv_deplibs_check_method
=pass_all
3546 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3547 lt_cv_file_magic_cmd
=/usr
/bin
/file
3548 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3551 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3552 lt_cv_file_magic_cmd
=/usr
/bin
/file
3553 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3561 # this will be overridden with pass_all, but let us keep it just in case
3562 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3566 *-32|
*"-32 ") libmagic
=32-bit;;
3567 *-n32|
*"-n32 ") libmagic
=N32
;;
3568 *-64|
*"-64 ") libmagic
=64-bit;;
3569 *) libmagic
=never-match
;;
3571 # this will be overridden with pass_all, but let us keep it just in case
3572 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3575 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3576 lt_cv_deplibs_check_method
=pass_all
3579 # This must be Linux ELF.
3581 lt_cv_deplibs_check_method
=pass_all
3584 netbsd
* | knetbsd
*-gnu)
3585 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3586 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3588 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3593 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3594 lt_cv_file_magic_cmd
=/usr
/bin
/file
3595 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3598 osf3
* | osf4
* | osf5
*)
3599 # this will be overridden with pass_all, but let us keep it just in case
3600 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3601 lt_cv_file_magic_test_file
=/shlib
/libc.so
3602 lt_cv_deplibs_check_method
=pass_all
3606 lt_cv_deplibs_check_method
=pass_all
3610 lt_cv_deplibs_check_method
=pass_all
3611 lt_cv_file_magic_test_file
=/lib
/libc.so
3614 sysv5uw
[78]* | sysv4
*uw2
*)
3615 lt_cv_deplibs_check_method
=pass_all
3618 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3619 case $host_vendor in
3621 lt_cv_deplibs_check_method
=pass_all
3624 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]'
3625 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3632 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3633 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3634 file_magic_cmd
=$lt_cv_file_magic_cmd
3635 deplibs_check_method
=$lt_cv_deplibs_check_method
3640 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3642 # find the maximum length of command line arguments
3643 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3644 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3645 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3653 # On DJGPP, this test can blow up pretty badly due to problems in libc
3654 # (any single argument exceeding 2000 bytes causes a buffer overrun
3655 # during glob expansion). Even if it were fixed, the result of this
3656 # check would be larger than it should be.
3657 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3661 # On Win9x/ME, this test blows up -- it succeeds, but takes
3662 # about 5 minutes as the teststring grows exponentially.
3663 # Worse, since 9x/ME are not pre-emptively multitasking,
3664 # you end up with a "frozen" computer, even though with patience
3665 # the test eventually succeeds (with a max line length of 256k).
3666 # Instead, let's just punt: use the minimum linelength reported by
3667 # all of the supported platforms: 8192 (on NT/2K/XP).
3668 lt_cv_sys_max_cmd_len
=8192;
3672 # On AmigaOS with pdksh, this test takes hours, literally.
3673 # So we just punt and use a minimum line length of 8192.
3674 lt_cv_sys_max_cmd_len
=8192;
3677 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3678 # This has been around since 386BSD, at least. Likely further.
3679 if test -x /sbin
/sysctl
; then
3680 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3681 elif test -x /usr
/sbin
/sysctl
; then
3682 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3684 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3686 # And add a safety zone
3687 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3688 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3694 if test -n "$lt_cv_sys_max_cmd_len" ; then
3695 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3696 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3698 echo "$as_me:$LINENO: result: none" >&5
3699 echo "${ECHO_T}none" >&6
3703 # Only perform the check for file, if the check method requires it
3704 case $deplibs_check_method in
3706 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3707 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3708 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3709 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3714 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3717 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3720 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3721 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3722 ac_dummy
="/usr/bin:$PATH"
3723 for ac_dir
in $ac_dummy; do
3724 test -z "$ac_dir" && ac_dir
=.
3725 if test -f $ac_dir/${ac_tool_prefix}file; then
3726 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3727 if test -n "$file_magic_test_file"; then
3728 case $deplibs_check_method in
3730 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3731 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3732 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3733 egrep "$file_magic_regex" > /dev
/null
; then
3738 *** Warning: the command libtool uses to detect shared libraries,
3739 *** $file_magic_cmd, produces output that libtool cannot recognize.
3740 *** The result is that libtool may fail to recognize shared libraries
3741 *** as such. This will affect the creation of libtool libraries that
3742 *** depend on shared libraries, but programs linked with such libtool
3743 *** libraries will work regardless of this problem. Nevertheless, you
3744 *** may want to report the problem to your system manager and/or to
3745 *** bug-libtool@gnu.org
3755 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3760 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3761 if test -n "$MAGIC_CMD"; then
3762 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3763 echo "${ECHO_T}$MAGIC_CMD" >&6
3765 echo "$as_me:$LINENO: result: no" >&5
3766 echo "${ECHO_T}no" >&6
3769 if test -z "$lt_cv_path_MAGIC_CMD"; then
3770 if test -n "$ac_tool_prefix"; then
3771 echo "$as_me:$LINENO: checking for file" >&5
3772 echo $ECHO_N "checking for file... $ECHO_C" >&6
3773 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3774 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3781 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3784 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3785 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3786 ac_dummy
="/usr/bin:$PATH"
3787 for ac_dir
in $ac_dummy; do
3788 test -z "$ac_dir" && ac_dir
=.
3789 if test -f $ac_dir/file; then
3790 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3791 if test -n "$file_magic_test_file"; then
3792 case $deplibs_check_method in
3794 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3795 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3796 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3797 egrep "$file_magic_regex" > /dev
/null
; then
3802 *** Warning: the command libtool uses to detect shared libraries,
3803 *** $file_magic_cmd, produces output that libtool cannot recognize.
3804 *** The result is that libtool may fail to recognize shared libraries
3805 *** as such. This will affect the creation of libtool libraries that
3806 *** depend on shared libraries, but programs linked with such libtool
3807 *** libraries will work regardless of this problem. Nevertheless, you
3808 *** may want to report the problem to your system manager and/or to
3809 *** bug-libtool@gnu.org
3819 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3824 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3825 if test -n "$MAGIC_CMD"; then
3826 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3827 echo "${ECHO_T}$MAGIC_CMD" >&6
3829 echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6
3842 if test -n "$ac_tool_prefix"; then
3843 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3844 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3845 echo "$as_me:$LINENO: checking for $ac_word" >&5
3846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3847 if test "${ac_cv_prog_RANLIB+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 if test -n "$RANLIB"; then
3851 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir
=.
3858 for ac_exec_ext
in '' $ac_executable_extensions; do
3859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 RANLIB
=$ac_cv_prog_RANLIB
3870 if test -n "$RANLIB"; then
3871 echo "$as_me:$LINENO: result: $RANLIB" >&5
3872 echo "${ECHO_T}$RANLIB" >&6
3874 echo "$as_me:$LINENO: result: no" >&5
3875 echo "${ECHO_T}no" >&6
3879 if test -z "$ac_cv_prog_RANLIB"; then
3880 ac_ct_RANLIB
=$RANLIB
3881 # Extract the first word of "ranlib", so it can be a program name with args.
3882 set dummy ranlib
; ac_word
=$2
3883 echo "$as_me:$LINENO: checking for $ac_word" >&5
3884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3885 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 if test -n "$ac_ct_RANLIB"; then
3889 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3895 test -z "$as_dir" && as_dir
=.
3896 for ac_exec_ext
in '' $ac_executable_extensions; do
3897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3898 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3908 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3909 if test -n "$ac_ct_RANLIB"; then
3910 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3911 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3917 RANLIB
=$ac_ct_RANLIB
3919 RANLIB
="$ac_cv_prog_RANLIB"
3922 if test -n "$ac_tool_prefix"; then
3923 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3924 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3925 echo "$as_me:$LINENO: checking for $ac_word" >&5
3926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3927 if test "${ac_cv_prog_STRIP+set}" = set; then
3928 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 if test -n "$STRIP"; then
3931 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3937 test -z "$as_dir" && as_dir
=.
3938 for ac_exec_ext
in '' $ac_executable_extensions; do
3939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3940 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 STRIP
=$ac_cv_prog_STRIP
3950 if test -n "$STRIP"; then
3951 echo "$as_me:$LINENO: result: $STRIP" >&5
3952 echo "${ECHO_T}$STRIP" >&6
3954 echo "$as_me:$LINENO: result: no" >&5
3955 echo "${ECHO_T}no" >&6
3959 if test -z "$ac_cv_prog_STRIP"; then
3961 # Extract the first word of "strip", so it can be a program name with args.
3962 set dummy strip
; ac_word
=$2
3963 echo "$as_me:$LINENO: checking for $ac_word" >&5
3964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3965 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 if test -n "$ac_ct_STRIP"; then
3969 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir
=.
3976 for ac_exec_ext
in '' $ac_executable_extensions; do
3977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_ac_ct_STRIP
="strip"
3979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3988 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3989 if test -n "$ac_ct_STRIP"; then
3990 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3991 echo "${ECHO_T}$ac_ct_STRIP" >&6
3993 echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6
3999 STRIP
="$ac_cv_prog_STRIP"
4003 # Check for any special flags to pass to ltconfig.
4004 libtool_flags
="--cache-file=$cache_file"
4005 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4006 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4007 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4008 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4009 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4012 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4013 if test "${enable_libtool_lock+set}" = set; then
4014 enableval
="$enable_libtool_lock"
4017 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4018 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4021 # Check whether --with-pic or --without-pic was given.
4022 if test "${with_pic+set}" = set; then
4028 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4029 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4031 # Some flags need to be propagated to the compiler or linker for good
4035 # Find out which ABI we are using.
4036 echo '#line 4036 "configure"' > conftest.
$ac_ext
4037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4038 (eval $ac_compile) 2>&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; then
4042 if test "$lt_cv_prog_gnu_ld" = yes; then
4043 case `/usr/bin/file conftest.$ac_objext` in
4045 LD
="${LD-ld} -melf32bsmip"
4048 LD
="${LD-ld} -melf32bmipn32"
4051 LD
="${LD-ld} -melf64bmip"
4055 case `/usr/bin/file conftest.$ac_objext` in
4072 # Find out which ABI we are using.
4073 echo 'int i;' > conftest.
$ac_ext
4074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4075 (eval $ac_compile) 2>&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }; then
4079 case "`/usr/bin/file conftest.o`" in
4091 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4092 # Find out which ABI we are using.
4093 echo 'int i;' > conftest.
$ac_ext
4094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4095 (eval $ac_compile) 2>&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); }; then
4099 case "`/usr/bin/file conftest.o`" in
4103 LD
="${LD-ld} -m elf_i386"
4105 ppc64-
*linux
*|powerpc64-
*linux
*)
4106 LD
="${LD-ld} -m elf32ppclinux"
4109 LD
="${LD-ld} -m elf_s390"
4112 LD
="${LD-ld} -m elf32_sparc"
4119 LD
="${LD-ld} -m elf_x86_64"
4121 ppc
*-*linux
*|powerpc
*-*linux
*)
4122 LD
="${LD-ld} -m elf64ppc"
4125 LD
="${LD-ld} -m elf64_s390"
4128 LD
="${LD-ld} -m elf64_sparc"
4138 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4139 SAVE_CFLAGS
="$CFLAGS"
4140 CFLAGS
="$CFLAGS -belf"
4141 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4142 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4143 if test "${lt_cv_cc_needs_belf+set}" = set; then
4144 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 ac_cpp
='$CPP $CPPFLAGS'
4150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4154 cat >conftest.
$ac_ext <<_ACEOF
4157 cat confdefs.h
>>conftest.
$ac_ext
4158 cat >>conftest.
$ac_ext <<_ACEOF
4159 /* end confdefs.h. */
4169 rm -f conftest.
$ac_objext conftest
$ac_exeext
4170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4171 (eval $ac_link) 2>conftest.er1
4173 grep -v '^ *+' conftest.er1
>conftest.err
4175 cat conftest.err
>&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); } &&
4178 { ac_try
='test -z "$ac_c_werror_flag"
4179 || test ! -s conftest.err'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; } &&
4185 { ac_try
='test -s conftest$ac_exeext'
4186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; }; then
4191 lt_cv_cc_needs_belf
=yes
4193 echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.
$ac_ext >&5
4196 lt_cv_cc_needs_belf
=no
4198 rm -f conftest.err conftest.
$ac_objext \
4199 conftest
$ac_exeext conftest.
$ac_ext
4201 ac_cpp
='$CPP $CPPFLAGS'
4202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4207 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4208 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4209 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4210 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4211 CFLAGS
="$SAVE_CFLAGS"
4219 # Save cache, so that ltconfig can load it
4220 cat >confcache
<<\_ACEOF
4221 # This file is a shell script that caches the results of configure
4222 # tests run on this system so they can be shared between configure
4223 # scripts and configure runs, see configure's option --config-cache.
4224 # It is not useful on other systems. If it contains results you don't
4225 # want to keep, you may remove or edit it.
4227 # config.status only pays attention to the cache file if you give it
4228 # the --recheck option to rerun configure.
4230 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4231 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4236 # The following way of writing the cache mishandles newlines in values,
4237 # but we know of no workaround that is simple, portable, and efficient.
4238 # So, don't put newlines in cache variables' values.
4239 # Ultrix sh set writes to stderr and can't be redirected directly,
4240 # and sets the high bit in the cache file unless we assign to the vars.
4243 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4245 # `set' does not quote correctly, so add quotes (double-quote
4246 # substitution turns \\\\ into \\, and sed turns \\ into \).
4249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4252 # `set' quotes correctly as required by POSIX, so do not add quotes.
4254 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4261 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4263 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4265 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4266 if test -w $cache_file; then
4267 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4268 cat confcache
>$cache_file
4270 echo "not updating unwritable cache $cache_file"
4275 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4276 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4277 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4278 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4279 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4280 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4281 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4282 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4283 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4284 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4285 echo "$as_me: error: libtool configure failed" >&2;}
4286 { (exit 1); exit 1; }; }
4288 # Reload cache, that may have been modified by ltconfig
4289 if test -r "$cache_file"; then
4290 # Some versions of bash will fail to source /dev/null (special
4291 # files actually), so we avoid doing that.
4292 if test -f "$cache_file"; then
4293 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4294 echo "$as_me: loading cache $cache_file" >&6;}
4296 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4297 *) . .
/$cache_file;;
4301 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4302 echo "$as_me: creating cache $cache_file" >&6;}
4307 # This can be used to rebuild libtool when needed
4308 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4310 # Always use our own libtool.
4311 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4313 # Redirect the config.log output again, so that the ltconfig log is not
4314 # clobbered by the next message.
4315 exec 5>>.
/config.log
4323 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4324 if test "${enable_64_bit_bfd+set}" = set; then
4325 enableval
="$enable_64_bit_bfd"
4326 case "${enableval}" in
4329 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4330 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4331 { (exit 1); exit 1; }; } ;;
4335 fi; # Check whether --enable-targets or --disable-targets was given.
4336 if test "${enable_targets+set}" = set; then
4337 enableval
="$enable_targets"
4338 case "${enableval}" in
4339 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4340 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4341 { (exit 1); exit 1; }; }
4343 no
) enable_targets
= ;;
4344 *) enable_targets
=$enableval ;;
4346 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4347 if test "${enable_commonbfdlib+set}" = set; then
4348 enableval
="$enable_commonbfdlib"
4349 case "${enableval}" in
4350 yes) commonbfdlib
=true
;;
4351 no
) commonbfdlib
=false
;;
4352 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4353 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4354 { (exit 1); exit 1; }; } ;;
4357 # Check whether --with-mmap or --without-mmap was given.
4358 if test "${with_mmap+set}" = set; then
4359 withval
="$with_mmap"
4360 case "${withval}" in
4361 yes) want_mmap
=true
;;
4362 no
) want_mmap
=false
;;
4363 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4364 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
4365 { (exit 1); exit 1; }; } ;;
4370 # Check whether --enable-secureplt or --disable-secureplt was given.
4371 if test "${enable_secureplt+set}" = set; then
4372 enableval
="$enable_secureplt"
4373 case "${enableval}" in
4374 yes) use_secureplt
=true
;;
4375 no
) use_secureplt
=false
;;
4376 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4377 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
4378 { (exit 1); exit 1; }; } ;;
4382 fi; if test $use_secureplt = true
; then
4384 cat >>confdefs.h
<<\_ACEOF
4385 #define USE_SECUREPLT 1
4390 # The trailing component of the string reported as the version number
4391 # by gdb. For an official FSF release, it is empty.
4393 # Check whether --with-versuffix or --without-versuffix was given.
4394 if test "${with_versuffix+set}" = set; then
4395 withval
="$with_versuffix"
4397 yes) { { echo "$as_me:$LINENO: error: version suffix not specified" >&5
4398 echo "$as_me: error: version suffix not specified" >&2;}
4399 { (exit 1); exit 1; }; } ;;
4400 no
) VERSUFFIX
=" (CodeSourcery Unofficial)" ;;
4401 *) VERSUFFIX
=" ($withval)" ;;
4410 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4412 # Check whether --enable-werror or --disable-werror was given.
4413 if test "${enable_werror+set}" = set; then
4414 enableval
="$enable_werror"
4415 case "${enableval}" in
4416 yes | y
) ERROR_ON_WARNING
="yes" ;;
4417 no | n
) ERROR_ON_WARNING
="no" ;;
4418 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4419 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4420 { (exit 1); exit 1; }; } ;;
4424 # Enable -Werror by default when using gcc
4425 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4426 ERROR_ON_WARNING
=yes
4430 if test "${ERROR_ON_WARNING}" = yes ; then
4431 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4432 NO_WERROR
="-Wno-error"
4435 if test "${GCC}" = yes ; then
4436 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4439 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4440 if test "${enable_build_warnings+set}" = set; then
4441 enableval
="$enable_build_warnings"
4442 case "${enableval}" in
4443 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4444 no
) if test "${GCC}" = yes ; then
4447 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4448 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4449 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4450 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4451 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4455 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4456 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4463 ac_config_headers
="$ac_config_headers config.h:config.in"
4466 if test -z "$target" ; then
4467 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4468 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4469 { (exit 1); exit 1; }; }
4472 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4473 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4474 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4475 if test "${enable_maintainer_mode+set}" = set; then
4476 enableval
="$enable_maintainer_mode"
4477 USE_MAINTAINER_MODE
=$enableval
4479 USE_MAINTAINER_MODE
=no
4481 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4482 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4485 if test $USE_MAINTAINER_MODE = yes; then
4486 MAINTAINER_MODE_TRUE
=
4487 MAINTAINER_MODE_FALSE
='#'
4489 MAINTAINER_MODE_TRUE
='#'
4490 MAINTAINER_MODE_FALSE
=
4493 MAINT
=$MAINTAINER_MODE_TRUE
4496 case ${build_alias} in
4497 "") build_noncanonical
=${build} ;;
4498 *) build_noncanonical
=${build_alias} ;;
4501 case ${host_alias} in
4502 "") host_noncanonical
=${build_noncanonical} ;;
4503 *) host_noncanonical
=${host_alias} ;;
4506 case ${target_alias} in
4507 "") target_noncanonical
=${host_noncanonical} ;;
4508 *) target_noncanonical
=${target_alias} ;;
4511 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4512 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4513 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4514 if test "${enable_install_libbfd+set}" = set; then
4515 enableval
="$enable_install_libbfd"
4516 install_libbfd_p
=$enableval
4518 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
4519 install_libbfd_p
=yes
4524 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4525 echo "${ECHO_T}$install_libbfd_p" >&6
4528 if test $install_libbfd_p = yes; then
4529 INSTALL_LIBBFD_TRUE
=
4530 INSTALL_LIBBFD_FALSE
='#'
4532 INSTALL_LIBBFD_TRUE
='#'
4533 INSTALL_LIBBFD_FALSE
=
4536 # Need _noncanonical variables for this.
4541 # libbfd.a is a host library containing target dependent code
4542 bfdlibdir
='$(libdir)'
4543 bfdincludedir
='$(includedir)'
4544 if test "${host}" != "${target}"; then
4545 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4546 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4556 bfd_default_target_size
=32
4561 ac_cpp
='$CPP $CPPFLAGS'
4562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4565 if test -n "$ac_tool_prefix"; then
4566 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4567 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4568 echo "$as_me:$LINENO: checking for $ac_word" >&5
4569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4570 if test "${ac_cv_prog_CC+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 if test -n "$CC"; then
4574 ac_cv_prog_CC
="$CC" # Let the user override the test.
4576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir
=.
4581 for ac_exec_ext
in '' $ac_executable_extensions; do
4582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4583 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 if test -n "$CC"; then
4594 echo "$as_me:$LINENO: result: $CC" >&5
4595 echo "${ECHO_T}$CC" >&6
4597 echo "$as_me:$LINENO: result: no" >&5
4598 echo "${ECHO_T}no" >&6
4602 if test -z "$ac_cv_prog_CC"; then
4604 # Extract the first word of "gcc", so it can be a program name with args.
4605 set dummy gcc
; ac_word
=$2
4606 echo "$as_me:$LINENO: checking for $ac_word" >&5
4607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 if test -n "$ac_ct_CC"; then
4612 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir
=.
4619 for ac_exec_ext
in '' $ac_executable_extensions; do
4620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_ac_ct_CC
="gcc"
4622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4630 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4631 if test -n "$ac_ct_CC"; then
4632 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4633 echo "${ECHO_T}$ac_ct_CC" >&6
4635 echo "$as_me:$LINENO: result: no" >&5
4636 echo "${ECHO_T}no" >&6
4644 if test -z "$CC"; then
4645 if test -n "$ac_tool_prefix"; then
4646 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4647 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4648 echo "$as_me:$LINENO: checking for $ac_word" >&5
4649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4650 if test "${ac_cv_prog_CC+set}" = set; then
4651 echo $ECHO_N "(cached) $ECHO_C" >&6
4653 if test -n "$CC"; then
4654 ac_cv_prog_CC
="$CC" # Let the user override the test.
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 if test -n "$CC"; then
4674 echo "$as_me:$LINENO: result: $CC" >&5
4675 echo "${ECHO_T}$CC" >&6
4677 echo "$as_me:$LINENO: result: no" >&5
4678 echo "${ECHO_T}no" >&6
4682 if test -z "$ac_cv_prog_CC"; then
4684 # Extract the first word of "cc", so it can be a program name with args.
4685 set dummy cc
; ac_word
=$2
4686 echo "$as_me:$LINENO: checking for $ac_word" >&5
4687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 if test -n "$ac_ct_CC"; then
4692 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir
=.
4699 for ac_exec_ext
in '' $ac_executable_extensions; do
4700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_prog_ac_ct_CC
="cc"
4702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4710 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4711 if test -n "$ac_ct_CC"; then
4712 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4713 echo "${ECHO_T}$ac_ct_CC" >&6
4715 echo "$as_me:$LINENO: result: no" >&5
4716 echo "${ECHO_T}no" >&6
4725 if test -z "$CC"; then
4726 # Extract the first word of "cc", so it can be a program name with args.
4727 set dummy cc
; ac_word
=$2
4728 echo "$as_me:$LINENO: checking for $ac_word" >&5
4729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4730 if test "${ac_cv_prog_CC+set}" = set; then
4731 echo $ECHO_N "(cached) $ECHO_C" >&6
4733 if test -n "$CC"; then
4734 ac_cv_prog_CC
="$CC" # Let the user override the test.
4737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4741 test -z "$as_dir" && as_dir
=.
4742 for ac_exec_ext
in '' $ac_executable_extensions; do
4743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4744 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4745 ac_prog_rejected
=yes
4749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4755 if test $ac_prog_rejected = yes; then
4756 # We found a bogon in the path, so make sure we never use it.
4757 set dummy
$ac_cv_prog_CC
4759 if test $# != 0; then
4760 # We chose a different compiler from the bogus one.
4761 # However, it has the same basename, so the bogon will be chosen
4762 # first if we set CC to just the basename; use the full file name.
4764 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4770 if test -n "$CC"; then
4771 echo "$as_me:$LINENO: result: $CC" >&5
4772 echo "${ECHO_T}$CC" >&6
4774 echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6
4779 if test -z "$CC"; then
4780 if test -n "$ac_tool_prefix"; then
4783 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4784 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4785 echo "$as_me:$LINENO: checking for $ac_word" >&5
4786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4787 if test "${ac_cv_prog_CC+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 if test -n "$CC"; then
4791 ac_cv_prog_CC
="$CC" # Let the user override the test.
4793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4797 test -z "$as_dir" && as_dir
=.
4798 for ac_exec_ext
in '' $ac_executable_extensions; do
4799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4800 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 if test -n "$CC"; then
4811 echo "$as_me:$LINENO: result: $CC" >&5
4812 echo "${ECHO_T}$CC" >&6
4814 echo "$as_me:$LINENO: result: no" >&5
4815 echo "${ECHO_T}no" >&6
4818 test -n "$CC" && break
4821 if test -z "$CC"; then
4825 # Extract the first word of "$ac_prog", so it can be a program name with args.
4826 set dummy
$ac_prog; ac_word
=$2
4827 echo "$as_me:$LINENO: checking for $ac_word" >&5
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4829 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 if test -n "$ac_ct_CC"; then
4833 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4839 test -z "$as_dir" && as_dir
=.
4840 for ac_exec_ext
in '' $ac_executable_extensions; do
4841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_ac_ct_CC
="$ac_prog"
4843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4852 if test -n "$ac_ct_CC"; then
4853 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4854 echo "${ECHO_T}$ac_ct_CC" >&6
4856 echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4860 test -n "$ac_ct_CC" && break
4869 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4870 See \`config.log' for more details." >&5
4871 echo "$as_me: error: no acceptable C compiler found in \$PATH
4872 See \`config.log' for more details." >&2;}
4873 { (exit 1); exit 1; }; }
4875 # Provide some information about the compiler.
4876 echo "$as_me:$LINENO:" \
4877 "checking for C compiler version" >&5
4878 ac_compiler
=`set X $ac_compile; echo $2`
4879 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4880 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); }
4884 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4885 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); }
4889 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4890 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }
4895 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4896 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4897 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4898 echo $ECHO_N "(cached) $ECHO_C" >&6
4900 cat >conftest.
$ac_ext <<_ACEOF
4903 cat confdefs.h
>>conftest.
$ac_ext
4904 cat >>conftest.
$ac_ext <<_ACEOF
4905 /* end confdefs.h. */
4918 rm -f conftest.
$ac_objext
4919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4920 (eval $ac_compile) 2>conftest.er1
4922 grep -v '^ *+' conftest.er1
>conftest.err
4924 cat conftest.err
>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } &&
4927 { ac_try
='test -z "$ac_c_werror_flag"
4928 || test ! -s conftest.err'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; } &&
4934 { ac_try
='test -s conftest.$ac_objext'
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; }; then
4942 echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.
$ac_ext >&5
4947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4948 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4951 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4952 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4953 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4954 ac_test_CFLAGS
=${CFLAGS+set}
4955 ac_save_CFLAGS
=$CFLAGS
4957 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4958 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4959 if test "${ac_cv_prog_cc_g+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 cat >conftest.
$ac_ext <<_ACEOF
4965 cat confdefs.h
>>conftest.
$ac_ext
4966 cat >>conftest.
$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4977 rm -f conftest.
$ac_objext
4978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4979 (eval $ac_compile) 2>conftest.er1
4981 grep -v '^ *+' conftest.er1
>conftest.err
4983 cat conftest.err
>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } &&
4986 { ac_try
='test -z "$ac_c_werror_flag"
4987 || test ! -s conftest.err'
4988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); }; } &&
4993 { ac_try
='test -s conftest.$ac_objext'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; }; then
5001 echo "$as_me: failed program was:" >&5
5002 sed 's/^/| /' conftest.
$ac_ext >&5
5006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5008 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5009 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5010 if test "$ac_test_CFLAGS" = set; then
5011 CFLAGS
=$ac_save_CFLAGS
5012 elif test $ac_cv_prog_cc_g = yes; then
5013 if test "$GCC" = yes; then
5019 if test "$GCC" = yes; then
5025 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5026 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5027 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 ac_cv_prog_cc_stdc
=no
5032 cat >conftest.
$ac_ext <<_ACEOF
5035 cat confdefs.h
>>conftest.
$ac_ext
5036 cat >>conftest.
$ac_ext <<_ACEOF
5037 /* end confdefs.h. */
5040 #include <sys/types.h>
5041 #include <sys/stat.h>
5042 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5043 struct buf { int x; };
5044 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5045 static char *e (p, i)
5051 static char *f (char * (*g) (char **, int), char **p, ...)
5056 s = g (p, va_arg (v,int));
5061 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5062 function prototypes and stuff, but not '\xHH' hex character constants.
5063 These don't provoke an error unfortunately, instead are silently treated
5064 as 'x'. The following induces an error, until -std1 is added to get
5065 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5066 array size at least. It's necessary to write '\x00'==0 to get something
5067 that's true only with -std1. */
5068 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5070 int test (int i, double x);
5071 struct s1 {int (*f) (int a);};
5072 struct s2 {int (*f) (double a);};
5073 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5079 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5084 # Don't try gcc -ansi; that turns off useful extensions and
5085 # breaks some systems' header files.
5086 # AIX -qlanglvl=ansi
5087 # Ultrix and OSF/1 -std1
5088 # HP-UX 10.20 and later -Ae
5089 # HP-UX older versions -Aa -D_HPUX_SOURCE
5090 # SVR4 -Xc -D__EXTENSIONS__
5091 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5093 CC
="$ac_save_CC $ac_arg"
5094 rm -f conftest.
$ac_objext
5095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5096 (eval $ac_compile) 2>conftest.er1
5098 grep -v '^ *+' conftest.er1
>conftest.err
5100 cat conftest.err
>&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } &&
5103 { ac_try
='test -z "$ac_c_werror_flag"
5104 || test ! -s conftest.err'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; } &&
5110 { ac_try
='test -s conftest.$ac_objext'
5111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; }; then
5116 ac_cv_prog_cc_stdc
=$ac_arg
5119 echo "$as_me: failed program was:" >&5
5120 sed 's/^/| /' conftest.
$ac_ext >&5
5123 rm -f conftest.err conftest.
$ac_objext
5125 rm -f conftest.
$ac_ext conftest.
$ac_objext
5130 case "x$ac_cv_prog_cc_stdc" in
5132 echo "$as_me:$LINENO: result: none needed" >&5
5133 echo "${ECHO_T}none needed" >&6 ;;
5135 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5136 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5137 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5140 # Some people use a C++ compiler to compile C. Since we use `exit',
5141 # in C++ we need to declare it. In case someone uses the same compiler
5142 # for both compiling C and C++ we need to have the C++ compiler decide
5143 # the declaration of exit, since it's the most demanding environment.
5144 cat >conftest.
$ac_ext <<_ACEOF
5149 rm -f conftest.
$ac_objext
5150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5151 (eval $ac_compile) 2>conftest.er1
5153 grep -v '^ *+' conftest.er1
>conftest.err
5155 cat conftest.err
>&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); } &&
5158 { ac_try
='test -z "$ac_c_werror_flag"
5159 || test ! -s conftest.err'
5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 (exit $ac_status); }; } &&
5165 { ac_try
='test -s conftest.$ac_objext'
5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; }; then
5171 for ac_declaration
in \
5173 'extern "C" void std::exit (int) throw (); using std::exit;' \
5174 'extern "C" void std::exit (int); using std::exit;' \
5175 'extern "C" void exit (int) throw ();' \
5176 'extern "C" void exit (int);' \
5179 cat >conftest.
$ac_ext <<_ACEOF
5182 cat confdefs.h
>>conftest.
$ac_ext
5183 cat >>conftest.
$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5195 rm -f conftest.
$ac_objext
5196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5197 (eval $ac_compile) 2>conftest.er1
5199 grep -v '^ *+' conftest.er1
>conftest.err
5201 cat conftest.err
>&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); } &&
5204 { ac_try
='test -z "$ac_c_werror_flag"
5205 || test ! -s conftest.err'
5206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); }; } &&
5211 { ac_try
='test -s conftest.$ac_objext'
5212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); }; }; then
5219 echo "$as_me: failed program was:" >&5
5220 sed 's/^/| /' conftest.
$ac_ext >&5
5224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5225 cat >conftest.
$ac_ext <<_ACEOF
5228 cat confdefs.h
>>conftest.
$ac_ext
5229 cat >>conftest.
$ac_ext <<_ACEOF
5230 /* end confdefs.h. */
5240 rm -f conftest.
$ac_objext
5241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5242 (eval $ac_compile) 2>conftest.er1
5244 grep -v '^ *+' conftest.er1
>conftest.err
5246 cat conftest.err
>&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); } &&
5249 { ac_try
='test -z "$ac_c_werror_flag"
5250 || test ! -s conftest.err'
5251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); }; } &&
5256 { ac_try
='test -s conftest.$ac_objext'
5257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); }; }; then
5264 echo "$as_me: failed program was:" >&5
5265 sed 's/^/| /' conftest.
$ac_ext >&5
5268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5271 if test -n "$ac_declaration"; then
5272 echo '#ifdef __cplusplus' >>confdefs.h
5273 echo $ac_declaration >>confdefs.h
5274 echo '#endif' >>confdefs.h
5278 echo "$as_me: failed program was:" >&5
5279 sed 's/^/| /' conftest.
$ac_ext >&5
5282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5284 ac_cpp
='$CPP $CPPFLAGS'
5285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5290 cat >>confdefs.h
<<\_ACEOF
5291 #define _GNU_SOURCE 1
5296 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi"
5297 if test -n "$ac_tool_prefix"; then
5298 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5299 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5300 echo "$as_me:$LINENO: checking for $ac_word" >&5
5301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5302 if test "${ac_cv_prog_RANLIB+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 if test -n "$RANLIB"; then
5306 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5312 test -z "$as_dir" && as_dir
=.
5313 for ac_exec_ext
in '' $ac_executable_extensions; do
5314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5315 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 RANLIB
=$ac_cv_prog_RANLIB
5325 if test -n "$RANLIB"; then
5326 echo "$as_me:$LINENO: result: $RANLIB" >&5
5327 echo "${ECHO_T}$RANLIB" >&6
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5334 if test -z "$ac_cv_prog_RANLIB"; then
5335 ac_ct_RANLIB
=$RANLIB
5336 # Extract the first word of "ranlib", so it can be a program name with args.
5337 set dummy ranlib
; ac_word
=$2
5338 echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5340 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 if test -n "$ac_ct_RANLIB"; then
5344 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5350 test -z "$as_dir" && as_dir
=.
5351 for ac_exec_ext
in '' $ac_executable_extensions; do
5352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5353 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5363 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5364 if test -n "$ac_ct_RANLIB"; then
5365 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5366 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5368 echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6
5372 RANLIB
=$ac_ct_RANLIB
5374 RANLIB
="$ac_cv_prog_RANLIB"
5378 ac_cpp
='$CPP $CPPFLAGS'
5379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5382 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5383 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5384 # On Suns, sometimes $CPP names a directory.
5385 if test -n "$CPP" && test -d "$CPP"; then
5388 if test -z "$CPP"; then
5389 if test "${ac_cv_prog_CPP+set}" = set; then
5390 echo $ECHO_N "(cached) $ECHO_C" >&6
5392 # Double quotes because CPP needs to be expanded
5393 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5396 for ac_c_preproc_warn_flag
in '' yes
5398 # Use a header file that comes with gcc, so configuring glibc
5399 # with a fresh cross-compiler works.
5400 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5401 # <limits.h> exists even on freestanding compilers.
5402 # On the NeXT, cc -E runs the code through the compiler's parser,
5403 # not just through cpp. "Syntax error" is here to catch this case.
5404 cat >conftest.
$ac_ext <<_ACEOF
5407 cat confdefs.h
>>conftest.
$ac_ext
5408 cat >>conftest.
$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5411 # include <limits.h>
5413 # include <assert.h>
5417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5418 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5420 grep -v '^ *+' conftest.er1
>conftest.err
5422 cat conftest.err
>&5
5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 (exit $ac_status); } >/dev
/null
; then
5425 if test -s conftest.err
; then
5426 ac_cpp_err
=$ac_c_preproc_warn_flag
5427 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5434 if test -z "$ac_cpp_err"; then
5437 echo "$as_me: failed program was:" >&5
5438 sed 's/^/| /' conftest.
$ac_ext >&5
5440 # Broken: fails on valid input.
5443 rm -f conftest.err conftest.
$ac_ext
5445 # OK, works on sane cases. Now check whether non-existent headers
5446 # can be detected and how.
5447 cat >conftest.
$ac_ext <<_ACEOF
5450 cat confdefs.h
>>conftest.
$ac_ext
5451 cat >>conftest.
$ac_ext <<_ACEOF
5452 /* end confdefs.h. */
5453 #include <ac_nonexistent.h>
5455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5458 grep -v '^ *+' conftest.er1
>conftest.err
5460 cat conftest.err
>&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); } >/dev
/null
; then
5463 if test -s conftest.err
; then
5464 ac_cpp_err
=$ac_c_preproc_warn_flag
5465 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5472 if test -z "$ac_cpp_err"; then
5473 # Broken: success on invalid input.
5476 echo "$as_me: failed program was:" >&5
5477 sed 's/^/| /' conftest.
$ac_ext >&5
5479 # Passes both tests.
5483 rm -f conftest.err conftest.
$ac_ext
5486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5487 rm -f conftest.err conftest.
$ac_ext
5488 if $ac_preproc_ok; then
5500 echo "$as_me:$LINENO: result: $CPP" >&5
5501 echo "${ECHO_T}$CPP" >&6
5503 for ac_c_preproc_warn_flag
in '' yes
5505 # Use a header file that comes with gcc, so configuring glibc
5506 # with a fresh cross-compiler works.
5507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5508 # <limits.h> exists even on freestanding compilers.
5509 # On the NeXT, cc -E runs the code through the compiler's parser,
5510 # not just through cpp. "Syntax error" is here to catch this case.
5511 cat >conftest.
$ac_ext <<_ACEOF
5514 cat confdefs.h
>>conftest.
$ac_ext
5515 cat >>conftest.
$ac_ext <<_ACEOF
5516 /* end confdefs.h. */
5518 # include <limits.h>
5520 # include <assert.h>
5524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5527 grep -v '^ *+' conftest.er1
>conftest.err
5529 cat conftest.err
>&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); } >/dev
/null
; then
5532 if test -s conftest.err
; then
5533 ac_cpp_err
=$ac_c_preproc_warn_flag
5534 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5541 if test -z "$ac_cpp_err"; then
5544 echo "$as_me: failed program was:" >&5
5545 sed 's/^/| /' conftest.
$ac_ext >&5
5547 # Broken: fails on valid input.
5550 rm -f conftest.err conftest.
$ac_ext
5552 # OK, works on sane cases. Now check whether non-existent headers
5553 # can be detected and how.
5554 cat >conftest.
$ac_ext <<_ACEOF
5557 cat confdefs.h
>>conftest.
$ac_ext
5558 cat >>conftest.
$ac_ext <<_ACEOF
5559 /* end confdefs.h. */
5560 #include <ac_nonexistent.h>
5562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5563 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5565 grep -v '^ *+' conftest.er1
>conftest.err
5567 cat conftest.err
>&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); } >/dev
/null
; then
5570 if test -s conftest.err
; then
5571 ac_cpp_err
=$ac_c_preproc_warn_flag
5572 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5579 if test -z "$ac_cpp_err"; then
5580 # Broken: success on invalid input.
5583 echo "$as_me: failed program was:" >&5
5584 sed 's/^/| /' conftest.
$ac_ext >&5
5586 # Passes both tests.
5590 rm -f conftest.err conftest.
$ac_ext
5593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5594 rm -f conftest.err conftest.
$ac_ext
5595 if $ac_preproc_ok; then
5598 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5599 See \`config.log' for more details." >&5
5600 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5601 See \`config.log' for more details." >&2;}
5602 { (exit 1); exit 1; }; }
5606 ac_cpp
='$CPP $CPPFLAGS'
5607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5612 echo "$as_me:$LINENO: checking for egrep" >&5
5613 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5614 if test "${ac_cv_prog_egrep+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5617 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5618 then ac_cv_prog_egrep
='grep -E'
5619 else ac_cv_prog_egrep
='egrep'
5622 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5623 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5624 EGREP
=$ac_cv_prog_egrep
5627 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5628 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5629 if test "${ac_cv_header_stdc+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 cat >conftest.
$ac_ext <<_ACEOF
5635 cat confdefs.h
>>conftest.
$ac_ext
5636 cat >>conftest.
$ac_ext <<_ACEOF
5637 /* end confdefs.h. */
5651 rm -f conftest.
$ac_objext
5652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5653 (eval $ac_compile) 2>conftest.er1
5655 grep -v '^ *+' conftest.er1
>conftest.err
5657 cat conftest.err
>&5
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); } &&
5660 { ac_try
='test -z "$ac_c_werror_flag"
5661 || test ! -s conftest.err'
5662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); }; } &&
5667 { ac_try
='test -s conftest.$ac_objext'
5668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); }; }; then
5673 ac_cv_header_stdc
=yes
5675 echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.
$ac_ext >&5
5678 ac_cv_header_stdc
=no
5680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5682 if test $ac_cv_header_stdc = yes; then
5683 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5684 cat >conftest.
$ac_ext <<_ACEOF
5687 cat confdefs.h
>>conftest.
$ac_ext
5688 cat >>conftest.
$ac_ext <<_ACEOF
5689 /* end confdefs.h. */
5693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5694 $EGREP "memchr" >/dev
/null
2>&1; then
5697 ac_cv_header_stdc
=no
5703 if test $ac_cv_header_stdc = yes; then
5704 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5705 cat >conftest.
$ac_ext <<_ACEOF
5708 cat confdefs.h
>>conftest.
$ac_ext
5709 cat >>conftest.
$ac_ext <<_ACEOF
5710 /* end confdefs.h. */
5714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5715 $EGREP "free" >/dev
/null
2>&1; then
5718 ac_cv_header_stdc
=no
5724 if test $ac_cv_header_stdc = yes; then
5725 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5726 if test "$cross_compiling" = yes; then
5729 cat >conftest.
$ac_ext <<_ACEOF
5732 cat confdefs.h
>>conftest.
$ac_ext
5733 cat >>conftest.
$ac_ext <<_ACEOF
5734 /* end confdefs.h. */
5736 #if ((' ' & 0x0FF) == 0x020)
5737 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5738 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5740 # define ISLOWER(c) \
5741 (('a' <= (c) && (c) <= 'i') \
5742 || ('j' <= (c) && (c) <= 'r') \
5743 || ('s' <= (c) && (c) <= 'z'))
5744 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5747 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5752 for (i = 0; i < 256; i++)
5753 if (XOR (islower (i), ISLOWER (i))
5754 || toupper (i) != TOUPPER (i))
5759 rm -f conftest
$ac_exeext
5760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5761 (eval $ac_link) 2>&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 (exit $ac_status); }; }; then
5772 echo "$as_me: program exited with status $ac_status" >&5
5773 echo "$as_me: failed program was:" >&5
5774 sed 's/^/| /' conftest.
$ac_ext >&5
5777 ac_cv_header_stdc
=no
5779 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5783 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5784 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5785 if test $ac_cv_header_stdc = yes; then
5787 cat >>confdefs.h
<<\_ACEOF
5788 #define STDC_HEADERS 1
5793 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5794 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5795 if test "${ac_cv_c_const+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 cat >conftest.
$ac_ext <<_ACEOF
5801 cat confdefs.h
>>conftest.
$ac_ext
5802 cat >>conftest.
$ac_ext <<_ACEOF
5803 /* end confdefs.h. */
5808 /* FIXME: Include the comments suggested by Paul. */
5810 /* Ultrix mips cc rejects this. */
5811 typedef int charset[2];
5813 /* SunOS 4.1.1 cc rejects this. */
5814 char const *const *ccp;
5816 /* NEC SVR4.0.2 mips cc rejects this. */
5817 struct point {int x, y;};
5818 static struct point const zero = {0,0};
5819 /* AIX XL C 1.02.0.0 rejects this.
5820 It does not let you subtract one const X* pointer from another in
5821 an arm of an if-expression whose if-part is not a constant
5823 const char *g = "string";
5824 ccp = &g + (g ? g-g : 0);
5825 /* HPUX 7.0 cc rejects these. */
5828 ccp = (char const *const *) p;
5829 { /* SCO 3.2v4 cc rejects this. */
5831 char const *s = 0 ? (char *) 0 : (char const *) 0;
5835 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5837 const int *foo = &x[0];
5840 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5841 typedef const int *iptr;
5845 { /* AIX XL C 1.02.0.0 rejects this saying
5846 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5847 struct s { int j; const int *ap[3]; };
5848 struct s *b; b->j = 5;
5850 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5859 rm -f conftest.
$ac_objext
5860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5861 (eval $ac_compile) 2>conftest.er1
5863 grep -v '^ *+' conftest.er1
>conftest.err
5865 cat conftest.err
>&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); } &&
5868 { ac_try
='test -z "$ac_c_werror_flag"
5869 || test ! -s conftest.err'
5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; } &&
5875 { ac_try
='test -s conftest.$ac_objext'
5876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); }; }; then
5883 echo "$as_me: failed program was:" >&5
5884 sed 's/^/| /' conftest.
$ac_ext >&5
5888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5890 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5891 echo "${ECHO_T}$ac_cv_c_const" >&6
5892 if test $ac_cv_c_const = no
; then
5894 cat >>confdefs.h
<<\_ACEOF
5900 echo "$as_me:$LINENO: checking for inline" >&5
5901 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5902 if test "${ac_cv_c_inline+set}" = set; then
5903 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 for ac_kw
in inline __inline__ __inline
; do
5907 cat >conftest.
$ac_ext <<_ACEOF
5910 cat confdefs.h
>>conftest.
$ac_ext
5911 cat >>conftest.
$ac_ext <<_ACEOF
5912 /* end confdefs.h. */
5915 static $ac_kw foo_t static_foo () {return 0; }
5916 $ac_kw foo_t foo () {return 0; }
5920 rm -f conftest.
$ac_objext
5921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5922 (eval $ac_compile) 2>conftest.er1
5924 grep -v '^ *+' conftest.er1
>conftest.err
5926 cat conftest.err
>&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); } &&
5929 { ac_try
='test -z "$ac_c_werror_flag"
5930 || test ! -s conftest.err'
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; } &&
5936 { ac_try
='test -s conftest.$ac_objext'
5937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }; }; then
5942 ac_cv_c_inline
=$ac_kw; break
5944 echo "$as_me: failed program was:" >&5
5945 sed 's/^/| /' conftest.
$ac_ext >&5
5948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5952 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5953 echo "${ECHO_T}$ac_cv_c_inline" >&6
5956 case $ac_cv_c_inline in
5959 case $ac_cv_c_inline in
5961 *) ac_val
=$ac_cv_c_inline;;
5963 cat >>confdefs.h
<<_ACEOF
5965 #define inline $ac_val
5971 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5981 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5982 inttypes.h stdint.h unistd.h
5984 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5985 echo "$as_me:$LINENO: checking for $ac_header" >&5
5986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5988 echo $ECHO_N "(cached) $ECHO_C" >&6
5990 cat >conftest.
$ac_ext <<_ACEOF
5993 cat confdefs.h
>>conftest.
$ac_ext
5994 cat >>conftest.
$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5996 $ac_includes_default
5998 #include <$ac_header>
6000 rm -f conftest.
$ac_objext
6001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6002 (eval $ac_compile) 2>conftest.er1
6004 grep -v '^ *+' conftest.er1
>conftest.err
6006 cat conftest.err
>&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); } &&
6009 { ac_try
='test -z "$ac_c_werror_flag"
6010 || test ! -s conftest.err'
6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; } &&
6016 { ac_try
='test -s conftest.$ac_objext'
6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; }; then
6022 eval "$as_ac_Header=yes"
6024 echo "$as_me: failed program was:" >&5
6025 sed 's/^/| /' conftest.
$ac_ext >&5
6027 eval "$as_ac_Header=no"
6029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6034 cat >>confdefs.h
<<_ACEOF
6035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6043 echo "$as_me:$LINENO: checking for off_t" >&5
6044 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6045 if test "${ac_cv_type_off_t+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 cat >conftest.
$ac_ext <<_ACEOF
6051 cat confdefs.h
>>conftest.
$ac_ext
6052 cat >>conftest.
$ac_ext <<_ACEOF
6053 /* end confdefs.h. */
6054 $ac_includes_default
6066 rm -f conftest.
$ac_objext
6067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6068 (eval $ac_compile) 2>conftest.er1
6070 grep -v '^ *+' conftest.er1
>conftest.err
6072 cat conftest.err
>&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); } &&
6075 { ac_try
='test -z "$ac_c_werror_flag"
6076 || test ! -s conftest.err'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; } &&
6082 { ac_try
='test -s conftest.$ac_objext'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; }; then
6088 ac_cv_type_off_t
=yes
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.
$ac_ext >&5
6095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6097 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6098 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6099 if test $ac_cv_type_off_t = yes; then
6103 cat >>confdefs.h
<<_ACEOF
6109 echo "$as_me:$LINENO: checking for size_t" >&5
6110 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6111 if test "${ac_cv_type_size_t+set}" = set; then
6112 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 cat >conftest.
$ac_ext <<_ACEOF
6117 cat confdefs.h
>>conftest.
$ac_ext
6118 cat >>conftest.
$ac_ext <<_ACEOF
6119 /* end confdefs.h. */
6120 $ac_includes_default
6126 if (sizeof (size_t))
6132 rm -f conftest.
$ac_objext
6133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6134 (eval $ac_compile) 2>conftest.er1
6136 grep -v '^ *+' conftest.er1
>conftest.err
6138 cat conftest.err
>&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } &&
6141 { ac_try
='test -z "$ac_c_werror_flag"
6142 || test ! -s conftest.err'
6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; } &&
6148 { ac_try
='test -s conftest.$ac_objext'
6149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; }; then
6154 ac_cv_type_size_t
=yes
6156 echo "$as_me: failed program was:" >&5
6157 sed 's/^/| /' conftest.
$ac_ext >&5
6159 ac_cv_type_size_t
=no
6161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6163 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6164 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6165 if test $ac_cv_type_size_t = yes; then
6169 cat >>confdefs.h
<<_ACEOF
6170 #define size_t unsigned
6175 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6176 # for constant arguments. Useless!
6177 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6178 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6179 if test "${ac_cv_working_alloca_h+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 cat >conftest.
$ac_ext <<_ACEOF
6185 cat confdefs.h
>>conftest.
$ac_ext
6186 cat >>conftest.
$ac_ext <<_ACEOF
6187 /* end confdefs.h. */
6192 char *p = (char *) alloca (2 * sizeof (int));
6197 rm -f conftest.
$ac_objext conftest
$ac_exeext
6198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6199 (eval $ac_link) 2>conftest.er1
6201 grep -v '^ *+' conftest.er1
>conftest.err
6203 cat conftest.err
>&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); } &&
6206 { ac_try
='test -z "$ac_c_werror_flag"
6207 || test ! -s conftest.err'
6208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); }; } &&
6213 { ac_try
='test -s conftest$ac_exeext'
6214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); }; }; then
6219 ac_cv_working_alloca_h
=yes
6221 echo "$as_me: failed program was:" >&5
6222 sed 's/^/| /' conftest.
$ac_ext >&5
6224 ac_cv_working_alloca_h
=no
6226 rm -f conftest.err conftest.
$ac_objext \
6227 conftest
$ac_exeext conftest.
$ac_ext
6229 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6230 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6231 if test $ac_cv_working_alloca_h = yes; then
6233 cat >>confdefs.h
<<\_ACEOF
6234 #define HAVE_ALLOCA_H 1
6239 echo "$as_me:$LINENO: checking for alloca" >&5
6240 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6241 if test "${ac_cv_func_alloca_works+set}" = set; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 cat >conftest.
$ac_ext <<_ACEOF
6247 cat confdefs.h
>>conftest.
$ac_ext
6248 cat >>conftest.
$ac_ext <<_ACEOF
6249 /* end confdefs.h. */
6251 # define alloca __builtin_alloca
6254 # include <malloc.h>
6255 # define alloca _alloca
6258 # include <alloca.h>
6263 # ifndef alloca /* predefined by HP cc +Olibcalls */
6274 char *p = (char *) alloca (1);
6279 rm -f conftest.
$ac_objext conftest
$ac_exeext
6280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6281 (eval $ac_link) 2>conftest.er1
6283 grep -v '^ *+' conftest.er1
>conftest.err
6285 cat conftest.err
>&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); } &&
6288 { ac_try
='test -z "$ac_c_werror_flag"
6289 || test ! -s conftest.err'
6290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }; } &&
6295 { ac_try
='test -s conftest$ac_exeext'
6296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); }; }; then
6301 ac_cv_func_alloca_works
=yes
6303 echo "$as_me: failed program was:" >&5
6304 sed 's/^/| /' conftest.
$ac_ext >&5
6306 ac_cv_func_alloca_works
=no
6308 rm -f conftest.err conftest.
$ac_objext \
6309 conftest
$ac_exeext conftest.
$ac_ext
6311 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6312 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6314 if test $ac_cv_func_alloca_works = yes; then
6316 cat >>confdefs.h
<<\_ACEOF
6317 #define HAVE_ALLOCA 1
6321 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6322 # that cause trouble. Some versions do not even contain alloca or
6323 # contain a buggy version. If you still want to use their alloca,
6324 # use ar to extract alloca.o from them instead of compiling alloca.c.
6326 ALLOCA
=alloca.
$ac_objext
6328 cat >>confdefs.h
<<\_ACEOF
6333 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6334 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6335 if test "${ac_cv_os_cray+set}" = set; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 cat >conftest.
$ac_ext <<_ACEOF
6341 cat confdefs.h
>>conftest.
$ac_ext
6342 cat >>conftest.
$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6344 #if defined(CRAY) && ! defined(CRAY2)
6351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6352 $EGREP "webecray" >/dev
/null
2>&1; then
6360 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6361 echo "${ECHO_T}$ac_cv_os_cray" >&6
6362 if test $ac_cv_os_cray = yes; then
6363 for ac_func
in _getb67 GETB67 getb67
; do
6364 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6365 echo "$as_me:$LINENO: checking for $ac_func" >&5
6366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6367 if eval "test \"\${$as_ac_var+set}\" = set"; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6370 cat >conftest.
$ac_ext <<_ACEOF
6373 cat confdefs.h
>>conftest.
$ac_ext
6374 cat >>conftest.
$ac_ext <<_ACEOF
6375 /* end confdefs.h. */
6376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6378 #define $ac_func innocuous_$ac_func
6380 /* System header to define __stub macros and hopefully few prototypes,
6381 which can conflict with char $ac_func (); below.
6382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6383 <limits.h> exists even on freestanding compilers. */
6386 # include <limits.h>
6388 # include <assert.h>
6393 /* Override any gcc2 internal prototype to avoid an error. */
6398 /* We use char because int might match the return type of a gcc2
6399 builtin and then its argument prototype would still apply. */
6401 /* The GNU C library defines this for functions which it implements
6402 to always fail with ENOSYS. Some functions are actually named
6403 something starting with __ and the normal name is an alias. */
6404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6407 char (*f) () = $ac_func;
6416 return f != $ac_func;
6421 rm -f conftest.
$ac_objext conftest
$ac_exeext
6422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6423 (eval $ac_link) 2>conftest.er1
6425 grep -v '^ *+' conftest.er1
>conftest.err
6427 cat conftest.err
>&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); } &&
6430 { ac_try
='test -z "$ac_c_werror_flag"
6431 || test ! -s conftest.err'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; } &&
6437 { ac_try
='test -s conftest$ac_exeext'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; }; then
6443 eval "$as_ac_var=yes"
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.
$ac_ext >&5
6448 eval "$as_ac_var=no"
6450 rm -f conftest.err conftest.
$ac_objext \
6451 conftest
$ac_exeext conftest.
$ac_ext
6453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6455 if test `eval echo '${'$as_ac_var'}'` = yes; then
6457 cat >>confdefs.h
<<_ACEOF
6458 #define CRAY_STACKSEG_END $ac_func
6467 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6468 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6469 if test "${ac_cv_c_stack_direction+set}" = set; then
6470 echo $ECHO_N "(cached) $ECHO_C" >&6
6472 if test "$cross_compiling" = yes; then
6473 ac_cv_c_stack_direction
=0
6475 cat >conftest.
$ac_ext <<_ACEOF
6478 cat confdefs.h
>>conftest.
$ac_ext
6479 cat >>conftest.
$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6482 find_stack_direction ()
6484 static char *addr = 0;
6489 return find_stack_direction ();
6492 return (&dummy > addr) ? 1 : -1;
6498 exit (find_stack_direction () < 0);
6501 rm -f conftest
$ac_exeext
6502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6503 (eval $ac_link) 2>&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); }; }; then
6512 ac_cv_c_stack_direction
=1
6514 echo "$as_me: program exited with status $ac_status" >&5
6515 echo "$as_me: failed program was:" >&5
6516 sed 's/^/| /' conftest.
$ac_ext >&5
6519 ac_cv_c_stack_direction
=-1
6521 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6524 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6525 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6527 cat >>confdefs.h
<<_ACEOF
6528 #define STACK_DIRECTION $ac_cv_c_stack_direction
6536 for ac_header
in stdlib.h unistd.h
6538 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6540 echo "$as_me:$LINENO: checking for $ac_header" >&5
6541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6548 # Is the header compilable?
6549 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6550 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6551 cat >conftest.
$ac_ext <<_ACEOF
6554 cat confdefs.h
>>conftest.
$ac_ext
6555 cat >>conftest.
$ac_ext <<_ACEOF
6556 /* end confdefs.h. */
6557 $ac_includes_default
6558 #include <$ac_header>
6560 rm -f conftest.
$ac_objext
6561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6562 (eval $ac_compile) 2>conftest.er1
6564 grep -v '^ *+' conftest.er1
>conftest.err
6566 cat conftest.err
>&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); } &&
6569 { ac_try
='test -z "$ac_c_werror_flag"
6570 || test ! -s conftest.err'
6571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 (exit $ac_status); }; } &&
6576 { ac_try
='test -s conftest.$ac_objext'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; }; then
6582 ac_header_compiler
=yes
6584 echo "$as_me: failed program was:" >&5
6585 sed 's/^/| /' conftest.
$ac_ext >&5
6587 ac_header_compiler
=no
6589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6590 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6591 echo "${ECHO_T}$ac_header_compiler" >&6
6593 # Is the header present?
6594 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6595 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6596 cat >conftest.
$ac_ext <<_ACEOF
6599 cat confdefs.h
>>conftest.
$ac_ext
6600 cat >>conftest.
$ac_ext <<_ACEOF
6601 /* end confdefs.h. */
6602 #include <$ac_header>
6604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6605 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6607 grep -v '^ *+' conftest.er1
>conftest.err
6609 cat conftest.err
>&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } >/dev
/null
; then
6612 if test -s conftest.err
; then
6613 ac_cpp_err
=$ac_c_preproc_warn_flag
6614 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6621 if test -z "$ac_cpp_err"; then
6622 ac_header_preproc
=yes
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.
$ac_ext >&5
6627 ac_header_preproc
=no
6629 rm -f conftest.err conftest.
$ac_ext
6630 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6631 echo "${ECHO_T}$ac_header_preproc" >&6
6633 # So? What about this header?
6634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6636 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6637 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6639 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6640 ac_header_preproc
=yes
6643 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6644 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6645 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6646 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6647 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6648 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6649 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6650 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6653 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6654 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6657 ## ------------------------------------------ ##
6658 ## Report this to the AC_PACKAGE_NAME lists. ##
6659 ## ------------------------------------------ ##
6662 sed "s/^/$as_me: WARNING: /" >&2
6665 echo "$as_me:$LINENO: checking for $ac_header" >&5
6666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6668 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 eval "$as_ac_Header=\$ac_header_preproc"
6672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6677 cat >>confdefs.h
<<_ACEOF
6678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6686 for ac_func
in getpagesize
6688 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6689 echo "$as_me:$LINENO: checking for $ac_func" >&5
6690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6691 if eval "test \"\${$as_ac_var+set}\" = set"; then
6692 echo $ECHO_N "(cached) $ECHO_C" >&6
6694 cat >conftest.
$ac_ext <<_ACEOF
6697 cat confdefs.h
>>conftest.
$ac_ext
6698 cat >>conftest.
$ac_ext <<_ACEOF
6699 /* end confdefs.h. */
6700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6702 #define $ac_func innocuous_$ac_func
6704 /* System header to define __stub macros and hopefully few prototypes,
6705 which can conflict with char $ac_func (); below.
6706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6707 <limits.h> exists even on freestanding compilers. */
6710 # include <limits.h>
6712 # include <assert.h>
6717 /* Override any gcc2 internal prototype to avoid an error. */
6722 /* We use char because int might match the return type of a gcc2
6723 builtin and then its argument prototype would still apply. */
6725 /* The GNU C library defines this for functions which it implements
6726 to always fail with ENOSYS. Some functions are actually named
6727 something starting with __ and the normal name is an alias. */
6728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6731 char (*f) () = $ac_func;
6740 return f != $ac_func;
6745 rm -f conftest.
$ac_objext conftest
$ac_exeext
6746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6747 (eval $ac_link) 2>conftest.er1
6749 grep -v '^ *+' conftest.er1
>conftest.err
6751 cat conftest.err
>&5
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); } &&
6754 { ac_try
='test -z "$ac_c_werror_flag"
6755 || test ! -s conftest.err'
6756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); }; } &&
6761 { ac_try
='test -s conftest$ac_exeext'
6762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); }; }; then
6767 eval "$as_ac_var=yes"
6769 echo "$as_me: failed program was:" >&5
6770 sed 's/^/| /' conftest.
$ac_ext >&5
6772 eval "$as_ac_var=no"
6774 rm -f conftest.err conftest.
$ac_objext \
6775 conftest
$ac_exeext conftest.
$ac_ext
6777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6779 if test `eval echo '${'$as_ac_var'}'` = yes; then
6780 cat >>confdefs.h
<<_ACEOF
6781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6787 echo "$as_me:$LINENO: checking for working mmap" >&5
6788 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6789 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6790 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 if test "$cross_compiling" = yes; then
6793 ac_cv_func_mmap_fixed_mapped
=no
6795 cat >conftest.
$ac_ext <<_ACEOF
6798 cat confdefs.h
>>conftest.
$ac_ext
6799 cat >>conftest.
$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6801 $ac_includes_default
6802 /* malloc might have been renamed as rpl_malloc. */
6805 /* Thanks to Mike Haertel and Jim Avera for this test.
6806 Here is a matrix of mmap possibilities:
6807 mmap private not fixed
6808 mmap private fixed at somewhere currently unmapped
6809 mmap private fixed at somewhere already mapped
6810 mmap shared not fixed
6811 mmap shared fixed at somewhere currently unmapped
6812 mmap shared fixed at somewhere already mapped
6813 For private mappings, we should verify that changes cannot be read()
6814 back from the file, nor mmap's back from the file at a different
6815 address. (There have been systems where private was not correctly
6816 implemented like the infamous i386 svr4.0, and systems where the
6817 VM page cache was not coherent with the file system buffer cache
6818 like early versions of FreeBSD and possibly contemporary NetBSD.)
6819 For shared mappings, we should conversely verify that changes get
6820 propagated back to all the places they're supposed to be.
6822 Grep wants private fixed already mapped.
6823 The main things grep needs to know about mmap are:
6824 * does it exist and is it safe to write into the mmap'd area
6825 * how to use it (BSD variants) */
6828 #include <sys/mman.h>
6830 #if !STDC_HEADERS && !HAVE_STDLIB_H
6834 /* This mess was copied from the GNU getpagesize.h. */
6835 #if !HAVE_GETPAGESIZE
6836 /* Assume that all systems that can run configure have sys/param.h. */
6837 # if !HAVE_SYS_PARAM_H
6838 # define HAVE_SYS_PARAM_H 1
6841 # ifdef _SC_PAGESIZE
6842 # define getpagesize() sysconf(_SC_PAGESIZE)
6843 # else /* no _SC_PAGESIZE */
6844 # if HAVE_SYS_PARAM_H
6845 # include <sys/param.h>
6846 # ifdef EXEC_PAGESIZE
6847 # define getpagesize() EXEC_PAGESIZE
6848 # else /* no EXEC_PAGESIZE */
6850 # define getpagesize() NBPG * CLSIZE
6853 # endif /* no CLSIZE */
6854 # else /* no NBPG */
6856 # define getpagesize() NBPC
6857 # else /* no NBPC */
6859 # define getpagesize() PAGESIZE
6860 # endif /* PAGESIZE */
6861 # endif /* no NBPC */
6862 # endif /* no NBPG */
6863 # endif /* no EXEC_PAGESIZE */
6864 # else /* no HAVE_SYS_PARAM_H */
6865 # define getpagesize() 8192 /* punt totally */
6866 # endif /* no HAVE_SYS_PARAM_H */
6867 # endif /* no _SC_PAGESIZE */
6869 #endif /* no HAVE_GETPAGESIZE */
6874 char *data, *data2, *data3;
6878 pagesize = getpagesize ();
6880 /* First, make a file with some known garbage in it. */
6881 data = (char *) malloc (pagesize);
6884 for (i = 0; i < pagesize; ++i)
6885 *(data + i) = rand ();
6887 fd = creat ("conftest.mmap", 0600);
6890 if (write (fd, data, pagesize) != pagesize)
6894 /* Next, try to mmap the file at a fixed address which already has
6895 something else allocated at it. If we can, also make sure that
6896 we see the same garbage. */
6897 fd = open ("conftest.mmap", O_RDWR);
6900 data2 = (char *) malloc (2 * pagesize);
6903 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6904 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6905 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6907 for (i = 0; i < pagesize; ++i)
6908 if (*(data + i) != *(data2 + i))
6911 /* Finally, make sure that changes to the mapped area do not
6912 percolate back to the file as seen by read(). (This is a bug on
6913 some variants of i386 svr4.0.) */
6914 for (i = 0; i < pagesize; ++i)
6915 *(data2 + i) = *(data2 + i) + 1;
6916 data3 = (char *) malloc (pagesize);
6919 if (read (fd, data3, pagesize) != pagesize)
6921 for (i = 0; i < pagesize; ++i)
6922 if (*(data + i) != *(data3 + i))
6928 rm -f conftest
$ac_exeext
6929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6930 (eval $ac_link) 2>&5
6932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); }; }; then
6939 ac_cv_func_mmap_fixed_mapped
=yes
6941 echo "$as_me: program exited with status $ac_status" >&5
6942 echo "$as_me: failed program was:" >&5
6943 sed 's/^/| /' conftest.
$ac_ext >&5
6946 ac_cv_func_mmap_fixed_mapped
=no
6948 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6951 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6952 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6953 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6955 cat >>confdefs.h
<<\_ACEOF
6972 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6973 unistd.h values.h sys
/param.h
6975 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6977 echo "$as_me:$LINENO: checking for $ac_header" >&5
6978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6980 echo $ECHO_N "(cached) $ECHO_C" >&6
6982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6985 # Is the header compilable?
6986 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6988 cat >conftest.
$ac_ext <<_ACEOF
6991 cat confdefs.h
>>conftest.
$ac_ext
6992 cat >>conftest.
$ac_ext <<_ACEOF
6993 /* end confdefs.h. */
6994 $ac_includes_default
6995 #include <$ac_header>
6997 rm -f conftest.
$ac_objext
6998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6999 (eval $ac_compile) 2>conftest.er1
7001 grep -v '^ *+' conftest.er1
>conftest.err
7003 cat conftest.err
>&5
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); } &&
7006 { ac_try
='test -z "$ac_c_werror_flag"
7007 || test ! -s conftest.err'
7008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); }; } &&
7013 { ac_try
='test -s conftest.$ac_objext'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; }; then
7019 ac_header_compiler
=yes
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.
$ac_ext >&5
7024 ac_header_compiler
=no
7026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7028 echo "${ECHO_T}$ac_header_compiler" >&6
7030 # Is the header present?
7031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7033 cat >conftest.
$ac_ext <<_ACEOF
7036 cat confdefs.h
>>conftest.
$ac_ext
7037 cat >>conftest.
$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7039 #include <$ac_header>
7041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7042 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7044 grep -v '^ *+' conftest.er1
>conftest.err
7046 cat conftest.err
>&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } >/dev
/null
; then
7049 if test -s conftest.err
; then
7050 ac_cpp_err
=$ac_c_preproc_warn_flag
7051 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7058 if test -z "$ac_cpp_err"; then
7059 ac_header_preproc
=yes
7061 echo "$as_me: failed program was:" >&5
7062 sed 's/^/| /' conftest.
$ac_ext >&5
7064 ac_header_preproc
=no
7066 rm -f conftest.err conftest.
$ac_ext
7067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7068 echo "${ECHO_T}$ac_header_preproc" >&6
7070 # So? What about this header?
7071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7077 ac_header_preproc
=yes
7080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7094 ## ------------------------------------------ ##
7095 ## Report this to the AC_PACKAGE_NAME lists. ##
7096 ## ------------------------------------------ ##
7099 sed "s/^/$as_me: WARNING: /" >&2
7102 echo "$as_me:$LINENO: checking for $ac_header" >&5
7103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 eval "$as_ac_Header=\$ac_header_preproc"
7109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7114 cat >>confdefs.h
<<_ACEOF
7115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7132 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
7133 __argz_count __argz_stringify __argz_next
7135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7136 echo "$as_me:$LINENO: checking for $ac_func" >&5
7137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7138 if eval "test \"\${$as_ac_var+set}\" = set"; then
7139 echo $ECHO_N "(cached) $ECHO_C" >&6
7141 cat >conftest.
$ac_ext <<_ACEOF
7144 cat confdefs.h
>>conftest.
$ac_ext
7145 cat >>conftest.
$ac_ext <<_ACEOF
7146 /* end confdefs.h. */
7147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7149 #define $ac_func innocuous_$ac_func
7151 /* System header to define __stub macros and hopefully few prototypes,
7152 which can conflict with char $ac_func (); below.
7153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7154 <limits.h> exists even on freestanding compilers. */
7157 # include <limits.h>
7159 # include <assert.h>
7164 /* Override any gcc2 internal prototype to avoid an error. */
7169 /* We use char because int might match the return type of a gcc2
7170 builtin and then its argument prototype would still apply. */
7172 /* The GNU C library defines this for functions which it implements
7173 to always fail with ENOSYS. Some functions are actually named
7174 something starting with __ and the normal name is an alias. */
7175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7178 char (*f) () = $ac_func;
7187 return f != $ac_func;
7192 rm -f conftest.
$ac_objext conftest
$ac_exeext
7193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7194 (eval $ac_link) 2>conftest.er1
7196 grep -v '^ *+' conftest.er1
>conftest.err
7198 cat conftest.err
>&5
7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); } &&
7201 { ac_try
='test -z "$ac_c_werror_flag"
7202 || test ! -s conftest.err'
7203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }; } &&
7208 { ac_try
='test -s conftest$ac_exeext'
7209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); }; }; then
7214 eval "$as_ac_var=yes"
7216 echo "$as_me: failed program was:" >&5
7217 sed 's/^/| /' conftest.
$ac_ext >&5
7219 eval "$as_ac_var=no"
7221 rm -f conftest.err conftest.
$ac_objext \
7222 conftest
$ac_exeext conftest.
$ac_ext
7224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7226 if test `eval echo '${'$as_ac_var'}'` = yes; then
7227 cat >>confdefs.h
<<_ACEOF
7228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7235 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7237 for ac_func
in stpcpy
7239 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7240 echo "$as_me:$LINENO: checking for $ac_func" >&5
7241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7242 if eval "test \"\${$as_ac_var+set}\" = set"; then
7243 echo $ECHO_N "(cached) $ECHO_C" >&6
7245 cat >conftest.
$ac_ext <<_ACEOF
7248 cat confdefs.h
>>conftest.
$ac_ext
7249 cat >>conftest.
$ac_ext <<_ACEOF
7250 /* end confdefs.h. */
7251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7253 #define $ac_func innocuous_$ac_func
7255 /* System header to define __stub macros and hopefully few prototypes,
7256 which can conflict with char $ac_func (); below.
7257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7258 <limits.h> exists even on freestanding compilers. */
7261 # include <limits.h>
7263 # include <assert.h>
7268 /* Override any gcc2 internal prototype to avoid an error. */
7273 /* We use char because int might match the return type of a gcc2
7274 builtin and then its argument prototype would still apply. */
7276 /* The GNU C library defines this for functions which it implements
7277 to always fail with ENOSYS. Some functions are actually named
7278 something starting with __ and the normal name is an alias. */
7279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7282 char (*f) () = $ac_func;
7291 return f != $ac_func;
7296 rm -f conftest.
$ac_objext conftest
$ac_exeext
7297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7298 (eval $ac_link) 2>conftest.er1
7300 grep -v '^ *+' conftest.er1
>conftest.err
7302 cat conftest.err
>&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); } &&
7305 { ac_try
='test -z "$ac_c_werror_flag"
7306 || test ! -s conftest.err'
7307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311 (exit $ac_status); }; } &&
7312 { ac_try
='test -s conftest$ac_exeext'
7313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); }; }; then
7318 eval "$as_ac_var=yes"
7320 echo "$as_me: failed program was:" >&5
7321 sed 's/^/| /' conftest.
$ac_ext >&5
7323 eval "$as_ac_var=no"
7325 rm -f conftest.err conftest.
$ac_objext \
7326 conftest
$ac_exeext conftest.
$ac_ext
7328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7330 if test `eval echo '${'$as_ac_var'}'` = yes; then
7331 cat >>confdefs.h
<<_ACEOF
7332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7339 if test "${ac_cv_func_stpcpy}" = "yes"; then
7341 cat >>confdefs.h
<<\_ACEOF
7342 #define HAVE_STPCPY 1
7347 if test $ac_cv_header_locale_h = yes; then
7348 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7349 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7350 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 cat >conftest.
$ac_ext <<_ACEOF
7356 cat confdefs.h
>>conftest.
$ac_ext
7357 cat >>conftest.
$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7368 rm -f conftest.
$ac_objext conftest
$ac_exeext
7369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7370 (eval $ac_link) 2>conftest.er1
7372 grep -v '^ *+' conftest.er1
>conftest.err
7374 cat conftest.err
>&5
7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); } &&
7377 { ac_try
='test -z "$ac_c_werror_flag"
7378 || test ! -s conftest.err'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; } &&
7384 { ac_try
='test -s conftest$ac_exeext'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; }; then
7390 am_cv_val_LC_MESSAGES
=yes
7392 echo "$as_me: failed program was:" >&5
7393 sed 's/^/| /' conftest.
$ac_ext >&5
7395 am_cv_val_LC_MESSAGES
=no
7397 rm -f conftest.err conftest.
$ac_objext \
7398 conftest
$ac_exeext conftest.
$ac_ext
7400 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7401 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7402 if test $am_cv_val_LC_MESSAGES = yes; then
7404 cat >>confdefs.h
<<\_ACEOF
7405 #define HAVE_LC_MESSAGES 1
7410 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7411 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7412 # Check whether --enable-nls or --disable-nls was given.
7413 if test "${enable_nls+set}" = set; then
7414 enableval
="$enable_nls"
7419 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7420 echo "${ECHO_T}$USE_NLS" >&6
7423 USE_INCLUDED_LIBINTL
=no
7425 if test "$USE_NLS" = "yes"; then
7426 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7427 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7429 # Check whether --with-included-gettext or --without-included-gettext was given.
7430 if test "${with_included_gettext+set}" = set; then
7431 withval
="$with_included_gettext"
7432 nls_cv_force_use_gnu_gettext
=$withval
7434 nls_cv_force_use_gnu_gettext
=no
7436 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7437 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7439 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7440 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7442 nls_cv_header_libgt
=
7445 if test "${ac_cv_header_libintl_h+set}" = set; then
7446 echo "$as_me:$LINENO: checking for libintl.h" >&5
7447 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7448 if test "${ac_cv_header_libintl_h+set}" = set; then
7449 echo $ECHO_N "(cached) $ECHO_C" >&6
7451 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7452 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7454 # Is the header compilable?
7455 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7456 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7457 cat >conftest.
$ac_ext <<_ACEOF
7460 cat confdefs.h
>>conftest.
$ac_ext
7461 cat >>conftest.
$ac_ext <<_ACEOF
7462 /* end confdefs.h. */
7463 $ac_includes_default
7464 #include <libintl.h>
7466 rm -f conftest.
$ac_objext
7467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7468 (eval $ac_compile) 2>conftest.er1
7470 grep -v '^ *+' conftest.er1
>conftest.err
7472 cat conftest.err
>&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } &&
7475 { ac_try
='test -z "$ac_c_werror_flag"
7476 || test ! -s conftest.err'
7477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); }; } &&
7482 { ac_try
='test -s conftest.$ac_objext'
7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); }; }; then
7488 ac_header_compiler
=yes
7490 echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.
$ac_ext >&5
7493 ac_header_compiler
=no
7495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7497 echo "${ECHO_T}$ac_header_compiler" >&6
7499 # Is the header present?
7500 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7501 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7502 cat >conftest.
$ac_ext <<_ACEOF
7505 cat confdefs.h
>>conftest.
$ac_ext
7506 cat >>conftest.
$ac_ext <<_ACEOF
7507 /* end confdefs.h. */
7508 #include <libintl.h>
7510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7513 grep -v '^ *+' conftest.er1
>conftest.err
7515 cat conftest.err
>&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } >/dev
/null
; then
7518 if test -s conftest.err
; then
7519 ac_cpp_err
=$ac_c_preproc_warn_flag
7520 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7527 if test -z "$ac_cpp_err"; then
7528 ac_header_preproc
=yes
7530 echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.
$ac_ext >&5
7533 ac_header_preproc
=no
7535 rm -f conftest.err conftest.
$ac_ext
7536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7537 echo "${ECHO_T}$ac_header_preproc" >&6
7539 # So? What about this header?
7540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7542 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7543 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7544 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7545 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7546 ac_header_preproc
=yes
7549 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7550 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7551 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7552 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7553 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7554 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7555 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7556 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7557 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7558 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7559 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7560 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7563 ## ------------------------------------------ ##
7564 ## Report this to the AC_PACKAGE_NAME lists. ##
7565 ## ------------------------------------------ ##
7568 sed "s/^/$as_me: WARNING: /" >&2
7571 echo "$as_me:$LINENO: checking for libintl.h" >&5
7572 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7573 if test "${ac_cv_header_libintl_h+set}" = set; then
7574 echo $ECHO_N "(cached) $ECHO_C" >&6
7576 ac_cv_header_libintl_h
=$ac_header_preproc
7578 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7579 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7582 if test $ac_cv_header_libintl_h = yes; then
7583 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7584 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7585 if test "${gt_cv_func_gettext_libc+set}" = set; then
7586 echo $ECHO_N "(cached) $ECHO_C" >&6
7588 cat >conftest.
$ac_ext <<_ACEOF
7591 cat confdefs.h
>>conftest.
$ac_ext
7592 cat >>conftest.
$ac_ext <<_ACEOF
7593 /* end confdefs.h. */
7594 #include <libintl.h>
7598 return (int) gettext ("")
7603 rm -f conftest.
$ac_objext conftest
$ac_exeext
7604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7605 (eval $ac_link) 2>conftest.er1
7607 grep -v '^ *+' conftest.er1
>conftest.err
7609 cat conftest.err
>&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); } &&
7612 { ac_try
='test -z "$ac_c_werror_flag"
7613 || test ! -s conftest.err'
7614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); }; } &&
7619 { ac_try
='test -s conftest$ac_exeext'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; }; then
7625 gt_cv_func_gettext_libc
=yes
7627 echo "$as_me: failed program was:" >&5
7628 sed 's/^/| /' conftest.
$ac_ext >&5
7630 gt_cv_func_gettext_libc
=no
7632 rm -f conftest.err conftest.
$ac_objext \
7633 conftest
$ac_exeext conftest.
$ac_ext
7635 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7636 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7638 if test "$gt_cv_func_gettext_libc" != "yes"; then
7639 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7640 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7641 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7642 echo $ECHO_N "(cached) $ECHO_C" >&6
7644 ac_check_lib_save_LIBS
=$LIBS
7646 cat >conftest.
$ac_ext <<_ACEOF
7649 cat confdefs.h
>>conftest.
$ac_ext
7650 cat >>conftest.
$ac_ext <<_ACEOF
7651 /* end confdefs.h. */
7653 /* Override any gcc2 internal prototype to avoid an error. */
7657 /* We use char because int might match the return type of a gcc2
7658 builtin and then its argument prototype would still apply. */
7659 char bindtextdomain ();
7668 rm -f conftest.
$ac_objext conftest
$ac_exeext
7669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7670 (eval $ac_link) 2>conftest.er1
7672 grep -v '^ *+' conftest.er1
>conftest.err
7674 cat conftest.err
>&5
7675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7676 (exit $ac_status); } &&
7677 { ac_try
='test -z "$ac_c_werror_flag"
7678 || test ! -s conftest.err'
7679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); }; } &&
7684 { ac_try
='test -s conftest$ac_exeext'
7685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); }; }; then
7690 ac_cv_lib_intl_bindtextdomain
=yes
7692 echo "$as_me: failed program was:" >&5
7693 sed 's/^/| /' conftest.
$ac_ext >&5
7695 ac_cv_lib_intl_bindtextdomain
=no
7697 rm -f conftest.err conftest.
$ac_objext \
7698 conftest
$ac_exeext conftest.
$ac_ext
7699 LIBS
=$ac_check_lib_save_LIBS
7701 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7702 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7703 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7704 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7705 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7706 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7707 echo $ECHO_N "(cached) $ECHO_C" >&6
7709 cat >conftest.
$ac_ext <<_ACEOF
7712 cat confdefs.h
>>conftest.
$ac_ext
7713 cat >>conftest.
$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7719 return (int) gettext ("")
7724 rm -f conftest.
$ac_objext conftest
$ac_exeext
7725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7726 (eval $ac_link) 2>conftest.er1
7728 grep -v '^ *+' conftest.er1
>conftest.err
7730 cat conftest.err
>&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } &&
7733 { ac_try
='test -z "$ac_c_werror_flag"
7734 || test ! -s conftest.err'
7735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); }; } &&
7740 { ac_try
='test -s conftest$ac_exeext'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; }; then
7746 gt_cv_func_gettext_libintl
=yes
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.
$ac_ext >&5
7751 gt_cv_func_gettext_libintl
=no
7753 rm -f conftest.err conftest.
$ac_objext \
7754 conftest
$ac_exeext conftest.
$ac_ext
7756 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7757 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7762 if test "$gt_cv_func_gettext_libc" = "yes" \
7763 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7765 cat >>confdefs.h
<<\_ACEOF
7766 #define HAVE_GETTEXT 1
7769 # Extract the first word of "msgfmt", so it can be a program name with args.
7770 set dummy msgfmt
; ac_word
=$2
7771 echo "$as_me:$LINENO: checking for $ac_word" >&5
7772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7773 if test "${ac_cv_path_MSGFMT+set}" = set; then
7774 echo $ECHO_N "(cached) $ECHO_C" >&6
7778 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7781 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7782 for ac_dir
in $PATH; do
7783 test -z "$ac_dir" && ac_dir
=.
7784 if test -f $ac_dir/$ac_word; then
7785 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7786 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7792 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7796 MSGFMT
="$ac_cv_path_MSGFMT"
7797 if test -n "$MSGFMT"; then
7798 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7799 echo "${ECHO_T}$MSGFMT" >&6
7801 echo "$as_me:$LINENO: result: no" >&5
7802 echo "${ECHO_T}no" >&6
7804 if test "$MSGFMT" != "no"; then
7806 for ac_func
in dcgettext
7808 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7809 echo "$as_me:$LINENO: checking for $ac_func" >&5
7810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7811 if eval "test \"\${$as_ac_var+set}\" = set"; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 cat >conftest.
$ac_ext <<_ACEOF
7817 cat confdefs.h
>>conftest.
$ac_ext
7818 cat >>conftest.
$ac_ext <<_ACEOF
7819 /* end confdefs.h. */
7820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7822 #define $ac_func innocuous_$ac_func
7824 /* System header to define __stub macros and hopefully few prototypes,
7825 which can conflict with char $ac_func (); below.
7826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7827 <limits.h> exists even on freestanding compilers. */
7830 # include <limits.h>
7832 # include <assert.h>
7837 /* Override any gcc2 internal prototype to avoid an error. */
7842 /* We use char because int might match the return type of a gcc2
7843 builtin and then its argument prototype would still apply. */
7845 /* The GNU C library defines this for functions which it implements
7846 to always fail with ENOSYS. Some functions are actually named
7847 something starting with __ and the normal name is an alias. */
7848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7851 char (*f) () = $ac_func;
7860 return f != $ac_func;
7865 rm -f conftest.
$ac_objext conftest
$ac_exeext
7866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7867 (eval $ac_link) 2>conftest.er1
7869 grep -v '^ *+' conftest.er1
>conftest.err
7871 cat conftest.err
>&5
7872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873 (exit $ac_status); } &&
7874 { ac_try
='test -z "$ac_c_werror_flag"
7875 || test ! -s conftest.err'
7876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); }; } &&
7881 { ac_try
='test -s conftest$ac_exeext'
7882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }; }; then
7887 eval "$as_ac_var=yes"
7889 echo "$as_me: failed program was:" >&5
7890 sed 's/^/| /' conftest.
$ac_ext >&5
7892 eval "$as_ac_var=no"
7894 rm -f conftest.err conftest.
$ac_objext \
7895 conftest
$ac_exeext conftest.
$ac_ext
7897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7899 if test `eval echo '${'$as_ac_var'}'` = yes; then
7900 cat >>confdefs.h
<<_ACEOF
7901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7907 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7908 set dummy gmsgfmt
; ac_word
=$2
7909 echo "$as_me:$LINENO: checking for $ac_word" >&5
7910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7911 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7912 echo $ECHO_N "(cached) $ECHO_C" >&6
7916 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7923 test -z "$as_dir" && as_dir
=.
7924 for ac_exec_ext
in '' $ac_executable_extensions; do
7925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7937 GMSGFMT
=$ac_cv_path_GMSGFMT
7939 if test -n "$GMSGFMT"; then
7940 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7941 echo "${ECHO_T}$GMSGFMT" >&6
7943 echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6
7947 # Extract the first word of "xgettext", so it can be a program name with args.
7948 set dummy xgettext
; ac_word
=$2
7949 echo "$as_me:$LINENO: checking for $ac_word" >&5
7950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7951 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7952 echo $ECHO_N "(cached) $ECHO_C" >&6
7956 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7959 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7960 for ac_dir
in $PATH; do
7961 test -z "$ac_dir" && ac_dir
=.
7962 if test -f $ac_dir/$ac_word; then
7963 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7964 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7970 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7974 XGETTEXT
="$ac_cv_path_XGETTEXT"
7975 if test -n "$XGETTEXT"; then
7976 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7977 echo "${ECHO_T}$XGETTEXT" >&6
7979 echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6
7983 cat >conftest.
$ac_ext <<_ACEOF
7986 cat confdefs.h
>>conftest.
$ac_ext
7987 cat >>conftest.
$ac_ext <<_ACEOF
7988 /* end confdefs.h. */
7993 extern int _nl_msg_cat_cntr;
7994 return _nl_msg_cat_cntr
7999 rm -f conftest.
$ac_objext conftest
$ac_exeext
8000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8001 (eval $ac_link) 2>conftest.er1
8003 grep -v '^ *+' conftest.er1
>conftest.err
8005 cat conftest.err
>&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); } &&
8008 { ac_try
='test -z "$ac_c_werror_flag"
8009 || test ! -s conftest.err'
8010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014 (exit $ac_status); }; } &&
8015 { ac_try
='test -s conftest$ac_exeext'
8016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); }; }; then
8024 echo "$as_me: failed program was:" >&5
8025 sed 's/^/| /' conftest.
$ac_ext >&5
8030 rm -f conftest.err conftest.
$ac_objext \
8031 conftest
$ac_exeext conftest.
$ac_ext
8041 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
8042 # Neither gettext nor catgets in included in the C library.
8043 # Fall back on GNU gettext library (assuming it is present).
8044 nls_cv_use_gnu_gettext
=yes
8048 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8049 INTLOBJS
="\$(GETTOBJS)"
8050 # Extract the first word of "msgfmt", so it can be a program name with args.
8051 set dummy msgfmt
; ac_word
=$2
8052 echo "$as_me:$LINENO: checking for $ac_word" >&5
8053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8054 if test "${ac_cv_path_MSGFMT+set}" = set; then
8055 echo $ECHO_N "(cached) $ECHO_C" >&6
8059 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8062 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8063 for ac_dir
in $PATH; do
8064 test -z "$ac_dir" && ac_dir
=.
8065 if test -f $ac_dir/$ac_word; then
8066 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8067 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8073 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
8077 MSGFMT
="$ac_cv_path_MSGFMT"
8078 if test -n "$MSGFMT"; then
8079 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8080 echo "${ECHO_T}$MSGFMT" >&6
8082 echo "$as_me:$LINENO: result: no" >&5
8083 echo "${ECHO_T}no" >&6
8086 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8087 set dummy gmsgfmt
; ac_word
=$2
8088 echo "$as_me:$LINENO: checking for $ac_word" >&5
8089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8090 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8091 echo $ECHO_N "(cached) $ECHO_C" >&6
8095 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8102 test -z "$as_dir" && as_dir
=.
8103 for ac_exec_ext
in '' $ac_executable_extensions; do
8104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8105 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8112 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8116 GMSGFMT
=$ac_cv_path_GMSGFMT
8118 if test -n "$GMSGFMT"; then
8119 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8120 echo "${ECHO_T}$GMSGFMT" >&6
8122 echo "$as_me:$LINENO: result: no" >&5
8123 echo "${ECHO_T}no" >&6
8126 # Extract the first word of "xgettext", so it can be a program name with args.
8127 set dummy xgettext
; ac_word
=$2
8128 echo "$as_me:$LINENO: checking for $ac_word" >&5
8129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8130 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8135 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8138 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8139 for ac_dir
in $PATH; do
8140 test -z "$ac_dir" && ac_dir
=.
8141 if test -f $ac_dir/$ac_word; then
8142 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8143 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8149 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8153 XGETTEXT
="$ac_cv_path_XGETTEXT"
8154 if test -n "$XGETTEXT"; then
8155 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8156 echo "${ECHO_T}$XGETTEXT" >&6
8158 echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6
8163 USE_INCLUDED_LIBINTL
=yes
8167 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
8169 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8170 nls_cv_header_intl
=libintl.h
8171 nls_cv_header_libgt
=libgettext.h
8174 if test "$XGETTEXT" != ":"; then
8175 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
8178 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8179 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8184 # We need to process the po/ directory.
8188 nls_cv_header_intl
=libintl.h
8189 nls_cv_header_libgt
=libgettext.h
8192 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8193 # because some of the sources are only built for this goal.
8194 if test "$PACKAGE" = gettext; then
8196 USE_INCLUDED_LIBINTL
=yes
8199 for lang
in $ALL_LINGUAS; do
8200 GMOFILES
="$GMOFILES $lang.gmo"
8201 POFILES
="$POFILES $lang.po"
8215 if test "x$CATOBJEXT" != "x"; then
8217 cat >>confdefs.h
<<\_ACEOF
8218 #define ENABLE_NLS 1
8224 if test "x$CATOBJEXT" != "x"; then
8225 if test "x$ALL_LINGUAS" = "x"; then
8228 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8229 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8231 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8232 case "$ALL_LINGUAS" in
8233 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8236 LINGUAS
=$NEW_LINGUAS
8237 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8238 echo "${ECHO_T}$LINGUAS" >&6
8241 if test -n "$LINGUAS"; then
8242 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8246 if test $ac_cv_header_locale_h = yes; then
8247 INCLUDE_LOCALE_H
="#include <locale.h>"
8250 /* The system does not provide the header <locale.h>. Take care yourself. */"
8254 if test -f $srcdir/po2tbl.
sed.
in; then
8255 if test "$CATOBJEXT" = ".cat"; then
8256 if test "${ac_cv_header_linux_version_h+set}" = set; then
8257 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8258 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8259 if test "${ac_cv_header_linux_version_h+set}" = set; then
8260 echo $ECHO_N "(cached) $ECHO_C" >&6
8262 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8263 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8265 # Is the header compilable?
8266 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8267 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8268 cat >conftest.
$ac_ext <<_ACEOF
8271 cat confdefs.h
>>conftest.
$ac_ext
8272 cat >>conftest.
$ac_ext <<_ACEOF
8273 /* end confdefs.h. */
8274 $ac_includes_default
8275 #include <linux/version.h>
8277 rm -f conftest.
$ac_objext
8278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8279 (eval $ac_compile) 2>conftest.er1
8281 grep -v '^ *+' conftest.er1
>conftest.err
8283 cat conftest.err
>&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); } &&
8286 { ac_try
='test -z "$ac_c_werror_flag"
8287 || test ! -s conftest.err'
8288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); }; } &&
8293 { ac_try
='test -s conftest.$ac_objext'
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; }; then
8299 ac_header_compiler
=yes
8301 echo "$as_me: failed program was:" >&5
8302 sed 's/^/| /' conftest.
$ac_ext >&5
8304 ac_header_compiler
=no
8306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8308 echo "${ECHO_T}$ac_header_compiler" >&6
8310 # Is the header present?
8311 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8312 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8313 cat >conftest.
$ac_ext <<_ACEOF
8316 cat confdefs.h
>>conftest.
$ac_ext
8317 cat >>conftest.
$ac_ext <<_ACEOF
8318 /* end confdefs.h. */
8319 #include <linux/version.h>
8321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8324 grep -v '^ *+' conftest.er1
>conftest.err
8326 cat conftest.err
>&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } >/dev
/null
; then
8329 if test -s conftest.err
; then
8330 ac_cpp_err
=$ac_c_preproc_warn_flag
8331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8338 if test -z "$ac_cpp_err"; then
8339 ac_header_preproc
=yes
8341 echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.
$ac_ext >&5
8344 ac_header_preproc
=no
8346 rm -f conftest.err conftest.
$ac_ext
8347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8348 echo "${ECHO_T}$ac_header_preproc" >&6
8350 # So? What about this header?
8351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8353 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8354 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8355 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8356 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8357 ac_header_preproc
=yes
8360 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8361 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8362 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8363 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8364 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8365 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8366 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8367 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8368 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8369 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8370 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8371 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8374 ## ------------------------------------------ ##
8375 ## Report this to the AC_PACKAGE_NAME lists. ##
8376 ## ------------------------------------------ ##
8379 sed "s/^/$as_me: WARNING: /" >&2
8382 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8383 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8384 if test "${ac_cv_header_linux_version_h+set}" = set; then
8385 echo $ECHO_N "(cached) $ECHO_C" >&6
8387 ac_cv_header_linux_version_h
=$ac_header_preproc
8389 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8390 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8393 if test $ac_cv_header_linux_version_h = yes; then
8401 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8403 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8404 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8407 if test "$PACKAGE" = "gettext"; then
8417 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8423 if test -f $srcdir/po
/POTFILES.
in; then
8424 test -d po || mkdir po
8425 if test "x$srcdir" != "x."; then
8426 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8427 posrcprefix
="$srcdir/"
8429 posrcprefix
="../$srcdir/"
8435 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8436 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8440 # Permit host specific settings.
8441 .
${srcdir}/configure.
host
8444 # Find a good install program. We prefer a C program (faster),
8445 # so one script is as good as another. But avoid the broken or
8446 # incompatible versions:
8447 # SysV /etc/install, /usr/sbin/install
8448 # SunOS /usr/etc/install
8449 # IRIX /sbin/install
8451 # AmigaOS /C/install, which installs bootblocks on floppy discs
8452 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8453 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8454 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8455 # OS/2's system install, which has a completely different semantic
8456 # ./install, which can be erroneously created by make from ./install.sh.
8457 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8458 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8459 if test -z "$INSTALL"; then
8460 if test "${ac_cv_path_install+set}" = set; then
8461 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8467 test -z "$as_dir" && as_dir
=.
8468 # Account for people who put trailing slashes in PATH elements.
8470 .
/ | .
// |
/cC
/* | \
8471 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8472 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8475 # OSF1 and SCO ODT 3.0 have their own names for install.
8476 # Don't use installbsd from OSF since it installs stuff as root
8478 for ac_prog
in ginstall scoinst
install; do
8479 for ac_exec_ext
in '' $ac_executable_extensions; do
8480 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8481 if test $ac_prog = install &&
8482 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8483 # AIX install. It has an incompatible calling convention.
8485 elif test $ac_prog = install &&
8486 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8487 # program-specific install script used by HP pwplus--don't use.
8490 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8502 if test "${ac_cv_path_install+set}" = set; then
8503 INSTALL
=$ac_cv_path_install
8505 # As a last resort, use the slow shell script. We don't cache a
8506 # path for INSTALL within a source directory, because that will
8507 # break other packages using the cache if that directory is
8508 # removed, or if the path is relative.
8509 INSTALL
=$ac_install_sh
8512 echo "$as_me:$LINENO: result: $INSTALL" >&5
8513 echo "${ECHO_T}$INSTALL" >&6
8515 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8516 # It thinks the first close brace ends the variable substitution.
8517 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8519 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8521 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8524 BFD_HOST_64BIT_LONG
=0
8525 BFD_HOST_LONG_LONG
=0
8526 BFD_HOST_64_BIT_DEFINED
=0
8530 echo "$as_me:$LINENO: checking for long long" >&5
8531 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8532 if test "${bfd_cv_has_long_long+set}" = set; then
8533 echo $ECHO_N "(cached) $ECHO_C" >&6
8535 cat >conftest.
$ac_ext <<_ACEOF
8538 cat confdefs.h
>>conftest.
$ac_ext
8539 cat >>conftest.
$ac_ext <<_ACEOF
8540 /* end confdefs.h. */
8545 unsigned long long ll = 18446744073709551615ULL;
8550 rm -f conftest.
$ac_objext
8551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8552 (eval $ac_compile) 2>conftest.er1
8554 grep -v '^ *+' conftest.er1
>conftest.err
8556 cat conftest.err
>&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } &&
8559 { ac_try
='test -z "$ac_c_werror_flag"
8560 || test ! -s conftest.err'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; } &&
8566 { ac_try
='test -s conftest.$ac_objext'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; }; then
8572 bfd_cv_has_long_long
=yes
8574 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.
$ac_ext >&5
8577 bfd_cv_has_long_long
=no
8579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8582 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
8583 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
8584 if test $bfd_cv_has_long_long = yes; then
8585 BFD_HOST_LONG_LONG
=1
8586 echo "$as_me:$LINENO: checking for long long" >&5
8587 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8588 if test "${ac_cv_type_long_long+set}" = set; then
8589 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 cat >conftest.
$ac_ext <<_ACEOF
8594 cat confdefs.h
>>conftest.
$ac_ext
8595 cat >>conftest.
$ac_ext <<_ACEOF
8596 /* end confdefs.h. */
8597 $ac_includes_default
8601 if ((long long *) 0)
8603 if (sizeof (long long))
8609 rm -f conftest.
$ac_objext
8610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8611 (eval $ac_compile) 2>conftest.er1
8613 grep -v '^ *+' conftest.er1
>conftest.err
8615 cat conftest.err
>&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); } &&
8618 { ac_try
='test -z "$ac_c_werror_flag"
8619 || test ! -s conftest.err'
8620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); }; } &&
8625 { ac_try
='test -s conftest.$ac_objext'
8626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); }; }; then
8631 ac_cv_type_long_long
=yes
8633 echo "$as_me: failed program was:" >&5
8634 sed 's/^/| /' conftest.
$ac_ext >&5
8636 ac_cv_type_long_long
=no
8638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8640 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
8641 echo "${ECHO_T}$ac_cv_type_long_long" >&6
8643 echo "$as_me:$LINENO: checking size of long long" >&5
8644 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
8645 if test "${ac_cv_sizeof_long_long+set}" = set; then
8646 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 if test "$ac_cv_type_long_long" = yes; then
8649 # The cast to unsigned long works around a bug in the HP C Compiler
8650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8652 # This bug is HP SR number 8606223364.
8653 if test "$cross_compiling" = yes; then
8654 # Depending upon the size, compute the lo and hi bounds.
8655 cat >conftest.
$ac_ext <<_ACEOF
8658 cat confdefs.h
>>conftest.
$ac_ext
8659 cat >>conftest.
$ac_ext <<_ACEOF
8660 /* end confdefs.h. */
8661 $ac_includes_default
8665 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
8672 rm -f conftest.
$ac_objext
8673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8674 (eval $ac_compile) 2>conftest.er1
8676 grep -v '^ *+' conftest.er1
>conftest.err
8678 cat conftest.err
>&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); } &&
8681 { ac_try
='test -z "$ac_c_werror_flag"
8682 || test ! -s conftest.err'
8683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); }; } &&
8688 { ac_try
='test -s conftest.$ac_objext'
8689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); }; }; then
8696 cat >conftest.
$ac_ext <<_ACEOF
8699 cat confdefs.h
>>conftest.
$ac_ext
8700 cat >>conftest.
$ac_ext <<_ACEOF
8701 /* end confdefs.h. */
8702 $ac_includes_default
8706 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
8713 rm -f conftest.
$ac_objext
8714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8715 (eval $ac_compile) 2>conftest.er1
8717 grep -v '^ *+' conftest.er1
>conftest.err
8719 cat conftest.err
>&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } &&
8722 { ac_try
='test -z "$ac_c_werror_flag"
8723 || test ! -s conftest.err'
8724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; } &&
8729 { ac_try
='test -s conftest.$ac_objext'
8730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); }; }; then
8735 ac_hi
=$ac_mid; break
8737 echo "$as_me: failed program was:" >&5
8738 sed 's/^/| /' conftest.
$ac_ext >&5
8740 ac_lo
=`expr $ac_mid + 1`
8741 if test $ac_lo -le $ac_mid; then
8745 ac_mid
=`expr 2 '*' $ac_mid + 1`
8747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8750 echo "$as_me: failed program was:" >&5
8751 sed 's/^/| /' conftest.
$ac_ext >&5
8753 cat >conftest.
$ac_ext <<_ACEOF
8756 cat confdefs.h
>>conftest.
$ac_ext
8757 cat >>conftest.
$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8759 $ac_includes_default
8763 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
8770 rm -f conftest.
$ac_objext
8771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8772 (eval $ac_compile) 2>conftest.er1
8774 grep -v '^ *+' conftest.er1
>conftest.err
8776 cat conftest.err
>&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); } &&
8779 { ac_try
='test -z "$ac_c_werror_flag"
8780 || test ! -s conftest.err'
8781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); }; } &&
8786 { ac_try
='test -s conftest.$ac_objext'
8787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); }; }; then
8794 cat >conftest.
$ac_ext <<_ACEOF
8797 cat confdefs.h
>>conftest.
$ac_ext
8798 cat >>conftest.
$ac_ext <<_ACEOF
8799 /* end confdefs.h. */
8800 $ac_includes_default
8804 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
8811 rm -f conftest.
$ac_objext
8812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8813 (eval $ac_compile) 2>conftest.er1
8815 grep -v '^ *+' conftest.er1
>conftest.err
8817 cat conftest.err
>&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } &&
8820 { ac_try
='test -z "$ac_c_werror_flag"
8821 || test ! -s conftest.err'
8822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; } &&
8827 { ac_try
='test -s conftest.$ac_objext'
8828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); }; }; then
8833 ac_lo
=$ac_mid; break
8835 echo "$as_me: failed program was:" >&5
8836 sed 's/^/| /' conftest.
$ac_ext >&5
8838 ac_hi
=`expr '(' $ac_mid ')' - 1`
8839 if test $ac_mid -le $ac_hi; then
8843 ac_mid
=`expr 2 '*' $ac_mid`
8845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8848 echo "$as_me: failed program was:" >&5
8849 sed 's/^/| /' conftest.
$ac_ext >&5
8853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8856 # Binary search between lo and hi bounds.
8857 while test "x$ac_lo" != "x$ac_hi"; do
8858 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8859 cat >conftest.
$ac_ext <<_ACEOF
8862 cat confdefs.h
>>conftest.
$ac_ext
8863 cat >>conftest.
$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8865 $ac_includes_default
8869 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
8876 rm -f conftest.
$ac_objext
8877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8878 (eval $ac_compile) 2>conftest.er1
8880 grep -v '^ *+' conftest.er1
>conftest.err
8882 cat conftest.err
>&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); } &&
8885 { ac_try
='test -z "$ac_c_werror_flag"
8886 || test ! -s conftest.err'
8887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); }; } &&
8892 { ac_try
='test -s conftest.$ac_objext'
8893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); }; }; then
8900 echo "$as_me: failed program was:" >&5
8901 sed 's/^/| /' conftest.
$ac_ext >&5
8903 ac_lo
=`expr '(' $ac_mid ')' + 1`
8905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8908 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
8909 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
8910 See \`config.log' for more details." >&5
8911 echo "$as_me: error: cannot compute sizeof (long long), 77
8912 See \`config.log' for more details." >&2;}
8913 { (exit 1); exit 1; }; } ;;
8916 if test "$cross_compiling" = yes; then
8917 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8918 See \`config.log' for more details." >&5
8919 echo "$as_me: error: cannot run test program while cross compiling
8920 See \`config.log' for more details." >&2;}
8921 { (exit 1); exit 1; }; }
8923 cat >conftest.
$ac_ext <<_ACEOF
8926 cat confdefs.h
>>conftest.
$ac_ext
8927 cat >>conftest.
$ac_ext <<_ACEOF
8928 /* end confdefs.h. */
8929 $ac_includes_default
8930 long longval () { return (long) (sizeof (long long)); }
8931 unsigned long ulongval () { return (long) (sizeof (long long)); }
8938 FILE *f = fopen ("conftest.val", "w");
8941 if (((long) (sizeof (long long))) < 0)
8943 long i = longval ();
8944 if (i != ((long) (sizeof (long long))))
8946 fprintf (f, "%ld\n", i);
8950 unsigned long i = ulongval ();
8951 if (i != ((long) (sizeof (long long))))
8953 fprintf (f, "%lu\n", i);
8955 exit (ferror (f) || fclose (f) != 0);
8961 rm -f conftest
$ac_exeext
8962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8963 (eval $ac_link) 2>&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; }; then
8972 ac_cv_sizeof_long_long
=`cat conftest.val`
8974 echo "$as_me: program exited with status $ac_status" >&5
8975 echo "$as_me: failed program was:" >&5
8976 sed 's/^/| /' conftest.
$ac_ext >&5
8979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
8980 See \`config.log' for more details." >&5
8981 echo "$as_me: error: cannot compute sizeof (long long), 77
8982 See \`config.log' for more details." >&2;}
8983 { (exit 1); exit 1; }; }
8985 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8990 ac_cv_sizeof_long_long
=0
8993 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
8994 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
8995 cat >>confdefs.h
<<_ACEOF
8996 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9002 echo "$as_me:$LINENO: checking for long" >&5
9003 echo $ECHO_N "checking for long... $ECHO_C" >&6
9004 if test "${ac_cv_type_long+set}" = set; then
9005 echo $ECHO_N "(cached) $ECHO_C" >&6
9007 cat >conftest.
$ac_ext <<_ACEOF
9010 cat confdefs.h
>>conftest.
$ac_ext
9011 cat >>conftest.
$ac_ext <<_ACEOF
9012 /* end confdefs.h. */
9013 $ac_includes_default
9025 rm -f conftest.
$ac_objext
9026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9027 (eval $ac_compile) 2>conftest.er1
9029 grep -v '^ *+' conftest.er1
>conftest.err
9031 cat conftest.err
>&5
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); } &&
9034 { ac_try
='test -z "$ac_c_werror_flag"
9035 || test ! -s conftest.err'
9036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); }; } &&
9041 { ac_try
='test -s conftest.$ac_objext'
9042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); }; }; then
9049 echo "$as_me: failed program was:" >&5
9050 sed 's/^/| /' conftest.
$ac_ext >&5
9054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9056 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9057 echo "${ECHO_T}$ac_cv_type_long" >&6
9059 echo "$as_me:$LINENO: checking size of long" >&5
9060 echo $ECHO_N "checking size of long... $ECHO_C" >&6
9061 if test "${ac_cv_sizeof_long+set}" = set; then
9062 echo $ECHO_N "(cached) $ECHO_C" >&6
9064 if test "$ac_cv_type_long" = yes; then
9065 # The cast to unsigned long works around a bug in the HP C Compiler
9066 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9067 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9068 # This bug is HP SR number 8606223364.
9069 if test "$cross_compiling" = yes; then
9070 # Depending upon the size, compute the lo and hi bounds.
9071 cat >conftest.
$ac_ext <<_ACEOF
9074 cat confdefs.h
>>conftest.
$ac_ext
9075 cat >>conftest.
$ac_ext <<_ACEOF
9076 /* end confdefs.h. */
9077 $ac_includes_default
9081 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
9088 rm -f conftest.
$ac_objext
9089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9090 (eval $ac_compile) 2>conftest.er1
9092 grep -v '^ *+' conftest.er1
>conftest.err
9094 cat conftest.err
>&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); } &&
9097 { ac_try
='test -z "$ac_c_werror_flag"
9098 || test ! -s conftest.err'
9099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); }; } &&
9104 { ac_try
='test -s conftest.$ac_objext'
9105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); }; }; then
9112 cat >conftest.
$ac_ext <<_ACEOF
9115 cat confdefs.h
>>conftest.
$ac_ext
9116 cat >>conftest.
$ac_ext <<_ACEOF
9117 /* end confdefs.h. */
9118 $ac_includes_default
9122 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9129 rm -f conftest.
$ac_objext
9130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9131 (eval $ac_compile) 2>conftest.er1
9133 grep -v '^ *+' conftest.er1
>conftest.err
9135 cat conftest.err
>&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } &&
9138 { ac_try
='test -z "$ac_c_werror_flag"
9139 || test ! -s conftest.err'
9140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); }; } &&
9145 { ac_try
='test -s conftest.$ac_objext'
9146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }; }; then
9151 ac_hi
=$ac_mid; break
9153 echo "$as_me: failed program was:" >&5
9154 sed 's/^/| /' conftest.
$ac_ext >&5
9156 ac_lo
=`expr $ac_mid + 1`
9157 if test $ac_lo -le $ac_mid; then
9161 ac_mid
=`expr 2 '*' $ac_mid + 1`
9163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.
$ac_ext >&5
9169 cat >conftest.
$ac_ext <<_ACEOF
9172 cat confdefs.h
>>conftest.
$ac_ext
9173 cat >>conftest.
$ac_ext <<_ACEOF
9174 /* end confdefs.h. */
9175 $ac_includes_default
9179 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
9186 rm -f conftest.
$ac_objext
9187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9188 (eval $ac_compile) 2>conftest.er1
9190 grep -v '^ *+' conftest.er1
>conftest.err
9192 cat conftest.err
>&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); } &&
9195 { ac_try
='test -z "$ac_c_werror_flag"
9196 || test ! -s conftest.err'
9197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); }; } &&
9202 { ac_try
='test -s conftest.$ac_objext'
9203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); }; }; then
9210 cat >conftest.
$ac_ext <<_ACEOF
9213 cat confdefs.h
>>conftest.
$ac_ext
9214 cat >>conftest.
$ac_ext <<_ACEOF
9215 /* end confdefs.h. */
9216 $ac_includes_default
9220 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
9227 rm -f conftest.
$ac_objext
9228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9229 (eval $ac_compile) 2>conftest.er1
9231 grep -v '^ *+' conftest.er1
>conftest.err
9233 cat conftest.err
>&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); } &&
9236 { ac_try
='test -z "$ac_c_werror_flag"
9237 || test ! -s conftest.err'
9238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); }; } &&
9243 { ac_try
='test -s conftest.$ac_objext'
9244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); }; }; then
9249 ac_lo
=$ac_mid; break
9251 echo "$as_me: failed program was:" >&5
9252 sed 's/^/| /' conftest.
$ac_ext >&5
9254 ac_hi
=`expr '(' $ac_mid ')' - 1`
9255 if test $ac_mid -le $ac_hi; then
9259 ac_mid
=`expr 2 '*' $ac_mid`
9261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9264 echo "$as_me: failed program was:" >&5
9265 sed 's/^/| /' conftest.
$ac_ext >&5
9269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9272 # Binary search between lo and hi bounds.
9273 while test "x$ac_lo" != "x$ac_hi"; do
9274 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9275 cat >conftest.
$ac_ext <<_ACEOF
9278 cat confdefs.h
>>conftest.
$ac_ext
9279 cat >>conftest.
$ac_ext <<_ACEOF
9280 /* end confdefs.h. */
9281 $ac_includes_default
9285 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9292 rm -f conftest.
$ac_objext
9293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9294 (eval $ac_compile) 2>conftest.er1
9296 grep -v '^ *+' conftest.er1
>conftest.err
9298 cat conftest.err
>&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); } &&
9301 { ac_try
='test -z "$ac_c_werror_flag"
9302 || test ! -s conftest.err'
9303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); }; } &&
9308 { ac_try
='test -s conftest.$ac_objext'
9309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); }; }; then
9316 echo "$as_me: failed program was:" >&5
9317 sed 's/^/| /' conftest.
$ac_ext >&5
9319 ac_lo
=`expr '(' $ac_mid ')' + 1`
9321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9324 ?
*) ac_cv_sizeof_long
=$ac_lo;;
9325 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
9326 See \`config.log' for more details." >&5
9327 echo "$as_me: error: cannot compute sizeof (long), 77
9328 See \`config.log' for more details." >&2;}
9329 { (exit 1); exit 1; }; } ;;
9332 if test "$cross_compiling" = yes; then
9333 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9334 See \`config.log' for more details." >&5
9335 echo "$as_me: error: cannot run test program while cross compiling
9336 See \`config.log' for more details." >&2;}
9337 { (exit 1); exit 1; }; }
9339 cat >conftest.
$ac_ext <<_ACEOF
9342 cat confdefs.h
>>conftest.
$ac_ext
9343 cat >>conftest.
$ac_ext <<_ACEOF
9344 /* end confdefs.h. */
9345 $ac_includes_default
9346 long longval () { return (long) (sizeof (long)); }
9347 unsigned long ulongval () { return (long) (sizeof (long)); }
9354 FILE *f = fopen ("conftest.val", "w");
9357 if (((long) (sizeof (long))) < 0)
9359 long i = longval ();
9360 if (i != ((long) (sizeof (long))))
9362 fprintf (f, "%ld\n", i);
9366 unsigned long i = ulongval ();
9367 if (i != ((long) (sizeof (long))))
9369 fprintf (f, "%lu\n", i);
9371 exit (ferror (f) || fclose (f) != 0);
9377 rm -f conftest
$ac_exeext
9378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9379 (eval $ac_link) 2>&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); }; }; then
9388 ac_cv_sizeof_long
=`cat conftest.val`
9390 echo "$as_me: program exited with status $ac_status" >&5
9391 echo "$as_me: failed program was:" >&5
9392 sed 's/^/| /' conftest.
$ac_ext >&5
9395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
9396 See \`config.log' for more details." >&5
9397 echo "$as_me: error: cannot compute sizeof (long), 77
9398 See \`config.log' for more details." >&2;}
9399 { (exit 1); exit 1; }; }
9401 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9409 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
9410 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
9411 cat >>confdefs.h
<<_ACEOF
9412 #define SIZEOF_LONG $ac_cv_sizeof_long
9416 if test "x${ac_cv_sizeof_long}" = "x8"; then
9418 BFD_HOST_64BIT_LONG
=1
9419 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
9420 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
9421 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
9422 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
9423 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
9426 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
9427 BFD_HOST_64_BIT_DEFINED
=1
9428 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
9429 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
9438 # Put a plausible default for CC_FOR_BUILD in Makefile.
9439 if test -z "$CC_FOR_BUILD"; then
9440 if test "x$cross_compiling" = "xno"; then
9441 CC_FOR_BUILD
='$(CC)'
9447 # Also set EXEEXT_FOR_BUILD.
9448 if test "x$cross_compiling" = "xno"; then
9449 EXEEXT_FOR_BUILD
='$(EXEEXT)'
9451 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
9452 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
9453 if test "${bfd_cv_build_exeext+set}" = set; then
9454 echo $ECHO_N "(cached) $ECHO_C" >&6
9457 echo 'int main () { return 0; }' > conftest.c
9458 bfd_cv_build_exeext
=
9459 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
9460 for file in conftest.
*; do
9462 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
9463 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
9467 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
9469 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
9470 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
9472 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
9482 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
9484 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9486 echo "$as_me:$LINENO: checking for $ac_header" >&5
9487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9489 echo $ECHO_N "(cached) $ECHO_C" >&6
9491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9494 # Is the header compilable?
9495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9497 cat >conftest.
$ac_ext <<_ACEOF
9500 cat confdefs.h
>>conftest.
$ac_ext
9501 cat >>conftest.
$ac_ext <<_ACEOF
9502 /* end confdefs.h. */
9503 $ac_includes_default
9504 #include <$ac_header>
9506 rm -f conftest.
$ac_objext
9507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9508 (eval $ac_compile) 2>conftest.er1
9510 grep -v '^ *+' conftest.er1
>conftest.err
9512 cat conftest.err
>&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); } &&
9515 { ac_try
='test -z "$ac_c_werror_flag"
9516 || test ! -s conftest.err'
9517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); }; } &&
9522 { ac_try
='test -s conftest.$ac_objext'
9523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527 (exit $ac_status); }; }; then
9528 ac_header_compiler
=yes
9530 echo "$as_me: failed program was:" >&5
9531 sed 's/^/| /' conftest.
$ac_ext >&5
9533 ac_header_compiler
=no
9535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9537 echo "${ECHO_T}$ac_header_compiler" >&6
9539 # Is the header present?
9540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9542 cat >conftest.
$ac_ext <<_ACEOF
9545 cat confdefs.h
>>conftest.
$ac_ext
9546 cat >>conftest.
$ac_ext <<_ACEOF
9547 /* end confdefs.h. */
9548 #include <$ac_header>
9550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9553 grep -v '^ *+' conftest.er1
>conftest.err
9555 cat conftest.err
>&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); } >/dev
/null
; then
9558 if test -s conftest.err
; then
9559 ac_cpp_err
=$ac_c_preproc_warn_flag
9560 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9567 if test -z "$ac_cpp_err"; then
9568 ac_header_preproc
=yes
9570 echo "$as_me: failed program was:" >&5
9571 sed 's/^/| /' conftest.
$ac_ext >&5
9573 ac_header_preproc
=no
9575 rm -f conftest.err conftest.
$ac_ext
9576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9577 echo "${ECHO_T}$ac_header_preproc" >&6
9579 # So? What about this header?
9580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9586 ac_header_preproc
=yes
9589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9603 ## ------------------------------------------ ##
9604 ## Report this to the AC_PACKAGE_NAME lists. ##
9605 ## ------------------------------------------ ##
9608 sed "s/^/$as_me: WARNING: /" >&2
9611 echo "$as_me:$LINENO: checking for $ac_header" >&5
9612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9614 echo $ECHO_N "(cached) $ECHO_C" >&6
9616 eval "$as_ac_Header=\$ac_header_preproc"
9618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9623 cat >>confdefs.h
<<_ACEOF
9624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9634 for ac_header
in fcntl.h sys
/file.h sys
/time.h
9636 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9638 echo "$as_me:$LINENO: checking for $ac_header" >&5
9639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9641 echo $ECHO_N "(cached) $ECHO_C" >&6
9643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9646 # Is the header compilable?
9647 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9649 cat >conftest.
$ac_ext <<_ACEOF
9652 cat confdefs.h
>>conftest.
$ac_ext
9653 cat >>conftest.
$ac_ext <<_ACEOF
9654 /* end confdefs.h. */
9655 $ac_includes_default
9656 #include <$ac_header>
9658 rm -f conftest.
$ac_objext
9659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9660 (eval $ac_compile) 2>conftest.er1
9662 grep -v '^ *+' conftest.er1
>conftest.err
9664 cat conftest.err
>&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); } &&
9667 { ac_try
='test -z "$ac_c_werror_flag"
9668 || test ! -s conftest.err'
9669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); }; } &&
9674 { ac_try
='test -s conftest.$ac_objext'
9675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); }; }; then
9680 ac_header_compiler
=yes
9682 echo "$as_me: failed program was:" >&5
9683 sed 's/^/| /' conftest.
$ac_ext >&5
9685 ac_header_compiler
=no
9687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9689 echo "${ECHO_T}$ac_header_compiler" >&6
9691 # Is the header present?
9692 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9694 cat >conftest.
$ac_ext <<_ACEOF
9697 cat confdefs.h
>>conftest.
$ac_ext
9698 cat >>conftest.
$ac_ext <<_ACEOF
9699 /* end confdefs.h. */
9700 #include <$ac_header>
9702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9705 grep -v '^ *+' conftest.er1
>conftest.err
9707 cat conftest.err
>&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); } >/dev
/null
; then
9710 if test -s conftest.err
; then
9711 ac_cpp_err
=$ac_c_preproc_warn_flag
9712 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9719 if test -z "$ac_cpp_err"; then
9720 ac_header_preproc
=yes
9722 echo "$as_me: failed program was:" >&5
9723 sed 's/^/| /' conftest.
$ac_ext >&5
9725 ac_header_preproc
=no
9727 rm -f conftest.err conftest.
$ac_ext
9728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9729 echo "${ECHO_T}$ac_header_preproc" >&6
9731 # So? What about this header?
9732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9734 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9737 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9738 ac_header_preproc
=yes
9741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9745 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9746 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9747 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9748 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9750 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9751 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9752 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9755 ## ------------------------------------------ ##
9756 ## Report this to the AC_PACKAGE_NAME lists. ##
9757 ## ------------------------------------------ ##
9760 sed "s/^/$as_me: WARNING: /" >&2
9763 echo "$as_me:$LINENO: checking for $ac_header" >&5
9764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9768 eval "$as_ac_Header=\$ac_header_preproc"
9770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9775 cat >>confdefs.h
<<_ACEOF
9776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9783 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9784 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9785 if test "${ac_cv_header_time+set}" = set; then
9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9788 cat >conftest.
$ac_ext <<_ACEOF
9791 cat confdefs.h
>>conftest.
$ac_ext
9792 cat >>conftest.
$ac_ext <<_ACEOF
9793 /* end confdefs.h. */
9794 #include <sys/types.h>
9795 #include <sys/time.h>
9801 if ((struct tm *) 0)
9807 rm -f conftest.
$ac_objext
9808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9809 (eval $ac_compile) 2>conftest.er1
9811 grep -v '^ *+' conftest.er1
>conftest.err
9813 cat conftest.err
>&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); } &&
9816 { ac_try
='test -z "$ac_c_werror_flag"
9817 || test ! -s conftest.err'
9818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); }; } &&
9823 { ac_try
='test -s conftest.$ac_objext'
9824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); }; }; then
9829 ac_cv_header_time
=yes
9831 echo "$as_me: failed program was:" >&5
9832 sed 's/^/| /' conftest.
$ac_ext >&5
9834 ac_cv_header_time
=no
9836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9838 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9839 echo "${ECHO_T}$ac_cv_header_time" >&6
9840 if test $ac_cv_header_time = yes; then
9842 cat >>confdefs.h
<<\_ACEOF
9843 #define TIME_WITH_SYS_TIME 1
9854 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9855 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9856 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9857 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9861 cat >conftest.
$ac_ext <<_ACEOF
9864 cat confdefs.h
>>conftest.
$ac_ext
9865 cat >>conftest.
$ac_ext <<_ACEOF
9866 /* end confdefs.h. */
9867 #include <sys/types.h>
9879 rm -f conftest.
$ac_objext
9880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9881 (eval $ac_compile) 2>conftest.er1
9883 grep -v '^ *+' conftest.er1
>conftest.err
9885 cat conftest.err
>&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); } &&
9888 { ac_try
='test -z "$ac_c_werror_flag"
9889 || test ! -s conftest.err'
9890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); }; } &&
9895 { ac_try
='test -s conftest.$ac_objext'
9896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; }; then
9901 eval "$as_ac_Header=yes"
9903 echo "$as_me: failed program was:" >&5
9904 sed 's/^/| /' conftest.
$ac_ext >&5
9906 eval "$as_ac_Header=no"
9908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9913 cat >>confdefs.h
<<_ACEOF
9914 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9917 ac_header_dirent
=$ac_hdr; break
9921 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9922 if test $ac_header_dirent = dirent.h
; then
9923 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9924 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9925 if test "${ac_cv_search_opendir+set}" = set; then
9926 echo $ECHO_N "(cached) $ECHO_C" >&6
9928 ac_func_search_save_LIBS
=$LIBS
9929 ac_cv_search_opendir
=no
9930 cat >conftest.
$ac_ext <<_ACEOF
9933 cat confdefs.h
>>conftest.
$ac_ext
9934 cat >>conftest.
$ac_ext <<_ACEOF
9935 /* end confdefs.h. */
9937 /* Override any gcc2 internal prototype to avoid an error. */
9941 /* We use char because int might match the return type of a gcc2
9942 builtin and then its argument prototype would still apply. */
9952 rm -f conftest.
$ac_objext conftest
$ac_exeext
9953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9954 (eval $ac_link) 2>conftest.er1
9956 grep -v '^ *+' conftest.er1
>conftest.err
9958 cat conftest.err
>&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } &&
9961 { ac_try
='test -z "$ac_c_werror_flag"
9962 || test ! -s conftest.err'
9963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }; } &&
9968 { ac_try
='test -s conftest$ac_exeext'
9969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); }; }; then
9974 ac_cv_search_opendir
="none required"
9976 echo "$as_me: failed program was:" >&5
9977 sed 's/^/| /' conftest.
$ac_ext >&5
9980 rm -f conftest.err conftest.
$ac_objext \
9981 conftest
$ac_exeext conftest.
$ac_ext
9982 if test "$ac_cv_search_opendir" = no
; then
9983 for ac_lib
in dir
; do
9984 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9985 cat >conftest.
$ac_ext <<_ACEOF
9988 cat confdefs.h
>>conftest.
$ac_ext
9989 cat >>conftest.
$ac_ext <<_ACEOF
9990 /* end confdefs.h. */
9992 /* Override any gcc2 internal prototype to avoid an error. */
9996 /* We use char because int might match the return type of a gcc2
9997 builtin and then its argument prototype would still apply. */
10007 rm -f conftest.
$ac_objext conftest
$ac_exeext
10008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10009 (eval $ac_link) 2>conftest.er1
10011 grep -v '^ *+' conftest.er1
>conftest.err
10013 cat conftest.err
>&5
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); } &&
10016 { ac_try
='test -z "$ac_c_werror_flag"
10017 || test ! -s conftest.err'
10018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10019 (eval $ac_try) 2>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); }; } &&
10023 { ac_try
='test -s conftest$ac_exeext'
10024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10025 (eval $ac_try) 2>&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); }; }; then
10029 ac_cv_search_opendir
="-l$ac_lib"
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.
$ac_ext >&5
10036 rm -f conftest.err conftest.
$ac_objext \
10037 conftest
$ac_exeext conftest.
$ac_ext
10040 LIBS
=$ac_func_search_save_LIBS
10042 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10043 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10044 if test "$ac_cv_search_opendir" != no
; then
10045 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
10050 echo "$as_me:$LINENO: checking for library containing opendir" >&5
10051 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10052 if test "${ac_cv_search_opendir+set}" = set; then
10053 echo $ECHO_N "(cached) $ECHO_C" >&6
10055 ac_func_search_save_LIBS
=$LIBS
10056 ac_cv_search_opendir
=no
10057 cat >conftest.
$ac_ext <<_ACEOF
10060 cat confdefs.h
>>conftest.
$ac_ext
10061 cat >>conftest.
$ac_ext <<_ACEOF
10062 /* end confdefs.h. */
10064 /* Override any gcc2 internal prototype to avoid an error. */
10068 /* We use char because int might match the return type of a gcc2
10069 builtin and then its argument prototype would still apply. */
10079 rm -f conftest.
$ac_objext conftest
$ac_exeext
10080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10081 (eval $ac_link) 2>conftest.er1
10083 grep -v '^ *+' conftest.er1
>conftest.err
10085 cat conftest.err
>&5
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); } &&
10088 { ac_try
='test -z "$ac_c_werror_flag"
10089 || test ! -s conftest.err'
10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091 (eval $ac_try) 2>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; } &&
10095 { ac_try
='test -s conftest$ac_exeext'
10096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097 (eval $ac_try) 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; }; then
10101 ac_cv_search_opendir
="none required"
10103 echo "$as_me: failed program was:" >&5
10104 sed 's/^/| /' conftest.
$ac_ext >&5
10107 rm -f conftest.err conftest.
$ac_objext \
10108 conftest
$ac_exeext conftest.
$ac_ext
10109 if test "$ac_cv_search_opendir" = no
; then
10110 for ac_lib
in x
; do
10111 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10112 cat >conftest.
$ac_ext <<_ACEOF
10115 cat confdefs.h
>>conftest.
$ac_ext
10116 cat >>conftest.
$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10119 /* Override any gcc2 internal prototype to avoid an error. */
10123 /* We use char because int might match the return type of a gcc2
10124 builtin and then its argument prototype would still apply. */
10134 rm -f conftest.
$ac_objext conftest
$ac_exeext
10135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10136 (eval $ac_link) 2>conftest.er1
10138 grep -v '^ *+' conftest.er1
>conftest.err
10140 cat conftest.err
>&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); } &&
10143 { ac_try
='test -z "$ac_c_werror_flag"
10144 || test ! -s conftest.err'
10145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10146 (eval $ac_try) 2>&5
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); }; } &&
10150 { ac_try
='test -s conftest$ac_exeext'
10151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10152 (eval $ac_try) 2>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); }; }; then
10156 ac_cv_search_opendir
="-l$ac_lib"
10159 echo "$as_me: failed program was:" >&5
10160 sed 's/^/| /' conftest.
$ac_ext >&5
10163 rm -f conftest.err conftest.
$ac_objext \
10164 conftest
$ac_exeext conftest.
$ac_ext
10167 LIBS
=$ac_func_search_save_LIBS
10169 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10170 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10171 if test "$ac_cv_search_opendir" != no
; then
10172 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
10178 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
10179 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
10180 if test "${gcc_cv_header_string+set}" = set; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 cat >conftest.
$ac_ext <<_ACEOF
10186 cat confdefs.h
>>conftest.
$ac_ext
10187 cat >>conftest.
$ac_ext <<_ACEOF
10188 /* end confdefs.h. */
10189 #include <string.h>
10190 #include <strings.h>
10199 rm -f conftest.
$ac_objext
10200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10201 (eval $ac_compile) 2>conftest.er1
10203 grep -v '^ *+' conftest.er1
>conftest.err
10205 cat conftest.err
>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } &&
10208 { ac_try
='test -z "$ac_c_werror_flag"
10209 || test ! -s conftest.err'
10210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10211 (eval $ac_try) 2>&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); }; } &&
10215 { ac_try
='test -s conftest.$ac_objext'
10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217 (eval $ac_try) 2>&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; }; then
10221 gcc_cv_header_string
=yes
10223 echo "$as_me: failed program was:" >&5
10224 sed 's/^/| /' conftest.
$ac_ext >&5
10226 gcc_cv_header_string
=no
10228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10230 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
10231 echo "${ECHO_T}$gcc_cv_header_string" >&6
10232 if test $gcc_cv_header_string = yes; then
10234 cat >>confdefs.h
<<\_ACEOF
10235 #define STRING_WITH_STRINGS 1
10247 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
10249 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10250 echo "$as_me:$LINENO: checking for $ac_func" >&5
10251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10252 if eval "test \"\${$as_ac_var+set}\" = set"; then
10253 echo $ECHO_N "(cached) $ECHO_C" >&6
10255 cat >conftest.
$ac_ext <<_ACEOF
10258 cat confdefs.h
>>conftest.
$ac_ext
10259 cat >>conftest.
$ac_ext <<_ACEOF
10260 /* end confdefs.h. */
10261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10263 #define $ac_func innocuous_$ac_func
10265 /* System header to define __stub macros and hopefully few prototypes,
10266 which can conflict with char $ac_func (); below.
10267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10268 <limits.h> exists even on freestanding compilers. */
10271 # include <limits.h>
10273 # include <assert.h>
10278 /* Override any gcc2 internal prototype to avoid an error. */
10283 /* We use char because int might match the return type of a gcc2
10284 builtin and then its argument prototype would still apply. */
10286 /* The GNU C library defines this for functions which it implements
10287 to always fail with ENOSYS. Some functions are actually named
10288 something starting with __ and the normal name is an alias. */
10289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10292 char (*f) () = $ac_func;
10301 return f != $ac_func;
10306 rm -f conftest.
$ac_objext conftest
$ac_exeext
10307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10308 (eval $ac_link) 2>conftest.er1
10310 grep -v '^ *+' conftest.er1
>conftest.err
10312 cat conftest.err
>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } &&
10315 { ac_try
='test -z "$ac_c_werror_flag"
10316 || test ! -s conftest.err'
10317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10318 (eval $ac_try) 2>&5
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); }; } &&
10322 { ac_try
='test -s conftest$ac_exeext'
10323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10324 (eval $ac_try) 2>&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); }; }; then
10328 eval "$as_ac_var=yes"
10330 echo "$as_me: failed program was:" >&5
10331 sed 's/^/| /' conftest.
$ac_ext >&5
10333 eval "$as_ac_var=no"
10335 rm -f conftest.err conftest.
$ac_objext \
10336 conftest
$ac_exeext conftest.
$ac_ext
10338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10340 if test `eval echo '${'$as_ac_var'}'` = yes; then
10341 cat >>confdefs.h
<<_ACEOF
10342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10349 for ac_func
in strtoull
10351 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10352 echo "$as_me:$LINENO: checking for $ac_func" >&5
10353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10354 if eval "test \"\${$as_ac_var+set}\" = set"; then
10355 echo $ECHO_N "(cached) $ECHO_C" >&6
10357 cat >conftest.
$ac_ext <<_ACEOF
10360 cat confdefs.h
>>conftest.
$ac_ext
10361 cat >>conftest.
$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10365 #define $ac_func innocuous_$ac_func
10367 /* System header to define __stub macros and hopefully few prototypes,
10368 which can conflict with char $ac_func (); below.
10369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10370 <limits.h> exists even on freestanding compilers. */
10373 # include <limits.h>
10375 # include <assert.h>
10380 /* Override any gcc2 internal prototype to avoid an error. */
10385 /* We use char because int might match the return type of a gcc2
10386 builtin and then its argument prototype would still apply. */
10388 /* The GNU C library defines this for functions which it implements
10389 to always fail with ENOSYS. Some functions are actually named
10390 something starting with __ and the normal name is an alias. */
10391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10394 char (*f) () = $ac_func;
10403 return f != $ac_func;
10408 rm -f conftest.
$ac_objext conftest
$ac_exeext
10409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10410 (eval $ac_link) 2>conftest.er1
10412 grep -v '^ *+' conftest.er1
>conftest.err
10414 cat conftest.err
>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); } &&
10417 { ac_try
='test -z "$ac_c_werror_flag"
10418 || test ! -s conftest.err'
10419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10420 (eval $ac_try) 2>&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); }; } &&
10424 { ac_try
='test -s conftest$ac_exeext'
10425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10426 (eval $ac_try) 2>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); }; }; then
10430 eval "$as_ac_var=yes"
10432 echo "$as_me: failed program was:" >&5
10433 sed 's/^/| /' conftest.
$ac_ext >&5
10435 eval "$as_ac_var=no"
10437 rm -f conftest.err conftest.
$ac_objext \
10438 conftest
$ac_exeext conftest.
$ac_ext
10440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10442 if test `eval echo '${'$as_ac_var'}'` = yes; then
10443 cat >>confdefs.h
<<_ACEOF
10444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10451 echo "$as_me:$LINENO: checking whether basename is declared" >&5
10452 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
10453 if test "${ac_cv_have_decl_basename+set}" = set; then
10454 echo $ECHO_N "(cached) $ECHO_C" >&6
10456 cat >conftest.
$ac_ext <<_ACEOF
10459 cat confdefs.h
>>conftest.
$ac_ext
10460 cat >>conftest.
$ac_ext <<_ACEOF
10461 /* end confdefs.h. */
10462 $ac_includes_default
10467 char *p = (char *) basename;
10474 rm -f conftest.
$ac_objext
10475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10476 (eval $ac_compile) 2>conftest.er1
10478 grep -v '^ *+' conftest.er1
>conftest.err
10480 cat conftest.err
>&5
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); } &&
10483 { ac_try
='test -z "$ac_c_werror_flag"
10484 || test ! -s conftest.err'
10485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10486 (eval $ac_try) 2>&5
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); }; } &&
10490 { ac_try
='test -s conftest.$ac_objext'
10491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10492 (eval $ac_try) 2>&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); }; }; then
10496 ac_cv_have_decl_basename
=yes
10498 echo "$as_me: failed program was:" >&5
10499 sed 's/^/| /' conftest.
$ac_ext >&5
10501 ac_cv_have_decl_basename
=no
10503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10505 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
10506 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
10507 if test $ac_cv_have_decl_basename = yes; then
10509 cat >>confdefs.h
<<_ACEOF
10510 #define HAVE_DECL_BASENAME 1
10515 cat >>confdefs.h
<<_ACEOF
10516 #define HAVE_DECL_BASENAME 0
10523 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
10524 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
10525 if test "${ac_cv_have_decl_ftello+set}" = set; then
10526 echo $ECHO_N "(cached) $ECHO_C" >&6
10528 cat >conftest.
$ac_ext <<_ACEOF
10531 cat confdefs.h
>>conftest.
$ac_ext
10532 cat >>conftest.
$ac_ext <<_ACEOF
10533 /* end confdefs.h. */
10534 $ac_includes_default
10539 char *p = (char *) ftello;
10546 rm -f conftest.
$ac_objext
10547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10548 (eval $ac_compile) 2>conftest.er1
10550 grep -v '^ *+' conftest.er1
>conftest.err
10552 cat conftest.err
>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } &&
10555 { ac_try
='test -z "$ac_c_werror_flag"
10556 || test ! -s conftest.err'
10557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10558 (eval $ac_try) 2>&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); }; } &&
10562 { ac_try
='test -s conftest.$ac_objext'
10563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10564 (eval $ac_try) 2>&5
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); }; }; then
10568 ac_cv_have_decl_ftello
=yes
10570 echo "$as_me: failed program was:" >&5
10571 sed 's/^/| /' conftest.
$ac_ext >&5
10573 ac_cv_have_decl_ftello
=no
10575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10577 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
10578 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
10579 if test $ac_cv_have_decl_ftello = yes; then
10581 cat >>confdefs.h
<<_ACEOF
10582 #define HAVE_DECL_FTELLO 1
10587 cat >>confdefs.h
<<_ACEOF
10588 #define HAVE_DECL_FTELLO 0
10595 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
10596 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
10597 if test "${ac_cv_have_decl_ftello64+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6
10600 cat >conftest.
$ac_ext <<_ACEOF
10603 cat confdefs.h
>>conftest.
$ac_ext
10604 cat >>conftest.
$ac_ext <<_ACEOF
10605 /* end confdefs.h. */
10606 $ac_includes_default
10611 char *p = (char *) ftello64;
10618 rm -f conftest.
$ac_objext
10619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10620 (eval $ac_compile) 2>conftest.er1
10622 grep -v '^ *+' conftest.er1
>conftest.err
10624 cat conftest.err
>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); } &&
10627 { ac_try
='test -z "$ac_c_werror_flag"
10628 || test ! -s conftest.err'
10629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10630 (eval $ac_try) 2>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; } &&
10634 { ac_try
='test -s conftest.$ac_objext'
10635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10636 (eval $ac_try) 2>&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); }; }; then
10640 ac_cv_have_decl_ftello64
=yes
10642 echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.
$ac_ext >&5
10645 ac_cv_have_decl_ftello64
=no
10647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10649 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
10650 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
10651 if test $ac_cv_have_decl_ftello64 = yes; then
10653 cat >>confdefs.h
<<_ACEOF
10654 #define HAVE_DECL_FTELLO64 1
10659 cat >>confdefs.h
<<_ACEOF
10660 #define HAVE_DECL_FTELLO64 0
10667 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
10668 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
10669 if test "${ac_cv_have_decl_fseeko+set}" = set; then
10670 echo $ECHO_N "(cached) $ECHO_C" >&6
10672 cat >conftest.
$ac_ext <<_ACEOF
10675 cat confdefs.h
>>conftest.
$ac_ext
10676 cat >>conftest.
$ac_ext <<_ACEOF
10677 /* end confdefs.h. */
10678 $ac_includes_default
10683 char *p = (char *) fseeko;
10690 rm -f conftest.
$ac_objext
10691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10692 (eval $ac_compile) 2>conftest.er1
10694 grep -v '^ *+' conftest.er1
>conftest.err
10696 cat conftest.err
>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } &&
10699 { ac_try
='test -z "$ac_c_werror_flag"
10700 || test ! -s conftest.err'
10701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10702 (eval $ac_try) 2>&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); }; } &&
10706 { ac_try
='test -s conftest.$ac_objext'
10707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10708 (eval $ac_try) 2>&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); }; }; then
10712 ac_cv_have_decl_fseeko
=yes
10714 echo "$as_me: failed program was:" >&5
10715 sed 's/^/| /' conftest.
$ac_ext >&5
10717 ac_cv_have_decl_fseeko
=no
10719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10721 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
10722 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
10723 if test $ac_cv_have_decl_fseeko = yes; then
10725 cat >>confdefs.h
<<_ACEOF
10726 #define HAVE_DECL_FSEEKO 1
10731 cat >>confdefs.h
<<_ACEOF
10732 #define HAVE_DECL_FSEEKO 0
10739 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
10740 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
10741 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 cat >conftest.
$ac_ext <<_ACEOF
10747 cat confdefs.h
>>conftest.
$ac_ext
10748 cat >>conftest.
$ac_ext <<_ACEOF
10749 /* end confdefs.h. */
10750 $ac_includes_default
10755 char *p = (char *) fseeko64;
10762 rm -f conftest.
$ac_objext
10763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10764 (eval $ac_compile) 2>conftest.er1
10766 grep -v '^ *+' conftest.er1
>conftest.err
10768 cat conftest.err
>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); } &&
10771 { ac_try
='test -z "$ac_c_werror_flag"
10772 || test ! -s conftest.err'
10773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 (eval $ac_try) 2>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); }; } &&
10778 { ac_try
='test -s conftest.$ac_objext'
10779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10780 (eval $ac_try) 2>&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; }; then
10784 ac_cv_have_decl_fseeko64
=yes
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.
$ac_ext >&5
10789 ac_cv_have_decl_fseeko64
=no
10791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10793 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
10794 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
10795 if test $ac_cv_have_decl_fseeko64 = yes; then
10797 cat >>confdefs.h
<<_ACEOF
10798 #define HAVE_DECL_FSEEKO64 1
10803 cat >>confdefs.h
<<_ACEOF
10804 #define HAVE_DECL_FSEEKO64 0
10814 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
10816 cat >>confdefs.h
<<\_ACEOF
10817 #define USE_BINARY_FOPEN 1
10822 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
10823 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
10824 if test "${ac_cv_have_decl_ffs+set}" = set; then
10825 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 cat >conftest.
$ac_ext <<_ACEOF
10830 cat confdefs.h
>>conftest.
$ac_ext
10831 cat >>conftest.
$ac_ext <<_ACEOF
10832 /* end confdefs.h. */
10833 $ac_includes_default
10838 char *p = (char *) ffs;
10845 rm -f conftest.
$ac_objext
10846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10847 (eval $ac_compile) 2>conftest.er1
10849 grep -v '^ *+' conftest.er1
>conftest.err
10851 cat conftest.err
>&5
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); } &&
10854 { ac_try
='test -z "$ac_c_werror_flag"
10855 || test ! -s conftest.err'
10856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10857 (eval $ac_try) 2>&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; } &&
10861 { ac_try
='test -s conftest.$ac_objext'
10862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10863 (eval $ac_try) 2>&5
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); }; }; then
10867 ac_cv_have_decl_ffs
=yes
10869 echo "$as_me: failed program was:" >&5
10870 sed 's/^/| /' conftest.
$ac_ext >&5
10872 ac_cv_have_decl_ffs
=no
10874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10876 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
10877 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
10878 if test $ac_cv_have_decl_ffs = yes; then
10880 cat >>confdefs.h
<<_ACEOF
10881 #define HAVE_DECL_FFS 1
10886 cat >>confdefs.h
<<_ACEOF
10887 #define HAVE_DECL_FFS 0
10894 echo "$as_me:$LINENO: checking whether free is declared" >&5
10895 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
10896 if test "${ac_cv_have_decl_free+set}" = set; then
10897 echo $ECHO_N "(cached) $ECHO_C" >&6
10899 cat >conftest.
$ac_ext <<_ACEOF
10902 cat confdefs.h
>>conftest.
$ac_ext
10903 cat >>conftest.
$ac_ext <<_ACEOF
10904 /* end confdefs.h. */
10905 $ac_includes_default
10910 char *p = (char *) free;
10917 rm -f conftest.
$ac_objext
10918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10919 (eval $ac_compile) 2>conftest.er1
10921 grep -v '^ *+' conftest.er1
>conftest.err
10923 cat conftest.err
>&5
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); } &&
10926 { ac_try
='test -z "$ac_c_werror_flag"
10927 || test ! -s conftest.err'
10928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10929 (eval $ac_try) 2>&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); }; } &&
10933 { ac_try
='test -s conftest.$ac_objext'
10934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10935 (eval $ac_try) 2>&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); }; }; then
10939 ac_cv_have_decl_free
=yes
10941 echo "$as_me: failed program was:" >&5
10942 sed 's/^/| /' conftest.
$ac_ext >&5
10944 ac_cv_have_decl_free
=no
10946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10948 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
10949 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
10950 if test $ac_cv_have_decl_free = yes; then
10952 cat >>confdefs.h
<<_ACEOF
10953 #define HAVE_DECL_FREE 1
10958 cat >>confdefs.h
<<_ACEOF
10959 #define HAVE_DECL_FREE 0
10966 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
10967 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
10968 if test "${ac_cv_have_decl_getenv+set}" = set; then
10969 echo $ECHO_N "(cached) $ECHO_C" >&6
10971 cat >conftest.
$ac_ext <<_ACEOF
10974 cat confdefs.h
>>conftest.
$ac_ext
10975 cat >>conftest.
$ac_ext <<_ACEOF
10976 /* end confdefs.h. */
10977 $ac_includes_default
10982 char *p = (char *) getenv;
10989 rm -f conftest.
$ac_objext
10990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10991 (eval $ac_compile) 2>conftest.er1
10993 grep -v '^ *+' conftest.er1
>conftest.err
10995 cat conftest.err
>&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); } &&
10998 { ac_try
='test -z "$ac_c_werror_flag"
10999 || test ! -s conftest.err'
11000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11001 (eval $ac_try) 2>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); }; } &&
11005 { ac_try
='test -s conftest.$ac_objext'
11006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11007 (eval $ac_try) 2>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); }; }; then
11011 ac_cv_have_decl_getenv
=yes
11013 echo "$as_me: failed program was:" >&5
11014 sed 's/^/| /' conftest.
$ac_ext >&5
11016 ac_cv_have_decl_getenv
=no
11018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11020 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
11021 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
11022 if test $ac_cv_have_decl_getenv = yes; then
11024 cat >>confdefs.h
<<_ACEOF
11025 #define HAVE_DECL_GETENV 1
11030 cat >>confdefs.h
<<_ACEOF
11031 #define HAVE_DECL_GETENV 0
11038 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
11039 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
11040 if test "${ac_cv_have_decl_malloc+set}" = set; then
11041 echo $ECHO_N "(cached) $ECHO_C" >&6
11043 cat >conftest.
$ac_ext <<_ACEOF
11046 cat confdefs.h
>>conftest.
$ac_ext
11047 cat >>conftest.
$ac_ext <<_ACEOF
11048 /* end confdefs.h. */
11049 $ac_includes_default
11054 char *p = (char *) malloc;
11061 rm -f conftest.
$ac_objext
11062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11063 (eval $ac_compile) 2>conftest.er1
11065 grep -v '^ *+' conftest.er1
>conftest.err
11067 cat conftest.err
>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); } &&
11070 { ac_try
='test -z "$ac_c_werror_flag"
11071 || test ! -s conftest.err'
11072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11073 (eval $ac_try) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }; } &&
11077 { ac_try
='test -s conftest.$ac_objext'
11078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; }; then
11083 ac_cv_have_decl_malloc
=yes
11085 echo "$as_me: failed program was:" >&5
11086 sed 's/^/| /' conftest.
$ac_ext >&5
11088 ac_cv_have_decl_malloc
=no
11090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11092 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
11093 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
11094 if test $ac_cv_have_decl_malloc = yes; then
11096 cat >>confdefs.h
<<_ACEOF
11097 #define HAVE_DECL_MALLOC 1
11102 cat >>confdefs.h
<<_ACEOF
11103 #define HAVE_DECL_MALLOC 0
11110 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
11111 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
11112 if test "${ac_cv_have_decl_realloc+set}" = set; then
11113 echo $ECHO_N "(cached) $ECHO_C" >&6
11115 cat >conftest.
$ac_ext <<_ACEOF
11118 cat confdefs.h
>>conftest.
$ac_ext
11119 cat >>conftest.
$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11121 $ac_includes_default
11126 char *p = (char *) realloc;
11133 rm -f conftest.
$ac_objext
11134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11135 (eval $ac_compile) 2>conftest.er1
11137 grep -v '^ *+' conftest.er1
>conftest.err
11139 cat conftest.err
>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); } &&
11142 { ac_try
='test -z "$ac_c_werror_flag"
11143 || test ! -s conftest.err'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; } &&
11149 { ac_try
='test -s conftest.$ac_objext'
11150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151 (eval $ac_try) 2>&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; }; then
11155 ac_cv_have_decl_realloc
=yes
11157 echo "$as_me: failed program was:" >&5
11158 sed 's/^/| /' conftest.
$ac_ext >&5
11160 ac_cv_have_decl_realloc
=no
11162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11164 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
11165 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
11166 if test $ac_cv_have_decl_realloc = yes; then
11168 cat >>confdefs.h
<<_ACEOF
11169 #define HAVE_DECL_REALLOC 1
11174 cat >>confdefs.h
<<_ACEOF
11175 #define HAVE_DECL_REALLOC 0
11182 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
11183 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
11184 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11187 cat >conftest.
$ac_ext <<_ACEOF
11190 cat confdefs.h
>>conftest.
$ac_ext
11191 cat >>conftest.
$ac_ext <<_ACEOF
11192 /* end confdefs.h. */
11193 $ac_includes_default
11198 char *p = (char *) stpcpy;
11205 rm -f conftest.
$ac_objext
11206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11207 (eval $ac_compile) 2>conftest.er1
11209 grep -v '^ *+' conftest.er1
>conftest.err
11211 cat conftest.err
>&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); } &&
11214 { ac_try
='test -z "$ac_c_werror_flag"
11215 || test ! -s conftest.err'
11216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11217 (eval $ac_try) 2>&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); }; } &&
11221 { ac_try
='test -s conftest.$ac_objext'
11222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11223 (eval $ac_try) 2>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; }; then
11227 ac_cv_have_decl_stpcpy
=yes
11229 echo "$as_me: failed program was:" >&5
11230 sed 's/^/| /' conftest.
$ac_ext >&5
11232 ac_cv_have_decl_stpcpy
=no
11234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11236 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
11237 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
11238 if test $ac_cv_have_decl_stpcpy = yes; then
11240 cat >>confdefs.h
<<_ACEOF
11241 #define HAVE_DECL_STPCPY 1
11246 cat >>confdefs.h
<<_ACEOF
11247 #define HAVE_DECL_STPCPY 0
11254 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
11255 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
11256 if test "${ac_cv_have_decl_strstr+set}" = set; then
11257 echo $ECHO_N "(cached) $ECHO_C" >&6
11259 cat >conftest.
$ac_ext <<_ACEOF
11262 cat confdefs.h
>>conftest.
$ac_ext
11263 cat >>conftest.
$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11265 $ac_includes_default
11270 char *p = (char *) strstr;
11277 rm -f conftest.
$ac_objext
11278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11279 (eval $ac_compile) 2>conftest.er1
11281 grep -v '^ *+' conftest.er1
>conftest.err
11283 cat conftest.err
>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); } &&
11286 { ac_try
='test -z "$ac_c_werror_flag"
11287 || test ! -s conftest.err'
11288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11289 (eval $ac_try) 2>&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); }; } &&
11293 { ac_try
='test -s conftest.$ac_objext'
11294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11295 (eval $ac_try) 2>&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); }; }; then
11299 ac_cv_have_decl_strstr
=yes
11301 echo "$as_me: failed program was:" >&5
11302 sed 's/^/| /' conftest.
$ac_ext >&5
11304 ac_cv_have_decl_strstr
=no
11306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11308 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
11309 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
11310 if test $ac_cv_have_decl_strstr = yes; then
11312 cat >>confdefs.h
<<_ACEOF
11313 #define HAVE_DECL_STRSTR 1
11318 cat >>confdefs.h
<<_ACEOF
11319 #define HAVE_DECL_STRSTR 0
11326 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
11327 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
11328 if test "${ac_cv_have_decl_snprintf+set}" = set; then
11329 echo $ECHO_N "(cached) $ECHO_C" >&6
11331 cat >conftest.
$ac_ext <<_ACEOF
11334 cat confdefs.h
>>conftest.
$ac_ext
11335 cat >>conftest.
$ac_ext <<_ACEOF
11336 /* end confdefs.h. */
11337 $ac_includes_default
11342 char *p = (char *) snprintf;
11349 rm -f conftest.
$ac_objext
11350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11351 (eval $ac_compile) 2>conftest.er1
11353 grep -v '^ *+' conftest.er1
>conftest.err
11355 cat conftest.err
>&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); } &&
11358 { ac_try
='test -z "$ac_c_werror_flag"
11359 || test ! -s conftest.err'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; } &&
11365 { ac_try
='test -s conftest.$ac_objext'
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then
11371 ac_cv_have_decl_snprintf
=yes
11373 echo "$as_me: failed program was:" >&5
11374 sed 's/^/| /' conftest.
$ac_ext >&5
11376 ac_cv_have_decl_snprintf
=no
11378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11380 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
11381 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
11382 if test $ac_cv_have_decl_snprintf = yes; then
11384 cat >>confdefs.h
<<_ACEOF
11385 #define HAVE_DECL_SNPRINTF 1
11390 cat >>confdefs.h
<<_ACEOF
11391 #define HAVE_DECL_SNPRINTF 0
11398 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
11399 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
11400 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
11401 echo $ECHO_N "(cached) $ECHO_C" >&6
11403 cat >conftest.
$ac_ext <<_ACEOF
11406 cat confdefs.h
>>conftest.
$ac_ext
11407 cat >>conftest.
$ac_ext <<_ACEOF
11408 /* end confdefs.h. */
11409 $ac_includes_default
11414 char *p = (char *) vsnprintf;
11421 rm -f conftest.
$ac_objext
11422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11423 (eval $ac_compile) 2>conftest.er1
11425 grep -v '^ *+' conftest.er1
>conftest.err
11427 cat conftest.err
>&5
11428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); } &&
11430 { ac_try
='test -z "$ac_c_werror_flag"
11431 || test ! -s conftest.err'
11432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11433 (eval $ac_try) 2>&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); }; } &&
11437 { ac_try
='test -s conftest.$ac_objext'
11438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11439 (eval $ac_try) 2>&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); }; }; then
11443 ac_cv_have_decl_vsnprintf
=yes
11445 echo "$as_me: failed program was:" >&5
11446 sed 's/^/| /' conftest.
$ac_ext >&5
11448 ac_cv_have_decl_vsnprintf
=no
11450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11452 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
11453 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
11454 if test $ac_cv_have_decl_vsnprintf = yes; then
11456 cat >>confdefs.h
<<_ACEOF
11457 #define HAVE_DECL_VSNPRINTF 1
11462 cat >>confdefs.h
<<_ACEOF
11463 #define HAVE_DECL_VSNPRINTF 0
11471 # If we are configured native, pick a core file support file.
11475 if test "${target}" = "${host}"; then
11477 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
11481 COREFILE
=trad-core.lo
11482 TRAD_HEADER
='"hosts/alphalinux.h"'
11484 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
11485 COREFILE
=netbsd-core.lo
11487 alpha
*-*-*) COREFILE
=osf-core.lo
;;
11488 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
11490 arm-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
11491 arm-
*-riscix) COREFILE
=trad-core.lo
;;
11492 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
11493 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
11494 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
11495 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
11496 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
11497 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
11498 COREFILE
=netbsd-core.lo
11502 COREFILE
=trad-core.lo
11503 TRAD_HEADER
='"hosts/i370linux.h"'
11506 i
[3-7]86-sequent-bsd*)
11507 COREFILE
=trad-core.lo
11508 TRAD_HEADER
='"hosts/symmetry.h"'
11510 i
[3-7]86-sequent-sysv4*) ;;
11511 i
[3-7]86-sequent-sysv*)
11512 COREFILE
=trad-core.lo
11513 TRAD_HEADER
='"hosts/symmetry.h"'
11518 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
*)
11519 COREFILE
=trad-core.lo
11520 TRAD_HEADER
='"hosts/i386bsd.h"'
11522 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
11524 TRAD_HEADER
='"hosts/i386bsd.h"'
11526 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
11527 COREFILE
=netbsd-core.lo
11529 i
[3-7]86-esix-sysv3*)
11530 COREFILE
=trad-core.lo
11531 TRAD_HEADER
='"hosts/esix.h"'
11533 i
[3-7]86-*-sco3.2v5
*)
11534 COREFILE
=sco5-core.lo
11536 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
11537 COREFILE
=trad-core.lo
11538 TRAD_HEADER
='"hosts/i386sco.h"'
11541 COREFILE
=trad-core.lo
11542 TRAD_HEADER
='"hosts/i386mach3.h"'
11544 i
[3-7]86-*-linux-*)
11545 COREFILE
=trad-core.lo
11546 TRAD_HEADER
='"hosts/i386linux.h"'
11548 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
11549 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
11550 i860-
*-mach3* | i860-
*-osf1*)
11551 COREFILE
=trad-core.lo
11552 TRAD_HEADER
='"hosts/i860mach3.h"'
11554 mips-
*-netbsd* | mips
*-*-openbsd*)
11555 COREFILE
=netbsd-core.lo
11558 COREFILE
=trad-core.lo
11559 TRAD_HEADER
='"hosts/decstation.h"'
11561 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
11562 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
11563 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
11565 mips-
*-sysv* | mips-
*-riscos*)
11566 COREFILE
=trad-core.lo
11567 TRAD_HEADER
='"hosts/riscos.h"'
11570 COREFILE
=trad-core.lo
11571 TRAD_HEADER
='"hosts/news-mips.h"'
11574 COREFILE
=trad-core.lo
11575 TRAD_HEADER
='"hosts/dpx2.h"'
11577 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
11579 COREFILE
=trad-core.lo
11580 TRAD_HEADER
='"hosts/hp300bsd.h"'
11583 COREFILE
=trad-core.lo
11584 TRAD_HEADER
='"hosts/m68klinux.h"'
11586 m68
*-motorola-sysv*)
11587 COREFILE
=trad-core.lo
11588 TRAD_HEADER
='"hosts/delta68.h"'
11591 COREFILE
=trad-core.lo
11592 TRAD_HEADER
='"hosts/news.h"'
11594 m68
*-*-netbsd* | m68
*-*-openbsd*)
11595 COREFILE
=netbsd-core.lo
11598 COREFILE
=trad-core.lo
11599 TRAD_HEADER
='"hosts/m68kaux.h"'
11603 m88
*-motorola-sysv*)
11604 COREFILE
=ptrace-core.lo
11607 COREFILE
=trad-core.lo
11608 TRAD_HEADER
='"hosts/m88kmach3.h"'
11611 COREFILE
=netbsd-core.lo
11614 COREFILE
=trad-core.lo
11615 TRAD_HEADER
='"hosts/pc532mach.h"'
11617 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
11618 COREFILE
=netbsd-core.lo
11621 COREFILE
=lynx-core.lo
11623 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
11624 COREFILE
=rs6000-core.lo
11625 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
11627 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
11628 COREFILE
=rs6000-core.lo
11629 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
11630 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
11631 # have c_impl as a member of struct core_dumpx
11632 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
11633 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
11634 cat >conftest.
$ac_ext <<_ACEOF
11637 cat confdefs.h
>>conftest.
$ac_ext
11638 cat >>conftest.
$ac_ext <<_ACEOF
11639 /* end confdefs.h. */
11644 struct core_dumpx c; c.c_impl = 0;
11649 rm -f conftest.
$ac_objext
11650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11651 (eval $ac_compile) 2>conftest.er1
11653 grep -v '^ *+' conftest.er1
>conftest.err
11655 cat conftest.err
>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } &&
11658 { ac_try
='test -z "$ac_c_werror_flag"
11659 || test ! -s conftest.err'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; } &&
11665 { ac_try
='test -s conftest.$ac_objext'
11666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11667 (eval $ac_try) 2>&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); }; }; then
11672 cat >>confdefs.h
<<\_ACEOF
11673 #define HAVE_ST_C_IMPL 1
11676 echo "$as_me:$LINENO: result: yes" >&5
11677 echo "${ECHO_T}yes" >&6
11679 echo "$as_me: failed program was:" >&5
11680 sed 's/^/| /' conftest.
$ac_ext >&5
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11687 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
11688 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
11689 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
11690 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
11691 powerpc-
*-beos*) ;;
11692 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
11694 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
11695 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
11696 s390
*-*-*) COREFILE
=trad-core.lo
;;
11697 sh
*-*-netbsd*) COREFILE
=netbsd-core.lo
;;
11698 sparc-
*-netbsd* | sparc
*-*-openbsd*)
11699 COREFILE
=netbsd-core.lo
11702 COREFILE
=trad-core.lo
11703 TRAD_HEADER
='"hosts/tahoe.h"'
11705 vax-
*-netbsd* | vax-
*-openbsd*)
11706 COREFILE
=netbsd-core.lo
11709 COREFILE
=trad-core.lo
11710 TRAD_HEADER
='"hosts/vaxult2.h"'
11713 COREFILE
=trad-core.lo
11714 TRAD_HEADER
='"hosts/vaxult2.h"'
11717 COREFILE
=trad-core.lo
11718 TRAD_HEADER
='"hosts/vaxlinux.h"'
11721 COREFILE
=trad-core.lo
11722 TRAD_HEADER
='"hosts/vaxbsd.h"'
11724 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
11725 COREFILE
=netbsd-core.lo
11729 case "$COREFILE" in
11730 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
11731 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
11732 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
11733 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
11734 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
11735 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
11736 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
11737 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
11738 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
11739 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
11740 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
11743 # ELF corefile support has several flavors, but all of
11744 # them use something called <sys/procfs.h>
11746 for ac_header
in sys
/procfs.h
11748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11750 echo "$as_me:$LINENO: checking for $ac_header" >&5
11751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11758 # Is the header compilable?
11759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11761 cat >conftest.
$ac_ext <<_ACEOF
11764 cat confdefs.h
>>conftest.
$ac_ext
11765 cat >>conftest.
$ac_ext <<_ACEOF
11766 /* end confdefs.h. */
11767 $ac_includes_default
11768 #include <$ac_header>
11770 rm -f conftest.
$ac_objext
11771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11772 (eval $ac_compile) 2>conftest.er1
11774 grep -v '^ *+' conftest.er1
>conftest.err
11776 cat conftest.err
>&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); } &&
11779 { ac_try
='test -z "$ac_c_werror_flag"
11780 || test ! -s conftest.err'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; } &&
11786 { ac_try
='test -s conftest.$ac_objext'
11787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11788 (eval $ac_try) 2>&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); }; }; then
11792 ac_header_compiler
=yes
11794 echo "$as_me: failed program was:" >&5
11795 sed 's/^/| /' conftest.
$ac_ext >&5
11797 ac_header_compiler
=no
11799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11801 echo "${ECHO_T}$ac_header_compiler" >&6
11803 # Is the header present?
11804 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11806 cat >conftest.
$ac_ext <<_ACEOF
11809 cat confdefs.h
>>conftest.
$ac_ext
11810 cat >>conftest.
$ac_ext <<_ACEOF
11811 /* end confdefs.h. */
11812 #include <$ac_header>
11814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11815 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11817 grep -v '^ *+' conftest.er1
>conftest.err
11819 cat conftest.err
>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); } >/dev
/null
; then
11822 if test -s conftest.err
; then
11823 ac_cpp_err
=$ac_c_preproc_warn_flag
11824 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11831 if test -z "$ac_cpp_err"; then
11832 ac_header_preproc
=yes
11834 echo "$as_me: failed program was:" >&5
11835 sed 's/^/| /' conftest.
$ac_ext >&5
11837 ac_header_preproc
=no
11839 rm -f conftest.err conftest.
$ac_ext
11840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11841 echo "${ECHO_T}$ac_header_preproc" >&6
11843 # So? What about this header?
11844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11846 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11847 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11849 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11850 ac_header_preproc
=yes
11853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11857 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11858 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11859 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11860 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11863 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11864 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11867 ## ------------------------------------------ ##
11868 ## Report this to the AC_PACKAGE_NAME lists. ##
11869 ## ------------------------------------------ ##
11872 sed "s/^/$as_me: WARNING: /" >&2
11875 echo "$as_me:$LINENO: checking for $ac_header" >&5
11876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 eval "$as_ac_Header=\$ac_header_preproc"
11882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11887 cat >>confdefs.h
<<_ACEOF
11888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11895 if test "$ac_cv_header_sys_procfs_h" = yes; then
11896 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
11897 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
11898 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
11899 echo $ECHO_N "(cached) $ECHO_C" >&6
11901 cat >conftest.
$ac_ext <<_ACEOF
11904 cat confdefs.h
>>conftest.
$ac_ext
11905 cat >>conftest.
$ac_ext <<_ACEOF
11906 /* end confdefs.h. */
11909 #include <sys/procfs.h>
11918 rm -f conftest.
$ac_objext
11919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11920 (eval $ac_compile) 2>conftest.er1
11922 grep -v '^ *+' conftest.er1
>conftest.err
11924 cat conftest.err
>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); } &&
11927 { ac_try
='test -z "$ac_c_werror_flag"
11928 || test ! -s conftest.err'
11929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930 (eval $ac_try) 2>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); }; } &&
11934 { ac_try
='test -s conftest.$ac_objext'
11935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11936 (eval $ac_try) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); }; }; then
11940 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
11942 echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.
$ac_ext >&5
11945 bfd_cv_have_sys_procfs_type_prstatus_t
=no
11948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11951 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
11953 cat >>confdefs.h
<<\_ACEOF
11954 #define HAVE_PRSTATUS_T 1
11958 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
11959 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
11961 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
11962 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
11963 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
11964 echo $ECHO_N "(cached) $ECHO_C" >&6
11966 cat >conftest.
$ac_ext <<_ACEOF
11969 cat confdefs.h
>>conftest.
$ac_ext
11970 cat >>conftest.
$ac_ext <<_ACEOF
11971 /* end confdefs.h. */
11974 #include <sys/procfs.h>
11983 rm -f conftest.
$ac_objext
11984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11985 (eval $ac_compile) 2>conftest.er1
11987 grep -v '^ *+' conftest.er1
>conftest.err
11989 cat conftest.err
>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); } &&
11992 { ac_try
='test -z "$ac_c_werror_flag"
11993 || test ! -s conftest.err'
11994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11995 (eval $ac_try) 2>&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); }; } &&
11999 { ac_try
='test -s conftest.$ac_objext'
12000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12001 (eval $ac_try) 2>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); }; }; then
12005 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
12007 echo "$as_me: failed program was:" >&5
12008 sed 's/^/| /' conftest.
$ac_ext >&5
12010 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
12013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12016 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
12018 cat >>confdefs.h
<<\_ACEOF
12019 #define HAVE_PRSTATUS32_T 1
12023 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12024 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
12026 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12027 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12028 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
12029 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 cat >conftest.
$ac_ext <<_ACEOF
12034 cat confdefs.h
>>conftest.
$ac_ext
12035 cat >>conftest.
$ac_ext <<_ACEOF
12036 /* end confdefs.h. */
12039 #include <sys/procfs.h>
12043 prstatus_t avar; void* aref = (void*) &avar.pr_who
12048 rm -f conftest.
$ac_objext
12049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12050 (eval $ac_compile) 2>conftest.er1
12052 grep -v '^ *+' conftest.er1
>conftest.err
12054 cat conftest.err
>&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); } &&
12057 { ac_try
='test -z "$ac_c_werror_flag"
12058 || test ! -s conftest.err'
12059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12060 (eval $ac_try) 2>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); }; } &&
12064 { ac_try
='test -s conftest.$ac_objext'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; }; then
12070 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
12072 echo "$as_me: failed program was:" >&5
12073 sed 's/^/| /' conftest.
$ac_ext >&5
12075 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
12078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12081 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
12083 cat >>confdefs.h
<<\_ACEOF
12084 #define HAVE_PRSTATUS_T_PR_WHO 1
12088 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12089 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
12091 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12092 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12093 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
12094 echo $ECHO_N "(cached) $ECHO_C" >&6
12096 cat >conftest.
$ac_ext <<_ACEOF
12099 cat confdefs.h
>>conftest.
$ac_ext
12100 cat >>conftest.
$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12104 #include <sys/procfs.h>
12108 prstatus32_t avar; void* aref = (void*) &avar.pr_who
12113 rm -f conftest.
$ac_objext
12114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12115 (eval $ac_compile) 2>conftest.er1
12117 grep -v '^ *+' conftest.er1
>conftest.err
12119 cat conftest.err
>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); } &&
12122 { ac_try
='test -z "$ac_c_werror_flag"
12123 || test ! -s conftest.err'
12124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12125 (eval $ac_try) 2>&5
12127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12128 (exit $ac_status); }; } &&
12129 { ac_try
='test -s conftest.$ac_objext'
12130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12131 (eval $ac_try) 2>&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); }; }; then
12135 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
12137 echo "$as_me: failed program was:" >&5
12138 sed 's/^/| /' conftest.
$ac_ext >&5
12140 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
12143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12146 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
12148 cat >>confdefs.h
<<\_ACEOF
12149 #define HAVE_PRSTATUS32_T_PR_WHO 1
12153 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12154 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
12156 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12157 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
12158 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
12159 echo $ECHO_N "(cached) $ECHO_C" >&6
12161 cat >conftest.
$ac_ext <<_ACEOF
12164 cat confdefs.h
>>conftest.
$ac_ext
12165 cat >>conftest.
$ac_ext <<_ACEOF
12166 /* end confdefs.h. */
12169 #include <sys/procfs.h>
12178 rm -f conftest.
$ac_objext
12179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12180 (eval $ac_compile) 2>conftest.er1
12182 grep -v '^ *+' conftest.er1
>conftest.err
12184 cat conftest.err
>&5
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); } &&
12187 { ac_try
='test -z "$ac_c_werror_flag"
12188 || test ! -s conftest.err'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; } &&
12194 { ac_try
='test -s conftest.$ac_objext'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; }; then
12200 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.
$ac_ext >&5
12205 bfd_cv_have_sys_procfs_type_pstatus_t
=no
12208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12211 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
12213 cat >>confdefs.h
<<\_ACEOF
12214 #define HAVE_PSTATUS_T 1
12218 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
12219 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
12221 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
12222 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
12223 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 cat >conftest.
$ac_ext <<_ACEOF
12229 cat confdefs.h
>>conftest.
$ac_ext
12230 cat >>conftest.
$ac_ext <<_ACEOF
12231 /* end confdefs.h. */
12234 #include <sys/procfs.h>
12243 rm -f conftest.
$ac_objext
12244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12245 (eval $ac_compile) 2>conftest.er1
12247 grep -v '^ *+' conftest.er1
>conftest.err
12249 cat conftest.err
>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); } &&
12252 { ac_try
='test -z "$ac_c_werror_flag"
12253 || test ! -s conftest.err'
12254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12255 (eval $ac_try) 2>&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); }; } &&
12259 { ac_try
='test -s conftest.$ac_objext'
12260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12261 (eval $ac_try) 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; }; then
12265 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
12267 echo "$as_me: failed program was:" >&5
12268 sed 's/^/| /' conftest.
$ac_ext >&5
12270 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
12273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12276 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
12278 cat >>confdefs.h
<<\_ACEOF
12279 #define HAVE_PXSTATUS_T 1
12283 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
12284 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
12286 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
12287 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
12288 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
12289 echo $ECHO_N "(cached) $ECHO_C" >&6
12291 cat >conftest.
$ac_ext <<_ACEOF
12294 cat confdefs.h
>>conftest.
$ac_ext
12295 cat >>conftest.
$ac_ext <<_ACEOF
12296 /* end confdefs.h. */
12299 #include <sys/procfs.h>
12308 rm -f conftest.
$ac_objext
12309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12310 (eval $ac_compile) 2>conftest.er1
12312 grep -v '^ *+' conftest.er1
>conftest.err
12314 cat conftest.err
>&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); } &&
12317 { ac_try
='test -z "$ac_c_werror_flag"
12318 || test ! -s conftest.err'
12319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12320 (eval $ac_try) 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); }; } &&
12324 { ac_try
='test -s conftest.$ac_objext'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; }; then
12330 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
12332 echo "$as_me: failed program was:" >&5
12333 sed 's/^/| /' conftest.
$ac_ext >&5
12335 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
12338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12341 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
12343 cat >>confdefs.h
<<\_ACEOF
12344 #define HAVE_PSTATUS32_T 1
12348 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
12349 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
12351 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
12352 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
12353 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
12354 echo $ECHO_N "(cached) $ECHO_C" >&6
12356 cat >conftest.
$ac_ext <<_ACEOF
12359 cat confdefs.h
>>conftest.
$ac_ext
12360 cat >>conftest.
$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12364 #include <sys/procfs.h>
12373 rm -f conftest.
$ac_objext
12374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12375 (eval $ac_compile) 2>conftest.er1
12377 grep -v '^ *+' conftest.er1
>conftest.err
12379 cat conftest.err
>&5
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); } &&
12382 { ac_try
='test -z "$ac_c_werror_flag"
12383 || test ! -s conftest.err'
12384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12385 (eval $ac_try) 2>&5
12387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12388 (exit $ac_status); }; } &&
12389 { ac_try
='test -s conftest.$ac_objext'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; }; then
12395 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
12397 echo "$as_me: failed program was:" >&5
12398 sed 's/^/| /' conftest.
$ac_ext >&5
12400 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
12403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12406 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
12408 cat >>confdefs.h
<<\_ACEOF
12409 #define HAVE_PRPSINFO_T 1
12413 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
12414 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
12416 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
12417 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
12418 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 cat >conftest.
$ac_ext <<_ACEOF
12424 cat confdefs.h
>>conftest.
$ac_ext
12425 cat >>conftest.
$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12429 #include <sys/procfs.h>
12438 rm -f conftest.
$ac_objext
12439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12440 (eval $ac_compile) 2>conftest.er1
12442 grep -v '^ *+' conftest.er1
>conftest.err
12444 cat conftest.err
>&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); } &&
12447 { ac_try
='test -z "$ac_c_werror_flag"
12448 || test ! -s conftest.err'
12449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12450 (eval $ac_try) 2>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); }; } &&
12454 { ac_try
='test -s conftest.$ac_objext'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; }; then
12460 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.
$ac_ext >&5
12465 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
12468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12471 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
12473 cat >>confdefs.h
<<\_ACEOF
12474 #define HAVE_PRPSINFO32_T 1
12478 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
12479 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
12481 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
12482 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
12483 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 cat >conftest.
$ac_ext <<_ACEOF
12489 cat confdefs.h
>>conftest.
$ac_ext
12490 cat >>conftest.
$ac_ext <<_ACEOF
12491 /* end confdefs.h. */
12494 #include <sys/procfs.h>
12503 rm -f conftest.
$ac_objext
12504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12505 (eval $ac_compile) 2>conftest.er1
12507 grep -v '^ *+' conftest.er1
>conftest.err
12509 cat conftest.err
>&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); } &&
12512 { ac_try
='test -z "$ac_c_werror_flag"
12513 || test ! -s conftest.err'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; } &&
12519 { ac_try
='test -s conftest.$ac_objext'
12520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12521 (eval $ac_try) 2>&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; }; then
12525 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
12527 echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.
$ac_ext >&5
12530 bfd_cv_have_sys_procfs_type_psinfo_t
=no
12533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12536 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
12538 cat >>confdefs.h
<<\_ACEOF
12539 #define HAVE_PSINFO_T 1
12543 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
12544 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
12546 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
12547 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
12548 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
12549 echo $ECHO_N "(cached) $ECHO_C" >&6
12551 cat >conftest.
$ac_ext <<_ACEOF
12554 cat confdefs.h
>>conftest.
$ac_ext
12555 cat >>conftest.
$ac_ext <<_ACEOF
12556 /* end confdefs.h. */
12559 #include <sys/procfs.h>
12568 rm -f conftest.
$ac_objext
12569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12570 (eval $ac_compile) 2>conftest.er1
12572 grep -v '^ *+' conftest.er1
>conftest.err
12574 cat conftest.err
>&5
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); } &&
12577 { ac_try
='test -z "$ac_c_werror_flag"
12578 || test ! -s conftest.err'
12579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12580 (eval $ac_try) 2>&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); }; } &&
12584 { ac_try
='test -s conftest.$ac_objext'
12585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12586 (eval $ac_try) 2>&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); }; }; then
12590 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
12592 echo "$as_me: failed program was:" >&5
12593 sed 's/^/| /' conftest.
$ac_ext >&5
12595 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
12598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12601 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
12603 cat >>confdefs.h
<<\_ACEOF
12604 #define HAVE_PSINFO32_T 1
12608 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
12609 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
12611 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
12612 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
12613 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
12614 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 cat >conftest.
$ac_ext <<_ACEOF
12619 cat confdefs.h
>>conftest.
$ac_ext
12620 cat >>conftest.
$ac_ext <<_ACEOF
12621 /* end confdefs.h. */
12624 #include <sys/procfs.h>
12633 rm -f conftest.
$ac_objext
12634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12635 (eval $ac_compile) 2>conftest.er1
12637 grep -v '^ *+' conftest.er1
>conftest.err
12639 cat conftest.err
>&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } &&
12642 { ac_try
='test -z "$ac_c_werror_flag"
12643 || test ! -s conftest.err'
12644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12645 (eval $ac_try) 2>&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); }; } &&
12649 { ac_try
='test -s conftest.$ac_objext'
12650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12651 (eval $ac_try) 2>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); }; }; then
12655 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
12657 echo "$as_me: failed program was:" >&5
12658 sed 's/^/| /' conftest.
$ac_ext >&5
12660 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
12663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12666 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
12668 cat >>confdefs.h
<<\_ACEOF
12669 #define HAVE_LWPSTATUS_T 1
12673 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
12674 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
12676 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
12677 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
12678 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
12679 echo $ECHO_N "(cached) $ECHO_C" >&6
12681 cat >conftest.
$ac_ext <<_ACEOF
12684 cat confdefs.h
>>conftest.
$ac_ext
12685 cat >>conftest.
$ac_ext <<_ACEOF
12686 /* end confdefs.h. */
12689 #include <sys/procfs.h>
12698 rm -f conftest.
$ac_objext
12699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12700 (eval $ac_compile) 2>conftest.er1
12702 grep -v '^ *+' conftest.er1
>conftest.err
12704 cat conftest.err
>&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); } &&
12707 { ac_try
='test -z "$ac_c_werror_flag"
12708 || test ! -s conftest.err'
12709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12710 (eval $ac_try) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; } &&
12714 { ac_try
='test -s conftest.$ac_objext'
12715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12716 (eval $ac_try) 2>&5
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); }; }; then
12720 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
12722 echo "$as_me: failed program was:" >&5
12723 sed 's/^/| /' conftest.
$ac_ext >&5
12725 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
12728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12731 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
12733 cat >>confdefs.h
<<\_ACEOF
12734 #define HAVE_LWPXSTATUS_T 1
12738 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
12739 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
12741 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
12742 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
12743 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12746 cat >conftest.
$ac_ext <<_ACEOF
12749 cat confdefs.h
>>conftest.
$ac_ext
12750 cat >>conftest.
$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12754 #include <sys/procfs.h>
12758 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
12763 rm -f conftest.
$ac_objext
12764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12765 (eval $ac_compile) 2>conftest.er1
12767 grep -v '^ *+' conftest.er1
>conftest.err
12769 cat conftest.err
>&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); } &&
12772 { ac_try
='test -z "$ac_c_werror_flag"
12773 || test ! -s conftest.err'
12774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12775 (eval $ac_try) 2>&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); }; } &&
12779 { ac_try
='test -s conftest.$ac_objext'
12780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781 (eval $ac_try) 2>&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); }; }; then
12785 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
12787 echo "$as_me: failed program was:" >&5
12788 sed 's/^/| /' conftest.
$ac_ext >&5
12790 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
12793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12796 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
12798 cat >>confdefs.h
<<\_ACEOF
12799 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
12803 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
12804 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
12806 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
12807 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
12808 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
12809 echo $ECHO_N "(cached) $ECHO_C" >&6
12811 cat >conftest.
$ac_ext <<_ACEOF
12814 cat confdefs.h
>>conftest.
$ac_ext
12815 cat >>conftest.
$ac_ext <<_ACEOF
12816 /* end confdefs.h. */
12819 #include <sys/procfs.h>
12823 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
12828 rm -f conftest.
$ac_objext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12830 (eval $ac_compile) 2>conftest.er1
12832 grep -v '^ *+' conftest.er1
>conftest.err
12834 cat conftest.err
>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } &&
12837 { ac_try
='test -z "$ac_c_werror_flag"
12838 || test ! -s conftest.err'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; } &&
12844 { ac_try
='test -s conftest.$ac_objext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12850 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12855 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
12858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12861 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
12863 cat >>confdefs.h
<<\_ACEOF
12864 #define HAVE_LWPSTATUS_T_PR_REG 1
12868 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
12869 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
12871 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
12872 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
12873 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
12874 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 cat >conftest.
$ac_ext <<_ACEOF
12879 cat confdefs.h
>>conftest.
$ac_ext
12880 cat >>conftest.
$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12884 #include <sys/procfs.h>
12888 win32_pstatus_t avar
12893 rm -f conftest.
$ac_objext
12894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 (eval $ac_compile) 2>conftest.er1
12897 grep -v '^ *+' conftest.er1
>conftest.err
12899 cat conftest.err
>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try
='test -z "$ac_c_werror_flag"
12903 || test ! -s conftest.err'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; } &&
12909 { ac_try
='test -s conftest.$ac_objext'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; }; then
12915 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.
$ac_ext >&5
12920 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
12923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12926 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
12928 cat >>confdefs.h
<<\_ACEOF
12929 #define HAVE_WIN32_PSTATUS_T 1
12933 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
12934 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
12940 if test -n "$TRAD_HEADER"; then
12942 cat >>confdefs.h
<<_ACEOF
12943 #define TRAD_HEADER $TRAD_HEADER
12948 # Horrible hacks to build DLLs on Windows.
12953 if test "$enable_shared" = "yes"; then
12954 WIN32LDFLAGS
="-no-undefined"
12955 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
12959 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
12963 # Linux/MIPS uses PIC by default.
12964 if test "$enable_shared" = "yes"; then
12965 WIN32LIBADD
="-L../libiberty -liberty"
12969 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
12970 if test -n "$x"; then
12971 WIN32LIBADD
="-L../libiberty/pic -liberty"
12982 # Canonicalize the secondary target names.
12983 if test -n "$enable_targets" ; then
12984 for targ
in `echo $enable_targets | sed 's/,/ /g'`
12986 result
=`$ac_config_sub $targ 2>/dev/null`
12987 if test -n "$result" ; then
12988 canon_targets
="$canon_targets $result"
12990 # Allow targets that config.sub doesn't recognize, like "all".
12991 canon_targets
="$canon_targets $targ"
13002 for targ
in $target $canon_targets
13004 if test "x$targ" = "xall"; then
13006 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
13008 .
$srcdir/config.bfd
13009 if test "x$targ" = "x$target"; then
13010 defvec
=$targ_defvec
13012 selvecs
="$selvecs $targ_defvec $targ_selvecs"
13013 selarchs
="$selarchs $targ_archs"
13014 TDEFINES
="$TDEFINES $targ_cflags"
13019 # This processing still needs to be done if we're to decide properly whether
13020 # 64-bit support needs to be compiled in. Currently, it will be included if
13021 # the default or any other explicitly requested target requires it; it
13022 # will not be included on a 32-bit host if no 64-bit target is requested, and
13023 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
13026 # uniq the default and selected vectors in all the configured targets.
13028 for i
in $selvecs ; do
13037 # uniq the associated vectors in all the configured targets.
13039 for i
in $assocvecs ; do
13048 # uniq the architectures in all the configured targets.
13050 for i
in $selarchs ; do
13058 # Target backend .o files.
13061 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
13063 for vec
in $selvecs
13067 # This list is alphabetized to make it easy to compare
13068 # with the two vector lists in targets.c. For the same reason,
13069 # use one entry per line, even though this leads to long lines.
13070 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
13071 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
13072 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
13073 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
13074 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
13075 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
13076 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
13077 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
13078 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
13079 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
13080 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
13081 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
13082 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
13083 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
13084 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
13085 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
13086 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
13087 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
13088 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
13089 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
13090 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
13091 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
13092 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
13093 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
13094 bfd_elf32_bfinfdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
13095 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
13096 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
13097 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13098 bfd_elf32_bigarm_symbian_vec
)
13099 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13100 bfd_elf32_bigarm_vxworks_vec
)
13101 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13102 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13103 bfd_elf32_bigmips_vxworks_vec
)
13104 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13105 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
13106 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
13107 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
13108 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
13109 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
13110 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
13111 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
13112 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
13113 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
13114 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
13115 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13116 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13117 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13118 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
13119 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13120 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13121 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13122 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
13123 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
13124 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
13125 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
13126 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
13127 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
13128 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
13129 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
13130 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
13131 bfd_elf32_littlearm_symbian_vec
)
13132 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13133 bfd_elf32_littlearm_vxworks_vec
)
13134 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13135 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13136 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13137 bfd_elf32_littlemips_vxworks_vec
)
13138 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13139 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
13140 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13141 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13142 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13143 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13144 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
13145 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
13146 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
13147 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
13148 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
13149 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
13150 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
13151 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
13152 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
13153 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
13154 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13155 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13156 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13157 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13158 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
13159 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
13160 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
13161 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
13162 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13163 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13164 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13165 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
13166 # FIXME: We include cofflink.lo not because it's needed for
13167 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
13168 # which needs it but does not list it. Should be fixed in right place.
13169 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13170 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13171 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13172 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13173 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
13174 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
13175 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
13176 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13177 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
13178 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf32.lo $elf coff-sh.lo" ;;
13179 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13180 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13181 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13182 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
13183 bfd_elf32_sparc_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
13184 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13185 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13186 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
13187 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
13188 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
13189 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
13190 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
13191 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
13192 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
13193 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
13194 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
13195 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13196 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13197 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
13198 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
13199 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13200 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13201 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13202 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13203 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13204 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
13205 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13206 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
13207 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
13208 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13209 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13210 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13211 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13212 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13213 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13214 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
13215 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13216 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13217 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
13218 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
13219 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
13220 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
13221 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
13222 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
13223 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
13224 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
13225 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13226 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13227 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13228 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
13229 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
13230 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
13231 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
13232 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
13233 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
13234 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
13235 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
13236 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
13237 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
13238 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
13239 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
13240 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
13241 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
13242 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
13243 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
13244 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
13245 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
13246 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
13247 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
13248 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
13249 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
13250 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
13251 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
13252 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
13253 ieee_vec
) tb
="$tb ieee.lo" ;;
13254 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
13255 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
13256 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
13257 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
13258 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
13259 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
13260 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
13261 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
13262 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
13263 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
13264 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
13265 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
13266 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
13267 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
13268 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
13269 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
13270 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
13271 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
13272 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
13273 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
13274 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
13275 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
13276 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
13277 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
13278 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
13279 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
13280 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
13281 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
13282 pef_vec
) tb
="$tb pef.lo" ;;
13283 pef_xlib_vec
) tb
="$tb pef.lo" ;;
13284 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
13285 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
13286 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
13287 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
13288 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
13289 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
13290 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13291 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13292 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13293 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13294 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
13295 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
13296 som_vec
) tb
="$tb som.lo" ;;
13297 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
13298 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
13299 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
13300 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
13301 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
13302 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
13303 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
13304 sym_vec
) tb
="$tb xsym.lo" ;;
13305 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
13306 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
13307 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
13308 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13309 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
13310 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13311 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
13312 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13313 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13314 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
13315 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13316 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
13317 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13318 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
13319 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
13320 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
13321 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
13322 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
13323 versados_vec
) tb
="$tb versados.lo" ;;
13324 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
13325 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
13326 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
13327 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
13328 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
13329 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
13331 # These appear out of order in targets.c
13332 srec_vec
) tb
="$tb srec.lo" ;;
13333 symbolsrec_vec
) tb
="$tb srec.lo" ;;
13334 tekhex_vec
) tb
="$tb tekhex.lo" ;;
13335 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
13336 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
13339 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
13340 echo "$as_me: error: *** unknown target vector $vec" >&2;}
13341 { (exit 1); exit 1; }; } ;;
13344 if test ${target_size} = 64; then
13347 if test x
"${vec}" = x
"${defvec}"; then
13348 bfd_default_target_size
=${target_size}
13352 # Target architecture .o files.
13353 # A couple of CPUs use shorter file names to avoid problems on DOS
13355 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
13357 # Weed out duplicate .o files.
13379 if test x
${all_targets} = xtrue
; then
13380 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
13381 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
13385 test -n "$assocvecs" &&
13386 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13387 else # all_targets is true
13388 # Only set these if they will be nonempty, for the clever echo.
13391 test -n "$selvecs" &&
13392 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
13393 test -n "$selvecs" &&
13394 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13395 test -n "$selarchs" &&
13396 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13397 fi # all_targets is true
13399 case ${host64}-${target64}-${want64} in
13402 bfd_libs
='$(BFD64_LIBS) $(BFD32_LIBS)'
13403 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
13404 if test $BFD_HOST_64_BIT_DEFINED = 0; then
13405 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
13406 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
13407 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
13408 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
13410 if test -n "$GCC" ; then
13412 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13413 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
13414 # Add more tests for gcc versions with non-working 64-bit support here.
13415 cat >conftest.
$ac_ext <<_ACEOF
13418 cat confdefs.h
>>conftest.
$ac_ext
13419 cat >>conftest.
$ac_ext <<_ACEOF
13420 /* end confdefs.h. */
13421 :__GNUC__:__GNUC_MINOR__:__i386__:
13423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13424 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
13426 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13427 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
13429 echo "$as_me:$LINENO: result: no" >&5
13430 echo "${ECHO_T}no" >&6
13434 if test $bad_64bit_gcc = yes ; then
13435 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
13436 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
13437 { (exit 1); exit 1; }; }
13443 bfd_libs
='$(BFD32_LIBS)'
13444 all_backends
='$(BFD32_BACKENDS)'
13455 # Determine the host dependant file_ptr a.k.a. off_t type. In order
13456 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
13457 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
13458 # Hopefully a reasonable assumption since fseeko et.al. should be
13459 # upward compatible.
13465 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
13467 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13468 echo "$as_me:$LINENO: checking for $ac_func" >&5
13469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13470 if eval "test \"\${$as_ac_var+set}\" = set"; then
13471 echo $ECHO_N "(cached) $ECHO_C" >&6
13473 cat >conftest.
$ac_ext <<_ACEOF
13476 cat confdefs.h
>>conftest.
$ac_ext
13477 cat >>conftest.
$ac_ext <<_ACEOF
13478 /* end confdefs.h. */
13479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13481 #define $ac_func innocuous_$ac_func
13483 /* System header to define __stub macros and hopefully few prototypes,
13484 which can conflict with char $ac_func (); below.
13485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13486 <limits.h> exists even on freestanding compilers. */
13489 # include <limits.h>
13491 # include <assert.h>
13496 /* Override any gcc2 internal prototype to avoid an error. */
13501 /* We use char because int might match the return type of a gcc2
13502 builtin and then its argument prototype would still apply. */
13504 /* The GNU C library defines this for functions which it implements
13505 to always fail with ENOSYS. Some functions are actually named
13506 something starting with __ and the normal name is an alias. */
13507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13510 char (*f) () = $ac_func;
13519 return f != $ac_func;
13524 rm -f conftest.
$ac_objext conftest
$ac_exeext
13525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13526 (eval $ac_link) 2>conftest.er1
13528 grep -v '^ *+' conftest.er1
>conftest.err
13530 cat conftest.err
>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); } &&
13533 { ac_try
='test -z "$ac_c_werror_flag"
13534 || test ! -s conftest.err'
13535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13536 (eval $ac_try) 2>&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); }; } &&
13540 { ac_try
='test -s conftest$ac_exeext'
13541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13542 (eval $ac_try) 2>&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); }; }; then
13546 eval "$as_ac_var=yes"
13548 echo "$as_me: failed program was:" >&5
13549 sed 's/^/| /' conftest.
$ac_ext >&5
13551 eval "$as_ac_var=no"
13553 rm -f conftest.err conftest.
$ac_objext \
13554 conftest
$ac_exeext conftest.
$ac_ext
13556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13558 if test `eval echo '${'$as_ac_var'}'` = yes; then
13559 cat >>confdefs.h
<<_ACEOF
13560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13566 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
13567 echo "$as_me:$LINENO: checking for off_t" >&5
13568 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13569 if test "${ac_cv_type_off_t+set}" = set; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13572 cat >conftest.
$ac_ext <<_ACEOF
13575 cat confdefs.h
>>conftest.
$ac_ext
13576 cat >>conftest.
$ac_ext <<_ACEOF
13577 /* end confdefs.h. */
13578 $ac_includes_default
13584 if (sizeof (off_t))
13590 rm -f conftest.
$ac_objext
13591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13592 (eval $ac_compile) 2>conftest.er1
13594 grep -v '^ *+' conftest.er1
>conftest.err
13596 cat conftest.err
>&5
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); } &&
13599 { ac_try
='test -z "$ac_c_werror_flag"
13600 || test ! -s conftest.err'
13601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13602 (eval $ac_try) 2>&5
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); }; } &&
13606 { ac_try
='test -s conftest.$ac_objext'
13607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13608 (eval $ac_try) 2>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); }; }; then
13612 ac_cv_type_off_t
=yes
13614 echo "$as_me: failed program was:" >&5
13615 sed 's/^/| /' conftest.
$ac_ext >&5
13617 ac_cv_type_off_t
=no
13619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13621 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13622 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13624 echo "$as_me:$LINENO: checking size of off_t" >&5
13625 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
13626 if test "${ac_cv_sizeof_off_t+set}" = set; then
13627 echo $ECHO_N "(cached) $ECHO_C" >&6
13629 if test "$ac_cv_type_off_t" = yes; then
13630 # The cast to unsigned long works around a bug in the HP C Compiler
13631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13633 # This bug is HP SR number 8606223364.
13634 if test "$cross_compiling" = yes; then
13635 # Depending upon the size, compute the lo and hi bounds.
13636 cat >conftest.
$ac_ext <<_ACEOF
13639 cat confdefs.h
>>conftest.
$ac_ext
13640 cat >>conftest.
$ac_ext <<_ACEOF
13641 /* end confdefs.h. */
13642 $ac_includes_default
13646 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
13653 rm -f conftest.
$ac_objext
13654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13655 (eval $ac_compile) 2>conftest.er1
13657 grep -v '^ *+' conftest.er1
>conftest.err
13659 cat conftest.err
>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); } &&
13662 { ac_try
='test -z "$ac_c_werror_flag"
13663 || test ! -s conftest.err'
13664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13665 (eval $ac_try) 2>&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); }; } &&
13669 { ac_try
='test -s conftest.$ac_objext'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; }; then
13677 cat >conftest.
$ac_ext <<_ACEOF
13680 cat confdefs.h
>>conftest.
$ac_ext
13681 cat >>conftest.
$ac_ext <<_ACEOF
13682 /* end confdefs.h. */
13683 $ac_includes_default
13687 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
13694 rm -f conftest.
$ac_objext
13695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13696 (eval $ac_compile) 2>conftest.er1
13698 grep -v '^ *+' conftest.er1
>conftest.err
13700 cat conftest.err
>&5
13701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 (exit $ac_status); } &&
13703 { ac_try
='test -z "$ac_c_werror_flag"
13704 || test ! -s conftest.err'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; } &&
13710 { ac_try
='test -s conftest.$ac_objext'
13711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13712 (eval $ac_try) 2>&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); }; }; then
13716 ac_hi
=$ac_mid; break
13718 echo "$as_me: failed program was:" >&5
13719 sed 's/^/| /' conftest.
$ac_ext >&5
13721 ac_lo
=`expr $ac_mid + 1`
13722 if test $ac_lo -le $ac_mid; then
13726 ac_mid
=`expr 2 '*' $ac_mid + 1`
13728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13731 echo "$as_me: failed program was:" >&5
13732 sed 's/^/| /' conftest.
$ac_ext >&5
13734 cat >conftest.
$ac_ext <<_ACEOF
13737 cat confdefs.h
>>conftest.
$ac_ext
13738 cat >>conftest.
$ac_ext <<_ACEOF
13739 /* end confdefs.h. */
13740 $ac_includes_default
13744 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
13751 rm -f conftest.
$ac_objext
13752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13753 (eval $ac_compile) 2>conftest.er1
13755 grep -v '^ *+' conftest.er1
>conftest.err
13757 cat conftest.err
>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } &&
13760 { ac_try
='test -z "$ac_c_werror_flag"
13761 || test ! -s conftest.err'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; } &&
13767 { ac_try
='test -s conftest.$ac_objext'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; }; then
13775 cat >conftest.
$ac_ext <<_ACEOF
13778 cat confdefs.h
>>conftest.
$ac_ext
13779 cat >>conftest.
$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13781 $ac_includes_default
13785 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
13792 rm -f conftest.
$ac_objext
13793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13794 (eval $ac_compile) 2>conftest.er1
13796 grep -v '^ *+' conftest.er1
>conftest.err
13798 cat conftest.err
>&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); } &&
13801 { ac_try
='test -z "$ac_c_werror_flag"
13802 || test ! -s conftest.err'
13803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804 (eval $ac_try) 2>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; } &&
13808 { ac_try
='test -s conftest.$ac_objext'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; }; then
13814 ac_lo
=$ac_mid; break
13816 echo "$as_me: failed program was:" >&5
13817 sed 's/^/| /' conftest.
$ac_ext >&5
13819 ac_hi
=`expr '(' $ac_mid ')' - 1`
13820 if test $ac_mid -le $ac_hi; then
13824 ac_mid
=`expr 2 '*' $ac_mid`
13826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.
$ac_ext >&5
13834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13837 # Binary search between lo and hi bounds.
13838 while test "x$ac_lo" != "x$ac_hi"; do
13839 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13840 cat >conftest.
$ac_ext <<_ACEOF
13843 cat confdefs.h
>>conftest.
$ac_ext
13844 cat >>conftest.
$ac_ext <<_ACEOF
13845 /* end confdefs.h. */
13846 $ac_includes_default
13850 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
13857 rm -f conftest.
$ac_objext
13858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13859 (eval $ac_compile) 2>conftest.er1
13861 grep -v '^ *+' conftest.er1
>conftest.err
13863 cat conftest.err
>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } &&
13866 { ac_try
='test -z "$ac_c_werror_flag"
13867 || test ! -s conftest.err'
13868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13869 (eval $ac_try) 2>&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); }; } &&
13873 { ac_try
='test -s conftest.$ac_objext'
13874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13875 (eval $ac_try) 2>&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); }; }; then
13881 echo "$as_me: failed program was:" >&5
13882 sed 's/^/| /' conftest.
$ac_ext >&5
13884 ac_lo
=`expr '(' $ac_mid ')' + 1`
13886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13889 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
13890 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
13891 See \`config.log' for more details." >&5
13892 echo "$as_me: error: cannot compute sizeof (off_t), 77
13893 See \`config.log' for more details." >&2;}
13894 { (exit 1); exit 1; }; } ;;
13897 if test "$cross_compiling" = yes; then
13898 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13899 See \`config.log' for more details." >&5
13900 echo "$as_me: error: cannot run test program while cross compiling
13901 See \`config.log' for more details." >&2;}
13902 { (exit 1); exit 1; }; }
13904 cat >conftest.
$ac_ext <<_ACEOF
13907 cat confdefs.h
>>conftest.
$ac_ext
13908 cat >>conftest.
$ac_ext <<_ACEOF
13909 /* end confdefs.h. */
13910 $ac_includes_default
13911 long longval () { return (long) (sizeof (off_t)); }
13912 unsigned long ulongval () { return (long) (sizeof (off_t)); }
13914 #include <stdlib.h>
13919 FILE *f = fopen ("conftest.val", "w");
13922 if (((long) (sizeof (off_t))) < 0)
13924 long i = longval ();
13925 if (i != ((long) (sizeof (off_t))))
13927 fprintf (f, "%ld\n", i);
13931 unsigned long i = ulongval ();
13932 if (i != ((long) (sizeof (off_t))))
13934 fprintf (f, "%lu\n", i);
13936 exit (ferror (f) || fclose (f) != 0);
13942 rm -f conftest
$ac_exeext
13943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13944 (eval $ac_link) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13949 (eval $ac_try) 2>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); }; }; then
13953 ac_cv_sizeof_off_t
=`cat conftest.val`
13955 echo "$as_me: program exited with status $ac_status" >&5
13956 echo "$as_me: failed program was:" >&5
13957 sed 's/^/| /' conftest.
$ac_ext >&5
13959 ( exit $ac_status )
13960 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
13961 See \`config.log' for more details." >&5
13962 echo "$as_me: error: cannot compute sizeof (off_t), 77
13963 See \`config.log' for more details." >&2;}
13964 { (exit 1); exit 1; }; }
13966 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13971 ac_cv_sizeof_off_t
=0
13974 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
13975 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
13976 cat >>confdefs.h
<<_ACEOF
13977 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
13982 echo "$as_me:$LINENO: checking file_ptr type" >&5
13983 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
13984 bfd_file_ptr
="long"
13985 bfd_ufile_ptr
="unsigned long"
13986 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
13987 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
13988 bfd_file_ptr
=BFD_HOST_64_BIT
13989 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
13991 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
13992 echo "${ECHO_T}$bfd_file_ptr" >&6
13998 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
13999 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
14000 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
14001 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
14002 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
14007 for ac_header
in stdlib.h unistd.h
14009 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14011 echo "$as_me:$LINENO: checking for $ac_header" >&5
14012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14014 echo $ECHO_N "(cached) $ECHO_C" >&6
14016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14019 # Is the header compilable?
14020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14022 cat >conftest.
$ac_ext <<_ACEOF
14025 cat confdefs.h
>>conftest.
$ac_ext
14026 cat >>conftest.
$ac_ext <<_ACEOF
14027 /* end confdefs.h. */
14028 $ac_includes_default
14029 #include <$ac_header>
14031 rm -f conftest.
$ac_objext
14032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14033 (eval $ac_compile) 2>conftest.er1
14035 grep -v '^ *+' conftest.er1
>conftest.err
14037 cat conftest.err
>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } &&
14040 { ac_try
='test -z "$ac_c_werror_flag"
14041 || test ! -s conftest.err'
14042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14043 (eval $ac_try) 2>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); }; } &&
14047 { ac_try
='test -s conftest.$ac_objext'
14048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14049 (eval $ac_try) 2>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; }; then
14053 ac_header_compiler
=yes
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.
$ac_ext >&5
14058 ac_header_compiler
=no
14060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14062 echo "${ECHO_T}$ac_header_compiler" >&6
14064 # Is the header present?
14065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14067 cat >conftest.
$ac_ext <<_ACEOF
14070 cat confdefs.h
>>conftest.
$ac_ext
14071 cat >>conftest.
$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14073 #include <$ac_header>
14075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14076 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14078 grep -v '^ *+' conftest.er1
>conftest.err
14080 cat conftest.err
>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } >/dev
/null
; then
14083 if test -s conftest.err
; then
14084 ac_cpp_err
=$ac_c_preproc_warn_flag
14085 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14092 if test -z "$ac_cpp_err"; then
14093 ac_header_preproc
=yes
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.
$ac_ext >&5
14098 ac_header_preproc
=no
14100 rm -f conftest.err conftest.
$ac_ext
14101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14102 echo "${ECHO_T}$ac_header_preproc" >&6
14104 # So? What about this header?
14105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14111 ac_header_preproc
=yes
14114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14118 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14119 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14120 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14121 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14124 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14125 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14128 ## ------------------------------------------ ##
14129 ## Report this to the AC_PACKAGE_NAME lists. ##
14130 ## ------------------------------------------ ##
14133 sed "s/^/$as_me: WARNING: /" >&2
14136 echo "$as_me:$LINENO: checking for $ac_header" >&5
14137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14141 eval "$as_ac_Header=\$ac_header_preproc"
14143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14147 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14148 cat >>confdefs.h
<<_ACEOF
14149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14157 for ac_func
in getpagesize
14159 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14160 echo "$as_me:$LINENO: checking for $ac_func" >&5
14161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14162 if eval "test \"\${$as_ac_var+set}\" = set"; then
14163 echo $ECHO_N "(cached) $ECHO_C" >&6
14165 cat >conftest.
$ac_ext <<_ACEOF
14168 cat confdefs.h
>>conftest.
$ac_ext
14169 cat >>conftest.
$ac_ext <<_ACEOF
14170 /* end confdefs.h. */
14171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14173 #define $ac_func innocuous_$ac_func
14175 /* System header to define __stub macros and hopefully few prototypes,
14176 which can conflict with char $ac_func (); below.
14177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14178 <limits.h> exists even on freestanding compilers. */
14181 # include <limits.h>
14183 # include <assert.h>
14188 /* Override any gcc2 internal prototype to avoid an error. */
14193 /* We use char because int might match the return type of a gcc2
14194 builtin and then its argument prototype would still apply. */
14196 /* The GNU C library defines this for functions which it implements
14197 to always fail with ENOSYS. Some functions are actually named
14198 something starting with __ and the normal name is an alias. */
14199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14202 char (*f) () = $ac_func;
14211 return f != $ac_func;
14216 rm -f conftest.
$ac_objext conftest
$ac_exeext
14217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14218 (eval $ac_link) 2>conftest.er1
14220 grep -v '^ *+' conftest.er1
>conftest.err
14222 cat conftest.err
>&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); } &&
14225 { ac_try
='test -z "$ac_c_werror_flag"
14226 || test ! -s conftest.err'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; } &&
14232 { ac_try
='test -s conftest$ac_exeext'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; }; then
14238 eval "$as_ac_var=yes"
14240 echo "$as_me: failed program was:" >&5
14241 sed 's/^/| /' conftest.
$ac_ext >&5
14243 eval "$as_ac_var=no"
14245 rm -f conftest.err conftest.
$ac_objext \
14246 conftest
$ac_exeext conftest.
$ac_ext
14248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14250 if test `eval echo '${'$as_ac_var'}'` = yes; then
14251 cat >>confdefs.h
<<_ACEOF
14252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14258 echo "$as_me:$LINENO: checking for working mmap" >&5
14259 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14260 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 if test "$cross_compiling" = yes; then
14264 ac_cv_func_mmap_fixed_mapped
=no
14266 cat >conftest.
$ac_ext <<_ACEOF
14269 cat confdefs.h
>>conftest.
$ac_ext
14270 cat >>conftest.
$ac_ext <<_ACEOF
14271 /* end confdefs.h. */
14272 $ac_includes_default
14273 /* malloc might have been renamed as rpl_malloc. */
14276 /* Thanks to Mike Haertel and Jim Avera for this test.
14277 Here is a matrix of mmap possibilities:
14278 mmap private not fixed
14279 mmap private fixed at somewhere currently unmapped
14280 mmap private fixed at somewhere already mapped
14281 mmap shared not fixed
14282 mmap shared fixed at somewhere currently unmapped
14283 mmap shared fixed at somewhere already mapped
14284 For private mappings, we should verify that changes cannot be read()
14285 back from the file, nor mmap's back from the file at a different
14286 address. (There have been systems where private was not correctly
14287 implemented like the infamous i386 svr4.0, and systems where the
14288 VM page cache was not coherent with the file system buffer cache
14289 like early versions of FreeBSD and possibly contemporary NetBSD.)
14290 For shared mappings, we should conversely verify that changes get
14291 propagated back to all the places they're supposed to be.
14293 Grep wants private fixed already mapped.
14294 The main things grep needs to know about mmap are:
14295 * does it exist and is it safe to write into the mmap'd area
14296 * how to use it (BSD variants) */
14299 #include <sys/mman.h>
14301 #if !STDC_HEADERS && !HAVE_STDLIB_H
14305 /* This mess was copied from the GNU getpagesize.h. */
14306 #if !HAVE_GETPAGESIZE
14307 /* Assume that all systems that can run configure have sys/param.h. */
14308 # if !HAVE_SYS_PARAM_H
14309 # define HAVE_SYS_PARAM_H 1
14312 # ifdef _SC_PAGESIZE
14313 # define getpagesize() sysconf(_SC_PAGESIZE)
14314 # else /* no _SC_PAGESIZE */
14315 # if HAVE_SYS_PARAM_H
14316 # include <sys/param.h>
14317 # ifdef EXEC_PAGESIZE
14318 # define getpagesize() EXEC_PAGESIZE
14319 # else /* no EXEC_PAGESIZE */
14321 # define getpagesize() NBPG * CLSIZE
14324 # endif /* no CLSIZE */
14325 # else /* no NBPG */
14327 # define getpagesize() NBPC
14328 # else /* no NBPC */
14330 # define getpagesize() PAGESIZE
14331 # endif /* PAGESIZE */
14332 # endif /* no NBPC */
14333 # endif /* no NBPG */
14334 # endif /* no EXEC_PAGESIZE */
14335 # else /* no HAVE_SYS_PARAM_H */
14336 # define getpagesize() 8192 /* punt totally */
14337 # endif /* no HAVE_SYS_PARAM_H */
14338 # endif /* no _SC_PAGESIZE */
14340 #endif /* no HAVE_GETPAGESIZE */
14345 char *data, *data2, *data3;
14349 pagesize = getpagesize ();
14351 /* First, make a file with some known garbage in it. */
14352 data = (char *) malloc (pagesize);
14355 for (i = 0; i < pagesize; ++i)
14356 *(data + i) = rand ();
14358 fd = creat ("conftest.mmap", 0600);
14361 if (write (fd, data, pagesize) != pagesize)
14365 /* Next, try to mmap the file at a fixed address which already has
14366 something else allocated at it. If we can, also make sure that
14367 we see the same garbage. */
14368 fd = open ("conftest.mmap", O_RDWR);
14371 data2 = (char *) malloc (2 * pagesize);
14374 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14375 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14376 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14378 for (i = 0; i < pagesize; ++i)
14379 if (*(data + i) != *(data2 + i))
14382 /* Finally, make sure that changes to the mapped area do not
14383 percolate back to the file as seen by read(). (This is a bug on
14384 some variants of i386 svr4.0.) */
14385 for (i = 0; i < pagesize; ++i)
14386 *(data2 + i) = *(data2 + i) + 1;
14387 data3 = (char *) malloc (pagesize);
14390 if (read (fd, data3, pagesize) != pagesize)
14392 for (i = 0; i < pagesize; ++i)
14393 if (*(data + i) != *(data3 + i))
14399 rm -f conftest
$ac_exeext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14401 (eval $ac_link) 2>&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; }; then
14410 ac_cv_func_mmap_fixed_mapped
=yes
14412 echo "$as_me: program exited with status $ac_status" >&5
14413 echo "$as_me: failed program was:" >&5
14414 sed 's/^/| /' conftest.
$ac_ext >&5
14416 ( exit $ac_status )
14417 ac_cv_func_mmap_fixed_mapped
=no
14419 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14422 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14423 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14424 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14426 cat >>confdefs.h
<<\_ACEOF
14427 #define HAVE_MMAP 1
14431 rm -f conftest.mmap
14435 for ac_func
in madvise mprotect
14437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14438 echo "$as_me:$LINENO: checking for $ac_func" >&5
14439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14440 if eval "test \"\${$as_ac_var+set}\" = set"; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 cat >conftest.
$ac_ext <<_ACEOF
14446 cat confdefs.h
>>conftest.
$ac_ext
14447 cat >>conftest.
$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14451 #define $ac_func innocuous_$ac_func
14453 /* System header to define __stub macros and hopefully few prototypes,
14454 which can conflict with char $ac_func (); below.
14455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14456 <limits.h> exists even on freestanding compilers. */
14459 # include <limits.h>
14461 # include <assert.h>
14466 /* Override any gcc2 internal prototype to avoid an error. */
14471 /* We use char because int might match the return type of a gcc2
14472 builtin and then its argument prototype would still apply. */
14474 /* The GNU C library defines this for functions which it implements
14475 to always fail with ENOSYS. Some functions are actually named
14476 something starting with __ and the normal name is an alias. */
14477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14480 char (*f) () = $ac_func;
14489 return f != $ac_func;
14494 rm -f conftest.
$ac_objext conftest
$ac_exeext
14495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14496 (eval $ac_link) 2>conftest.er1
14498 grep -v '^ *+' conftest.er1
>conftest.err
14500 cat conftest.err
>&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); } &&
14503 { ac_try
='test -z "$ac_c_werror_flag"
14504 || test ! -s conftest.err'
14505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14506 (eval $ac_try) 2>&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); }; } &&
14510 { ac_try
='test -s conftest$ac_exeext'
14511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14512 (eval $ac_try) 2>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; }; then
14516 eval "$as_ac_var=yes"
14518 echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.
$ac_ext >&5
14521 eval "$as_ac_var=no"
14523 rm -f conftest.err conftest.
$ac_objext \
14524 conftest
$ac_exeext conftest.
$ac_ext
14526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14528 if test `eval echo '${'$as_ac_var'}'` = yes; then
14529 cat >>confdefs.h
<<_ACEOF
14530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14536 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
14538 cat >>confdefs.h
<<\_ACEOF
14544 rm -f doc
/config.status
14545 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
14547 ac_config_commands
="$ac_config_commands default"
14554 cat >confcache
<<\_ACEOF
14555 # This file is a shell script that caches the results of configure
14556 # tests run on this system so they can be shared between configure
14557 # scripts and configure runs, see configure's option --config-cache.
14558 # It is not useful on other systems. If it contains results you don't
14559 # want to keep, you may remove or edit it.
14561 # config.status only pays attention to the cache file if you give it
14562 # the --recheck option to rerun configure.
14564 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14565 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14566 # following values.
14570 # The following way of writing the cache mishandles newlines in values,
14571 # but we know of no workaround that is simple, portable, and efficient.
14572 # So, don't put newlines in cache variables' values.
14573 # Ultrix sh set writes to stderr and can't be redirected directly,
14574 # and sets the high bit in the cache file unless we assign to the vars.
14577 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14579 # `set' does not quote correctly, so add quotes (double-quote
14580 # substitution turns \\\\ into \\, and sed turns \\ into \).
14583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14586 # `set' quotes correctly as required by POSIX, so do not add quotes.
14588 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14595 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14597 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14599 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
14600 if test -w $cache_file; then
14601 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14602 cat confcache
>$cache_file
14604 echo "not updating unwritable cache $cache_file"
14609 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14610 # Let make expand exec_prefix.
14611 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14613 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14615 # trailing colons and then remove the whole line if VPATH becomes empty
14616 # (actually we leave an empty line to preserve line numbers).
14617 if test "x$srcdir" = x.
; then
14618 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14619 s/:*\$(srcdir):*/:/;
14620 s/:*\${srcdir}:*/:/;
14622 s/^\([^=]*=[ ]*\):*/\1/;
14628 DEFS
=-DHAVE_CONFIG_H
14632 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14633 # 1. Remove the extension, and $U if already installed.
14634 ac_i
=`echo "$ac_i" |
14635 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14637 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
14638 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
14640 LIBOBJS
=$ac_libobjs
14642 LTLIBOBJS
=$ac_ltlibobjs
14645 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14646 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14647 Usually this means the macro was only invoked conditionally." >&5
14648 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14649 Usually this means the macro was only invoked conditionally." >&2;}
14650 { (exit 1); exit 1; }; }
14652 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14653 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14654 Usually this means the macro was only invoked conditionally." >&5
14655 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14656 Usually this means the macro was only invoked conditionally." >&2;}
14657 { (exit 1); exit 1; }; }
14659 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14660 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14661 Usually this means the macro was only invoked conditionally." >&5
14662 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14663 Usually this means the macro was only invoked conditionally." >&2;}
14664 { (exit 1); exit 1; }; }
14666 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
14667 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
14668 Usually this means the macro was only invoked conditionally." >&5
14669 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
14670 Usually this means the macro was only invoked conditionally." >&2;}
14671 { (exit 1); exit 1; }; }
14674 : ${CONFIG_STATUS=./config.status}
14675 ac_clean_files_save
=$ac_clean_files
14676 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14677 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14678 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14679 cat >$CONFIG_STATUS <<_ACEOF
14681 # Generated by $as_me.
14682 # Run this file to recreate the current configuration.
14683 # Compiler output produced by configure, useful for debugging
14684 # configure, is in config.log if it exists.
14687 ac_cs_recheck=false
14689 SHELL=\${CONFIG_SHELL-$SHELL}
14692 cat >>$CONFIG_STATUS <<\_ACEOF
14693 ## --------------------- ##
14694 ## M4sh Initialization. ##
14695 ## --------------------- ##
14697 # Be Bourne compatible
14698 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14701 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14702 # is contrary to our usage. Disable this feature.
14703 alias -g '${1+"$@"}'='"$@"'
14704 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
14707 DUALCASE
=1; export DUALCASE
# for MKS sh
14709 # Support unset when possible.
14710 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
14717 # Work around bugs in pre-3.0 UWIN ksh.
14718 $as_unset ENV MAIL MAILPATH
14725 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14726 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14727 LC_TELEPHONE LC_TIME
14729 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14730 eval $as_var=C
; export $as_var
14736 # Required to use basename.
14737 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14743 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
14744 as_basename
=basename
14750 # Name of the executable.
14751 as_me
=`$as_basename "$0" ||
14752 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14753 X"$0" : 'X\(//\)$' \| \
14754 X"$0" : 'X\(/\)$' \| \
14755 . : '\(.\)' 2>/dev/null ||
14757 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14758 /^X\/\(\/\/\)$/{ s//\1/; q; }
14759 /^X\/\(\/\).*/{ s//\1/; q; }
14763 # PATH needs CR, and LINENO needs CR and PATH.
14764 # Avoid depending upon Character Ranges.
14765 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14766 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14767 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14768 as_cr_digits
='0123456789'
14769 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14771 # The user is always right.
14772 if test "${PATH_SEPARATOR+set}" != set; then
14773 echo "#! /bin/sh" >conf$$.sh
14774 echo "exit 0" >>conf$$.sh
14776 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14785 as_lineno_1
=$LINENO
14786 as_lineno_2
=$LINENO
14787 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14788 test "x$as_lineno_1" != "x$as_lineno_2" &&
14789 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14790 # Find who we are. Look in the path if we contain no path at all
14793 *[\\/]* ) as_myself
=$0 ;;
14794 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14795 for as_dir
in $PATH
14798 test -z "$as_dir" && as_dir
=.
14799 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14804 # We did not find ourselves, most probably we were run as `sh COMMAND'
14805 # in which case we are not to be found in the path.
14806 if test "x$as_myself" = x
; then
14809 if test ! -f "$as_myself"; then
14810 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14811 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14812 { (exit 1); exit 1; }; }
14814 case $CONFIG_SHELL in
14816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14817 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14820 test -z "$as_dir" && as_dir
=.
14821 for as_base
in sh bash ksh sh5
; do
14824 if ("$as_dir/$as_base" -c '
14825 as_lineno_1=$LINENO
14826 as_lineno_2=$LINENO
14827 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14828 test "x$as_lineno_1" != "x$as_lineno_2" &&
14829 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14830 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
14831 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
14832 CONFIG_SHELL
=$as_dir/$as_base
14833 export CONFIG_SHELL
14834 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14842 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14843 # uniformly replaced by the line number. The first 'sed' inserts a
14844 # line-number line before each line; the second 'sed' does the real
14845 # work. The second script uses 'N' to pair each line-number line
14846 # with the numbered line, and appends trailing '-' during
14847 # substitution so that $LINENO is not a special case at line end.
14848 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14849 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14850 sed '=' <$as_myself |
14855 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14858 s,^['$as_cr_digits']*\n,,
14859 ' >$as_me.lineno
&&
14860 chmod +x
$as_me.lineno ||
14861 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14862 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14863 { (exit 1); exit 1; }; }
14865 # Don't try to exec as it changes $[0], causing all sort of problems
14866 # (the dirname of $[0] is not the place where we might find the
14867 # original and so on. Autoconf is especially sensible to this).
14869 # Exit status is that of the last command.
14874 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14875 *c
*,-n*) ECHO_N
= ECHO_C
='
14877 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14878 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14881 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14887 rm -f conf$$ conf$$.exe conf$$.
file
14889 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14890 # We could just check for DJGPP; but this test a) works b) is more generic
14891 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14892 if test -f conf$$.exe
; then
14893 # Don't use ln at all; we don't have any links
14898 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14903 rm -f conf$$ conf$$.exe conf$$.
file
14905 if mkdir
-p .
2>/dev
/null
; then
14908 test -d .
/-p && rmdir .
/-p
14912 as_executable_p
="test -f"
14914 # Sed expression to map a string onto a valid CPP name.
14915 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14917 # Sed expression to map a string onto a valid variable name.
14918 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14922 # We need space, tab and new line, in precisely that order.
14932 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14933 # report actual input values of CONFIG_FILES etc. instead of their
14934 # values after options handling. Logging --version etc. is OK.
14938 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14939 ## Running $as_me. ##
14944 This file was extended by $as_me, which was
14945 generated by GNU Autoconf 2.59. Invocation command line was
14947 CONFIG_FILES = $CONFIG_FILES
14948 CONFIG_HEADERS = $CONFIG_HEADERS
14949 CONFIG_LINKS = $CONFIG_LINKS
14950 CONFIG_COMMANDS = $CONFIG_COMMANDS
14954 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14958 # Files that config.status was made for.
14959 if test -n "$ac_config_files"; then
14960 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14963 if test -n "$ac_config_headers"; then
14964 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14967 if test -n "$ac_config_links"; then
14968 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14971 if test -n "$ac_config_commands"; then
14972 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14975 cat >>$CONFIG_STATUS <<\_ACEOF
14978 \`$as_me' instantiates files from templates according to the
14979 current configuration.
14981 Usage: $0 [OPTIONS] [FILE]...
14983 -h, --help print this help, then exit
14984 -V, --version print version number, then exit
14985 -q, --quiet do not print progress messages
14986 -d, --debug don't remove temporary files
14987 --recheck update $as_me by reconfiguring in the same conditions
14988 --file=FILE[:TEMPLATE]
14989 instantiate the configuration file FILE
14990 --header=FILE[:TEMPLATE]
14991 instantiate the configuration header FILE
14993 Configuration files:
14996 Configuration headers:
14999 Configuration commands:
15002 Report bugs to <bug-autoconf@gnu.org>."
15005 cat >>$CONFIG_STATUS <<_ACEOF
15008 configured by $0, generated by GNU Autoconf 2.59,
15009 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15011 Copyright (C) 2003 Free Software Foundation, Inc.
15012 This config.status script is free software; the Free Software Foundation
15013 gives unlimited permission to copy, distribute and modify it."
15018 cat >>$CONFIG_STATUS <<\_ACEOF
15019 # If no file are specified by the user, then we need to provide default
15020 # value. By we need to know if files were specified by the user.
15026 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15027 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15035 *) # This is not an option, so the user has probably given explicit
15038 ac_need_defaults
=false
;;
15042 # Handling of the options.
15044 cat >>$CONFIG_STATUS <<\_ACEOF
15045 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15047 --version |
--vers* |
-V )
15048 echo "$ac_cs_version"; exit 0 ;;
15050 # Conflict between --help and --header
15051 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15052 Try \`$0 --help' for more information." >&5
15053 echo "$as_me: error: ambiguous option: $1
15054 Try \`$0 --help' for more information." >&2;}
15055 { (exit 1); exit 1; }; };;
15056 --help |
--hel |
-h )
15057 echo "$ac_cs_usage"; exit 0 ;;
15058 --debug |
--d* |
-d )
15060 --file |
--fil |
--fi |
--f )
15062 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15063 ac_need_defaults
=false
;;
15064 --header |
--heade |
--head |
--hea )
15066 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15067 ac_need_defaults
=false
;;
15068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15069 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15072 # This is an error.
15073 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15074 Try \`$0 --help' for more information." >&5
15075 echo "$as_me: error: unrecognized option: $1
15076 Try \`$0 --help' for more information." >&2;}
15077 { (exit 1); exit 1; }; } ;;
15079 *) ac_config_targets
="$ac_config_targets $1" ;;
15085 ac_configure_extra_args
=
15087 if $ac_cs_silent; then
15089 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15093 cat >>$CONFIG_STATUS <<_ACEOF
15094 if \$ac_cs_recheck; then
15095 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15096 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15101 cat >>$CONFIG_STATUS <<_ACEOF
15103 # INIT-COMMANDS section.
15106 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15113 cat >>$CONFIG_STATUS <<\_ACEOF
15114 for ac_config_target
in $ac_config_targets
15116 case "$ac_config_target" in
15117 # Handling of arguments.
15118 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15119 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15120 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15121 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15122 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15123 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15124 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15125 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15126 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15127 { (exit 1); exit 1; }; };;
15131 # If the user did not use the arguments to specify the items to instantiate,
15132 # then the envvar interface is used. Set only those that are not.
15133 # We use the long form for the default assignment because of an extremely
15134 # bizarre bug on SunOS 4.1.3.
15135 if $ac_need_defaults; then
15136 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15137 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15138 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15141 # Have a temporary directory for convenience. Make it in the build tree
15142 # simply because there is no reason to put it here, and in addition,
15143 # creating and moving files from /tmp can sometimes cause problems.
15144 # Create a temporary directory, and hook for its removal unless debugging.
15147 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15148 trap '{ (exit 1); exit 1; }' 1 2 13 15
15151 # Create a (secure) tmp directory for tmp files.
15154 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15155 test -n "$tmp" && test -d "$tmp"
15158 tmp
=.
/confstat$$
-$RANDOM
15159 (umask 077 && mkdir
$tmp)
15162 echo "$me: cannot create a temporary directory in ." >&2
15163 { (exit 1); exit 1; }
15168 cat >>$CONFIG_STATUS <<_ACEOF
15171 # CONFIG_FILES section.
15174 # No need to generate the scripts if there are no CONFIG_FILES.
15175 # This happens for instance when ./config.status config.h
15176 if test -n "\$CONFIG_FILES"; then
15177 # Protect against being on the right side of a sed subst in config.status.
15178 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15179 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15180 s,@SHELL@,$SHELL,;t t
15181 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15182 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15183 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15184 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15185 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15186 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15187 s,@exec_prefix@,$exec_prefix,;t t
15188 s,@prefix@,$prefix,;t t
15189 s,@program_transform_name@,$program_transform_name,;t t
15190 s,@bindir@,$bindir,;t t
15191 s,@sbindir@,$sbindir,;t t
15192 s,@libexecdir@,$libexecdir,;t t
15193 s,@datadir@,$datadir,;t t
15194 s,@sysconfdir@,$sysconfdir,;t t
15195 s,@sharedstatedir@,$sharedstatedir,;t t
15196 s,@localstatedir@,$localstatedir,;t t
15197 s,@libdir@,$libdir,;t t
15198 s,@includedir@,$includedir,;t t
15199 s,@oldincludedir@,$oldincludedir,;t t
15200 s,@infodir@,$infodir,;t t
15201 s,@mandir@,$mandir,;t t
15202 s,@build_alias@,$build_alias,;t t
15203 s,@host_alias@,$host_alias,;t t
15204 s,@target_alias@,$target_alias,;t t
15205 s,@DEFS@,$DEFS,;t t
15206 s,@ECHO_C@,$ECHO_C,;t t
15207 s,@ECHO_N@,$ECHO_N,;t t
15208 s,@ECHO_T@,$ECHO_T,;t t
15209 s,@LIBS@,$LIBS,;t t
15210 s,@build@,$build,;t t
15211 s,@build_cpu@,$build_cpu,;t t
15212 s,@build_vendor@,$build_vendor,;t t
15213 s,@build_os@,$build_os,;t t
15214 s,@host@,$host,;t t
15215 s,@host_cpu@,$host_cpu,;t t
15216 s,@host_vendor@,$host_vendor,;t t
15217 s,@host_os@,$host_os,;t t
15218 s,@target@,$target,;t t
15219 s,@target_cpu@,$target_cpu,;t t
15220 s,@target_vendor@,$target_vendor,;t t
15221 s,@target_os@,$target_os,;t t
15223 s,@CFLAGS@,$CFLAGS,;t t
15224 s,@LDFLAGS@,$LDFLAGS,;t t
15225 s,@CPPFLAGS@,$CPPFLAGS,;t t
15226 s,@ac_ct_CC@,$ac_ct_CC,;t t
15227 s,@EXEEXT@,$EXEEXT,;t t
15228 s,@OBJEXT@,$OBJEXT,;t t
15229 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15230 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15231 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15232 s,@CYGPATH_W@,$CYGPATH_W,;t t
15233 s,@PACKAGE@,$PACKAGE,;t t
15234 s,@VERSION@,$VERSION,;t t
15235 s,@ACLOCAL@,$ACLOCAL,;t t
15236 s,@AUTOCONF@,$AUTOCONF,;t t
15237 s,@AUTOMAKE@,$AUTOMAKE,;t t
15238 s,@AUTOHEADER@,$AUTOHEADER,;t t
15239 s,@MAKEINFO@,$MAKEINFO,;t t
15240 s,@install_sh@,$install_sh,;t t
15241 s,@STRIP@,$STRIP,;t t
15242 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15243 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15244 s,@mkdir_p@,$mkdir_p,;t t
15246 s,@SET_MAKE@,$SET_MAKE,;t t
15247 s,@am__leading_dot@,$am__leading_dot,;t t
15248 s,@AMTAR@,$AMTAR,;t t
15249 s,@am__tar@,$am__tar,;t t
15250 s,@am__untar@,$am__untar,;t t
15251 s,@DEPDIR@,$DEPDIR,;t t
15252 s,@am__include@,$am__include,;t t
15253 s,@am__quote@,$am__quote,;t t
15254 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15255 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15256 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15257 s,@CCDEPMODE@,$CCDEPMODE,;t t
15258 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15259 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15261 s,@ac_ct_AR@,$ac_ct_AR,;t t
15262 s,@RANLIB@,$RANLIB,;t t
15263 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15264 s,@LN_S@,$LN_S,;t t
15265 s,@LIBTOOL@,$LIBTOOL,;t t
15266 s,@VERSUFFIX@,$VERSUFFIX,;t t
15267 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15268 s,@NO_WERROR@,$NO_WERROR,;t t
15269 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15270 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15271 s,@MAINT@,$MAINT,;t t
15272 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
15273 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
15274 s,@host_noncanonical@,$host_noncanonical,;t t
15275 s,@target_noncanonical@,$target_noncanonical,;t t
15276 s,@bfdlibdir@,$bfdlibdir,;t t
15277 s,@bfdincludedir@,$bfdincludedir,;t t
15279 s,@EGREP@,$EGREP,;t t
15280 s,@ALLOCA@,$ALLOCA,;t t
15281 s,@USE_NLS@,$USE_NLS,;t t
15282 s,@MSGFMT@,$MSGFMT,;t t
15283 s,@GMSGFMT@,$GMSGFMT,;t t
15284 s,@XGETTEXT@,$XGETTEXT,;t t
15285 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15286 s,@CATALOGS@,$CATALOGS,;t t
15287 s,@CATOBJEXT@,$CATOBJEXT,;t t
15288 s,@DATADIRNAME@,$DATADIRNAME,;t t
15289 s,@GMOFILES@,$GMOFILES,;t t
15290 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15291 s,@INTLDEPS@,$INTLDEPS,;t t
15292 s,@INTLLIBS@,$INTLLIBS,;t t
15293 s,@INTLOBJS@,$INTLOBJS,;t t
15294 s,@POFILES@,$POFILES,;t t
15295 s,@POSUB@,$POSUB,;t t
15296 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
15297 s,@GT_NO@,$GT_NO,;t t
15298 s,@GT_YES@,$GT_YES,;t t
15299 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15301 s,@HDEFINES@,$HDEFINES,;t t
15302 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
15303 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
15304 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
15305 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
15306 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
15307 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15308 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15309 s,@COREFILE@,$COREFILE,;t t
15310 s,@COREFLAG@,$COREFLAG,;t t
15311 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
15312 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
15313 s,@TDEFINES@,$TDEFINES,;t t
15314 s,@wordsize@,$wordsize,;t t
15315 s,@bfd_libs@,$bfd_libs,;t t
15316 s,@all_backends@,$all_backends,;t t
15317 s,@bfd_backends@,$bfd_backends,;t t
15318 s,@bfd_machines@,$bfd_machines,;t t
15319 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
15320 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
15321 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
15322 s,@tdefaults@,$tdefaults,;t t
15323 s,@datarootdir@,$datarootdir,;t t
15324 s,@docdir@,$docdir,;t t
15325 s,@htmldir@,$htmldir,;t t
15326 s,@LIBOBJS@,$LIBOBJS,;t t
15327 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15332 cat >>$CONFIG_STATUS <<\_ACEOF
15333 # Split the substitutions into bite-sized pieces for seds with
15334 # small command number limits, like on Digital OSF/1 and HP-UX.
15335 ac_max_sed_lines
=48
15336 ac_sed_frag
=1 # Number of current file.
15337 ac_beg
=1 # First line for current file.
15338 ac_end
=$ac_max_sed_lines # Line after last line for current file.
15341 while $ac_more_lines; do
15342 if test $ac_beg -gt 1; then
15343 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15345 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15347 if test ! -s $tmp/subs.frag
; then
15348 ac_more_lines
=false
15350 # The purpose of the label and of the branching condition is to
15351 # speed up the sed processing (if there are no `@' at all, there
15352 # is no need to browse any of the substitutions).
15353 # These are the two extra sed commands mentioned above.
15355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
15356 if test -z "$ac_sed_cmds"; then
15357 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
15359 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15361 ac_sed_frag
=`expr $ac_sed_frag + 1`
15363 ac_end
=`expr $ac_end + $ac_max_sed_lines`
15366 if test -z "$ac_sed_cmds"; then
15369 fi # test -n "$CONFIG_FILES"
15372 cat >>$CONFIG_STATUS <<\_ACEOF
15373 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
15374 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15376 - |
*:- |
*:-:* ) # input from stdin
15378 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15379 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15380 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15381 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15382 * ) ac_file_in
=$ac_file.
in ;;
15385 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15386 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15388 X"$ac_file" : 'X\(//\)[^/]' \| \
15389 X"$ac_file" : 'X\(//\)$' \| \
15390 X"$ac_file" : 'X\(/\)' \| \
15391 . : '\(.\)' 2>/dev/null ||
15393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15395 /^X\(\/\/\)$/{ s//\1/; q; }
15396 /^X\(\/\).*/{ s//\1/; q; }
15398 { if $as_mkdir_p; then
15403 while test ! -d "$as_dir"; do
15404 as_dirs
="$as_dir $as_dirs"
15405 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15407 X"$as_dir" : 'X\(//\)[^/]' \| \
15408 X"$as_dir" : 'X\(//\)$' \| \
15409 X"$as_dir" : 'X\(/\)' \| \
15410 . : '\(.\)' 2>/dev/null ||
15412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15414 /^X\(\/\/\)$/{ s//\1/; q; }
15415 /^X\(\/\).*/{ s//\1/; q; }
15418 test ! -n "$as_dirs" || mkdir
$as_dirs
15419 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15420 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15421 { (exit 1); exit 1; }; }; }
15425 if test "$ac_dir" != .
; then
15426 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15427 # A "../" for each directory in $ac_dir_suffix.
15428 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15430 ac_dir_suffix
= ac_top_builddir
=
15434 .
) # No --srcdir option. We are building in place.
15436 if test -z "$ac_top_builddir"; then
15439 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15441 [\\/]* | ?
:[\\/]* ) # Absolute path.
15442 ac_srcdir
=$srcdir$ac_dir_suffix;
15443 ac_top_srcdir
=$srcdir ;;
15444 *) # Relative path.
15445 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15446 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15449 # Do not use `cd foo && pwd` to compute absolute paths, because
15450 # the directories may not exist.
15452 .
) ac_abs_builddir
="$ac_dir";;
15455 .
) ac_abs_builddir
=`pwd`;;
15456 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15457 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15460 case $ac_abs_builddir in
15461 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15463 case ${ac_top_builddir}.
in
15464 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15465 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15466 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15469 case $ac_abs_builddir in
15470 .
) ac_abs_srcdir
=$ac_srcdir;;
15473 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15474 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15475 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15478 case $ac_abs_builddir in
15479 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15481 case $ac_top_srcdir in
15482 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15483 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15484 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15490 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15491 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
15494 if test x
"$ac_file" != x-
; then
15495 { echo "$as_me:$LINENO: creating $ac_file" >&5
15496 echo "$as_me: creating $ac_file" >&6;}
15499 # Let's still pretend it is `configure' which instantiates (i.e., don't
15500 # use $as_me), people would be surprised to read:
15501 # /* config.h. Generated by config.status. */
15502 if test x
"$ac_file" = x-
; then
15505 configure_input
="$ac_file. "
15507 configure_input
=$configure_input"Generated from `echo $ac_file_in |
15508 sed 's,.*/,,'` by configure."
15510 # First look for the input files in the build tree, otherwise in the
15512 ac_file_inputs
=`IFS=:
15513 for f in $ac_file_in; do
15515 -) echo $tmp/stdin ;;
15517 # Absolute (can't be DOS-style, as IFS=:)
15518 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15519 echo "$as_me: error: cannot find input file: $f" >&2;}
15520 { (exit 1); exit 1; }; }
15523 if test -f "$f"; then
15526 elif test -f "$srcdir/$f"; then
15531 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15532 echo "$as_me: error: cannot find input file: $f" >&2;}
15533 { (exit 1); exit 1; }; }
15536 done` ||
{ (exit 1); exit 1; }
15538 cat >>$CONFIG_STATUS <<_ACEOF
15542 cat >>$CONFIG_STATUS <<\_ACEOF
15544 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15545 s
,@configure_input@
,$configure_input,;t t
15546 s
,@srcdir@
,$ac_srcdir,;t t
15547 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
15548 s
,@top_srcdir@
,$ac_top_srcdir,;t t
15549 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
15550 s
,@builddir@
,$ac_builddir,;t t
15551 s
,@abs_builddir@
,$ac_abs_builddir,;t t
15552 s
,@top_builddir@
,$ac_top_builddir,;t t
15553 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
15554 s
,@INSTALL@
,$ac_INSTALL,;t t
15555 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15557 if test x"$ac_file" != x-; then
15558 mv $tmp/out $ac_file
15566 cat >>$CONFIG_STATUS <<\_ACEOF
15569 # CONFIG_HEADER section.
15572 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15573 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15575 # ac_d sets the value in "#define NAME VALUE" lines.
15576 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15577 ac_dB
='[ ].*$,\1#\2'
15580 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15581 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15582 ac_uB
='$,\1#\2define\3'
15586 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15587 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15589 - |
*:- |
*:-:* ) # input from stdin
15591 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15592 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15593 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15594 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15595 * ) ac_file_in
=$ac_file.
in ;;
15598 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15599 echo "$as_me: creating $ac_file" >&6;}
15601 # First look for the input files in the build tree, otherwise in the
15603 ac_file_inputs
=`IFS=:
15604 for f in $ac_file_in; do
15606 -) echo $tmp/stdin ;;
15608 # Absolute (can't be DOS-style, as IFS=:)
15609 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15610 echo "$as_me: error: cannot find input file: $f" >&2;}
15611 { (exit 1); exit 1; }; }
15612 # Do quote $f, to prevent DOS paths from being IFS'd.
15615 if test -f "$f"; then
15618 elif test -f "$srcdir/$f"; then
15623 { { 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; }; }
15628 done` ||
{ (exit 1); exit 1; }
15629 # Remove the trailing spaces.
15630 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15634 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15635 # `conftest.undefs', that substitutes the proper values into
15636 # config.h.in to produce config.h. The first handles `#define'
15637 # templates, and the second `#undef' templates.
15638 # And first: Protect against being on the right side of a sed subst in
15639 # config.status. Protect against being in an unquoted here document
15640 # in config.status.
15641 rm -f conftest.defines conftest.undefs
15642 # Using a here document instead of a string reduces the quoting nightmare.
15643 # Putting comments in sed scripts is not portable.
15645 # `end' is used to avoid that the second main sed command (meant for
15646 # 0-ary CPP macros) applies to n-ary macro definitions.
15647 # See the Autoconf documentation for `clear'.
15648 cat >confdef2sed.
sed <<\_ACEOF
15653 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15655 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15658 # If some macros were called several times there might be several times
15659 # the same #defines, which is useless. Nevertheless, we may not want to
15660 # sort them, since we want the *last* AC-DEFINE to be honored.
15661 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15662 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15663 rm -f confdef2sed.sed
15665 # This sed command replaces #undef with comments. This is necessary, for
15666 # example, in the case of _POSIX_SOURCE, which is predefined and required
15667 # on some systems where configure will not decide to define it.
15668 cat >>conftest.undefs <<\_ACEOF
15669 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15672 # Break up conftest.defines because some shells have a limit on the size
15673 # of here documents, and old seds have small limits too (100 cmds).
15674 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15675 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15676 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15677 echo ' :' >>$CONFIG_STATUS
15678 rm -f conftest.tail
15679 while grep . conftest.defines >/dev/null
15681 # Write a limited-size here document to $tmp/defines.sed.
15682 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15683 # Speed up: don't consider the non `#define' lines.
15684 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15685 # Work around the forget-to-reset-the-flag bug.
15686 echo 't clr' >>$CONFIG_STATUS
15687 echo ': clr' >>$CONFIG_STATUS
15688 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15690 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15692 mv $tmp/out $tmp/in
15694 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15695 rm -f conftest.defines
15696 mv conftest.
tail conftest.defines
15698 rm -f conftest.defines
15699 echo ' fi # grep' >>$CONFIG_STATUS
15700 echo >>$CONFIG_STATUS
15702 # Break up conftest.undefs because some shells have a limit on the size
15703 # of here documents, and old seds have small limits too (100 cmds).
15704 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15705 rm -f conftest.
tail
15706 while grep . conftest.undefs
>/dev
/null
15708 # Write a limited-size here document to $tmp/undefs.sed.
15709 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15710 # Speed up: don't consider the non
`#undef'
15711 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15712 # Work around the forget-to-reset-the-flag bug.
15713 echo 't clr' >>$CONFIG_STATUS
15714 echo ': clr' >>$CONFIG_STATUS
15715 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15717 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15719 mv $tmp/out $tmp/in
15721 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15722 rm -f conftest.undefs
15723 mv conftest.tail conftest.undefs
15725 rm -f conftest.undefs
15727 cat >>$CONFIG_STATUS <<\_ACEOF
15728 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15729 # use $as_me), people would be surprised to read:
15730 # /* config.h. Generated by config.status. */
15731 if test x
"$ac_file" = x-
; then
15732 echo "/* Generated by configure. */" >$tmp/config.h
15734 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15736 cat $tmp/in >>$tmp/config.h
15738 if test x
"$ac_file" != x-
; then
15739 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
15740 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15741 echo "$as_me: $ac_file is unchanged" >&6;}
15743 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15744 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15745 X"$ac_file" : 'X\(//\)[^/]' \| \
15746 X"$ac_file" : 'X\(//\)$' \| \
15747 X"$ac_file" : 'X\(/\)' \| \
15748 . : '\(.\)' 2>/dev/null ||
15750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15751 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15752 /^X\(\/\/\)$/{ s//\1/; q; }
15753 /^X\(\/\).*/{ s//\1/; q; }
15755 { if $as_mkdir_p; then
15760 while test ! -d "$as_dir"; do
15761 as_dirs
="$as_dir $as_dirs"
15762 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15764 X"$as_dir" : 'X\(//\)[^/]' \| \
15765 X"$as_dir" : 'X\(//\)$' \| \
15766 X"$as_dir" : 'X\(/\)' \| \
15767 . : '\(.\)' 2>/dev/null ||
15769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15770 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15771 /^X\(\/\/\)$/{ s//\1/; q; }
15772 /^X\(\/\).*/{ s//\1/; q; }
15775 test ! -n "$as_dirs" || mkdir
$as_dirs
15776 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15777 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15778 { (exit 1); exit 1; }; }; }
15781 mv $tmp/config.h
$ac_file
15785 rm -f $tmp/config.h
15787 # Compute $ac_file's index in $config_headers.
15789 for _am_header
in $config_headers :; do
15790 case $_am_header in
15791 $ac_file |
$ac_file:* )
15794 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15797 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15798 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15799 X$ac_file : 'X\(//\)[^/]' \| \
15800 X$ac_file : 'X\(//\)$' \| \
15801 X$ac_file : 'X\(/\)' \| \
15802 . : '\(.\)' 2>/dev/null ||
15804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15805 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15806 /^X\(\/\/\)$/{ s//\1/; q; }
15807 /^X\(\/\).*/{ s//\1/; q; }
15808 s/.*/./; q'`/stamp-h
$_am_stamp_count
15811 cat >>$CONFIG_STATUS <<\_ACEOF
15814 # CONFIG_COMMANDS section.
15816 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
15817 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15818 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15819 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15820 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15821 X"$ac_dest" : 'X\(//\)[^/]' \| \
15822 X"$ac_dest" : 'X\(//\)$' \| \
15823 X"$ac_dest" : 'X\(/\)' \| \
15824 . : '\(.\)' 2>/dev/null ||
15826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15827 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15828 /^X\(\/\/\)$/{ s//\1/; q; }
15829 /^X\(\/\).*/{ s//\1/; q; }
15831 { if $as_mkdir_p; then
15836 while test ! -d "$as_dir"; do
15837 as_dirs
="$as_dir $as_dirs"
15838 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15839 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15840 X"$as_dir" : 'X\(//\)[^/]' \| \
15841 X"$as_dir" : 'X\(//\)$' \| \
15842 X"$as_dir" : 'X\(/\)' \| \
15843 . : '\(.\)' 2>/dev/null ||
15845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15846 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15847 /^X\(\/\/\)$/{ s//\1/; q; }
15848 /^X\(\/\).*/{ s//\1/; q; }
15851 test ! -n "$as_dirs" || mkdir
$as_dirs
15852 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15853 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15854 { (exit 1); exit 1; }; }; }
15858 if test "$ac_dir" != .
; then
15859 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15860 # A "../" for each directory in $ac_dir_suffix.
15861 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15863 ac_dir_suffix
= ac_top_builddir
=
15867 .
) # No --srcdir option. We are building in place.
15869 if test -z "$ac_top_builddir"; then
15872 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15874 [\\/]* | ?
:[\\/]* ) # Absolute path.
15875 ac_srcdir
=$srcdir$ac_dir_suffix;
15876 ac_top_srcdir
=$srcdir ;;
15877 *) # Relative path.
15878 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15879 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15882 # Do not use `cd foo && pwd` to compute absolute paths, because
15883 # the directories may not exist.
15885 .
) ac_abs_builddir
="$ac_dir";;
15888 .
) ac_abs_builddir
=`pwd`;;
15889 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15890 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15893 case $ac_abs_builddir in
15894 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15896 case ${ac_top_builddir}.
in
15897 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15898 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15899 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15902 case $ac_abs_builddir in
15903 .
) ac_abs_srcdir
=$ac_srcdir;;
15906 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15907 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15908 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15911 case $ac_abs_builddir in
15912 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15914 case $ac_top_srcdir in
15915 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15916 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15917 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15922 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15923 echo "$as_me: executing $ac_dest commands" >&6;}
15925 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
15926 # Strip MF so we end up with the name of the file.
15927 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15928 # Check whether this is an Automake generated Makefile or not.
15929 # We used to match only the files named `Makefile.in', but
15930 # some people rename them; so instead we look at the file content.
15931 # Grep'ing the first line is not enough: some people post-process
15932 # each Makefile.in and add a new line on top of each file to say so.
15933 # So let's grep whole file.
15934 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
15935 dirpart
=`(dirname "$mf") 2>/dev/null ||
15936 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15937 X"$mf" : 'X\(//\)[^/]' \| \
15938 X"$mf" : 'X\(//\)$' \| \
15939 X"$mf" : 'X\(/\)' \| \
15940 . : '\(.\)' 2>/dev/null ||
15942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15943 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15944 /^X\(\/\/\)$/{ s//\1/; q; }
15945 /^X\(\/\).*/{ s//\1/; q; }
15950 # Extract the definition of DEPDIR, am__include, and am__quote
15951 # from the Makefile without running `make'.
15952 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15953 test -z "$DEPDIR" && continue
15954 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15955 test -z "am__include" && continue
15956 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15957 # When using ansi2knr, U may be empty or an underscore; expand it
15958 U
=`sed -n 's/^U = //p' < "$mf"`
15959 # Find all dependency output files, they are included files with
15960 # $(DEPDIR) in their names. We invoke sed twice because it is the
15961 # simplest approach to changing $(DEPDIR) to its actual value in the
15963 for file in `sed -n "
15964 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15965 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15966 # Make sure the directory exists.
15967 test -f "$dirpart/$file" && continue
15968 fdir
=`(dirname "$file") 2>/dev/null ||
15969 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15970 X"$file" : 'X\(//\)[^/]' \| \
15971 X"$file" : 'X\(//\)$' \| \
15972 X"$file" : 'X\(/\)' \| \
15973 . : '\(.\)' 2>/dev/null ||
15975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15977 /^X\(\/\/\)$/{ s//\1/; q; }
15978 /^X\(\/\).*/{ s//\1/; q; }
15980 { if $as_mkdir_p; then
15981 mkdir
-p $dirpart/$fdir
15983 as_dir
=$dirpart/$fdir
15985 while test ! -d "$as_dir"; do
15986 as_dirs
="$as_dir $as_dirs"
15987 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15989 X"$as_dir" : 'X\(//\)[^/]' \| \
15990 X"$as_dir" : 'X\(//\)$' \| \
15991 X"$as_dir" : 'X\(/\)' \| \
15992 . : '\(.\)' 2>/dev/null ||
15994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15995 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15996 /^X\(\/\/\)$/{ s//\1/; q; }
15997 /^X\(\/\).*/{ s//\1/; q; }
16000 test ! -n "$as_dirs" || mkdir
$as_dirs
16001 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16002 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16003 { (exit 1); exit 1; }; }; }
16005 # echo "creating $dirpart/$file"
16006 echo '# dummy' > "$dirpart/$file"
16010 default
) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po
/Makefile.
in > po
/Makefile
;;
16015 cat >>$CONFIG_STATUS <<\_ACEOF
16017 { (exit 0); exit 0; }
16019 chmod +x
$CONFIG_STATUS
16020 ac_clean_files
=$ac_clean_files_save
16023 # configure is writing to config.log, and then calls config.status.
16024 # config.status does its own redirection, appending to config.log.
16025 # Unfortunately, on DOS this fails, as config.log is still kept open
16026 # by configure, so config.status won't be able to write to it; its
16027 # output is simply discarded. So we exec the FD to /dev/null,
16028 # effectively closing config.log, so it can be properly (re)opened and
16029 # appended to by config.status. When coming back to configure, we
16030 # need to make the FD available again.
16031 if test "$no_create" != yes; then
16033 ac_config_status_args
=
16034 test "$silent" = yes &&
16035 ac_config_status_args
="$ac_config_status_args --quiet"
16037 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16039 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16040 # would make configure fail if this is the last instruction.
16041 $ac_cs_success ||
{ (exit 1); exit 1; }