2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="libbfd.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL PKGVERSION 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-pkgversion=PKG Add PKG 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 # Package version. For an official FSF release, it is empty.
4392 # Check whether --with-pkgversion or --without-pkgversion was given.
4393 if test "${with_pkgversion+set}" = set; then
4394 withval
="$with_pkgversion"
4396 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4397 echo "$as_me: error: package version not specified" >&2;}
4398 { (exit 1); exit 1; }; } ;;
4400 *) PKGVERSION
="($withval) " ;;
4409 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4411 # Check whether --enable-werror or --disable-werror was given.
4412 if test "${enable_werror+set}" = set; then
4413 enableval
="$enable_werror"
4414 case "${enableval}" in
4415 yes | y
) ERROR_ON_WARNING
="yes" ;;
4416 no | n
) ERROR_ON_WARNING
="no" ;;
4417 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4418 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4419 { (exit 1); exit 1; }; } ;;
4423 # Enable -Werror by default when using gcc
4424 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4425 ERROR_ON_WARNING
=yes
4429 if test "${ERROR_ON_WARNING}" = yes ; then
4430 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4431 NO_WERROR
="-Wno-error"
4434 if test "${GCC}" = yes ; then
4435 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4438 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4439 if test "${enable_build_warnings+set}" = set; then
4440 enableval
="$enable_build_warnings"
4441 case "${enableval}" in
4442 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4443 no
) if test "${GCC}" = yes ; then
4446 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4447 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4448 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4449 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4450 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4454 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4455 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4462 ac_config_headers
="$ac_config_headers config.h:config.in"
4465 if test -z "$target" ; then
4466 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4467 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4468 { (exit 1); exit 1; }; }
4471 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4472 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4473 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4474 if test "${enable_maintainer_mode+set}" = set; then
4475 enableval
="$enable_maintainer_mode"
4476 USE_MAINTAINER_MODE
=$enableval
4478 USE_MAINTAINER_MODE
=no
4480 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4481 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4484 if test $USE_MAINTAINER_MODE = yes; then
4485 MAINTAINER_MODE_TRUE
=
4486 MAINTAINER_MODE_FALSE
='#'
4488 MAINTAINER_MODE_TRUE
='#'
4489 MAINTAINER_MODE_FALSE
=
4492 MAINT
=$MAINTAINER_MODE_TRUE
4495 case ${build_alias} in
4496 "") build_noncanonical
=${build} ;;
4497 *) build_noncanonical
=${build_alias} ;;
4500 case ${host_alias} in
4501 "") host_noncanonical
=${build_noncanonical} ;;
4502 *) host_noncanonical
=${host_alias} ;;
4505 case ${target_alias} in
4506 "") target_noncanonical
=${host_noncanonical} ;;
4507 *) target_noncanonical
=${target_alias} ;;
4510 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4511 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4512 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4513 if test "${enable_install_libbfd+set}" = set; then
4514 enableval
="$enable_install_libbfd"
4515 install_libbfd_p
=$enableval
4517 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
4518 install_libbfd_p
=yes
4523 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4524 echo "${ECHO_T}$install_libbfd_p" >&6
4527 if test $install_libbfd_p = yes; then
4528 INSTALL_LIBBFD_TRUE
=
4529 INSTALL_LIBBFD_FALSE
='#'
4531 INSTALL_LIBBFD_TRUE
='#'
4532 INSTALL_LIBBFD_FALSE
=
4535 # Need _noncanonical variables for this.
4540 # libbfd.a is a host library containing target dependent code
4541 bfdlibdir
='$(libdir)'
4542 bfdincludedir
='$(includedir)'
4543 if test "${host}" != "${target}"; then
4544 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4545 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4555 bfd_default_target_size
=32
4560 ac_cpp
='$CPP $CPPFLAGS'
4561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4564 if test -n "$ac_tool_prefix"; then
4565 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4566 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4567 echo "$as_me:$LINENO: checking for $ac_word" >&5
4568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4569 if test "${ac_cv_prog_CC+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 if test -n "$CC"; then
4573 ac_cv_prog_CC
="$CC" # Let the user override the test.
4575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir
=.
4580 for ac_exec_ext
in '' $ac_executable_extensions; do
4581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4582 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 if test -n "$CC"; then
4593 echo "$as_me:$LINENO: result: $CC" >&5
4594 echo "${ECHO_T}$CC" >&6
4596 echo "$as_me:$LINENO: result: no" >&5
4597 echo "${ECHO_T}no" >&6
4601 if test -z "$ac_cv_prog_CC"; then
4603 # Extract the first word of "gcc", so it can be a program name with args.
4604 set dummy gcc
; ac_word
=$2
4605 echo "$as_me:$LINENO: checking for $ac_word" >&5
4606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4607 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 if test -n "$ac_ct_CC"; then
4611 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4617 test -z "$as_dir" && as_dir
=.
4618 for ac_exec_ext
in '' $ac_executable_extensions; do
4619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4620 ac_cv_prog_ac_ct_CC
="gcc"
4621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4630 if test -n "$ac_ct_CC"; then
4631 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4632 echo "${ECHO_T}$ac_ct_CC" >&6
4634 echo "$as_me:$LINENO: result: no" >&5
4635 echo "${ECHO_T}no" >&6
4643 if test -z "$CC"; then
4644 if test -n "$ac_tool_prefix"; then
4645 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4646 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4647 echo "$as_me:$LINENO: checking for $ac_word" >&5
4648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4649 if test "${ac_cv_prog_CC+set}" = set; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 if test -n "$CC"; then
4653 ac_cv_prog_CC
="$CC" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 if test -n "$CC"; then
4673 echo "$as_me:$LINENO: result: $CC" >&5
4674 echo "${ECHO_T}$CC" >&6
4676 echo "$as_me:$LINENO: result: no" >&5
4677 echo "${ECHO_T}no" >&6
4681 if test -z "$ac_cv_prog_CC"; then
4683 # Extract the first word of "cc", so it can be a program name with args.
4684 set dummy cc
; ac_word
=$2
4685 echo "$as_me:$LINENO: checking for $ac_word" >&5
4686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6
4690 if test -n "$ac_ct_CC"; then
4691 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4697 test -z "$as_dir" && as_dir
=.
4698 for ac_exec_ext
in '' $ac_executable_extensions; do
4699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4700 ac_cv_prog_ac_ct_CC
="cc"
4701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4710 if test -n "$ac_ct_CC"; then
4711 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4712 echo "${ECHO_T}$ac_ct_CC" >&6
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4724 if test -z "$CC"; then
4725 # Extract the first word of "cc", so it can be a program name with args.
4726 set dummy cc
; ac_word
=$2
4727 echo "$as_me:$LINENO: checking for $ac_word" >&5
4728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4729 if test "${ac_cv_prog_CC+set}" = set; then
4730 echo $ECHO_N "(cached) $ECHO_C" >&6
4732 if test -n "$CC"; then
4733 ac_cv_prog_CC
="$CC" # Let the user override the test.
4736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4740 test -z "$as_dir" && as_dir
=.
4741 for ac_exec_ext
in '' $ac_executable_extensions; do
4742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4743 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4744 ac_prog_rejected
=yes
4748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 if test $ac_prog_rejected = yes; then
4755 # We found a bogon in the path, so make sure we never use it.
4756 set dummy
$ac_cv_prog_CC
4758 if test $# != 0; then
4759 # We chose a different compiler from the bogus one.
4760 # However, it has the same basename, so the bogon will be chosen
4761 # first if we set CC to just the basename; use the full file name.
4763 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4769 if test -n "$CC"; then
4770 echo "$as_me:$LINENO: result: $CC" >&5
4771 echo "${ECHO_T}$CC" >&6
4773 echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6
4778 if test -z "$CC"; then
4779 if test -n "$ac_tool_prefix"; then
4782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4783 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4784 echo "$as_me:$LINENO: checking for $ac_word" >&5
4785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4786 if test "${ac_cv_prog_CC+set}" = set; then
4787 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 if test -n "$CC"; then
4790 ac_cv_prog_CC
="$CC" # Let the user override the test.
4792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir
=.
4797 for ac_exec_ext
in '' $ac_executable_extensions; do
4798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4799 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 if test -n "$CC"; then
4810 echo "$as_me:$LINENO: result: $CC" >&5
4811 echo "${ECHO_T}$CC" >&6
4813 echo "$as_me:$LINENO: result: no" >&5
4814 echo "${ECHO_T}no" >&6
4817 test -n "$CC" && break
4820 if test -z "$CC"; then
4824 # Extract the first word of "$ac_prog", so it can be a program name with args.
4825 set dummy
$ac_prog; ac_word
=$2
4826 echo "$as_me:$LINENO: checking for $ac_word" >&5
4827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 if test -n "$ac_ct_CC"; then
4832 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4838 test -z "$as_dir" && as_dir
=.
4839 for ac_exec_ext
in '' $ac_executable_extensions; do
4840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_ac_ct_CC
="$ac_prog"
4842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4851 if test -n "$ac_ct_CC"; then
4852 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4853 echo "${ECHO_T}$ac_ct_CC" >&6
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4859 test -n "$ac_ct_CC" && break
4868 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4869 See \`config.log' for more details." >&5
4870 echo "$as_me: error: no acceptable C compiler found in \$PATH
4871 See \`config.log' for more details." >&2;}
4872 { (exit 1); exit 1; }; }
4874 # Provide some information about the compiler.
4875 echo "$as_me:$LINENO:" \
4876 "checking for C compiler version" >&5
4877 ac_compiler
=`set X $ac_compile; echo $2`
4878 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4879 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }
4883 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4884 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }
4888 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4889 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); }
4894 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4895 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4896 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4897 echo $ECHO_N "(cached) $ECHO_C" >&6
4899 cat >conftest.
$ac_ext <<_ACEOF
4902 cat confdefs.h
>>conftest.
$ac_ext
4903 cat >>conftest.
$ac_ext <<_ACEOF
4904 /* end confdefs.h. */
4917 rm -f conftest.
$ac_objext
4918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4919 (eval $ac_compile) 2>conftest.er1
4921 grep -v '^ *+' conftest.er1
>conftest.err
4923 cat conftest.err
>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } &&
4926 { ac_try
='test -z "$ac_c_werror_flag"
4927 || test ! -s conftest.err'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; } &&
4933 { ac_try
='test -s conftest.$ac_objext'
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; }; then
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.
$ac_ext >&5
4946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4947 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4950 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4951 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4952 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4953 ac_test_CFLAGS
=${CFLAGS+set}
4954 ac_save_CFLAGS
=$CFLAGS
4956 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4957 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4958 if test "${ac_cv_prog_cc_g+set}" = set; then
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 cat >conftest.
$ac_ext <<_ACEOF
4964 cat confdefs.h
>>conftest.
$ac_ext
4965 cat >>conftest.
$ac_ext <<_ACEOF
4966 /* end confdefs.h. */
4976 rm -f conftest.
$ac_objext
4977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4978 (eval $ac_compile) 2>conftest.er1
4980 grep -v '^ *+' conftest.er1
>conftest.err
4982 cat conftest.err
>&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } &&
4985 { ac_try
='test -z "$ac_c_werror_flag"
4986 || test ! -s conftest.err'
4987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); }; } &&
4992 { ac_try
='test -s conftest.$ac_objext'
4993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); }; }; then
5000 echo "$as_me: failed program was:" >&5
5001 sed 's/^/| /' conftest.
$ac_ext >&5
5005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5007 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5008 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5009 if test "$ac_test_CFLAGS" = set; then
5010 CFLAGS
=$ac_save_CFLAGS
5011 elif test $ac_cv_prog_cc_g = yes; then
5012 if test "$GCC" = yes; then
5018 if test "$GCC" = yes; then
5024 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5025 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5026 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5027 echo $ECHO_N "(cached) $ECHO_C" >&6
5029 ac_cv_prog_cc_stdc
=no
5031 cat >conftest.
$ac_ext <<_ACEOF
5034 cat confdefs.h
>>conftest.
$ac_ext
5035 cat >>conftest.
$ac_ext <<_ACEOF
5036 /* end confdefs.h. */
5039 #include <sys/types.h>
5040 #include <sys/stat.h>
5041 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5042 struct buf { int x; };
5043 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5044 static char *e (p, i)
5050 static char *f (char * (*g) (char **, int), char **p, ...)
5055 s = g (p, va_arg (v,int));
5060 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5061 function prototypes and stuff, but not '\xHH' hex character constants.
5062 These don't provoke an error unfortunately, instead are silently treated
5063 as 'x'. The following induces an error, until -std1 is added to get
5064 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5065 array size at least. It's necessary to write '\x00'==0 to get something
5066 that's true only with -std1. */
5067 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5069 int test (int i, double x);
5070 struct s1 {int (*f) (int a);};
5071 struct s2 {int (*f) (double a);};
5072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5078 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5083 # Don't try gcc -ansi; that turns off useful extensions and
5084 # breaks some systems' header files.
5085 # AIX -qlanglvl=ansi
5086 # Ultrix and OSF/1 -std1
5087 # HP-UX 10.20 and later -Ae
5088 # HP-UX older versions -Aa -D_HPUX_SOURCE
5089 # SVR4 -Xc -D__EXTENSIONS__
5090 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5092 CC
="$ac_save_CC $ac_arg"
5093 rm -f conftest.
$ac_objext
5094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5095 (eval $ac_compile) 2>conftest.er1
5097 grep -v '^ *+' conftest.er1
>conftest.err
5099 cat conftest.err
>&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); } &&
5102 { ac_try
='test -z "$ac_c_werror_flag"
5103 || test ! -s conftest.err'
5104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } &&
5109 { ac_try
='test -s conftest.$ac_objext'
5110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; }; then
5115 ac_cv_prog_cc_stdc
=$ac_arg
5118 echo "$as_me: failed program was:" >&5
5119 sed 's/^/| /' conftest.
$ac_ext >&5
5122 rm -f conftest.err conftest.
$ac_objext
5124 rm -f conftest.
$ac_ext conftest.
$ac_objext
5129 case "x$ac_cv_prog_cc_stdc" in
5131 echo "$as_me:$LINENO: result: none needed" >&5
5132 echo "${ECHO_T}none needed" >&6 ;;
5134 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5135 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5136 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5139 # Some people use a C++ compiler to compile C. Since we use `exit',
5140 # in C++ we need to declare it. In case someone uses the same compiler
5141 # for both compiling C and C++ we need to have the C++ compiler decide
5142 # the declaration of exit, since it's the most demanding environment.
5143 cat >conftest.
$ac_ext <<_ACEOF
5148 rm -f conftest.
$ac_objext
5149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5150 (eval $ac_compile) 2>conftest.er1
5152 grep -v '^ *+' conftest.er1
>conftest.err
5154 cat conftest.err
>&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); } &&
5157 { ac_try
='test -z "$ac_c_werror_flag"
5158 || test ! -s conftest.err'
5159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); }; } &&
5164 { ac_try
='test -s conftest.$ac_objext'
5165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); }; }; then
5170 for ac_declaration
in \
5172 'extern "C" void std::exit (int) throw (); using std::exit;' \
5173 'extern "C" void std::exit (int); using std::exit;' \
5174 'extern "C" void exit (int) throw ();' \
5175 'extern "C" void exit (int);' \
5178 cat >conftest.
$ac_ext <<_ACEOF
5181 cat confdefs.h
>>conftest.
$ac_ext
5182 cat >>conftest.
$ac_ext <<_ACEOF
5183 /* end confdefs.h. */
5194 rm -f conftest.
$ac_objext
5195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5196 (eval $ac_compile) 2>conftest.er1
5198 grep -v '^ *+' conftest.er1
>conftest.err
5200 cat conftest.err
>&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); } &&
5203 { ac_try
='test -z "$ac_c_werror_flag"
5204 || test ! -s conftest.err'
5205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); }; } &&
5210 { ac_try
='test -s conftest.$ac_objext'
5211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); }; }; then
5218 echo "$as_me: failed program was:" >&5
5219 sed 's/^/| /' conftest.
$ac_ext >&5
5223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5224 cat >conftest.
$ac_ext <<_ACEOF
5227 cat confdefs.h
>>conftest.
$ac_ext
5228 cat >>conftest.
$ac_ext <<_ACEOF
5229 /* end confdefs.h. */
5239 rm -f conftest.
$ac_objext
5240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5241 (eval $ac_compile) 2>conftest.er1
5243 grep -v '^ *+' conftest.er1
>conftest.err
5245 cat conftest.err
>&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); } &&
5248 { ac_try
='test -z "$ac_c_werror_flag"
5249 || test ! -s conftest.err'
5250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); }; } &&
5255 { ac_try
='test -s conftest.$ac_objext'
5256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); }; }; then
5263 echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.
$ac_ext >&5
5267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5270 if test -n "$ac_declaration"; then
5271 echo '#ifdef __cplusplus' >>confdefs.h
5272 echo $ac_declaration >>confdefs.h
5273 echo '#endif' >>confdefs.h
5277 echo "$as_me: failed program was:" >&5
5278 sed 's/^/| /' conftest.
$ac_ext >&5
5281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5283 ac_cpp
='$CPP $CPPFLAGS'
5284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5289 cat >>confdefs.h
<<\_ACEOF
5290 #define _GNU_SOURCE 1
5295 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi"
5296 if test -n "$ac_tool_prefix"; then
5297 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5298 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5299 echo "$as_me:$LINENO: checking for $ac_word" >&5
5300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5301 if test "${ac_cv_prog_RANLIB+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 if test -n "$RANLIB"; then
5305 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 test -z "$as_dir" && as_dir
=.
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 RANLIB
=$ac_cv_prog_RANLIB
5324 if test -n "$RANLIB"; then
5325 echo "$as_me:$LINENO: result: $RANLIB" >&5
5326 echo "${ECHO_T}$RANLIB" >&6
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5333 if test -z "$ac_cv_prog_RANLIB"; then
5334 ac_ct_RANLIB
=$RANLIB
5335 # Extract the first word of "ranlib", so it can be a program name with args.
5336 set dummy ranlib
; ac_word
=$2
5337 echo "$as_me:$LINENO: checking for $ac_word" >&5
5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5339 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 if test -n "$ac_ct_RANLIB"; then
5343 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir
=.
5350 for ac_exec_ext
in '' $ac_executable_extensions; do
5351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5352 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5362 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5363 if test -n "$ac_ct_RANLIB"; then
5364 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5365 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5371 RANLIB
=$ac_ct_RANLIB
5373 RANLIB
="$ac_cv_prog_RANLIB"
5377 ac_cpp
='$CPP $CPPFLAGS'
5378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5381 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5382 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5383 # On Suns, sometimes $CPP names a directory.
5384 if test -n "$CPP" && test -d "$CPP"; then
5387 if test -z "$CPP"; then
5388 if test "${ac_cv_prog_CPP+set}" = set; then
5389 echo $ECHO_N "(cached) $ECHO_C" >&6
5391 # Double quotes because CPP needs to be expanded
5392 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5395 for ac_c_preproc_warn_flag
in '' yes
5397 # Use a header file that comes with gcc, so configuring glibc
5398 # with a fresh cross-compiler works.
5399 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5400 # <limits.h> exists even on freestanding compilers.
5401 # On the NeXT, cc -E runs the code through the compiler's parser,
5402 # not just through cpp. "Syntax error" is here to catch this case.
5403 cat >conftest.
$ac_ext <<_ACEOF
5406 cat confdefs.h
>>conftest.
$ac_ext
5407 cat >>conftest.
$ac_ext <<_ACEOF
5408 /* end confdefs.h. */
5410 # include <limits.h>
5412 # include <assert.h>
5416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5419 grep -v '^ *+' conftest.er1
>conftest.err
5421 cat conftest.err
>&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); } >/dev
/null
; then
5424 if test -s conftest.err
; then
5425 ac_cpp_err
=$ac_c_preproc_warn_flag
5426 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5433 if test -z "$ac_cpp_err"; then
5436 echo "$as_me: failed program was:" >&5
5437 sed 's/^/| /' conftest.
$ac_ext >&5
5439 # Broken: fails on valid input.
5442 rm -f conftest.err conftest.
$ac_ext
5444 # OK, works on sane cases. Now check whether non-existent headers
5445 # can be detected and how.
5446 cat >conftest.
$ac_ext <<_ACEOF
5449 cat confdefs.h
>>conftest.
$ac_ext
5450 cat >>conftest.
$ac_ext <<_ACEOF
5451 /* end confdefs.h. */
5452 #include <ac_nonexistent.h>
5454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5457 grep -v '^ *+' conftest.er1
>conftest.err
5459 cat conftest.err
>&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); } >/dev
/null
; then
5462 if test -s conftest.err
; then
5463 ac_cpp_err
=$ac_c_preproc_warn_flag
5464 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5471 if test -z "$ac_cpp_err"; then
5472 # Broken: success on invalid input.
5475 echo "$as_me: failed program was:" >&5
5476 sed 's/^/| /' conftest.
$ac_ext >&5
5478 # Passes both tests.
5482 rm -f conftest.err conftest.
$ac_ext
5485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5486 rm -f conftest.err conftest.
$ac_ext
5487 if $ac_preproc_ok; then
5499 echo "$as_me:$LINENO: result: $CPP" >&5
5500 echo "${ECHO_T}$CPP" >&6
5502 for ac_c_preproc_warn_flag
in '' yes
5504 # Use a header file that comes with gcc, so configuring glibc
5505 # with a fresh cross-compiler works.
5506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5507 # <limits.h> exists even on freestanding compilers.
5508 # On the NeXT, cc -E runs the code through the compiler's parser,
5509 # not just through cpp. "Syntax error" is here to catch this case.
5510 cat >conftest.
$ac_ext <<_ACEOF
5513 cat confdefs.h
>>conftest.
$ac_ext
5514 cat >>conftest.
$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5517 # include <limits.h>
5519 # include <assert.h>
5523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5524 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5526 grep -v '^ *+' conftest.er1
>conftest.err
5528 cat conftest.err
>&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); } >/dev
/null
; then
5531 if test -s conftest.err
; then
5532 ac_cpp_err
=$ac_c_preproc_warn_flag
5533 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5540 if test -z "$ac_cpp_err"; then
5543 echo "$as_me: failed program was:" >&5
5544 sed 's/^/| /' conftest.
$ac_ext >&5
5546 # Broken: fails on valid input.
5549 rm -f conftest.err conftest.
$ac_ext
5551 # OK, works on sane cases. Now check whether non-existent headers
5552 # can be detected and how.
5553 cat >conftest.
$ac_ext <<_ACEOF
5556 cat confdefs.h
>>conftest.
$ac_ext
5557 cat >>conftest.
$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5559 #include <ac_nonexistent.h>
5561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5564 grep -v '^ *+' conftest.er1
>conftest.err
5566 cat conftest.err
>&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } >/dev
/null
; then
5569 if test -s conftest.err
; then
5570 ac_cpp_err
=$ac_c_preproc_warn_flag
5571 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5578 if test -z "$ac_cpp_err"; then
5579 # Broken: success on invalid input.
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.
$ac_ext >&5
5585 # Passes both tests.
5589 rm -f conftest.err conftest.
$ac_ext
5592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5593 rm -f conftest.err conftest.
$ac_ext
5594 if $ac_preproc_ok; then
5597 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5598 See \`config.log' for more details." >&5
5599 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5600 See \`config.log' for more details." >&2;}
5601 { (exit 1); exit 1; }; }
5605 ac_cpp
='$CPP $CPPFLAGS'
5606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5611 echo "$as_me:$LINENO: checking for egrep" >&5
5612 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5613 if test "${ac_cv_prog_egrep+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5617 then ac_cv_prog_egrep
='grep -E'
5618 else ac_cv_prog_egrep
='egrep'
5621 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5622 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5623 EGREP
=$ac_cv_prog_egrep
5626 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5627 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5628 if test "${ac_cv_header_stdc+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5631 cat >conftest.
$ac_ext <<_ACEOF
5634 cat confdefs.h
>>conftest.
$ac_ext
5635 cat >>conftest.
$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5650 rm -f conftest.
$ac_objext
5651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5652 (eval $ac_compile) 2>conftest.er1
5654 grep -v '^ *+' conftest.er1
>conftest.err
5656 cat conftest.err
>&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); } &&
5659 { ac_try
='test -z "$ac_c_werror_flag"
5660 || test ! -s conftest.err'
5661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665 (exit $ac_status); }; } &&
5666 { ac_try
='test -s conftest.$ac_objext'
5667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); }; }; then
5672 ac_cv_header_stdc
=yes
5674 echo "$as_me: failed program was:" >&5
5675 sed 's/^/| /' conftest.
$ac_ext >&5
5677 ac_cv_header_stdc
=no
5679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5681 if test $ac_cv_header_stdc = yes; then
5682 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5683 cat >conftest.
$ac_ext <<_ACEOF
5686 cat confdefs.h
>>conftest.
$ac_ext
5687 cat >>conftest.
$ac_ext <<_ACEOF
5688 /* end confdefs.h. */
5692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5693 $EGREP "memchr" >/dev
/null
2>&1; then
5696 ac_cv_header_stdc
=no
5702 if test $ac_cv_header_stdc = yes; then
5703 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5704 cat >conftest.
$ac_ext <<_ACEOF
5707 cat confdefs.h
>>conftest.
$ac_ext
5708 cat >>conftest.
$ac_ext <<_ACEOF
5709 /* end confdefs.h. */
5713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5714 $EGREP "free" >/dev
/null
2>&1; then
5717 ac_cv_header_stdc
=no
5723 if test $ac_cv_header_stdc = yes; then
5724 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5725 if test "$cross_compiling" = yes; then
5728 cat >conftest.
$ac_ext <<_ACEOF
5731 cat confdefs.h
>>conftest.
$ac_ext
5732 cat >>conftest.
$ac_ext <<_ACEOF
5733 /* end confdefs.h. */
5735 #if ((' ' & 0x0FF) == 0x020)
5736 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5737 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5739 # define ISLOWER(c) \
5740 (('a' <= (c) && (c) <= 'i') \
5741 || ('j' <= (c) && (c) <= 'r') \
5742 || ('s' <= (c) && (c) <= 'z'))
5743 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5746 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5751 for (i = 0; i < 256; i++)
5752 if (XOR (islower (i), ISLOWER (i))
5753 || toupper (i) != TOUPPER (i))
5758 rm -f conftest
$ac_exeext
5759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5760 (eval $ac_link) 2>&5
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; }; then
5771 echo "$as_me: program exited with status $ac_status" >&5
5772 echo "$as_me: failed program was:" >&5
5773 sed 's/^/| /' conftest.
$ac_ext >&5
5776 ac_cv_header_stdc
=no
5778 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5782 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5783 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5784 if test $ac_cv_header_stdc = yes; then
5786 cat >>confdefs.h
<<\_ACEOF
5787 #define STDC_HEADERS 1
5792 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5793 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5794 if test "${ac_cv_c_const+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 cat >conftest.
$ac_ext <<_ACEOF
5800 cat confdefs.h
>>conftest.
$ac_ext
5801 cat >>conftest.
$ac_ext <<_ACEOF
5802 /* end confdefs.h. */
5807 /* FIXME: Include the comments suggested by Paul. */
5809 /* Ultrix mips cc rejects this. */
5810 typedef int charset[2];
5812 /* SunOS 4.1.1 cc rejects this. */
5813 char const *const *ccp;
5815 /* NEC SVR4.0.2 mips cc rejects this. */
5816 struct point {int x, y;};
5817 static struct point const zero = {0,0};
5818 /* AIX XL C 1.02.0.0 rejects this.
5819 It does not let you subtract one const X* pointer from another in
5820 an arm of an if-expression whose if-part is not a constant
5822 const char *g = "string";
5823 ccp = &g + (g ? g-g : 0);
5824 /* HPUX 7.0 cc rejects these. */
5827 ccp = (char const *const *) p;
5828 { /* SCO 3.2v4 cc rejects this. */
5830 char const *s = 0 ? (char *) 0 : (char const *) 0;
5834 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5836 const int *foo = &x[0];
5839 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5840 typedef const int *iptr;
5844 { /* AIX XL C 1.02.0.0 rejects this saying
5845 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5846 struct s { int j; const int *ap[3]; };
5847 struct s *b; b->j = 5;
5849 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5858 rm -f conftest.
$ac_objext
5859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5860 (eval $ac_compile) 2>conftest.er1
5862 grep -v '^ *+' conftest.er1
>conftest.err
5864 cat conftest.err
>&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } &&
5867 { ac_try
='test -z "$ac_c_werror_flag"
5868 || test ! -s conftest.err'
5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }; } &&
5874 { ac_try
='test -s conftest.$ac_objext'
5875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; }; then
5882 echo "$as_me: failed program was:" >&5
5883 sed 's/^/| /' conftest.
$ac_ext >&5
5887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5889 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5890 echo "${ECHO_T}$ac_cv_c_const" >&6
5891 if test $ac_cv_c_const = no
; then
5893 cat >>confdefs.h
<<\_ACEOF
5899 echo "$as_me:$LINENO: checking for inline" >&5
5900 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5901 if test "${ac_cv_c_inline+set}" = set; then
5902 echo $ECHO_N "(cached) $ECHO_C" >&6
5905 for ac_kw
in inline __inline__ __inline
; do
5906 cat >conftest.
$ac_ext <<_ACEOF
5909 cat confdefs.h
>>conftest.
$ac_ext
5910 cat >>conftest.
$ac_ext <<_ACEOF
5911 /* end confdefs.h. */
5914 static $ac_kw foo_t static_foo () {return 0; }
5915 $ac_kw foo_t foo () {return 0; }
5919 rm -f conftest.
$ac_objext
5920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5921 (eval $ac_compile) 2>conftest.er1
5923 grep -v '^ *+' conftest.er1
>conftest.err
5925 cat conftest.err
>&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } &&
5928 { ac_try
='test -z "$ac_c_werror_flag"
5929 || test ! -s conftest.err'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; } &&
5935 { ac_try
='test -s conftest.$ac_objext'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 ac_cv_c_inline
=$ac_kw; break
5943 echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.
$ac_ext >&5
5947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5951 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5952 echo "${ECHO_T}$ac_cv_c_inline" >&6
5955 case $ac_cv_c_inline in
5958 case $ac_cv_c_inline in
5960 *) ac_val
=$ac_cv_c_inline;;
5962 cat >>confdefs.h
<<_ACEOF
5964 #define inline $ac_val
5970 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5980 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5981 inttypes.h stdint.h unistd.h
5983 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5984 echo "$as_me:$LINENO: checking for $ac_header" >&5
5985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5989 cat >conftest.
$ac_ext <<_ACEOF
5992 cat confdefs.h
>>conftest.
$ac_ext
5993 cat >>conftest.
$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 $ac_includes_default
5997 #include <$ac_header>
5999 rm -f conftest.
$ac_objext
6000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6001 (eval $ac_compile) 2>conftest.er1
6003 grep -v '^ *+' conftest.er1
>conftest.err
6005 cat conftest.err
>&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); } &&
6008 { ac_try
='test -z "$ac_c_werror_flag"
6009 || test ! -s conftest.err'
6010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); }; } &&
6015 { ac_try
='test -s conftest.$ac_objext'
6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; }; then
6021 eval "$as_ac_Header=yes"
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.
$ac_ext >&5
6026 eval "$as_ac_Header=no"
6028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6032 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6033 cat >>confdefs.h
<<_ACEOF
6034 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6042 echo "$as_me:$LINENO: checking for off_t" >&5
6043 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6044 if test "${ac_cv_type_off_t+set}" = set; then
6045 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 cat >conftest.
$ac_ext <<_ACEOF
6050 cat confdefs.h
>>conftest.
$ac_ext
6051 cat >>conftest.
$ac_ext <<_ACEOF
6052 /* end confdefs.h. */
6053 $ac_includes_default
6065 rm -f conftest.
$ac_objext
6066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6067 (eval $ac_compile) 2>conftest.er1
6069 grep -v '^ *+' conftest.er1
>conftest.err
6071 cat conftest.err
>&5
6072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); } &&
6074 { ac_try
='test -z "$ac_c_werror_flag"
6075 || test ! -s conftest.err'
6076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); }; } &&
6081 { ac_try
='test -s conftest.$ac_objext'
6082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }; }; then
6087 ac_cv_type_off_t
=yes
6089 echo "$as_me: failed program was:" >&5
6090 sed 's/^/| /' conftest.
$ac_ext >&5
6094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6096 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6097 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6098 if test $ac_cv_type_off_t = yes; then
6102 cat >>confdefs.h
<<_ACEOF
6108 echo "$as_me:$LINENO: checking for size_t" >&5
6109 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6110 if test "${ac_cv_type_size_t+set}" = set; then
6111 echo $ECHO_N "(cached) $ECHO_C" >&6
6113 cat >conftest.
$ac_ext <<_ACEOF
6116 cat confdefs.h
>>conftest.
$ac_ext
6117 cat >>conftest.
$ac_ext <<_ACEOF
6118 /* end confdefs.h. */
6119 $ac_includes_default
6125 if (sizeof (size_t))
6131 rm -f conftest.
$ac_objext
6132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6133 (eval $ac_compile) 2>conftest.er1
6135 grep -v '^ *+' conftest.er1
>conftest.err
6137 cat conftest.err
>&5
6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 (exit $ac_status); } &&
6140 { ac_try
='test -z "$ac_c_werror_flag"
6141 || test ! -s conftest.err'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; } &&
6147 { ac_try
='test -s conftest.$ac_objext'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; }; then
6153 ac_cv_type_size_t
=yes
6155 echo "$as_me: failed program was:" >&5
6156 sed 's/^/| /' conftest.
$ac_ext >&5
6158 ac_cv_type_size_t
=no
6160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6162 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6163 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6164 if test $ac_cv_type_size_t = yes; then
6168 cat >>confdefs.h
<<_ACEOF
6169 #define size_t unsigned
6174 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6175 # for constant arguments. Useless!
6176 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6177 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6178 if test "${ac_cv_working_alloca_h+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 cat >conftest.
$ac_ext <<_ACEOF
6184 cat confdefs.h
>>conftest.
$ac_ext
6185 cat >>conftest.
$ac_ext <<_ACEOF
6186 /* end confdefs.h. */
6191 char *p = (char *) alloca (2 * sizeof (int));
6196 rm -f conftest.
$ac_objext conftest
$ac_exeext
6197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6198 (eval $ac_link) 2>conftest.er1
6200 grep -v '^ *+' conftest.er1
>conftest.err
6202 cat conftest.err
>&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); } &&
6205 { ac_try
='test -z "$ac_c_werror_flag"
6206 || test ! -s conftest.err'
6207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); }; } &&
6212 { ac_try
='test -s conftest$ac_exeext'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6218 ac_cv_working_alloca_h
=yes
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.
$ac_ext >&5
6223 ac_cv_working_alloca_h
=no
6225 rm -f conftest.err conftest.
$ac_objext \
6226 conftest
$ac_exeext conftest.
$ac_ext
6228 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6229 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6230 if test $ac_cv_working_alloca_h = yes; then
6232 cat >>confdefs.h
<<\_ACEOF
6233 #define HAVE_ALLOCA_H 1
6238 echo "$as_me:$LINENO: checking for alloca" >&5
6239 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6240 if test "${ac_cv_func_alloca_works+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 cat >conftest.
$ac_ext <<_ACEOF
6246 cat confdefs.h
>>conftest.
$ac_ext
6247 cat >>conftest.
$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6250 # define alloca __builtin_alloca
6253 # include <malloc.h>
6254 # define alloca _alloca
6257 # include <alloca.h>
6262 # ifndef alloca /* predefined by HP cc +Olibcalls */
6273 char *p = (char *) alloca (1);
6278 rm -f conftest.
$ac_objext conftest
$ac_exeext
6279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6280 (eval $ac_link) 2>conftest.er1
6282 grep -v '^ *+' conftest.er1
>conftest.err
6284 cat conftest.err
>&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); } &&
6287 { ac_try
='test -z "$ac_c_werror_flag"
6288 || test ! -s conftest.err'
6289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); }; } &&
6294 { ac_try
='test -s conftest$ac_exeext'
6295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; }; then
6300 ac_cv_func_alloca_works
=yes
6302 echo "$as_me: failed program was:" >&5
6303 sed 's/^/| /' conftest.
$ac_ext >&5
6305 ac_cv_func_alloca_works
=no
6307 rm -f conftest.err conftest.
$ac_objext \
6308 conftest
$ac_exeext conftest.
$ac_ext
6310 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6311 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6313 if test $ac_cv_func_alloca_works = yes; then
6315 cat >>confdefs.h
<<\_ACEOF
6316 #define HAVE_ALLOCA 1
6320 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6321 # that cause trouble. Some versions do not even contain alloca or
6322 # contain a buggy version. If you still want to use their alloca,
6323 # use ar to extract alloca.o from them instead of compiling alloca.c.
6325 ALLOCA
=alloca.
$ac_objext
6327 cat >>confdefs.h
<<\_ACEOF
6332 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6333 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6334 if test "${ac_cv_os_cray+set}" = set; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6337 cat >conftest.
$ac_ext <<_ACEOF
6340 cat confdefs.h
>>conftest.
$ac_ext
6341 cat >>conftest.
$ac_ext <<_ACEOF
6342 /* end confdefs.h. */
6343 #if defined(CRAY) && ! defined(CRAY2)
6350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6351 $EGREP "webecray" >/dev
/null
2>&1; then
6359 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6360 echo "${ECHO_T}$ac_cv_os_cray" >&6
6361 if test $ac_cv_os_cray = yes; then
6362 for ac_func
in _getb67 GETB67 getb67
; do
6363 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6364 echo "$as_me:$LINENO: checking for $ac_func" >&5
6365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6366 if eval "test \"\${$as_ac_var+set}\" = set"; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 cat >conftest.
$ac_ext <<_ACEOF
6372 cat confdefs.h
>>conftest.
$ac_ext
6373 cat >>conftest.
$ac_ext <<_ACEOF
6374 /* end confdefs.h. */
6375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6377 #define $ac_func innocuous_$ac_func
6379 /* System header to define __stub macros and hopefully few prototypes,
6380 which can conflict with char $ac_func (); below.
6381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6382 <limits.h> exists even on freestanding compilers. */
6385 # include <limits.h>
6387 # include <assert.h>
6392 /* Override any gcc2 internal prototype to avoid an error. */
6397 /* We use char because int might match the return type of a gcc2
6398 builtin and then its argument prototype would still apply. */
6400 /* The GNU C library defines this for functions which it implements
6401 to always fail with ENOSYS. Some functions are actually named
6402 something starting with __ and the normal name is an alias. */
6403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6406 char (*f) () = $ac_func;
6415 return f != $ac_func;
6420 rm -f conftest.
$ac_objext conftest
$ac_exeext
6421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6422 (eval $ac_link) 2>conftest.er1
6424 grep -v '^ *+' conftest.er1
>conftest.err
6426 cat conftest.err
>&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } &&
6429 { ac_try
='test -z "$ac_c_werror_flag"
6430 || test ! -s conftest.err'
6431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); }; } &&
6436 { ac_try
='test -s conftest$ac_exeext'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; }; then
6442 eval "$as_ac_var=yes"
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.
$ac_ext >&5
6447 eval "$as_ac_var=no"
6449 rm -f conftest.err conftest.
$ac_objext \
6450 conftest
$ac_exeext conftest.
$ac_ext
6452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6454 if test `eval echo '${'$as_ac_var'}'` = yes; then
6456 cat >>confdefs.h
<<_ACEOF
6457 #define CRAY_STACKSEG_END $ac_func
6466 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6467 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6468 if test "${ac_cv_c_stack_direction+set}" = set; then
6469 echo $ECHO_N "(cached) $ECHO_C" >&6
6471 if test "$cross_compiling" = yes; then
6472 ac_cv_c_stack_direction
=0
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6481 find_stack_direction ()
6483 static char *addr = 0;
6488 return find_stack_direction ();
6491 return (&dummy > addr) ? 1 : -1;
6497 exit (find_stack_direction () < 0);
6500 rm -f conftest
$ac_exeext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6502 (eval $ac_link) 2>&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; }; then
6511 ac_cv_c_stack_direction
=1
6513 echo "$as_me: program exited with status $ac_status" >&5
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.
$ac_ext >&5
6518 ac_cv_c_stack_direction
=-1
6520 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6523 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6524 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6526 cat >>confdefs.h
<<_ACEOF
6527 #define STACK_DIRECTION $ac_cv_c_stack_direction
6535 for ac_header
in stdlib.h unistd.h
6537 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6539 echo "$as_me:$LINENO: checking for $ac_header" >&5
6540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6547 # Is the header compilable?
6548 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6549 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6550 cat >conftest.
$ac_ext <<_ACEOF
6553 cat confdefs.h
>>conftest.
$ac_ext
6554 cat >>conftest.
$ac_ext <<_ACEOF
6555 /* end confdefs.h. */
6556 $ac_includes_default
6557 #include <$ac_header>
6559 rm -f conftest.
$ac_objext
6560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6561 (eval $ac_compile) 2>conftest.er1
6563 grep -v '^ *+' conftest.er1
>conftest.err
6565 cat conftest.err
>&5
6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567 (exit $ac_status); } &&
6568 { ac_try
='test -z "$ac_c_werror_flag"
6569 || test ! -s conftest.err'
6570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); }; } &&
6575 { ac_try
='test -s conftest.$ac_objext'
6576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }; }; then
6581 ac_header_compiler
=yes
6583 echo "$as_me: failed program was:" >&5
6584 sed 's/^/| /' conftest.
$ac_ext >&5
6586 ac_header_compiler
=no
6588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6589 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6590 echo "${ECHO_T}$ac_header_compiler" >&6
6592 # Is the header present?
6593 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6595 cat >conftest.
$ac_ext <<_ACEOF
6598 cat confdefs.h
>>conftest.
$ac_ext
6599 cat >>conftest.
$ac_ext <<_ACEOF
6600 /* end confdefs.h. */
6601 #include <$ac_header>
6603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6604 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6606 grep -v '^ *+' conftest.er1
>conftest.err
6608 cat conftest.err
>&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } >/dev
/null
; then
6611 if test -s conftest.err
; then
6612 ac_cpp_err
=$ac_c_preproc_warn_flag
6613 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6620 if test -z "$ac_cpp_err"; then
6621 ac_header_preproc
=yes
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.
$ac_ext >&5
6626 ac_header_preproc
=no
6628 rm -f conftest.err conftest.
$ac_ext
6629 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6630 echo "${ECHO_T}$ac_header_preproc" >&6
6632 # So? What about this header?
6633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6635 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6636 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6638 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6639 ac_header_preproc
=yes
6642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6646 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6647 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6648 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6649 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6652 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6653 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6656 ## ------------------------------------------ ##
6657 ## Report this to the AC_PACKAGE_NAME lists. ##
6658 ## ------------------------------------------ ##
6661 sed "s/^/$as_me: WARNING: /" >&2
6664 echo "$as_me:$LINENO: checking for $ac_header" >&5
6665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6667 echo $ECHO_N "(cached) $ECHO_C" >&6
6669 eval "$as_ac_Header=\$ac_header_preproc"
6671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6676 cat >>confdefs.h
<<_ACEOF
6677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6685 for ac_func
in getpagesize
6687 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6688 echo "$as_me:$LINENO: checking for $ac_func" >&5
6689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6690 if eval "test \"\${$as_ac_var+set}\" = set"; then
6691 echo $ECHO_N "(cached) $ECHO_C" >&6
6693 cat >conftest.
$ac_ext <<_ACEOF
6696 cat confdefs.h
>>conftest.
$ac_ext
6697 cat >>conftest.
$ac_ext <<_ACEOF
6698 /* end confdefs.h. */
6699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6701 #define $ac_func innocuous_$ac_func
6703 /* System header to define __stub macros and hopefully few prototypes,
6704 which can conflict with char $ac_func (); below.
6705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6706 <limits.h> exists even on freestanding compilers. */
6709 # include <limits.h>
6711 # include <assert.h>
6716 /* Override any gcc2 internal prototype to avoid an error. */
6721 /* We use char because int might match the return type of a gcc2
6722 builtin and then its argument prototype would still apply. */
6724 /* The GNU C library defines this for functions which it implements
6725 to always fail with ENOSYS. Some functions are actually named
6726 something starting with __ and the normal name is an alias. */
6727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6730 char (*f) () = $ac_func;
6739 return f != $ac_func;
6744 rm -f conftest.
$ac_objext conftest
$ac_exeext
6745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6746 (eval $ac_link) 2>conftest.er1
6748 grep -v '^ *+' conftest.er1
>conftest.err
6750 cat conftest.err
>&5
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); } &&
6753 { ac_try
='test -z "$ac_c_werror_flag"
6754 || test ! -s conftest.err'
6755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; } &&
6760 { ac_try
='test -s conftest$ac_exeext'
6761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); }; }; then
6766 eval "$as_ac_var=yes"
6768 echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.
$ac_ext >&5
6771 eval "$as_ac_var=no"
6773 rm -f conftest.err conftest.
$ac_objext \
6774 conftest
$ac_exeext conftest.
$ac_ext
6776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6778 if test `eval echo '${'$as_ac_var'}'` = yes; then
6779 cat >>confdefs.h
<<_ACEOF
6780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6786 echo "$as_me:$LINENO: checking for working mmap" >&5
6787 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6788 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6789 echo $ECHO_N "(cached) $ECHO_C" >&6
6791 if test "$cross_compiling" = yes; then
6792 ac_cv_func_mmap_fixed_mapped
=no
6794 cat >conftest.
$ac_ext <<_ACEOF
6797 cat confdefs.h
>>conftest.
$ac_ext
6798 cat >>conftest.
$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6800 $ac_includes_default
6801 /* malloc might have been renamed as rpl_malloc. */
6804 /* Thanks to Mike Haertel and Jim Avera for this test.
6805 Here is a matrix of mmap possibilities:
6806 mmap private not fixed
6807 mmap private fixed at somewhere currently unmapped
6808 mmap private fixed at somewhere already mapped
6809 mmap shared not fixed
6810 mmap shared fixed at somewhere currently unmapped
6811 mmap shared fixed at somewhere already mapped
6812 For private mappings, we should verify that changes cannot be read()
6813 back from the file, nor mmap's back from the file at a different
6814 address. (There have been systems where private was not correctly
6815 implemented like the infamous i386 svr4.0, and systems where the
6816 VM page cache was not coherent with the file system buffer cache
6817 like early versions of FreeBSD and possibly contemporary NetBSD.)
6818 For shared mappings, we should conversely verify that changes get
6819 propagated back to all the places they're supposed to be.
6821 Grep wants private fixed already mapped.
6822 The main things grep needs to know about mmap are:
6823 * does it exist and is it safe to write into the mmap'd area
6824 * how to use it (BSD variants) */
6827 #include <sys/mman.h>
6829 #if !STDC_HEADERS && !HAVE_STDLIB_H
6833 /* This mess was copied from the GNU getpagesize.h. */
6834 #if !HAVE_GETPAGESIZE
6835 /* Assume that all systems that can run configure have sys/param.h. */
6836 # if !HAVE_SYS_PARAM_H
6837 # define HAVE_SYS_PARAM_H 1
6840 # ifdef _SC_PAGESIZE
6841 # define getpagesize() sysconf(_SC_PAGESIZE)
6842 # else /* no _SC_PAGESIZE */
6843 # if HAVE_SYS_PARAM_H
6844 # include <sys/param.h>
6845 # ifdef EXEC_PAGESIZE
6846 # define getpagesize() EXEC_PAGESIZE
6847 # else /* no EXEC_PAGESIZE */
6849 # define getpagesize() NBPG * CLSIZE
6852 # endif /* no CLSIZE */
6853 # else /* no NBPG */
6855 # define getpagesize() NBPC
6856 # else /* no NBPC */
6858 # define getpagesize() PAGESIZE
6859 # endif /* PAGESIZE */
6860 # endif /* no NBPC */
6861 # endif /* no NBPG */
6862 # endif /* no EXEC_PAGESIZE */
6863 # else /* no HAVE_SYS_PARAM_H */
6864 # define getpagesize() 8192 /* punt totally */
6865 # endif /* no HAVE_SYS_PARAM_H */
6866 # endif /* no _SC_PAGESIZE */
6868 #endif /* no HAVE_GETPAGESIZE */
6873 char *data, *data2, *data3;
6877 pagesize = getpagesize ();
6879 /* First, make a file with some known garbage in it. */
6880 data = (char *) malloc (pagesize);
6883 for (i = 0; i < pagesize; ++i)
6884 *(data + i) = rand ();
6886 fd = creat ("conftest.mmap", 0600);
6889 if (write (fd, data, pagesize) != pagesize)
6893 /* Next, try to mmap the file at a fixed address which already has
6894 something else allocated at it. If we can, also make sure that
6895 we see the same garbage. */
6896 fd = open ("conftest.mmap", O_RDWR);
6899 data2 = (char *) malloc (2 * pagesize);
6902 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6903 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6904 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6906 for (i = 0; i < pagesize; ++i)
6907 if (*(data + i) != *(data2 + i))
6910 /* Finally, make sure that changes to the mapped area do not
6911 percolate back to the file as seen by read(). (This is a bug on
6912 some variants of i386 svr4.0.) */
6913 for (i = 0; i < pagesize; ++i)
6914 *(data2 + i) = *(data2 + i) + 1;
6915 data3 = (char *) malloc (pagesize);
6918 if (read (fd, data3, pagesize) != pagesize)
6920 for (i = 0; i < pagesize; ++i)
6921 if (*(data + i) != *(data3 + i))
6927 rm -f conftest
$ac_exeext
6928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6929 (eval $ac_link) 2>&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937 (exit $ac_status); }; }; then
6938 ac_cv_func_mmap_fixed_mapped
=yes
6940 echo "$as_me: program exited with status $ac_status" >&5
6941 echo "$as_me: failed program was:" >&5
6942 sed 's/^/| /' conftest.
$ac_ext >&5
6945 ac_cv_func_mmap_fixed_mapped
=no
6947 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6950 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6951 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6952 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6954 cat >>confdefs.h
<<\_ACEOF
6971 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6972 unistd.h values.h sys
/param.h
6974 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6976 echo "$as_me:$LINENO: checking for $ac_header" >&5
6977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6984 # Is the header compilable?
6985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6987 cat >conftest.
$ac_ext <<_ACEOF
6990 cat confdefs.h
>>conftest.
$ac_ext
6991 cat >>conftest.
$ac_ext <<_ACEOF
6992 /* end confdefs.h. */
6993 $ac_includes_default
6994 #include <$ac_header>
6996 rm -f conftest.
$ac_objext
6997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6998 (eval $ac_compile) 2>conftest.er1
7000 grep -v '^ *+' conftest.er1
>conftest.err
7002 cat conftest.err
>&5
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); } &&
7005 { ac_try
='test -z "$ac_c_werror_flag"
7006 || test ! -s conftest.err'
7007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); }; } &&
7012 { ac_try
='test -s conftest.$ac_objext'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; }; then
7018 ac_header_compiler
=yes
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.
$ac_ext >&5
7023 ac_header_compiler
=no
7025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7027 echo "${ECHO_T}$ac_header_compiler" >&6
7029 # Is the header present?
7030 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7032 cat >conftest.
$ac_ext <<_ACEOF
7035 cat confdefs.h
>>conftest.
$ac_ext
7036 cat >>conftest.
$ac_ext <<_ACEOF
7037 /* end confdefs.h. */
7038 #include <$ac_header>
7040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7041 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7043 grep -v '^ *+' conftest.er1
>conftest.err
7045 cat conftest.err
>&5
7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047 (exit $ac_status); } >/dev
/null
; then
7048 if test -s conftest.err
; then
7049 ac_cpp_err
=$ac_c_preproc_warn_flag
7050 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7057 if test -z "$ac_cpp_err"; then
7058 ac_header_preproc
=yes
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.
$ac_ext >&5
7063 ac_header_preproc
=no
7065 rm -f conftest.err conftest.
$ac_ext
7066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7067 echo "${ECHO_T}$ac_header_preproc" >&6
7069 # So? What about this header?
7070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7076 ac_header_preproc
=yes
7079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7093 ## ------------------------------------------ ##
7094 ## Report this to the AC_PACKAGE_NAME lists. ##
7095 ## ------------------------------------------ ##
7098 sed "s/^/$as_me: WARNING: /" >&2
7101 echo "$as_me:$LINENO: checking for $ac_header" >&5
7102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7106 eval "$as_ac_Header=\$ac_header_preproc"
7108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7113 cat >>confdefs.h
<<_ACEOF
7114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7131 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
7132 __argz_count __argz_stringify __argz_next
7134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7135 echo "$as_me:$LINENO: checking for $ac_func" >&5
7136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7137 if eval "test \"\${$as_ac_var+set}\" = set"; then
7138 echo $ECHO_N "(cached) $ECHO_C" >&6
7140 cat >conftest.
$ac_ext <<_ACEOF
7143 cat confdefs.h
>>conftest.
$ac_ext
7144 cat >>conftest.
$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7148 #define $ac_func innocuous_$ac_func
7150 /* System header to define __stub macros and hopefully few prototypes,
7151 which can conflict with char $ac_func (); below.
7152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7153 <limits.h> exists even on freestanding compilers. */
7156 # include <limits.h>
7158 # include <assert.h>
7163 /* Override any gcc2 internal prototype to avoid an error. */
7168 /* We use char because int might match the return type of a gcc2
7169 builtin and then its argument prototype would still apply. */
7171 /* The GNU C library defines this for functions which it implements
7172 to always fail with ENOSYS. Some functions are actually named
7173 something starting with __ and the normal name is an alias. */
7174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7177 char (*f) () = $ac_func;
7186 return f != $ac_func;
7191 rm -f conftest.
$ac_objext conftest
$ac_exeext
7192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7193 (eval $ac_link) 2>conftest.er1
7195 grep -v '^ *+' conftest.er1
>conftest.err
7197 cat conftest.err
>&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); } &&
7200 { ac_try
='test -z "$ac_c_werror_flag"
7201 || test ! -s conftest.err'
7202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); }; } &&
7207 { ac_try
='test -s conftest$ac_exeext'
7208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); }; }; then
7213 eval "$as_ac_var=yes"
7215 echo "$as_me: failed program was:" >&5
7216 sed 's/^/| /' conftest.
$ac_ext >&5
7218 eval "$as_ac_var=no"
7220 rm -f conftest.err conftest.
$ac_objext \
7221 conftest
$ac_exeext conftest.
$ac_ext
7223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7225 if test `eval echo '${'$as_ac_var'}'` = yes; then
7226 cat >>confdefs.h
<<_ACEOF
7227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7234 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7236 for ac_func
in stpcpy
7238 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7239 echo "$as_me:$LINENO: checking for $ac_func" >&5
7240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7241 if eval "test \"\${$as_ac_var+set}\" = set"; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 cat >conftest.
$ac_ext <<_ACEOF
7247 cat confdefs.h
>>conftest.
$ac_ext
7248 cat >>conftest.
$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7252 #define $ac_func innocuous_$ac_func
7254 /* System header to define __stub macros and hopefully few prototypes,
7255 which can conflict with char $ac_func (); below.
7256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7257 <limits.h> exists even on freestanding compilers. */
7260 # include <limits.h>
7262 # include <assert.h>
7267 /* Override any gcc2 internal prototype to avoid an error. */
7272 /* We use char because int might match the return type of a gcc2
7273 builtin and then its argument prototype would still apply. */
7275 /* The GNU C library defines this for functions which it implements
7276 to always fail with ENOSYS. Some functions are actually named
7277 something starting with __ and the normal name is an alias. */
7278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7281 char (*f) () = $ac_func;
7290 return f != $ac_func;
7295 rm -f conftest.
$ac_objext conftest
$ac_exeext
7296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7297 (eval $ac_link) 2>conftest.er1
7299 grep -v '^ *+' conftest.er1
>conftest.err
7301 cat conftest.err
>&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); } &&
7304 { ac_try
='test -z "$ac_c_werror_flag"
7305 || test ! -s conftest.err'
7306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); }; } &&
7311 { ac_try
='test -s conftest$ac_exeext'
7312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); }; }; then
7317 eval "$as_ac_var=yes"
7319 echo "$as_me: failed program was:" >&5
7320 sed 's/^/| /' conftest.
$ac_ext >&5
7322 eval "$as_ac_var=no"
7324 rm -f conftest.err conftest.
$ac_objext \
7325 conftest
$ac_exeext conftest.
$ac_ext
7327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7329 if test `eval echo '${'$as_ac_var'}'` = yes; then
7330 cat >>confdefs.h
<<_ACEOF
7331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7338 if test "${ac_cv_func_stpcpy}" = "yes"; then
7340 cat >>confdefs.h
<<\_ACEOF
7341 #define HAVE_STPCPY 1
7346 if test $ac_cv_header_locale_h = yes; then
7347 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7348 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7349 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7350 echo $ECHO_N "(cached) $ECHO_C" >&6
7352 cat >conftest.
$ac_ext <<_ACEOF
7355 cat confdefs.h
>>conftest.
$ac_ext
7356 cat >>conftest.
$ac_ext <<_ACEOF
7357 /* end confdefs.h. */
7367 rm -f conftest.
$ac_objext conftest
$ac_exeext
7368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7369 (eval $ac_link) 2>conftest.er1
7371 grep -v '^ *+' conftest.er1
>conftest.err
7373 cat conftest.err
>&5
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); } &&
7376 { ac_try
='test -z "$ac_c_werror_flag"
7377 || test ! -s conftest.err'
7378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); }; } &&
7383 { ac_try
='test -s conftest$ac_exeext'
7384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); }; }; then
7389 am_cv_val_LC_MESSAGES
=yes
7391 echo "$as_me: failed program was:" >&5
7392 sed 's/^/| /' conftest.
$ac_ext >&5
7394 am_cv_val_LC_MESSAGES
=no
7396 rm -f conftest.err conftest.
$ac_objext \
7397 conftest
$ac_exeext conftest.
$ac_ext
7399 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7400 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7401 if test $am_cv_val_LC_MESSAGES = yes; then
7403 cat >>confdefs.h
<<\_ACEOF
7404 #define HAVE_LC_MESSAGES 1
7409 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7410 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7411 # Check whether --enable-nls or --disable-nls was given.
7412 if test "${enable_nls+set}" = set; then
7413 enableval
="$enable_nls"
7418 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7419 echo "${ECHO_T}$USE_NLS" >&6
7422 USE_INCLUDED_LIBINTL
=no
7424 if test "$USE_NLS" = "yes"; then
7425 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7426 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7428 # Check whether --with-included-gettext or --without-included-gettext was given.
7429 if test "${with_included_gettext+set}" = set; then
7430 withval
="$with_included_gettext"
7431 nls_cv_force_use_gnu_gettext
=$withval
7433 nls_cv_force_use_gnu_gettext
=no
7435 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7436 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7438 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7439 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7441 nls_cv_header_libgt
=
7444 if test "${ac_cv_header_libintl_h+set}" = set; then
7445 echo "$as_me:$LINENO: checking for libintl.h" >&5
7446 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7447 if test "${ac_cv_header_libintl_h+set}" = set; then
7448 echo $ECHO_N "(cached) $ECHO_C" >&6
7450 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7451 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7453 # Is the header compilable?
7454 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7455 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7456 cat >conftest.
$ac_ext <<_ACEOF
7459 cat confdefs.h
>>conftest.
$ac_ext
7460 cat >>conftest.
$ac_ext <<_ACEOF
7461 /* end confdefs.h. */
7462 $ac_includes_default
7463 #include <libintl.h>
7465 rm -f conftest.
$ac_objext
7466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7467 (eval $ac_compile) 2>conftest.er1
7469 grep -v '^ *+' conftest.er1
>conftest.err
7471 cat conftest.err
>&5
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); } &&
7474 { ac_try
='test -z "$ac_c_werror_flag"
7475 || test ! -s conftest.err'
7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); }; } &&
7481 { ac_try
='test -s conftest.$ac_objext'
7482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }; }; then
7487 ac_header_compiler
=yes
7489 echo "$as_me: failed program was:" >&5
7490 sed 's/^/| /' conftest.
$ac_ext >&5
7492 ac_header_compiler
=no
7494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7496 echo "${ECHO_T}$ac_header_compiler" >&6
7498 # Is the header present?
7499 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7500 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7501 cat >conftest.
$ac_ext <<_ACEOF
7504 cat confdefs.h
>>conftest.
$ac_ext
7505 cat >>conftest.
$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #include <libintl.h>
7509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7512 grep -v '^ *+' conftest.er1
>conftest.err
7514 cat conftest.err
>&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } >/dev
/null
; then
7517 if test -s conftest.err
; then
7518 ac_cpp_err
=$ac_c_preproc_warn_flag
7519 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7526 if test -z "$ac_cpp_err"; then
7527 ac_header_preproc
=yes
7529 echo "$as_me: failed program was:" >&5
7530 sed 's/^/| /' conftest.
$ac_ext >&5
7532 ac_header_preproc
=no
7534 rm -f conftest.err conftest.
$ac_ext
7535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7536 echo "${ECHO_T}$ac_header_preproc" >&6
7538 # So? What about this header?
7539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7541 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7542 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7543 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7544 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7545 ac_header_preproc
=yes
7548 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7549 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7550 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7551 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7552 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7553 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7554 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7555 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7556 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7557 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7558 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7559 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7562 ## ------------------------------------------ ##
7563 ## Report this to the AC_PACKAGE_NAME lists. ##
7564 ## ------------------------------------------ ##
7567 sed "s/^/$as_me: WARNING: /" >&2
7570 echo "$as_me:$LINENO: checking for libintl.h" >&5
7571 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7572 if test "${ac_cv_header_libintl_h+set}" = set; then
7573 echo $ECHO_N "(cached) $ECHO_C" >&6
7575 ac_cv_header_libintl_h
=$ac_header_preproc
7577 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7578 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7581 if test $ac_cv_header_libintl_h = yes; then
7582 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7583 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7584 if test "${gt_cv_func_gettext_libc+set}" = set; then
7585 echo $ECHO_N "(cached) $ECHO_C" >&6
7587 cat >conftest.
$ac_ext <<_ACEOF
7590 cat confdefs.h
>>conftest.
$ac_ext
7591 cat >>conftest.
$ac_ext <<_ACEOF
7592 /* end confdefs.h. */
7593 #include <libintl.h>
7597 return (int) gettext ("")
7602 rm -f conftest.
$ac_objext conftest
$ac_exeext
7603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7604 (eval $ac_link) 2>conftest.er1
7606 grep -v '^ *+' conftest.er1
>conftest.err
7608 cat conftest.err
>&5
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); } &&
7611 { ac_try
='test -z "$ac_c_werror_flag"
7612 || test ! -s conftest.err'
7613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); }; } &&
7618 { ac_try
='test -s conftest$ac_exeext'
7619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623 (exit $ac_status); }; }; then
7624 gt_cv_func_gettext_libc
=yes
7626 echo "$as_me: failed program was:" >&5
7627 sed 's/^/| /' conftest.
$ac_ext >&5
7629 gt_cv_func_gettext_libc
=no
7631 rm -f conftest.err conftest.
$ac_objext \
7632 conftest
$ac_exeext conftest.
$ac_ext
7634 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7635 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7637 if test "$gt_cv_func_gettext_libc" != "yes"; then
7638 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7639 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7640 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 ac_check_lib_save_LIBS
=$LIBS
7645 cat >conftest.
$ac_ext <<_ACEOF
7648 cat confdefs.h
>>conftest.
$ac_ext
7649 cat >>conftest.
$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7652 /* Override any gcc2 internal prototype to avoid an error. */
7656 /* We use char because int might match the return type of a gcc2
7657 builtin and then its argument prototype would still apply. */
7658 char bindtextdomain ();
7667 rm -f conftest.
$ac_objext conftest
$ac_exeext
7668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7669 (eval $ac_link) 2>conftest.er1
7671 grep -v '^ *+' conftest.er1
>conftest.err
7673 cat conftest.err
>&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); } &&
7676 { ac_try
='test -z "$ac_c_werror_flag"
7677 || test ! -s conftest.err'
7678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; } &&
7683 { ac_try
='test -s conftest$ac_exeext'
7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); }; }; then
7689 ac_cv_lib_intl_bindtextdomain
=yes
7691 echo "$as_me: failed program was:" >&5
7692 sed 's/^/| /' conftest.
$ac_ext >&5
7694 ac_cv_lib_intl_bindtextdomain
=no
7696 rm -f conftest.err conftest.
$ac_objext \
7697 conftest
$ac_exeext conftest.
$ac_ext
7698 LIBS
=$ac_check_lib_save_LIBS
7700 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7701 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7702 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7703 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7704 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7705 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7706 echo $ECHO_N "(cached) $ECHO_C" >&6
7708 cat >conftest.
$ac_ext <<_ACEOF
7711 cat confdefs.h
>>conftest.
$ac_ext
7712 cat >>conftest.
$ac_ext <<_ACEOF
7713 /* end confdefs.h. */
7718 return (int) gettext ("")
7723 rm -f conftest.
$ac_objext conftest
$ac_exeext
7724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7725 (eval $ac_link) 2>conftest.er1
7727 grep -v '^ *+' conftest.er1
>conftest.err
7729 cat conftest.err
>&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); } &&
7732 { ac_try
='test -z "$ac_c_werror_flag"
7733 || test ! -s conftest.err'
7734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); }; } &&
7739 { ac_try
='test -s conftest$ac_exeext'
7740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); }; }; then
7745 gt_cv_func_gettext_libintl
=yes
7747 echo "$as_me: failed program was:" >&5
7748 sed 's/^/| /' conftest.
$ac_ext >&5
7750 gt_cv_func_gettext_libintl
=no
7752 rm -f conftest.err conftest.
$ac_objext \
7753 conftest
$ac_exeext conftest.
$ac_ext
7755 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7756 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7761 if test "$gt_cv_func_gettext_libc" = "yes" \
7762 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7764 cat >>confdefs.h
<<\_ACEOF
7765 #define HAVE_GETTEXT 1
7768 # Extract the first word of "msgfmt", so it can be a program name with args.
7769 set dummy msgfmt
; ac_word
=$2
7770 echo "$as_me:$LINENO: checking for $ac_word" >&5
7771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7772 if test "${ac_cv_path_MSGFMT+set}" = set; then
7773 echo $ECHO_N "(cached) $ECHO_C" >&6
7777 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7780 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7781 for ac_dir
in $PATH; do
7782 test -z "$ac_dir" && ac_dir
=.
7783 if test -f $ac_dir/$ac_word; then
7784 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7785 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7791 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7795 MSGFMT
="$ac_cv_path_MSGFMT"
7796 if test -n "$MSGFMT"; then
7797 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7798 echo "${ECHO_T}$MSGFMT" >&6
7800 echo "$as_me:$LINENO: result: no" >&5
7801 echo "${ECHO_T}no" >&6
7803 if test "$MSGFMT" != "no"; then
7805 for ac_func
in dcgettext
7807 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7808 echo "$as_me:$LINENO: checking for $ac_func" >&5
7809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7810 if eval "test \"\${$as_ac_var+set}\" = set"; then
7811 echo $ECHO_N "(cached) $ECHO_C" >&6
7813 cat >conftest.
$ac_ext <<_ACEOF
7816 cat confdefs.h
>>conftest.
$ac_ext
7817 cat >>conftest.
$ac_ext <<_ACEOF
7818 /* end confdefs.h. */
7819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7821 #define $ac_func innocuous_$ac_func
7823 /* System header to define __stub macros and hopefully few prototypes,
7824 which can conflict with char $ac_func (); below.
7825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7826 <limits.h> exists even on freestanding compilers. */
7829 # include <limits.h>
7831 # include <assert.h>
7836 /* Override any gcc2 internal prototype to avoid an error. */
7841 /* We use char because int might match the return type of a gcc2
7842 builtin and then its argument prototype would still apply. */
7844 /* The GNU C library defines this for functions which it implements
7845 to always fail with ENOSYS. Some functions are actually named
7846 something starting with __ and the normal name is an alias. */
7847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7850 char (*f) () = $ac_func;
7859 return f != $ac_func;
7864 rm -f conftest.
$ac_objext conftest
$ac_exeext
7865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7866 (eval $ac_link) 2>conftest.er1
7868 grep -v '^ *+' conftest.er1
>conftest.err
7870 cat conftest.err
>&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); } &&
7873 { ac_try
='test -z "$ac_c_werror_flag"
7874 || test ! -s conftest.err'
7875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); }; } &&
7880 { ac_try
='test -s conftest$ac_exeext'
7881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); }; }; then
7886 eval "$as_ac_var=yes"
7888 echo "$as_me: failed program was:" >&5
7889 sed 's/^/| /' conftest.
$ac_ext >&5
7891 eval "$as_ac_var=no"
7893 rm -f conftest.err conftest.
$ac_objext \
7894 conftest
$ac_exeext conftest.
$ac_ext
7896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7898 if test `eval echo '${'$as_ac_var'}'` = yes; then
7899 cat >>confdefs.h
<<_ACEOF
7900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7906 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7907 set dummy gmsgfmt
; ac_word
=$2
7908 echo "$as_me:$LINENO: checking for $ac_word" >&5
7909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7910 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7911 echo $ECHO_N "(cached) $ECHO_C" >&6
7915 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7922 test -z "$as_dir" && as_dir
=.
7923 for ac_exec_ext
in '' $ac_executable_extensions; do
7924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7925 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7936 GMSGFMT
=$ac_cv_path_GMSGFMT
7938 if test -n "$GMSGFMT"; then
7939 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7940 echo "${ECHO_T}$GMSGFMT" >&6
7942 echo "$as_me:$LINENO: result: no" >&5
7943 echo "${ECHO_T}no" >&6
7946 # Extract the first word of "xgettext", so it can be a program name with args.
7947 set dummy xgettext
; ac_word
=$2
7948 echo "$as_me:$LINENO: checking for $ac_word" >&5
7949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7950 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7951 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7958 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7959 for ac_dir
in $PATH; do
7960 test -z "$ac_dir" && ac_dir
=.
7961 if test -f $ac_dir/$ac_word; then
7962 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7963 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7969 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7973 XGETTEXT
="$ac_cv_path_XGETTEXT"
7974 if test -n "$XGETTEXT"; then
7975 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7976 echo "${ECHO_T}$XGETTEXT" >&6
7978 echo "$as_me:$LINENO: result: no" >&5
7979 echo "${ECHO_T}no" >&6
7982 cat >conftest.
$ac_ext <<_ACEOF
7985 cat confdefs.h
>>conftest.
$ac_ext
7986 cat >>conftest.
$ac_ext <<_ACEOF
7987 /* end confdefs.h. */
7992 extern int _nl_msg_cat_cntr;
7993 return _nl_msg_cat_cntr
7998 rm -f conftest.
$ac_objext conftest
$ac_exeext
7999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8000 (eval $ac_link) 2>conftest.er1
8002 grep -v '^ *+' conftest.er1
>conftest.err
8004 cat conftest.err
>&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); } &&
8007 { ac_try
='test -z "$ac_c_werror_flag"
8008 || test ! -s conftest.err'
8009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; } &&
8014 { ac_try
='test -s conftest$ac_exeext'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8023 echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.
$ac_ext >&5
8029 rm -f conftest.err conftest.
$ac_objext \
8030 conftest
$ac_exeext conftest.
$ac_ext
8040 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
8041 # Neither gettext nor catgets in included in the C library.
8042 # Fall back on GNU gettext library (assuming it is present).
8043 nls_cv_use_gnu_gettext
=yes
8047 if test "$nls_cv_use_gnu_gettext" = "yes"; then
8048 INTLOBJS
="\$(GETTOBJS)"
8049 # Extract the first word of "msgfmt", so it can be a program name with args.
8050 set dummy msgfmt
; ac_word
=$2
8051 echo "$as_me:$LINENO: checking for $ac_word" >&5
8052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8053 if test "${ac_cv_path_MSGFMT+set}" = set; then
8054 echo $ECHO_N "(cached) $ECHO_C" >&6
8058 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8061 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8062 for ac_dir
in $PATH; do
8063 test -z "$ac_dir" && ac_dir
=.
8064 if test -f $ac_dir/$ac_word; then
8065 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
8066 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
8072 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
8076 MSGFMT
="$ac_cv_path_MSGFMT"
8077 if test -n "$MSGFMT"; then
8078 echo "$as_me:$LINENO: result: $MSGFMT" >&5
8079 echo "${ECHO_T}$MSGFMT" >&6
8081 echo "$as_me:$LINENO: result: no" >&5
8082 echo "${ECHO_T}no" >&6
8085 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8086 set dummy gmsgfmt
; ac_word
=$2
8087 echo "$as_me:$LINENO: checking for $ac_word" >&5
8088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8089 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8090 echo $ECHO_N "(cached) $ECHO_C" >&6
8094 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8101 test -z "$as_dir" && as_dir
=.
8102 for ac_exec_ext
in '' $ac_executable_extensions; do
8103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8104 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8111 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8115 GMSGFMT
=$ac_cv_path_GMSGFMT
8117 if test -n "$GMSGFMT"; then
8118 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8119 echo "${ECHO_T}$GMSGFMT" >&6
8121 echo "$as_me:$LINENO: result: no" >&5
8122 echo "${ECHO_T}no" >&6
8125 # Extract the first word of "xgettext", so it can be a program name with args.
8126 set dummy xgettext
; ac_word
=$2
8127 echo "$as_me:$LINENO: checking for $ac_word" >&5
8128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8129 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8130 echo $ECHO_N "(cached) $ECHO_C" >&6
8134 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8137 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
8138 for ac_dir
in $PATH; do
8139 test -z "$ac_dir" && ac_dir
=.
8140 if test -f $ac_dir/$ac_word; then
8141 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
8142 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
8148 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
8152 XGETTEXT
="$ac_cv_path_XGETTEXT"
8153 if test -n "$XGETTEXT"; then
8154 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8155 echo "${ECHO_T}$XGETTEXT" >&6
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8162 USE_INCLUDED_LIBINTL
=yes
8166 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
8168 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
8169 nls_cv_header_intl
=libintl.h
8170 nls_cv_header_libgt
=libgettext.h
8173 if test "$XGETTEXT" != ":"; then
8174 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
8177 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8178 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8183 # We need to process the po/ directory.
8187 nls_cv_header_intl
=libintl.h
8188 nls_cv_header_libgt
=libgettext.h
8191 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8192 # because some of the sources are only built for this goal.
8193 if test "$PACKAGE" = gettext; then
8195 USE_INCLUDED_LIBINTL
=yes
8198 for lang
in $ALL_LINGUAS; do
8199 GMOFILES
="$GMOFILES $lang.gmo"
8200 POFILES
="$POFILES $lang.po"
8214 if test "x$CATOBJEXT" != "x"; then
8216 cat >>confdefs.h
<<\_ACEOF
8217 #define ENABLE_NLS 1
8223 if test "x$CATOBJEXT" != "x"; then
8224 if test "x$ALL_LINGUAS" = "x"; then
8227 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8228 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8230 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8231 case "$ALL_LINGUAS" in
8232 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8235 LINGUAS
=$NEW_LINGUAS
8236 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8237 echo "${ECHO_T}$LINGUAS" >&6
8240 if test -n "$LINGUAS"; then
8241 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8245 if test $ac_cv_header_locale_h = yes; then
8246 INCLUDE_LOCALE_H
="#include <locale.h>"
8249 /* The system does not provide the header <locale.h>. Take care yourself. */"
8253 if test -f $srcdir/po2tbl.
sed.
in; then
8254 if test "$CATOBJEXT" = ".cat"; then
8255 if test "${ac_cv_header_linux_version_h+set}" = set; then
8256 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8257 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8258 if test "${ac_cv_header_linux_version_h+set}" = set; then
8259 echo $ECHO_N "(cached) $ECHO_C" >&6
8261 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8262 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8264 # Is the header compilable?
8265 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8266 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8267 cat >conftest.
$ac_ext <<_ACEOF
8270 cat confdefs.h
>>conftest.
$ac_ext
8271 cat >>conftest.
$ac_ext <<_ACEOF
8272 /* end confdefs.h. */
8273 $ac_includes_default
8274 #include <linux/version.h>
8276 rm -f conftest.
$ac_objext
8277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8278 (eval $ac_compile) 2>conftest.er1
8280 grep -v '^ *+' conftest.er1
>conftest.err
8282 cat conftest.err
>&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); } &&
8285 { ac_try
='test -z "$ac_c_werror_flag"
8286 || test ! -s conftest.err'
8287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); }; } &&
8292 { ac_try
='test -s conftest.$ac_objext'
8293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); }; }; then
8298 ac_header_compiler
=yes
8300 echo "$as_me: failed program was:" >&5
8301 sed 's/^/| /' conftest.
$ac_ext >&5
8303 ac_header_compiler
=no
8305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8307 echo "${ECHO_T}$ac_header_compiler" >&6
8309 # Is the header present?
8310 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8311 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8312 cat >conftest.
$ac_ext <<_ACEOF
8315 cat confdefs.h
>>conftest.
$ac_ext
8316 cat >>conftest.
$ac_ext <<_ACEOF
8317 /* end confdefs.h. */
8318 #include <linux/version.h>
8320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8321 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8323 grep -v '^ *+' conftest.er1
>conftest.err
8325 cat conftest.err
>&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); } >/dev
/null
; then
8328 if test -s conftest.err
; then
8329 ac_cpp_err
=$ac_c_preproc_warn_flag
8330 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8337 if test -z "$ac_cpp_err"; then
8338 ac_header_preproc
=yes
8340 echo "$as_me: failed program was:" >&5
8341 sed 's/^/| /' conftest.
$ac_ext >&5
8343 ac_header_preproc
=no
8345 rm -f conftest.err conftest.
$ac_ext
8346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8347 echo "${ECHO_T}$ac_header_preproc" >&6
8349 # So? What about this header?
8350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8352 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8353 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8354 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8355 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8356 ac_header_preproc
=yes
8359 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8360 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8361 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8362 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8363 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8364 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8365 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8366 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8367 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8368 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8369 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8370 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8373 ## ------------------------------------------ ##
8374 ## Report this to the AC_PACKAGE_NAME lists. ##
8375 ## ------------------------------------------ ##
8378 sed "s/^/$as_me: WARNING: /" >&2
8381 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8382 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8383 if test "${ac_cv_header_linux_version_h+set}" = set; then
8384 echo $ECHO_N "(cached) $ECHO_C" >&6
8386 ac_cv_header_linux_version_h
=$ac_header_preproc
8388 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8389 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8392 if test $ac_cv_header_linux_version_h = yes; then
8400 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8402 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8403 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8406 if test "$PACKAGE" = "gettext"; then
8416 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8422 if test -f $srcdir/po
/POTFILES.
in; then
8423 test -d po || mkdir po
8424 if test "x$srcdir" != "x."; then
8425 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8426 posrcprefix
="$srcdir/"
8428 posrcprefix
="../$srcdir/"
8434 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8435 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8439 # Permit host specific settings.
8440 .
${srcdir}/configure.
host
8443 # Find a good install program. We prefer a C program (faster),
8444 # so one script is as good as another. But avoid the broken or
8445 # incompatible versions:
8446 # SysV /etc/install, /usr/sbin/install
8447 # SunOS /usr/etc/install
8448 # IRIX /sbin/install
8450 # AmigaOS /C/install, which installs bootblocks on floppy discs
8451 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8452 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8453 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8454 # OS/2's system install, which has a completely different semantic
8455 # ./install, which can be erroneously created by make from ./install.sh.
8456 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8457 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8458 if test -z "$INSTALL"; then
8459 if test "${ac_cv_path_install+set}" = set; then
8460 echo $ECHO_N "(cached) $ECHO_C" >&6
8462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8466 test -z "$as_dir" && as_dir
=.
8467 # Account for people who put trailing slashes in PATH elements.
8469 .
/ | .
// |
/cC
/* | \
8470 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8471 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8474 # OSF1 and SCO ODT 3.0 have their own names for install.
8475 # Don't use installbsd from OSF since it installs stuff as root
8477 for ac_prog
in ginstall scoinst
install; do
8478 for ac_exec_ext
in '' $ac_executable_extensions; do
8479 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8480 if test $ac_prog = install &&
8481 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8482 # AIX install. It has an incompatible calling convention.
8484 elif test $ac_prog = install &&
8485 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8486 # program-specific install script used by HP pwplus--don't use.
8489 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8501 if test "${ac_cv_path_install+set}" = set; then
8502 INSTALL
=$ac_cv_path_install
8504 # As a last resort, use the slow shell script. We don't cache a
8505 # path for INSTALL within a source directory, because that will
8506 # break other packages using the cache if that directory is
8507 # removed, or if the path is relative.
8508 INSTALL
=$ac_install_sh
8511 echo "$as_me:$LINENO: result: $INSTALL" >&5
8512 echo "${ECHO_T}$INSTALL" >&6
8514 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8515 # It thinks the first close brace ends the variable substitution.
8516 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8518 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8520 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8523 BFD_HOST_64BIT_LONG
=0
8524 BFD_HOST_LONG_LONG
=0
8525 BFD_HOST_64_BIT_DEFINED
=0
8529 echo "$as_me:$LINENO: checking for long long" >&5
8530 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8531 if test "${bfd_cv_has_long_long+set}" = set; then
8532 echo $ECHO_N "(cached) $ECHO_C" >&6
8534 cat >conftest.
$ac_ext <<_ACEOF
8537 cat confdefs.h
>>conftest.
$ac_ext
8538 cat >>conftest.
$ac_ext <<_ACEOF
8539 /* end confdefs.h. */
8544 unsigned long long ll = 18446744073709551615ULL;
8549 rm -f conftest.
$ac_objext
8550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8551 (eval $ac_compile) 2>conftest.er1
8553 grep -v '^ *+' conftest.er1
>conftest.err
8555 cat conftest.err
>&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); } &&
8558 { ac_try
='test -z "$ac_c_werror_flag"
8559 || test ! -s conftest.err'
8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); }; } &&
8565 { ac_try
='test -s conftest.$ac_objext'
8566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); }; }; then
8571 bfd_cv_has_long_long
=yes
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.
$ac_ext >&5
8576 bfd_cv_has_long_long
=no
8578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8581 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
8582 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
8583 if test $bfd_cv_has_long_long = yes; then
8584 BFD_HOST_LONG_LONG
=1
8585 echo "$as_me:$LINENO: checking for long long" >&5
8586 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8587 if test "${ac_cv_type_long_long+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8590 cat >conftest.
$ac_ext <<_ACEOF
8593 cat confdefs.h
>>conftest.
$ac_ext
8594 cat >>conftest.
$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8596 $ac_includes_default
8600 if ((long long *) 0)
8602 if (sizeof (long long))
8608 rm -f conftest.
$ac_objext
8609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8610 (eval $ac_compile) 2>conftest.er1
8612 grep -v '^ *+' conftest.er1
>conftest.err
8614 cat conftest.err
>&5
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); } &&
8617 { ac_try
='test -z "$ac_c_werror_flag"
8618 || test ! -s conftest.err'
8619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); }; } &&
8624 { ac_try
='test -s conftest.$ac_objext'
8625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); }; }; then
8630 ac_cv_type_long_long
=yes
8632 echo "$as_me: failed program was:" >&5
8633 sed 's/^/| /' conftest.
$ac_ext >&5
8635 ac_cv_type_long_long
=no
8637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8639 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
8640 echo "${ECHO_T}$ac_cv_type_long_long" >&6
8642 echo "$as_me:$LINENO: checking size of long long" >&5
8643 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
8644 if test "${ac_cv_sizeof_long_long+set}" = set; then
8645 echo $ECHO_N "(cached) $ECHO_C" >&6
8647 if test "$ac_cv_type_long_long" = yes; then
8648 # The cast to unsigned long works around a bug in the HP C Compiler
8649 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8650 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8651 # This bug is HP SR number 8606223364.
8652 if test "$cross_compiling" = yes; then
8653 # Depending upon the size, compute the lo and hi bounds.
8654 cat >conftest.
$ac_ext <<_ACEOF
8657 cat confdefs.h
>>conftest.
$ac_ext
8658 cat >>conftest.
$ac_ext <<_ACEOF
8659 /* end confdefs.h. */
8660 $ac_includes_default
8664 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
8671 rm -f conftest.
$ac_objext
8672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8673 (eval $ac_compile) 2>conftest.er1
8675 grep -v '^ *+' conftest.er1
>conftest.err
8677 cat conftest.err
>&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } &&
8680 { ac_try
='test -z "$ac_c_werror_flag"
8681 || test ! -s conftest.err'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; } &&
8687 { ac_try
='test -s conftest.$ac_objext'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; }; then
8695 cat >conftest.
$ac_ext <<_ACEOF
8698 cat confdefs.h
>>conftest.
$ac_ext
8699 cat >>conftest.
$ac_ext <<_ACEOF
8700 /* end confdefs.h. */
8701 $ac_includes_default
8705 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
8712 rm -f conftest.
$ac_objext
8713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8714 (eval $ac_compile) 2>conftest.er1
8716 grep -v '^ *+' conftest.er1
>conftest.err
8718 cat conftest.err
>&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } &&
8721 { ac_try
='test -z "$ac_c_werror_flag"
8722 || test ! -s conftest.err'
8723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); }; } &&
8728 { ac_try
='test -s conftest.$ac_objext'
8729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); }; }; then
8734 ac_hi
=$ac_mid; break
8736 echo "$as_me: failed program was:" >&5
8737 sed 's/^/| /' conftest.
$ac_ext >&5
8739 ac_lo
=`expr $ac_mid + 1`
8740 if test $ac_lo -le $ac_mid; then
8744 ac_mid
=`expr 2 '*' $ac_mid + 1`
8746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.
$ac_ext >&5
8752 cat >conftest.
$ac_ext <<_ACEOF
8755 cat confdefs.h
>>conftest.
$ac_ext
8756 cat >>conftest.
$ac_ext <<_ACEOF
8757 /* end confdefs.h. */
8758 $ac_includes_default
8762 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
8769 rm -f conftest.
$ac_objext
8770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8771 (eval $ac_compile) 2>conftest.er1
8773 grep -v '^ *+' conftest.er1
>conftest.err
8775 cat conftest.err
>&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); } &&
8778 { ac_try
='test -z "$ac_c_werror_flag"
8779 || test ! -s conftest.err'
8780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784 (exit $ac_status); }; } &&
8785 { ac_try
='test -s conftest.$ac_objext'
8786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8790 (exit $ac_status); }; }; then
8793 cat >conftest.
$ac_ext <<_ACEOF
8796 cat confdefs.h
>>conftest.
$ac_ext
8797 cat >>conftest.
$ac_ext <<_ACEOF
8798 /* end confdefs.h. */
8799 $ac_includes_default
8803 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
8810 rm -f conftest.
$ac_objext
8811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8812 (eval $ac_compile) 2>conftest.er1
8814 grep -v '^ *+' conftest.er1
>conftest.err
8816 cat conftest.err
>&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); } &&
8819 { ac_try
='test -z "$ac_c_werror_flag"
8820 || test ! -s conftest.err'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; } &&
8826 { ac_try
='test -s conftest.$ac_objext'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; }; then
8832 ac_lo
=$ac_mid; break
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.
$ac_ext >&5
8837 ac_hi
=`expr '(' $ac_mid ')' - 1`
8838 if test $ac_mid -le $ac_hi; then
8842 ac_mid
=`expr 2 '*' $ac_mid`
8844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8847 echo "$as_me: failed program was:" >&5
8848 sed 's/^/| /' conftest.
$ac_ext >&5
8852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8855 # Binary search between lo and hi bounds.
8856 while test "x$ac_lo" != "x$ac_hi"; do
8857 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8858 cat >conftest.
$ac_ext <<_ACEOF
8861 cat confdefs.h
>>conftest.
$ac_ext
8862 cat >>conftest.
$ac_ext <<_ACEOF
8863 /* end confdefs.h. */
8864 $ac_includes_default
8868 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
8875 rm -f conftest.
$ac_objext
8876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8877 (eval $ac_compile) 2>conftest.er1
8879 grep -v '^ *+' conftest.er1
>conftest.err
8881 cat conftest.err
>&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try
='test -z "$ac_c_werror_flag"
8885 || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try
='test -s conftest.$ac_objext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.
$ac_ext >&5
8902 ac_lo
=`expr '(' $ac_mid ')' + 1`
8904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8907 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
8908 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
8909 See \`config.log' for more details." >&5
8910 echo "$as_me: error: cannot compute sizeof (long long), 77
8911 See \`config.log' for more details." >&2;}
8912 { (exit 1); exit 1; }; } ;;
8915 if test "$cross_compiling" = yes; then
8916 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8917 See \`config.log' for more details." >&5
8918 echo "$as_me: error: cannot run test program while cross compiling
8919 See \`config.log' for more details." >&2;}
8920 { (exit 1); exit 1; }; }
8922 cat >conftest.
$ac_ext <<_ACEOF
8925 cat confdefs.h
>>conftest.
$ac_ext
8926 cat >>conftest.
$ac_ext <<_ACEOF
8927 /* end confdefs.h. */
8928 $ac_includes_default
8929 long longval () { return (long) (sizeof (long long)); }
8930 unsigned long ulongval () { return (long) (sizeof (long long)); }
8937 FILE *f = fopen ("conftest.val", "w");
8940 if (((long) (sizeof (long long))) < 0)
8942 long i = longval ();
8943 if (i != ((long) (sizeof (long long))))
8945 fprintf (f, "%ld\n", i);
8949 unsigned long i = ulongval ();
8950 if (i != ((long) (sizeof (long long))))
8952 fprintf (f, "%lu\n", i);
8954 exit (ferror (f) || fclose (f) != 0);
8960 rm -f conftest
$ac_exeext
8961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8962 (eval $ac_link) 2>&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); }; }; then
8971 ac_cv_sizeof_long_long
=`cat conftest.val`
8973 echo "$as_me: program exited with status $ac_status" >&5
8974 echo "$as_me: failed program was:" >&5
8975 sed 's/^/| /' conftest.
$ac_ext >&5
8978 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
8979 See \`config.log' for more details." >&5
8980 echo "$as_me: error: cannot compute sizeof (long long), 77
8981 See \`config.log' for more details." >&2;}
8982 { (exit 1); exit 1; }; }
8984 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8989 ac_cv_sizeof_long_long
=0
8992 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
8993 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
8994 cat >>confdefs.h
<<_ACEOF
8995 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9001 echo "$as_me:$LINENO: checking for long" >&5
9002 echo $ECHO_N "checking for long... $ECHO_C" >&6
9003 if test "${ac_cv_type_long+set}" = set; then
9004 echo $ECHO_N "(cached) $ECHO_C" >&6
9006 cat >conftest.
$ac_ext <<_ACEOF
9009 cat confdefs.h
>>conftest.
$ac_ext
9010 cat >>conftest.
$ac_ext <<_ACEOF
9011 /* end confdefs.h. */
9012 $ac_includes_default
9024 rm -f conftest.
$ac_objext
9025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9026 (eval $ac_compile) 2>conftest.er1
9028 grep -v '^ *+' conftest.er1
>conftest.err
9030 cat conftest.err
>&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); } &&
9033 { ac_try
='test -z "$ac_c_werror_flag"
9034 || test ! -s conftest.err'
9035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); }; } &&
9040 { ac_try
='test -s conftest.$ac_objext'
9041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); }; }; then
9048 echo "$as_me: failed program was:" >&5
9049 sed 's/^/| /' conftest.
$ac_ext >&5
9053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9055 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9056 echo "${ECHO_T}$ac_cv_type_long" >&6
9058 echo "$as_me:$LINENO: checking size of long" >&5
9059 echo $ECHO_N "checking size of long... $ECHO_C" >&6
9060 if test "${ac_cv_sizeof_long+set}" = set; then
9061 echo $ECHO_N "(cached) $ECHO_C" >&6
9063 if test "$ac_cv_type_long" = yes; then
9064 # The cast to unsigned long works around a bug in the HP C Compiler
9065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9067 # This bug is HP SR number 8606223364.
9068 if test "$cross_compiling" = yes; then
9069 # Depending upon the size, compute the lo and hi bounds.
9070 cat >conftest.
$ac_ext <<_ACEOF
9073 cat confdefs.h
>>conftest.
$ac_ext
9074 cat >>conftest.
$ac_ext <<_ACEOF
9075 /* end confdefs.h. */
9076 $ac_includes_default
9080 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
9087 rm -f conftest.
$ac_objext
9088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9089 (eval $ac_compile) 2>conftest.er1
9091 grep -v '^ *+' conftest.er1
>conftest.err
9093 cat conftest.err
>&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); } &&
9096 { ac_try
='test -z "$ac_c_werror_flag"
9097 || test ! -s conftest.err'
9098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); }; } &&
9103 { ac_try
='test -s conftest.$ac_objext'
9104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); }; }; then
9111 cat >conftest.
$ac_ext <<_ACEOF
9114 cat confdefs.h
>>conftest.
$ac_ext
9115 cat >>conftest.
$ac_ext <<_ACEOF
9116 /* end confdefs.h. */
9117 $ac_includes_default
9121 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9128 rm -f conftest.
$ac_objext
9129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9130 (eval $ac_compile) 2>conftest.er1
9132 grep -v '^ *+' conftest.er1
>conftest.err
9134 cat conftest.err
>&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); } &&
9137 { ac_try
='test -z "$ac_c_werror_flag"
9138 || test ! -s conftest.err'
9139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); }; } &&
9144 { ac_try
='test -s conftest.$ac_objext'
9145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; }; then
9150 ac_hi
=$ac_mid; break
9152 echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.
$ac_ext >&5
9155 ac_lo
=`expr $ac_mid + 1`
9156 if test $ac_lo -le $ac_mid; then
9160 ac_mid
=`expr 2 '*' $ac_mid + 1`
9162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9165 echo "$as_me: failed program was:" >&5
9166 sed 's/^/| /' conftest.
$ac_ext >&5
9168 cat >conftest.
$ac_ext <<_ACEOF
9171 cat confdefs.h
>>conftest.
$ac_ext
9172 cat >>conftest.
$ac_ext <<_ACEOF
9173 /* end confdefs.h. */
9174 $ac_includes_default
9178 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
9185 rm -f conftest.
$ac_objext
9186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9187 (eval $ac_compile) 2>conftest.er1
9189 grep -v '^ *+' conftest.er1
>conftest.err
9191 cat conftest.err
>&5
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); } &&
9194 { ac_try
='test -z "$ac_c_werror_flag"
9195 || test ! -s conftest.err'
9196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); }; } &&
9201 { ac_try
='test -s conftest.$ac_objext'
9202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206 (exit $ac_status); }; }; then
9209 cat >conftest.
$ac_ext <<_ACEOF
9212 cat confdefs.h
>>conftest.
$ac_ext
9213 cat >>conftest.
$ac_ext <<_ACEOF
9214 /* end confdefs.h. */
9215 $ac_includes_default
9219 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
9226 rm -f conftest.
$ac_objext
9227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9228 (eval $ac_compile) 2>conftest.er1
9230 grep -v '^ *+' conftest.er1
>conftest.err
9232 cat conftest.err
>&5
9233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9234 (exit $ac_status); } &&
9235 { ac_try
='test -z "$ac_c_werror_flag"
9236 || test ! -s conftest.err'
9237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); }; } &&
9242 { ac_try
='test -s conftest.$ac_objext'
9243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247 (exit $ac_status); }; }; then
9248 ac_lo
=$ac_mid; break
9250 echo "$as_me: failed program was:" >&5
9251 sed 's/^/| /' conftest.
$ac_ext >&5
9253 ac_hi
=`expr '(' $ac_mid ')' - 1`
9254 if test $ac_mid -le $ac_hi; then
9258 ac_mid
=`expr 2 '*' $ac_mid`
9260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9263 echo "$as_me: failed program was:" >&5
9264 sed 's/^/| /' conftest.
$ac_ext >&5
9268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9271 # Binary search between lo and hi bounds.
9272 while test "x$ac_lo" != "x$ac_hi"; do
9273 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9274 cat >conftest.
$ac_ext <<_ACEOF
9277 cat confdefs.h
>>conftest.
$ac_ext
9278 cat >>conftest.
$ac_ext <<_ACEOF
9279 /* end confdefs.h. */
9280 $ac_includes_default
9284 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9291 rm -f conftest.
$ac_objext
9292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9293 (eval $ac_compile) 2>conftest.er1
9295 grep -v '^ *+' conftest.er1
>conftest.err
9297 cat conftest.err
>&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } &&
9300 { ac_try
='test -z "$ac_c_werror_flag"
9301 || test ! -s conftest.err'
9302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); }; } &&
9307 { ac_try
='test -s conftest.$ac_objext'
9308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; }; then
9315 echo "$as_me: failed program was:" >&5
9316 sed 's/^/| /' conftest.
$ac_ext >&5
9318 ac_lo
=`expr '(' $ac_mid ')' + 1`
9320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9323 ?
*) ac_cv_sizeof_long
=$ac_lo;;
9324 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
9325 See \`config.log' for more details." >&5
9326 echo "$as_me: error: cannot compute sizeof (long), 77
9327 See \`config.log' for more details." >&2;}
9328 { (exit 1); exit 1; }; } ;;
9331 if test "$cross_compiling" = yes; then
9332 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9333 See \`config.log' for more details." >&5
9334 echo "$as_me: error: cannot run test program while cross compiling
9335 See \`config.log' for more details." >&2;}
9336 { (exit 1); exit 1; }; }
9338 cat >conftest.
$ac_ext <<_ACEOF
9341 cat confdefs.h
>>conftest.
$ac_ext
9342 cat >>conftest.
$ac_ext <<_ACEOF
9343 /* end confdefs.h. */
9344 $ac_includes_default
9345 long longval () { return (long) (sizeof (long)); }
9346 unsigned long ulongval () { return (long) (sizeof (long)); }
9353 FILE *f = fopen ("conftest.val", "w");
9356 if (((long) (sizeof (long))) < 0)
9358 long i = longval ();
9359 if (i != ((long) (sizeof (long))))
9361 fprintf (f, "%ld\n", i);
9365 unsigned long i = ulongval ();
9366 if (i != ((long) (sizeof (long))))
9368 fprintf (f, "%lu\n", i);
9370 exit (ferror (f) || fclose (f) != 0);
9376 rm -f conftest
$ac_exeext
9377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9378 (eval $ac_link) 2>&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); }; }; then
9387 ac_cv_sizeof_long
=`cat conftest.val`
9389 echo "$as_me: program exited with status $ac_status" >&5
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.
$ac_ext >&5
9394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
9395 See \`config.log' for more details." >&5
9396 echo "$as_me: error: cannot compute sizeof (long), 77
9397 See \`config.log' for more details." >&2;}
9398 { (exit 1); exit 1; }; }
9400 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9408 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
9409 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
9410 cat >>confdefs.h
<<_ACEOF
9411 #define SIZEOF_LONG $ac_cv_sizeof_long
9415 if test "x${ac_cv_sizeof_long}" = "x8"; then
9417 BFD_HOST_64BIT_LONG
=1
9418 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
9419 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
9420 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
9421 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
9422 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
9425 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
9426 BFD_HOST_64_BIT_DEFINED
=1
9427 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
9428 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
9437 # Put a plausible default for CC_FOR_BUILD in Makefile.
9438 if test -z "$CC_FOR_BUILD"; then
9439 if test "x$cross_compiling" = "xno"; then
9440 CC_FOR_BUILD
='$(CC)'
9446 # Also set EXEEXT_FOR_BUILD.
9447 if test "x$cross_compiling" = "xno"; then
9448 EXEEXT_FOR_BUILD
='$(EXEEXT)'
9450 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
9451 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
9452 if test "${bfd_cv_build_exeext+set}" = set; then
9453 echo $ECHO_N "(cached) $ECHO_C" >&6
9456 echo 'int main () { return 0; }' > conftest.c
9457 bfd_cv_build_exeext
=
9458 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
9459 for file in conftest.
*; do
9461 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
9462 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
9466 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
9468 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
9469 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
9471 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
9481 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
9483 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9485 echo "$as_me:$LINENO: checking for $ac_header" >&5
9486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9488 echo $ECHO_N "(cached) $ECHO_C" >&6
9490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9493 # Is the header compilable?
9494 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9495 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9496 cat >conftest.
$ac_ext <<_ACEOF
9499 cat confdefs.h
>>conftest.
$ac_ext
9500 cat >>conftest.
$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9502 $ac_includes_default
9503 #include <$ac_header>
9505 rm -f conftest.
$ac_objext
9506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9507 (eval $ac_compile) 2>conftest.er1
9509 grep -v '^ *+' conftest.er1
>conftest.err
9511 cat conftest.err
>&5
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); } &&
9514 { ac_try
='test -z "$ac_c_werror_flag"
9515 || test ! -s conftest.err'
9516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); }; } &&
9521 { ac_try
='test -s conftest.$ac_objext'
9522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); }; }; then
9527 ac_header_compiler
=yes
9529 echo "$as_me: failed program was:" >&5
9530 sed 's/^/| /' conftest.
$ac_ext >&5
9532 ac_header_compiler
=no
9534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9536 echo "${ECHO_T}$ac_header_compiler" >&6
9538 # Is the header present?
9539 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9541 cat >conftest.
$ac_ext <<_ACEOF
9544 cat confdefs.h
>>conftest.
$ac_ext
9545 cat >>conftest.
$ac_ext <<_ACEOF
9546 /* end confdefs.h. */
9547 #include <$ac_header>
9549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9550 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9552 grep -v '^ *+' conftest.er1
>conftest.err
9554 cat conftest.err
>&5
9555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556 (exit $ac_status); } >/dev
/null
; then
9557 if test -s conftest.err
; then
9558 ac_cpp_err
=$ac_c_preproc_warn_flag
9559 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9566 if test -z "$ac_cpp_err"; then
9567 ac_header_preproc
=yes
9569 echo "$as_me: failed program was:" >&5
9570 sed 's/^/| /' conftest.
$ac_ext >&5
9572 ac_header_preproc
=no
9574 rm -f conftest.err conftest.
$ac_ext
9575 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9576 echo "${ECHO_T}$ac_header_preproc" >&6
9578 # So? What about this header?
9579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9585 ac_header_preproc
=yes
9588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9602 ## ------------------------------------------ ##
9603 ## Report this to the AC_PACKAGE_NAME lists. ##
9604 ## ------------------------------------------ ##
9607 sed "s/^/$as_me: WARNING: /" >&2
9610 echo "$as_me:$LINENO: checking for $ac_header" >&5
9611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9613 echo $ECHO_N "(cached) $ECHO_C" >&6
9615 eval "$as_ac_Header=\$ac_header_preproc"
9617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9622 cat >>confdefs.h
<<_ACEOF
9623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9633 for ac_header
in fcntl.h sys
/file.h sys
/time.h
9635 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9637 echo "$as_me:$LINENO: checking for $ac_header" >&5
9638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9645 # Is the header compilable?
9646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9648 cat >conftest.
$ac_ext <<_ACEOF
9651 cat confdefs.h
>>conftest.
$ac_ext
9652 cat >>conftest.
$ac_ext <<_ACEOF
9653 /* end confdefs.h. */
9654 $ac_includes_default
9655 #include <$ac_header>
9657 rm -f conftest.
$ac_objext
9658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9659 (eval $ac_compile) 2>conftest.er1
9661 grep -v '^ *+' conftest.er1
>conftest.err
9663 cat conftest.err
>&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); } &&
9666 { ac_try
='test -z "$ac_c_werror_flag"
9667 || test ! -s conftest.err'
9668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); }; } &&
9673 { ac_try
='test -s conftest.$ac_objext'
9674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); }; }; then
9679 ac_header_compiler
=yes
9681 echo "$as_me: failed program was:" >&5
9682 sed 's/^/| /' conftest.
$ac_ext >&5
9684 ac_header_compiler
=no
9686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9688 echo "${ECHO_T}$ac_header_compiler" >&6
9690 # Is the header present?
9691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9693 cat >conftest.
$ac_ext <<_ACEOF
9696 cat confdefs.h
>>conftest.
$ac_ext
9697 cat >>conftest.
$ac_ext <<_ACEOF
9698 /* end confdefs.h. */
9699 #include <$ac_header>
9701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9704 grep -v '^ *+' conftest.er1
>conftest.err
9706 cat conftest.err
>&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); } >/dev
/null
; then
9709 if test -s conftest.err
; then
9710 ac_cpp_err
=$ac_c_preproc_warn_flag
9711 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9718 if test -z "$ac_cpp_err"; then
9719 ac_header_preproc
=yes
9721 echo "$as_me: failed program was:" >&5
9722 sed 's/^/| /' conftest.
$ac_ext >&5
9724 ac_header_preproc
=no
9726 rm -f conftest.err conftest.
$ac_ext
9727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9728 echo "${ECHO_T}$ac_header_preproc" >&6
9730 # So? What about this header?
9731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9737 ac_header_preproc
=yes
9740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9754 ## ------------------------------------------ ##
9755 ## Report this to the AC_PACKAGE_NAME lists. ##
9756 ## ------------------------------------------ ##
9759 sed "s/^/$as_me: WARNING: /" >&2
9762 echo "$as_me:$LINENO: checking for $ac_header" >&5
9763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 eval "$as_ac_Header=\$ac_header_preproc"
9769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9774 cat >>confdefs.h
<<_ACEOF
9775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9782 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9783 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9784 if test "${ac_cv_header_time+set}" = set; then
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
9787 cat >conftest.
$ac_ext <<_ACEOF
9790 cat confdefs.h
>>conftest.
$ac_ext
9791 cat >>conftest.
$ac_ext <<_ACEOF
9792 /* end confdefs.h. */
9793 #include <sys/types.h>
9794 #include <sys/time.h>
9800 if ((struct tm *) 0)
9806 rm -f conftest.
$ac_objext
9807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9808 (eval $ac_compile) 2>conftest.er1
9810 grep -v '^ *+' conftest.er1
>conftest.err
9812 cat conftest.err
>&5
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 (exit $ac_status); } &&
9815 { ac_try
='test -z "$ac_c_werror_flag"
9816 || test ! -s conftest.err'
9817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); }; } &&
9822 { ac_try
='test -s conftest.$ac_objext'
9823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); }; }; then
9828 ac_cv_header_time
=yes
9830 echo "$as_me: failed program was:" >&5
9831 sed 's/^/| /' conftest.
$ac_ext >&5
9833 ac_cv_header_time
=no
9835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9837 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9838 echo "${ECHO_T}$ac_cv_header_time" >&6
9839 if test $ac_cv_header_time = yes; then
9841 cat >>confdefs.h
<<\_ACEOF
9842 #define TIME_WITH_SYS_TIME 1
9853 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9854 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9855 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9856 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 cat >conftest.
$ac_ext <<_ACEOF
9863 cat confdefs.h
>>conftest.
$ac_ext
9864 cat >>conftest.
$ac_ext <<_ACEOF
9865 /* end confdefs.h. */
9866 #include <sys/types.h>
9878 rm -f conftest.
$ac_objext
9879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9880 (eval $ac_compile) 2>conftest.er1
9882 grep -v '^ *+' conftest.er1
>conftest.err
9884 cat conftest.err
>&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); } &&
9887 { ac_try
='test -z "$ac_c_werror_flag"
9888 || test ! -s conftest.err'
9889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); }; } &&
9894 { ac_try
='test -s conftest.$ac_objext'
9895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; }; then
9900 eval "$as_ac_Header=yes"
9902 echo "$as_me: failed program was:" >&5
9903 sed 's/^/| /' conftest.
$ac_ext >&5
9905 eval "$as_ac_Header=no"
9907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9912 cat >>confdefs.h
<<_ACEOF
9913 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9916 ac_header_dirent
=$ac_hdr; break
9920 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9921 if test $ac_header_dirent = dirent.h
; then
9922 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9923 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9924 if test "${ac_cv_search_opendir+set}" = set; then
9925 echo $ECHO_N "(cached) $ECHO_C" >&6
9927 ac_func_search_save_LIBS
=$LIBS
9928 ac_cv_search_opendir
=no
9929 cat >conftest.
$ac_ext <<_ACEOF
9932 cat confdefs.h
>>conftest.
$ac_ext
9933 cat >>conftest.
$ac_ext <<_ACEOF
9934 /* end confdefs.h. */
9936 /* Override any gcc2 internal prototype to avoid an error. */
9940 /* We use char because int might match the return type of a gcc2
9941 builtin and then its argument prototype would still apply. */
9951 rm -f conftest.
$ac_objext conftest
$ac_exeext
9952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9953 (eval $ac_link) 2>conftest.er1
9955 grep -v '^ *+' conftest.er1
>conftest.err
9957 cat conftest.err
>&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); } &&
9960 { ac_try
='test -z "$ac_c_werror_flag"
9961 || test ! -s conftest.err'
9962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }; } &&
9967 { ac_try
='test -s conftest$ac_exeext'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; }; then
9973 ac_cv_search_opendir
="none required"
9975 echo "$as_me: failed program was:" >&5
9976 sed 's/^/| /' conftest.
$ac_ext >&5
9979 rm -f conftest.err conftest.
$ac_objext \
9980 conftest
$ac_exeext conftest.
$ac_ext
9981 if test "$ac_cv_search_opendir" = no
; then
9982 for ac_lib
in dir
; do
9983 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9984 cat >conftest.
$ac_ext <<_ACEOF
9987 cat confdefs.h
>>conftest.
$ac_ext
9988 cat >>conftest.
$ac_ext <<_ACEOF
9989 /* end confdefs.h. */
9991 /* Override any gcc2 internal prototype to avoid an error. */
9995 /* We use char because int might match the return type of a gcc2
9996 builtin and then its argument prototype would still apply. */
10006 rm -f conftest.
$ac_objext conftest
$ac_exeext
10007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10008 (eval $ac_link) 2>conftest.er1
10010 grep -v '^ *+' conftest.er1
>conftest.err
10012 cat conftest.err
>&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); } &&
10015 { ac_try
='test -z "$ac_c_werror_flag"
10016 || test ! -s conftest.err'
10017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10018 (eval $ac_try) 2>&5
10020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10021 (exit $ac_status); }; } &&
10022 { ac_try
='test -s conftest$ac_exeext'
10023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10024 (eval $ac_try) 2>&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); }; }; then
10028 ac_cv_search_opendir
="-l$ac_lib"
10031 echo "$as_me: failed program was:" >&5
10032 sed 's/^/| /' conftest.
$ac_ext >&5
10035 rm -f conftest.err conftest.
$ac_objext \
10036 conftest
$ac_exeext conftest.
$ac_ext
10039 LIBS
=$ac_func_search_save_LIBS
10041 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10042 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10043 if test "$ac_cv_search_opendir" != no
; then
10044 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
10049 echo "$as_me:$LINENO: checking for library containing opendir" >&5
10050 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10051 if test "${ac_cv_search_opendir+set}" = set; then
10052 echo $ECHO_N "(cached) $ECHO_C" >&6
10054 ac_func_search_save_LIBS
=$LIBS
10055 ac_cv_search_opendir
=no
10056 cat >conftest.
$ac_ext <<_ACEOF
10059 cat confdefs.h
>>conftest.
$ac_ext
10060 cat >>conftest.
$ac_ext <<_ACEOF
10061 /* end confdefs.h. */
10063 /* Override any gcc2 internal prototype to avoid an error. */
10067 /* We use char because int might match the return type of a gcc2
10068 builtin and then its argument prototype would still apply. */
10078 rm -f conftest.
$ac_objext conftest
$ac_exeext
10079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10080 (eval $ac_link) 2>conftest.er1
10082 grep -v '^ *+' conftest.er1
>conftest.err
10084 cat conftest.err
>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); } &&
10087 { ac_try
='test -z "$ac_c_werror_flag"
10088 || test ! -s conftest.err'
10089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10090 (eval $ac_try) 2>&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); }; } &&
10094 { ac_try
='test -s conftest$ac_exeext'
10095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10096 (eval $ac_try) 2>&5
10098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099 (exit $ac_status); }; }; then
10100 ac_cv_search_opendir
="none required"
10102 echo "$as_me: failed program was:" >&5
10103 sed 's/^/| /' conftest.
$ac_ext >&5
10106 rm -f conftest.err conftest.
$ac_objext \
10107 conftest
$ac_exeext conftest.
$ac_ext
10108 if test "$ac_cv_search_opendir" = no
; then
10109 for ac_lib
in x
; do
10110 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10111 cat >conftest.
$ac_ext <<_ACEOF
10114 cat confdefs.h
>>conftest.
$ac_ext
10115 cat >>conftest.
$ac_ext <<_ACEOF
10116 /* end confdefs.h. */
10118 /* Override any gcc2 internal prototype to avoid an error. */
10122 /* We use char because int might match the return type of a gcc2
10123 builtin and then its argument prototype would still apply. */
10133 rm -f conftest.
$ac_objext conftest
$ac_exeext
10134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10135 (eval $ac_link) 2>conftest.er1
10137 grep -v '^ *+' conftest.er1
>conftest.err
10139 cat conftest.err
>&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); } &&
10142 { ac_try
='test -z "$ac_c_werror_flag"
10143 || test ! -s conftest.err'
10144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10145 (eval $ac_try) 2>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); }; } &&
10149 { ac_try
='test -s conftest$ac_exeext'
10150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10151 (eval $ac_try) 2>&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); }; }; then
10155 ac_cv_search_opendir
="-l$ac_lib"
10158 echo "$as_me: failed program was:" >&5
10159 sed 's/^/| /' conftest.
$ac_ext >&5
10162 rm -f conftest.err conftest.
$ac_objext \
10163 conftest
$ac_exeext conftest.
$ac_ext
10166 LIBS
=$ac_func_search_save_LIBS
10168 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10169 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10170 if test "$ac_cv_search_opendir" != no
; then
10171 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
10177 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
10178 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
10179 if test "${gcc_cv_header_string+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 cat >conftest.
$ac_ext <<_ACEOF
10185 cat confdefs.h
>>conftest.
$ac_ext
10186 cat >>conftest.
$ac_ext <<_ACEOF
10187 /* end confdefs.h. */
10188 #include <string.h>
10189 #include <strings.h>
10198 rm -f conftest.
$ac_objext
10199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10200 (eval $ac_compile) 2>conftest.er1
10202 grep -v '^ *+' conftest.er1
>conftest.err
10204 cat conftest.err
>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); } &&
10207 { ac_try
='test -z "$ac_c_werror_flag"
10208 || test ! -s conftest.err'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; } &&
10214 { ac_try
='test -s conftest.$ac_objext'
10215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10216 (eval $ac_try) 2>&5
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); }; }; then
10220 gcc_cv_header_string
=yes
10222 echo "$as_me: failed program was:" >&5
10223 sed 's/^/| /' conftest.
$ac_ext >&5
10225 gcc_cv_header_string
=no
10227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10229 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
10230 echo "${ECHO_T}$gcc_cv_header_string" >&6
10231 if test $gcc_cv_header_string = yes; then
10233 cat >>confdefs.h
<<\_ACEOF
10234 #define STRING_WITH_STRINGS 1
10246 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
10248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10249 echo "$as_me:$LINENO: checking for $ac_func" >&5
10250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10251 if eval "test \"\${$as_ac_var+set}\" = set"; then
10252 echo $ECHO_N "(cached) $ECHO_C" >&6
10254 cat >conftest.
$ac_ext <<_ACEOF
10257 cat confdefs.h
>>conftest.
$ac_ext
10258 cat >>conftest.
$ac_ext <<_ACEOF
10259 /* end confdefs.h. */
10260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10262 #define $ac_func innocuous_$ac_func
10264 /* System header to define __stub macros and hopefully few prototypes,
10265 which can conflict with char $ac_func (); below.
10266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10267 <limits.h> exists even on freestanding compilers. */
10270 # include <limits.h>
10272 # include <assert.h>
10277 /* Override any gcc2 internal prototype to avoid an error. */
10282 /* We use char because int might match the return type of a gcc2
10283 builtin and then its argument prototype would still apply. */
10285 /* The GNU C library defines this for functions which it implements
10286 to always fail with ENOSYS. Some functions are actually named
10287 something starting with __ and the normal name is an alias. */
10288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10291 char (*f) () = $ac_func;
10300 return f != $ac_func;
10305 rm -f conftest.
$ac_objext conftest
$ac_exeext
10306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10307 (eval $ac_link) 2>conftest.er1
10309 grep -v '^ *+' conftest.er1
>conftest.err
10311 cat conftest.err
>&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); } &&
10314 { ac_try
='test -z "$ac_c_werror_flag"
10315 || test ! -s conftest.err'
10316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10317 (eval $ac_try) 2>&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); }; } &&
10321 { ac_try
='test -s conftest$ac_exeext'
10322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10323 (eval $ac_try) 2>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); }; }; then
10327 eval "$as_ac_var=yes"
10329 echo "$as_me: failed program was:" >&5
10330 sed 's/^/| /' conftest.
$ac_ext >&5
10332 eval "$as_ac_var=no"
10334 rm -f conftest.err conftest.
$ac_objext \
10335 conftest
$ac_exeext conftest.
$ac_ext
10337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10339 if test `eval echo '${'$as_ac_var'}'` = yes; then
10340 cat >>confdefs.h
<<_ACEOF
10341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10348 for ac_func
in strtoull
10350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10351 echo "$as_me:$LINENO: checking for $ac_func" >&5
10352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10353 if eval "test \"\${$as_ac_var+set}\" = set"; then
10354 echo $ECHO_N "(cached) $ECHO_C" >&6
10356 cat >conftest.
$ac_ext <<_ACEOF
10359 cat confdefs.h
>>conftest.
$ac_ext
10360 cat >>conftest.
$ac_ext <<_ACEOF
10361 /* end confdefs.h. */
10362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10364 #define $ac_func innocuous_$ac_func
10366 /* System header to define __stub macros and hopefully few prototypes,
10367 which can conflict with char $ac_func (); below.
10368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10369 <limits.h> exists even on freestanding compilers. */
10372 # include <limits.h>
10374 # include <assert.h>
10379 /* Override any gcc2 internal prototype to avoid an error. */
10384 /* We use char because int might match the return type of a gcc2
10385 builtin and then its argument prototype would still apply. */
10387 /* The GNU C library defines this for functions which it implements
10388 to always fail with ENOSYS. Some functions are actually named
10389 something starting with __ and the normal name is an alias. */
10390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10393 char (*f) () = $ac_func;
10402 return f != $ac_func;
10407 rm -f conftest.
$ac_objext conftest
$ac_exeext
10408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10409 (eval $ac_link) 2>conftest.er1
10411 grep -v '^ *+' conftest.er1
>conftest.err
10413 cat conftest.err
>&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } &&
10416 { ac_try
='test -z "$ac_c_werror_flag"
10417 || test ! -s conftest.err'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try
='test -s conftest$ac_exeext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 eval "$as_ac_var=yes"
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.
$ac_ext >&5
10434 eval "$as_ac_var=no"
10436 rm -f conftest.err conftest.
$ac_objext \
10437 conftest
$ac_exeext conftest.
$ac_ext
10439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10441 if test `eval echo '${'$as_ac_var'}'` = yes; then
10442 cat >>confdefs.h
<<_ACEOF
10443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10450 echo "$as_me:$LINENO: checking whether basename is declared" >&5
10451 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
10452 if test "${ac_cv_have_decl_basename+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 cat >conftest.
$ac_ext <<_ACEOF
10458 cat confdefs.h
>>conftest.
$ac_ext
10459 cat >>conftest.
$ac_ext <<_ACEOF
10460 /* end confdefs.h. */
10461 $ac_includes_default
10466 char *p = (char *) basename;
10473 rm -f conftest.
$ac_objext
10474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10475 (eval $ac_compile) 2>conftest.er1
10477 grep -v '^ *+' conftest.er1
>conftest.err
10479 cat conftest.err
>&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); } &&
10482 { ac_try
='test -z "$ac_c_werror_flag"
10483 || test ! -s conftest.err'
10484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485 (eval $ac_try) 2>&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); }; } &&
10489 { ac_try
='test -s conftest.$ac_objext'
10490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10491 (eval $ac_try) 2>&5
10493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494 (exit $ac_status); }; }; then
10495 ac_cv_have_decl_basename
=yes
10497 echo "$as_me: failed program was:" >&5
10498 sed 's/^/| /' conftest.
$ac_ext >&5
10500 ac_cv_have_decl_basename
=no
10502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10504 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
10505 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
10506 if test $ac_cv_have_decl_basename = yes; then
10508 cat >>confdefs.h
<<_ACEOF
10509 #define HAVE_DECL_BASENAME 1
10514 cat >>confdefs.h
<<_ACEOF
10515 #define HAVE_DECL_BASENAME 0
10522 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
10523 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
10524 if test "${ac_cv_have_decl_ftello+set}" = set; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 cat >conftest.
$ac_ext <<_ACEOF
10530 cat confdefs.h
>>conftest.
$ac_ext
10531 cat >>conftest.
$ac_ext <<_ACEOF
10532 /* end confdefs.h. */
10533 $ac_includes_default
10538 char *p = (char *) ftello;
10545 rm -f conftest.
$ac_objext
10546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10547 (eval $ac_compile) 2>conftest.er1
10549 grep -v '^ *+' conftest.er1
>conftest.err
10551 cat conftest.err
>&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); } &&
10554 { ac_try
='test -z "$ac_c_werror_flag"
10555 || test ! -s conftest.err'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; } &&
10561 { ac_try
='test -s conftest.$ac_objext'
10562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10563 (eval $ac_try) 2>&5
10565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10566 (exit $ac_status); }; }; then
10567 ac_cv_have_decl_ftello
=yes
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.
$ac_ext >&5
10572 ac_cv_have_decl_ftello
=no
10574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10576 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
10577 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
10578 if test $ac_cv_have_decl_ftello = yes; then
10580 cat >>confdefs.h
<<_ACEOF
10581 #define HAVE_DECL_FTELLO 1
10586 cat >>confdefs.h
<<_ACEOF
10587 #define HAVE_DECL_FTELLO 0
10594 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
10595 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
10596 if test "${ac_cv_have_decl_ftello64+set}" = set; then
10597 echo $ECHO_N "(cached) $ECHO_C" >&6
10599 cat >conftest.
$ac_ext <<_ACEOF
10602 cat confdefs.h
>>conftest.
$ac_ext
10603 cat >>conftest.
$ac_ext <<_ACEOF
10604 /* end confdefs.h. */
10605 $ac_includes_default
10610 char *p = (char *) ftello64;
10617 rm -f conftest.
$ac_objext
10618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10619 (eval $ac_compile) 2>conftest.er1
10621 grep -v '^ *+' conftest.er1
>conftest.err
10623 cat conftest.err
>&5
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); } &&
10626 { ac_try
='test -z "$ac_c_werror_flag"
10627 || test ! -s conftest.err'
10628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; } &&
10633 { ac_try
='test -s conftest.$ac_objext'
10634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10635 (eval $ac_try) 2>&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); }; }; then
10639 ac_cv_have_decl_ftello64
=yes
10641 echo "$as_me: failed program was:" >&5
10642 sed 's/^/| /' conftest.
$ac_ext >&5
10644 ac_cv_have_decl_ftello64
=no
10646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10648 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
10649 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
10650 if test $ac_cv_have_decl_ftello64 = yes; then
10652 cat >>confdefs.h
<<_ACEOF
10653 #define HAVE_DECL_FTELLO64 1
10658 cat >>confdefs.h
<<_ACEOF
10659 #define HAVE_DECL_FTELLO64 0
10666 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
10667 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
10668 if test "${ac_cv_have_decl_fseeko+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 cat >conftest.
$ac_ext <<_ACEOF
10674 cat confdefs.h
>>conftest.
$ac_ext
10675 cat >>conftest.
$ac_ext <<_ACEOF
10676 /* end confdefs.h. */
10677 $ac_includes_default
10682 char *p = (char *) fseeko;
10689 rm -f conftest.
$ac_objext
10690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10691 (eval $ac_compile) 2>conftest.er1
10693 grep -v '^ *+' conftest.er1
>conftest.err
10695 cat conftest.err
>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); } &&
10698 { ac_try
='test -z "$ac_c_werror_flag"
10699 || test ! -s conftest.err'
10700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10701 (eval $ac_try) 2>&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); }; } &&
10705 { ac_try
='test -s conftest.$ac_objext'
10706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10707 (eval $ac_try) 2>&5
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); }; }; then
10711 ac_cv_have_decl_fseeko
=yes
10713 echo "$as_me: failed program was:" >&5
10714 sed 's/^/| /' conftest.
$ac_ext >&5
10716 ac_cv_have_decl_fseeko
=no
10718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10720 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
10721 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
10722 if test $ac_cv_have_decl_fseeko = yes; then
10724 cat >>confdefs.h
<<_ACEOF
10725 #define HAVE_DECL_FSEEKO 1
10730 cat >>confdefs.h
<<_ACEOF
10731 #define HAVE_DECL_FSEEKO 0
10738 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
10739 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
10740 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
10741 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 cat >conftest.
$ac_ext <<_ACEOF
10746 cat confdefs.h
>>conftest.
$ac_ext
10747 cat >>conftest.
$ac_ext <<_ACEOF
10748 /* end confdefs.h. */
10749 $ac_includes_default
10754 char *p = (char *) fseeko64;
10761 rm -f conftest.
$ac_objext
10762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10763 (eval $ac_compile) 2>conftest.er1
10765 grep -v '^ *+' conftest.er1
>conftest.err
10767 cat conftest.err
>&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); } &&
10770 { ac_try
='test -z "$ac_c_werror_flag"
10771 || test ! -s conftest.err'
10772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10773 (eval $ac_try) 2>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); }; } &&
10777 { ac_try
='test -s conftest.$ac_objext'
10778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10779 (eval $ac_try) 2>&5
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); }; }; then
10783 ac_cv_have_decl_fseeko64
=yes
10785 echo "$as_me: failed program was:" >&5
10786 sed 's/^/| /' conftest.
$ac_ext >&5
10788 ac_cv_have_decl_fseeko64
=no
10790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10792 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
10793 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
10794 if test $ac_cv_have_decl_fseeko64 = yes; then
10796 cat >>confdefs.h
<<_ACEOF
10797 #define HAVE_DECL_FSEEKO64 1
10802 cat >>confdefs.h
<<_ACEOF
10803 #define HAVE_DECL_FSEEKO64 0
10813 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
10815 cat >>confdefs.h
<<\_ACEOF
10816 #define USE_BINARY_FOPEN 1
10821 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
10822 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
10823 if test "${ac_cv_have_decl_ffs+set}" = set; then
10824 echo $ECHO_N "(cached) $ECHO_C" >&6
10826 cat >conftest.
$ac_ext <<_ACEOF
10829 cat confdefs.h
>>conftest.
$ac_ext
10830 cat >>conftest.
$ac_ext <<_ACEOF
10831 /* end confdefs.h. */
10832 $ac_includes_default
10837 char *p = (char *) ffs;
10844 rm -f conftest.
$ac_objext
10845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10846 (eval $ac_compile) 2>conftest.er1
10848 grep -v '^ *+' conftest.er1
>conftest.err
10850 cat conftest.err
>&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); } &&
10853 { ac_try
='test -z "$ac_c_werror_flag"
10854 || test ! -s conftest.err'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; } &&
10860 { ac_try
='test -s conftest.$ac_objext'
10861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10862 (eval $ac_try) 2>&5
10864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865 (exit $ac_status); }; }; then
10866 ac_cv_have_decl_ffs
=yes
10868 echo "$as_me: failed program was:" >&5
10869 sed 's/^/| /' conftest.
$ac_ext >&5
10871 ac_cv_have_decl_ffs
=no
10873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10875 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
10876 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
10877 if test $ac_cv_have_decl_ffs = yes; then
10879 cat >>confdefs.h
<<_ACEOF
10880 #define HAVE_DECL_FFS 1
10885 cat >>confdefs.h
<<_ACEOF
10886 #define HAVE_DECL_FFS 0
10893 echo "$as_me:$LINENO: checking whether free is declared" >&5
10894 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
10895 if test "${ac_cv_have_decl_free+set}" = set; then
10896 echo $ECHO_N "(cached) $ECHO_C" >&6
10898 cat >conftest.
$ac_ext <<_ACEOF
10901 cat confdefs.h
>>conftest.
$ac_ext
10902 cat >>conftest.
$ac_ext <<_ACEOF
10903 /* end confdefs.h. */
10904 $ac_includes_default
10909 char *p = (char *) free;
10916 rm -f conftest.
$ac_objext
10917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10918 (eval $ac_compile) 2>conftest.er1
10920 grep -v '^ *+' conftest.er1
>conftest.err
10922 cat conftest.err
>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); } &&
10925 { ac_try
='test -z "$ac_c_werror_flag"
10926 || test ! -s conftest.err'
10927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10928 (eval $ac_try) 2>&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); }; } &&
10932 { ac_try
='test -s conftest.$ac_objext'
10933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10934 (eval $ac_try) 2>&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); }; }; then
10938 ac_cv_have_decl_free
=yes
10940 echo "$as_me: failed program was:" >&5
10941 sed 's/^/| /' conftest.
$ac_ext >&5
10943 ac_cv_have_decl_free
=no
10945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10947 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
10948 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
10949 if test $ac_cv_have_decl_free = yes; then
10951 cat >>confdefs.h
<<_ACEOF
10952 #define HAVE_DECL_FREE 1
10957 cat >>confdefs.h
<<_ACEOF
10958 #define HAVE_DECL_FREE 0
10965 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
10966 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
10967 if test "${ac_cv_have_decl_getenv+set}" = set; then
10968 echo $ECHO_N "(cached) $ECHO_C" >&6
10970 cat >conftest.
$ac_ext <<_ACEOF
10973 cat confdefs.h
>>conftest.
$ac_ext
10974 cat >>conftest.
$ac_ext <<_ACEOF
10975 /* end confdefs.h. */
10976 $ac_includes_default
10981 char *p = (char *) getenv;
10988 rm -f conftest.
$ac_objext
10989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10990 (eval $ac_compile) 2>conftest.er1
10992 grep -v '^ *+' conftest.er1
>conftest.err
10994 cat conftest.err
>&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); } &&
10997 { ac_try
='test -z "$ac_c_werror_flag"
10998 || test ! -s conftest.err'
10999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11000 (eval $ac_try) 2>&5
11002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 (exit $ac_status); }; } &&
11004 { ac_try
='test -s conftest.$ac_objext'
11005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11006 (eval $ac_try) 2>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); }; }; then
11010 ac_cv_have_decl_getenv
=yes
11012 echo "$as_me: failed program was:" >&5
11013 sed 's/^/| /' conftest.
$ac_ext >&5
11015 ac_cv_have_decl_getenv
=no
11017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11019 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
11020 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
11021 if test $ac_cv_have_decl_getenv = yes; then
11023 cat >>confdefs.h
<<_ACEOF
11024 #define HAVE_DECL_GETENV 1
11029 cat >>confdefs.h
<<_ACEOF
11030 #define HAVE_DECL_GETENV 0
11037 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
11038 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
11039 if test "${ac_cv_have_decl_malloc+set}" = set; then
11040 echo $ECHO_N "(cached) $ECHO_C" >&6
11042 cat >conftest.
$ac_ext <<_ACEOF
11045 cat confdefs.h
>>conftest.
$ac_ext
11046 cat >>conftest.
$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11048 $ac_includes_default
11053 char *p = (char *) malloc;
11060 rm -f conftest.
$ac_objext
11061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11062 (eval $ac_compile) 2>conftest.er1
11064 grep -v '^ *+' conftest.er1
>conftest.err
11066 cat conftest.err
>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); } &&
11069 { ac_try
='test -z "$ac_c_werror_flag"
11070 || test ! -s conftest.err'
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11072 (eval $ac_try) 2>&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); }; } &&
11076 { ac_try
='test -s conftest.$ac_objext'
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 (eval $ac_try) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); }; }; then
11082 ac_cv_have_decl_malloc
=yes
11084 echo "$as_me: failed program was:" >&5
11085 sed 's/^/| /' conftest.
$ac_ext >&5
11087 ac_cv_have_decl_malloc
=no
11089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11091 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
11092 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
11093 if test $ac_cv_have_decl_malloc = yes; then
11095 cat >>confdefs.h
<<_ACEOF
11096 #define HAVE_DECL_MALLOC 1
11101 cat >>confdefs.h
<<_ACEOF
11102 #define HAVE_DECL_MALLOC 0
11109 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
11110 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
11111 if test "${ac_cv_have_decl_realloc+set}" = set; then
11112 echo $ECHO_N "(cached) $ECHO_C" >&6
11114 cat >conftest.
$ac_ext <<_ACEOF
11117 cat confdefs.h
>>conftest.
$ac_ext
11118 cat >>conftest.
$ac_ext <<_ACEOF
11119 /* end confdefs.h. */
11120 $ac_includes_default
11125 char *p = (char *) realloc;
11132 rm -f conftest.
$ac_objext
11133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11134 (eval $ac_compile) 2>conftest.er1
11136 grep -v '^ *+' conftest.er1
>conftest.err
11138 cat conftest.err
>&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); } &&
11141 { ac_try
='test -z "$ac_c_werror_flag"
11142 || test ! -s conftest.err'
11143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11144 (eval $ac_try) 2>&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); }; } &&
11148 { ac_try
='test -s conftest.$ac_objext'
11149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11150 (eval $ac_try) 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; }; then
11154 ac_cv_have_decl_realloc
=yes
11156 echo "$as_me: failed program was:" >&5
11157 sed 's/^/| /' conftest.
$ac_ext >&5
11159 ac_cv_have_decl_realloc
=no
11161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11163 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
11164 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
11165 if test $ac_cv_have_decl_realloc = yes; then
11167 cat >>confdefs.h
<<_ACEOF
11168 #define HAVE_DECL_REALLOC 1
11173 cat >>confdefs.h
<<_ACEOF
11174 #define HAVE_DECL_REALLOC 0
11181 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
11182 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
11183 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
11184 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 cat >conftest.
$ac_ext <<_ACEOF
11189 cat confdefs.h
>>conftest.
$ac_ext
11190 cat >>conftest.
$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11192 $ac_includes_default
11197 char *p = (char *) stpcpy;
11204 rm -f conftest.
$ac_objext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11206 (eval $ac_compile) 2>conftest.er1
11208 grep -v '^ *+' conftest.er1
>conftest.err
11210 cat conftest.err
>&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } &&
11213 { ac_try
='test -z "$ac_c_werror_flag"
11214 || test ! -s conftest.err'
11215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 (eval $ac_try) 2>&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; } &&
11220 { ac_try
='test -s conftest.$ac_objext'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; }; then
11226 ac_cv_have_decl_stpcpy
=yes
11228 echo "$as_me: failed program was:" >&5
11229 sed 's/^/| /' conftest.
$ac_ext >&5
11231 ac_cv_have_decl_stpcpy
=no
11233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11235 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
11236 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
11237 if test $ac_cv_have_decl_stpcpy = yes; then
11239 cat >>confdefs.h
<<_ACEOF
11240 #define HAVE_DECL_STPCPY 1
11245 cat >>confdefs.h
<<_ACEOF
11246 #define HAVE_DECL_STPCPY 0
11253 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
11254 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
11255 if test "${ac_cv_have_decl_strstr+set}" = set; then
11256 echo $ECHO_N "(cached) $ECHO_C" >&6
11258 cat >conftest.
$ac_ext <<_ACEOF
11261 cat confdefs.h
>>conftest.
$ac_ext
11262 cat >>conftest.
$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11264 $ac_includes_default
11269 char *p = (char *) strstr;
11276 rm -f conftest.
$ac_objext
11277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11278 (eval $ac_compile) 2>conftest.er1
11280 grep -v '^ *+' conftest.er1
>conftest.err
11282 cat conftest.err
>&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); } &&
11285 { ac_try
='test -z "$ac_c_werror_flag"
11286 || test ! -s conftest.err'
11287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11288 (eval $ac_try) 2>&5
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); }; } &&
11292 { ac_try
='test -s conftest.$ac_objext'
11293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11294 (eval $ac_try) 2>&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); }; }; then
11298 ac_cv_have_decl_strstr
=yes
11300 echo "$as_me: failed program was:" >&5
11301 sed 's/^/| /' conftest.
$ac_ext >&5
11303 ac_cv_have_decl_strstr
=no
11305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11307 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
11308 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
11309 if test $ac_cv_have_decl_strstr = yes; then
11311 cat >>confdefs.h
<<_ACEOF
11312 #define HAVE_DECL_STRSTR 1
11317 cat >>confdefs.h
<<_ACEOF
11318 #define HAVE_DECL_STRSTR 0
11325 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
11326 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
11327 if test "${ac_cv_have_decl_snprintf+set}" = set; then
11328 echo $ECHO_N "(cached) $ECHO_C" >&6
11330 cat >conftest.
$ac_ext <<_ACEOF
11333 cat confdefs.h
>>conftest.
$ac_ext
11334 cat >>conftest.
$ac_ext <<_ACEOF
11335 /* end confdefs.h. */
11336 $ac_includes_default
11341 char *p = (char *) snprintf;
11348 rm -f conftest.
$ac_objext
11349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11350 (eval $ac_compile) 2>conftest.er1
11352 grep -v '^ *+' conftest.er1
>conftest.err
11354 cat conftest.err
>&5
11355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11356 (exit $ac_status); } &&
11357 { ac_try
='test -z "$ac_c_werror_flag"
11358 || test ! -s conftest.err'
11359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11360 (eval $ac_try) 2>&5
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); }; } &&
11364 { ac_try
='test -s conftest.$ac_objext'
11365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366 (eval $ac_try) 2>&5
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); }; }; then
11370 ac_cv_have_decl_snprintf
=yes
11372 echo "$as_me: failed program was:" >&5
11373 sed 's/^/| /' conftest.
$ac_ext >&5
11375 ac_cv_have_decl_snprintf
=no
11377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11379 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
11380 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
11381 if test $ac_cv_have_decl_snprintf = yes; then
11383 cat >>confdefs.h
<<_ACEOF
11384 #define HAVE_DECL_SNPRINTF 1
11389 cat >>confdefs.h
<<_ACEOF
11390 #define HAVE_DECL_SNPRINTF 0
11397 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
11398 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
11399 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
11402 cat >conftest.
$ac_ext <<_ACEOF
11405 cat confdefs.h
>>conftest.
$ac_ext
11406 cat >>conftest.
$ac_ext <<_ACEOF
11407 /* end confdefs.h. */
11408 $ac_includes_default
11413 char *p = (char *) vsnprintf;
11420 rm -f conftest.
$ac_objext
11421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11422 (eval $ac_compile) 2>conftest.er1
11424 grep -v '^ *+' conftest.er1
>conftest.err
11426 cat conftest.err
>&5
11427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428 (exit $ac_status); } &&
11429 { ac_try
='test -z "$ac_c_werror_flag"
11430 || test ! -s conftest.err'
11431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432 (eval $ac_try) 2>&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }; } &&
11436 { ac_try
='test -s conftest.$ac_objext'
11437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11438 (eval $ac_try) 2>&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); }; }; then
11442 ac_cv_have_decl_vsnprintf
=yes
11444 echo "$as_me: failed program was:" >&5
11445 sed 's/^/| /' conftest.
$ac_ext >&5
11447 ac_cv_have_decl_vsnprintf
=no
11449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11451 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
11452 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
11453 if test $ac_cv_have_decl_vsnprintf = yes; then
11455 cat >>confdefs.h
<<_ACEOF
11456 #define HAVE_DECL_VSNPRINTF 1
11461 cat >>confdefs.h
<<_ACEOF
11462 #define HAVE_DECL_VSNPRINTF 0
11470 # If we are configured native, pick a core file support file.
11474 if test "${target}" = "${host}"; then
11476 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
11480 COREFILE
=trad-core.lo
11481 TRAD_HEADER
='"hosts/alphalinux.h"'
11483 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
11484 COREFILE
=netbsd-core.lo
11486 alpha
*-*-*) COREFILE
=osf-core.lo
;;
11487 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
11489 arm-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
11490 arm-
*-riscix) COREFILE
=trad-core.lo
;;
11491 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
11492 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
11493 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
11494 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
11495 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
11496 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
11497 COREFILE
=netbsd-core.lo
11501 COREFILE
=trad-core.lo
11502 TRAD_HEADER
='"hosts/i370linux.h"'
11505 i
[3-7]86-sequent-bsd*)
11506 COREFILE
=trad-core.lo
11507 TRAD_HEADER
='"hosts/symmetry.h"'
11509 i
[3-7]86-sequent-sysv4*) ;;
11510 i
[3-7]86-sequent-sysv*)
11511 COREFILE
=trad-core.lo
11512 TRAD_HEADER
='"hosts/symmetry.h"'
11517 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
*)
11518 COREFILE
=trad-core.lo
11519 TRAD_HEADER
='"hosts/i386bsd.h"'
11521 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
11523 TRAD_HEADER
='"hosts/i386bsd.h"'
11525 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
11526 COREFILE
=netbsd-core.lo
11528 i
[3-7]86-esix-sysv3*)
11529 COREFILE
=trad-core.lo
11530 TRAD_HEADER
='"hosts/esix.h"'
11532 i
[3-7]86-*-sco3.2v5
*)
11533 COREFILE
=sco5-core.lo
11535 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
11536 COREFILE
=trad-core.lo
11537 TRAD_HEADER
='"hosts/i386sco.h"'
11540 COREFILE
=trad-core.lo
11541 TRAD_HEADER
='"hosts/i386mach3.h"'
11543 i
[3-7]86-*-linux-*)
11544 COREFILE
=trad-core.lo
11545 TRAD_HEADER
='"hosts/i386linux.h"'
11547 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
11548 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
11549 i860-
*-mach3* | i860-
*-osf1*)
11550 COREFILE
=trad-core.lo
11551 TRAD_HEADER
='"hosts/i860mach3.h"'
11553 mips-
*-netbsd* | mips
*-*-openbsd*)
11554 COREFILE
=netbsd-core.lo
11557 COREFILE
=trad-core.lo
11558 TRAD_HEADER
='"hosts/decstation.h"'
11560 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
11561 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
11562 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
11564 mips-
*-sysv* | mips-
*-riscos*)
11565 COREFILE
=trad-core.lo
11566 TRAD_HEADER
='"hosts/riscos.h"'
11569 COREFILE
=trad-core.lo
11570 TRAD_HEADER
='"hosts/news-mips.h"'
11573 COREFILE
=trad-core.lo
11574 TRAD_HEADER
='"hosts/dpx2.h"'
11576 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
11578 COREFILE
=trad-core.lo
11579 TRAD_HEADER
='"hosts/hp300bsd.h"'
11582 COREFILE
=trad-core.lo
11583 TRAD_HEADER
='"hosts/m68klinux.h"'
11585 m68
*-motorola-sysv*)
11586 COREFILE
=trad-core.lo
11587 TRAD_HEADER
='"hosts/delta68.h"'
11590 COREFILE
=trad-core.lo
11591 TRAD_HEADER
='"hosts/news.h"'
11593 m68
*-*-netbsd* | m68
*-*-openbsd*)
11594 COREFILE
=netbsd-core.lo
11597 COREFILE
=trad-core.lo
11598 TRAD_HEADER
='"hosts/m68kaux.h"'
11602 m88
*-motorola-sysv*)
11603 COREFILE
=ptrace-core.lo
11606 COREFILE
=trad-core.lo
11607 TRAD_HEADER
='"hosts/m88kmach3.h"'
11610 COREFILE
=netbsd-core.lo
11613 COREFILE
=trad-core.lo
11614 TRAD_HEADER
='"hosts/pc532mach.h"'
11616 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
11617 COREFILE
=netbsd-core.lo
11620 COREFILE
=lynx-core.lo
11622 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
11623 COREFILE
=rs6000-core.lo
11624 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
11626 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
11627 COREFILE
=rs6000-core.lo
11628 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
11629 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
11630 # have c_impl as a member of struct core_dumpx
11631 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
11632 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
11633 cat >conftest.
$ac_ext <<_ACEOF
11636 cat confdefs.h
>>conftest.
$ac_ext
11637 cat >>conftest.
$ac_ext <<_ACEOF
11638 /* end confdefs.h. */
11643 struct core_dumpx c; c.c_impl = 0;
11648 rm -f conftest.
$ac_objext
11649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11650 (eval $ac_compile) 2>conftest.er1
11652 grep -v '^ *+' conftest.er1
>conftest.err
11654 cat conftest.err
>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } &&
11657 { ac_try
='test -z "$ac_c_werror_flag"
11658 || test ! -s conftest.err'
11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660 (eval $ac_try) 2>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); }; } &&
11664 { ac_try
='test -s conftest.$ac_objext'
11665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11666 (eval $ac_try) 2>&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); }; }; then
11671 cat >>confdefs.h
<<\_ACEOF
11672 #define HAVE_ST_C_IMPL 1
11675 echo "$as_me:$LINENO: result: yes" >&5
11676 echo "${ECHO_T}yes" >&6
11678 echo "$as_me: failed program was:" >&5
11679 sed 's/^/| /' conftest.
$ac_ext >&5
11681 echo "$as_me:$LINENO: result: no" >&5
11682 echo "${ECHO_T}no" >&6
11684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11686 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
11687 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
11688 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
11689 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
11690 powerpc-
*-beos*) ;;
11691 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
11693 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
11694 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
11695 s390
*-*-*) COREFILE
=trad-core.lo
;;
11696 sh
*-*-netbsd*) COREFILE
=netbsd-core.lo
;;
11697 sparc-
*-netbsd* | sparc
*-*-openbsd*)
11698 COREFILE
=netbsd-core.lo
11701 COREFILE
=trad-core.lo
11702 TRAD_HEADER
='"hosts/tahoe.h"'
11704 vax-
*-netbsd* | vax-
*-openbsd*)
11705 COREFILE
=netbsd-core.lo
11708 COREFILE
=trad-core.lo
11709 TRAD_HEADER
='"hosts/vaxult2.h"'
11712 COREFILE
=trad-core.lo
11713 TRAD_HEADER
='"hosts/vaxult2.h"'
11716 COREFILE
=trad-core.lo
11717 TRAD_HEADER
='"hosts/vaxlinux.h"'
11720 COREFILE
=trad-core.lo
11721 TRAD_HEADER
='"hosts/vaxbsd.h"'
11723 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
11724 COREFILE
=netbsd-core.lo
11728 case "$COREFILE" in
11729 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
11730 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
11731 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
11732 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
11733 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
11734 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
11735 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
11736 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
11737 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
11738 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
11739 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
11742 # ELF corefile support has several flavors, but all of
11743 # them use something called <sys/procfs.h>
11745 for ac_header
in sys
/procfs.h
11747 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11749 echo "$as_me:$LINENO: checking for $ac_header" >&5
11750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11757 # Is the header compilable?
11758 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11760 cat >conftest.
$ac_ext <<_ACEOF
11763 cat confdefs.h
>>conftest.
$ac_ext
11764 cat >>conftest.
$ac_ext <<_ACEOF
11765 /* end confdefs.h. */
11766 $ac_includes_default
11767 #include <$ac_header>
11769 rm -f conftest.
$ac_objext
11770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11771 (eval $ac_compile) 2>conftest.er1
11773 grep -v '^ *+' conftest.er1
>conftest.err
11775 cat conftest.err
>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); } &&
11778 { ac_try
='test -z "$ac_c_werror_flag"
11779 || test ! -s conftest.err'
11780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11781 (eval $ac_try) 2>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); }; } &&
11785 { ac_try
='test -s conftest.$ac_objext'
11786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11787 (eval $ac_try) 2>&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); }; }; then
11791 ac_header_compiler
=yes
11793 echo "$as_me: failed program was:" >&5
11794 sed 's/^/| /' conftest.
$ac_ext >&5
11796 ac_header_compiler
=no
11798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11800 echo "${ECHO_T}$ac_header_compiler" >&6
11802 # Is the header present?
11803 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11804 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11805 cat >conftest.
$ac_ext <<_ACEOF
11808 cat confdefs.h
>>conftest.
$ac_ext
11809 cat >>conftest.
$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11811 #include <$ac_header>
11813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11814 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11816 grep -v '^ *+' conftest.er1
>conftest.err
11818 cat conftest.err
>&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); } >/dev
/null
; then
11821 if test -s conftest.err
; then
11822 ac_cpp_err
=$ac_c_preproc_warn_flag
11823 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11830 if test -z "$ac_cpp_err"; then
11831 ac_header_preproc
=yes
11833 echo "$as_me: failed program was:" >&5
11834 sed 's/^/| /' conftest.
$ac_ext >&5
11836 ac_header_preproc
=no
11838 rm -f conftest.err conftest.
$ac_ext
11839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11840 echo "${ECHO_T}$ac_header_preproc" >&6
11842 # So? What about this header?
11843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11848 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11849 ac_header_preproc
=yes
11852 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11853 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11854 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11855 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11856 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11857 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11858 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11859 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11862 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11863 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11866 ## ------------------------------------------ ##
11867 ## Report this to the AC_PACKAGE_NAME lists. ##
11868 ## ------------------------------------------ ##
11871 sed "s/^/$as_me: WARNING: /" >&2
11874 echo "$as_me:$LINENO: checking for $ac_header" >&5
11875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11877 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 eval "$as_ac_Header=\$ac_header_preproc"
11881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11886 cat >>confdefs.h
<<_ACEOF
11887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11894 if test "$ac_cv_header_sys_procfs_h" = yes; then
11895 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
11896 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
11897 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
11898 echo $ECHO_N "(cached) $ECHO_C" >&6
11900 cat >conftest.
$ac_ext <<_ACEOF
11903 cat confdefs.h
>>conftest.
$ac_ext
11904 cat >>conftest.
$ac_ext <<_ACEOF
11905 /* end confdefs.h. */
11908 #include <sys/procfs.h>
11917 rm -f conftest.
$ac_objext
11918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11919 (eval $ac_compile) 2>conftest.er1
11921 grep -v '^ *+' conftest.er1
>conftest.err
11923 cat conftest.err
>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); } &&
11926 { ac_try
='test -z "$ac_c_werror_flag"
11927 || test ! -s conftest.err'
11928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929 (eval $ac_try) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; } &&
11933 { ac_try
='test -s conftest.$ac_objext'
11934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.
$ac_ext >&5
11944 bfd_cv_have_sys_procfs_type_prstatus_t
=no
11947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11950 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
11952 cat >>confdefs.h
<<\_ACEOF
11953 #define HAVE_PRSTATUS_T 1
11957 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
11958 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
11960 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
11961 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
11962 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
11963 echo $ECHO_N "(cached) $ECHO_C" >&6
11965 cat >conftest.
$ac_ext <<_ACEOF
11968 cat confdefs.h
>>conftest.
$ac_ext
11969 cat >>conftest.
$ac_ext <<_ACEOF
11970 /* end confdefs.h. */
11973 #include <sys/procfs.h>
11982 rm -f conftest.
$ac_objext
11983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11984 (eval $ac_compile) 2>conftest.er1
11986 grep -v '^ *+' conftest.er1
>conftest.err
11988 cat conftest.err
>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); } &&
11991 { ac_try
='test -z "$ac_c_werror_flag"
11992 || test ! -s conftest.err'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; } &&
11998 { ac_try
='test -s conftest.$ac_objext'
11999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12000 (eval $ac_try) 2>&5
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); }; }; then
12004 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
12006 echo "$as_me: failed program was:" >&5
12007 sed 's/^/| /' conftest.
$ac_ext >&5
12009 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
12012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12015 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
12017 cat >>confdefs.h
<<\_ACEOF
12018 #define HAVE_PRSTATUS32_T 1
12022 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12023 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
12025 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12026 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12027 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12030 cat >conftest.
$ac_ext <<_ACEOF
12033 cat confdefs.h
>>conftest.
$ac_ext
12034 cat >>conftest.
$ac_ext <<_ACEOF
12035 /* end confdefs.h. */
12038 #include <sys/procfs.h>
12042 prstatus_t avar; void* aref = (void*) &avar.pr_who
12047 rm -f conftest.
$ac_objext
12048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12049 (eval $ac_compile) 2>conftest.er1
12051 grep -v '^ *+' conftest.er1
>conftest.err
12053 cat conftest.err
>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); } &&
12056 { ac_try
='test -z "$ac_c_werror_flag"
12057 || test ! -s conftest.err'
12058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12059 (eval $ac_try) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); }; } &&
12063 { ac_try
='test -s conftest.$ac_objext'
12064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12065 (eval $ac_try) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); }; }; then
12069 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
12071 echo "$as_me: failed program was:" >&5
12072 sed 's/^/| /' conftest.
$ac_ext >&5
12074 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
12077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12080 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
12082 cat >>confdefs.h
<<\_ACEOF
12083 #define HAVE_PRSTATUS_T_PR_WHO 1
12087 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12088 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
12090 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12091 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12092 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 cat >conftest.
$ac_ext <<_ACEOF
12098 cat confdefs.h
>>conftest.
$ac_ext
12099 cat >>conftest.
$ac_ext <<_ACEOF
12100 /* end confdefs.h. */
12103 #include <sys/procfs.h>
12107 prstatus32_t avar; void* aref = (void*) &avar.pr_who
12112 rm -f conftest.
$ac_objext
12113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12114 (eval $ac_compile) 2>conftest.er1
12116 grep -v '^ *+' conftest.er1
>conftest.err
12118 cat conftest.err
>&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); } &&
12121 { ac_try
='test -z "$ac_c_werror_flag"
12122 || test ! -s conftest.err'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; } &&
12128 { ac_try
='test -s conftest.$ac_objext'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; }; then
12134 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
12136 echo "$as_me: failed program was:" >&5
12137 sed 's/^/| /' conftest.
$ac_ext >&5
12139 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
12142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12145 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
12147 cat >>confdefs.h
<<\_ACEOF
12148 #define HAVE_PRSTATUS32_T_PR_WHO 1
12152 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12153 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
12155 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12156 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
12157 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
12158 echo $ECHO_N "(cached) $ECHO_C" >&6
12160 cat >conftest.
$ac_ext <<_ACEOF
12163 cat confdefs.h
>>conftest.
$ac_ext
12164 cat >>conftest.
$ac_ext <<_ACEOF
12165 /* end confdefs.h. */
12168 #include <sys/procfs.h>
12177 rm -f conftest.
$ac_objext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12179 (eval $ac_compile) 2>conftest.er1
12181 grep -v '^ *+' conftest.er1
>conftest.err
12183 cat conftest.err
>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); } &&
12186 { ac_try
='test -z "$ac_c_werror_flag"
12187 || test ! -s conftest.err'
12188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12189 (eval $ac_try) 2>&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); }; } &&
12193 { ac_try
='test -s conftest.$ac_objext'
12194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12195 (eval $ac_try) 2>&5
12197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12198 (exit $ac_status); }; }; then
12199 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
12201 echo "$as_me: failed program was:" >&5
12202 sed 's/^/| /' conftest.
$ac_ext >&5
12204 bfd_cv_have_sys_procfs_type_pstatus_t
=no
12207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12210 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
12212 cat >>confdefs.h
<<\_ACEOF
12213 #define HAVE_PSTATUS_T 1
12217 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
12218 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
12220 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
12221 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
12222 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 cat >conftest.
$ac_ext <<_ACEOF
12228 cat confdefs.h
>>conftest.
$ac_ext
12229 cat >>conftest.
$ac_ext <<_ACEOF
12230 /* end confdefs.h. */
12233 #include <sys/procfs.h>
12242 rm -f conftest.
$ac_objext
12243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12244 (eval $ac_compile) 2>conftest.er1
12246 grep -v '^ *+' conftest.er1
>conftest.err
12248 cat conftest.err
>&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); } &&
12251 { ac_try
='test -z "$ac_c_werror_flag"
12252 || test ! -s conftest.err'
12253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12254 (eval $ac_try) 2>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; } &&
12258 { ac_try
='test -s conftest.$ac_objext'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; }; then
12264 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.
$ac_ext >&5
12269 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
12272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12275 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
12277 cat >>confdefs.h
<<\_ACEOF
12278 #define HAVE_PXSTATUS_T 1
12282 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
12283 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
12285 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
12286 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
12287 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 cat >conftest.
$ac_ext <<_ACEOF
12293 cat confdefs.h
>>conftest.
$ac_ext
12294 cat >>conftest.
$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12298 #include <sys/procfs.h>
12307 rm -f conftest.
$ac_objext
12308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12309 (eval $ac_compile) 2>conftest.er1
12311 grep -v '^ *+' conftest.er1
>conftest.err
12313 cat conftest.err
>&5
12314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12315 (exit $ac_status); } &&
12316 { ac_try
='test -z "$ac_c_werror_flag"
12317 || test ! -s conftest.err'
12318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12319 (eval $ac_try) 2>&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }; } &&
12323 { ac_try
='test -s conftest.$ac_objext'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; }; then
12329 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
12331 echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.
$ac_ext >&5
12334 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
12337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12340 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
12342 cat >>confdefs.h
<<\_ACEOF
12343 #define HAVE_PSTATUS32_T 1
12347 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
12348 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
12350 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
12351 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
12352 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
12353 echo $ECHO_N "(cached) $ECHO_C" >&6
12355 cat >conftest.
$ac_ext <<_ACEOF
12358 cat confdefs.h
>>conftest.
$ac_ext
12359 cat >>conftest.
$ac_ext <<_ACEOF
12360 /* end confdefs.h. */
12363 #include <sys/procfs.h>
12372 rm -f conftest.
$ac_objext
12373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12374 (eval $ac_compile) 2>conftest.er1
12376 grep -v '^ *+' conftest.er1
>conftest.err
12378 cat conftest.err
>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } &&
12381 { ac_try
='test -z "$ac_c_werror_flag"
12382 || test ! -s conftest.err'
12383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12384 (eval $ac_try) 2>&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); }; } &&
12388 { ac_try
='test -s conftest.$ac_objext'
12389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12390 (eval $ac_try) 2>&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); }; }; then
12394 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
12396 echo "$as_me: failed program was:" >&5
12397 sed 's/^/| /' conftest.
$ac_ext >&5
12399 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
12402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12405 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
12407 cat >>confdefs.h
<<\_ACEOF
12408 #define HAVE_PRPSINFO_T 1
12412 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
12413 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
12415 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
12416 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
12417 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
12418 echo $ECHO_N "(cached) $ECHO_C" >&6
12420 cat >conftest.
$ac_ext <<_ACEOF
12423 cat confdefs.h
>>conftest.
$ac_ext
12424 cat >>conftest.
$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12428 #include <sys/procfs.h>
12437 rm -f conftest.
$ac_objext
12438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12439 (eval $ac_compile) 2>conftest.er1
12441 grep -v '^ *+' conftest.er1
>conftest.err
12443 cat conftest.err
>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); } &&
12446 { ac_try
='test -z "$ac_c_werror_flag"
12447 || test ! -s conftest.err'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; } &&
12453 { ac_try
='test -s conftest.$ac_objext'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; }; then
12459 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
12461 echo "$as_me: failed program was:" >&5
12462 sed 's/^/| /' conftest.
$ac_ext >&5
12464 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
12467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12470 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
12472 cat >>confdefs.h
<<\_ACEOF
12473 #define HAVE_PRPSINFO32_T 1
12477 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
12478 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
12480 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
12481 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
12482 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12485 cat >conftest.
$ac_ext <<_ACEOF
12488 cat confdefs.h
>>conftest.
$ac_ext
12489 cat >>conftest.
$ac_ext <<_ACEOF
12490 /* end confdefs.h. */
12493 #include <sys/procfs.h>
12502 rm -f conftest.
$ac_objext
12503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12504 (eval $ac_compile) 2>conftest.er1
12506 grep -v '^ *+' conftest.er1
>conftest.err
12508 cat conftest.err
>&5
12509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); } &&
12511 { ac_try
='test -z "$ac_c_werror_flag"
12512 || test ! -s conftest.err'
12513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12514 (eval $ac_try) 2>&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; } &&
12518 { ac_try
='test -s conftest.$ac_objext'
12519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12520 (eval $ac_try) 2>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); }; }; then
12524 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
12526 echo "$as_me: failed program was:" >&5
12527 sed 's/^/| /' conftest.
$ac_ext >&5
12529 bfd_cv_have_sys_procfs_type_psinfo_t
=no
12532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12535 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
12537 cat >>confdefs.h
<<\_ACEOF
12538 #define HAVE_PSINFO_T 1
12542 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
12543 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
12545 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
12546 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
12547 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
12548 echo $ECHO_N "(cached) $ECHO_C" >&6
12550 cat >conftest.
$ac_ext <<_ACEOF
12553 cat confdefs.h
>>conftest.
$ac_ext
12554 cat >>conftest.
$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12558 #include <sys/procfs.h>
12567 rm -f conftest.
$ac_objext
12568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12569 (eval $ac_compile) 2>conftest.er1
12571 grep -v '^ *+' conftest.er1
>conftest.err
12573 cat conftest.err
>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); } &&
12576 { ac_try
='test -z "$ac_c_werror_flag"
12577 || test ! -s conftest.err'
12578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12579 (eval $ac_try) 2>&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); }; } &&
12583 { ac_try
='test -s conftest.$ac_objext'
12584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12585 (eval $ac_try) 2>&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); }; }; then
12589 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
12591 echo "$as_me: failed program was:" >&5
12592 sed 's/^/| /' conftest.
$ac_ext >&5
12594 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
12597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12600 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
12602 cat >>confdefs.h
<<\_ACEOF
12603 #define HAVE_PSINFO32_T 1
12607 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
12608 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
12610 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
12611 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
12612 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 cat >conftest.
$ac_ext <<_ACEOF
12618 cat confdefs.h
>>conftest.
$ac_ext
12619 cat >>conftest.
$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12623 #include <sys/procfs.h>
12632 rm -f conftest.
$ac_objext
12633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12634 (eval $ac_compile) 2>conftest.er1
12636 grep -v '^ *+' conftest.er1
>conftest.err
12638 cat conftest.err
>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); } &&
12641 { ac_try
='test -z "$ac_c_werror_flag"
12642 || test ! -s conftest.err'
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 (eval $ac_try) 2>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; } &&
12648 { ac_try
='test -s conftest.$ac_objext'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; }; then
12654 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.
$ac_ext >&5
12659 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
12662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12665 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
12667 cat >>confdefs.h
<<\_ACEOF
12668 #define HAVE_LWPSTATUS_T 1
12672 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
12673 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
12675 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
12676 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
12677 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
12678 echo $ECHO_N "(cached) $ECHO_C" >&6
12680 cat >conftest.
$ac_ext <<_ACEOF
12683 cat confdefs.h
>>conftest.
$ac_ext
12684 cat >>conftest.
$ac_ext <<_ACEOF
12685 /* end confdefs.h. */
12688 #include <sys/procfs.h>
12697 rm -f conftest.
$ac_objext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12699 (eval $ac_compile) 2>conftest.er1
12701 grep -v '^ *+' conftest.er1
>conftest.err
12703 cat conftest.err
>&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } &&
12706 { ac_try
='test -z "$ac_c_werror_flag"
12707 || test ! -s conftest.err'
12708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12709 (eval $ac_try) 2>&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); }; } &&
12713 { ac_try
='test -s conftest.$ac_objext'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; }; then
12719 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
12721 echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.
$ac_ext >&5
12724 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
12727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12730 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
12732 cat >>confdefs.h
<<\_ACEOF
12733 #define HAVE_LWPXSTATUS_T 1
12737 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
12738 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
12740 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
12741 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
12742 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12745 cat >conftest.
$ac_ext <<_ACEOF
12748 cat confdefs.h
>>conftest.
$ac_ext
12749 cat >>conftest.
$ac_ext <<_ACEOF
12750 /* end confdefs.h. */
12753 #include <sys/procfs.h>
12757 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
12762 rm -f conftest.
$ac_objext
12763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12764 (eval $ac_compile) 2>conftest.er1
12766 grep -v '^ *+' conftest.er1
>conftest.err
12768 cat conftest.err
>&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); } &&
12771 { ac_try
='test -z "$ac_c_werror_flag"
12772 || test ! -s conftest.err'
12773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 (eval $ac_try) 2>&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; } &&
12778 { ac_try
='test -s conftest.$ac_objext'
12779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12780 (eval $ac_try) 2>&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); }; }; then
12784 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
12786 echo "$as_me: failed program was:" >&5
12787 sed 's/^/| /' conftest.
$ac_ext >&5
12789 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
12792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12795 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
12797 cat >>confdefs.h
<<\_ACEOF
12798 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
12802 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
12803 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
12805 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
12806 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
12807 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 cat >conftest.
$ac_ext <<_ACEOF
12813 cat confdefs.h
>>conftest.
$ac_ext
12814 cat >>conftest.
$ac_ext <<_ACEOF
12815 /* end confdefs.h. */
12818 #include <sys/procfs.h>
12822 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
12827 rm -f conftest.
$ac_objext
12828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12829 (eval $ac_compile) 2>conftest.er1
12831 grep -v '^ *+' conftest.er1
>conftest.err
12833 cat conftest.err
>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } &&
12836 { ac_try
='test -z "$ac_c_werror_flag"
12837 || test ! -s conftest.err'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; } &&
12843 { ac_try
='test -s conftest.$ac_objext'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; }; then
12849 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
12851 echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.
$ac_ext >&5
12854 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
12857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12860 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
12862 cat >>confdefs.h
<<\_ACEOF
12863 #define HAVE_LWPSTATUS_T_PR_REG 1
12867 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
12868 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
12870 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
12871 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
12872 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
12873 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 cat >conftest.
$ac_ext <<_ACEOF
12878 cat confdefs.h
>>conftest.
$ac_ext
12879 cat >>conftest.
$ac_ext <<_ACEOF
12880 /* end confdefs.h. */
12883 #include <sys/procfs.h>
12887 win32_pstatus_t avar
12892 rm -f conftest.
$ac_objext
12893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12894 (eval $ac_compile) 2>conftest.er1
12896 grep -v '^ *+' conftest.er1
>conftest.err
12898 cat conftest.err
>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); } &&
12901 { ac_try
='test -z "$ac_c_werror_flag"
12902 || test ! -s conftest.err'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; } &&
12908 { ac_try
='test -s conftest.$ac_objext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.
$ac_ext >&5
12919 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
12922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12925 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
12927 cat >>confdefs.h
<<\_ACEOF
12928 #define HAVE_WIN32_PSTATUS_T 1
12932 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
12933 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
12939 if test -n "$TRAD_HEADER"; then
12941 cat >>confdefs.h
<<_ACEOF
12942 #define TRAD_HEADER $TRAD_HEADER
12947 # Horrible hacks to build DLLs on Windows.
12952 if test "$enable_shared" = "yes"; then
12953 WIN32LDFLAGS
="-no-undefined"
12954 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
12958 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
12962 # Linux/MIPS uses PIC by default.
12963 if test "$enable_shared" = "yes"; then
12964 WIN32LIBADD
="-L../libiberty -liberty"
12968 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
12969 if test -n "$x"; then
12970 WIN32LIBADD
="-L../libiberty/pic -liberty"
12981 # Canonicalize the secondary target names.
12982 if test -n "$enable_targets" ; then
12983 for targ
in `echo $enable_targets | sed 's/,/ /g'`
12985 result
=`$ac_config_sub $targ 2>/dev/null`
12986 if test -n "$result" ; then
12987 canon_targets
="$canon_targets $result"
12989 # Allow targets that config.sub doesn't recognize, like "all".
12990 canon_targets
="$canon_targets $targ"
13001 for targ
in $target $canon_targets
13003 if test "x$targ" = "xall"; then
13005 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
13007 .
$srcdir/config.bfd
13008 if test "x$targ" = "x$target"; then
13009 defvec
=$targ_defvec
13011 selvecs
="$selvecs $targ_defvec $targ_selvecs"
13012 selarchs
="$selarchs $targ_archs"
13013 TDEFINES
="$TDEFINES $targ_cflags"
13018 # This processing still needs to be done if we're to decide properly whether
13019 # 64-bit support needs to be compiled in. Currently, it will be included if
13020 # the default or any other explicitly requested target requires it; it
13021 # will not be included on a 32-bit host if no 64-bit target is requested, and
13022 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
13025 # uniq the default and selected vectors in all the configured targets.
13027 for i
in $selvecs ; do
13036 # uniq the associated vectors in all the configured targets.
13038 for i
in $assocvecs ; do
13047 # uniq the architectures in all the configured targets.
13049 for i
in $selarchs ; do
13057 # Target backend .o files.
13060 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
13062 for vec
in $selvecs
13066 # This list is alphabetized to make it easy to compare
13067 # with the two vector lists in targets.c. For the same reason,
13068 # use one entry per line, even though this leads to long lines.
13069 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
13070 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
13071 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
13072 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
13073 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
13074 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
13075 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
13076 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
13077 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
13078 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
13079 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
13080 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
13081 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
13082 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
13083 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
13084 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
13085 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
13086 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
13087 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
13088 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
13089 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
13090 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
13091 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
13092 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
13093 bfd_elf32_bfinfdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
13094 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
13095 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
13096 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13097 bfd_elf32_bigarm_symbian_vec
)
13098 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13099 bfd_elf32_bigarm_vxworks_vec
)
13100 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13101 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13102 bfd_elf32_bigmips_vxworks_vec
)
13103 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13104 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
13105 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
13106 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
13107 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
13108 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
13109 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
13110 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
13111 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
13112 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
13113 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
13114 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13115 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13116 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
13117 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
13118 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13119 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13120 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
13121 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
13122 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
13123 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
13124 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
13125 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
13126 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
13127 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
13128 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
13129 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
13130 bfd_elf32_littlearm_symbian_vec
)
13131 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13132 bfd_elf32_littlearm_vxworks_vec
)
13133 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13134 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
13135 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13136 bfd_elf32_littlemips_vxworks_vec
)
13137 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13138 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
13139 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13140 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13141 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13142 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
13143 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
13144 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
13145 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
13146 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
13147 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
13148 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
13149 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
13150 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
13151 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
13152 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
13153 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13154 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13155 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13156 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
13157 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
13158 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
13159 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
13160 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
13161 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13162 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13163 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
13164 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
13165 # FIXME: We include cofflink.lo not because it's needed for
13166 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
13167 # which needs it but does not list it. Should be fixed in right place.
13168 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13169 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13170 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13171 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
13172 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
13173 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
13174 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
13175 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13176 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
13177 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf32.lo $elf coff-sh.lo" ;;
13178 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13179 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13180 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
13181 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
13182 bfd_elf32_sparc_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
13183 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13184 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
13185 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
13186 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
13187 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
13188 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
13189 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
13190 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
13191 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
13192 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
13193 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
13194 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13195 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 ;;
13196 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
13197 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
13198 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13199 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13200 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
13201 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13202 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 ;;
13203 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
13204 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
13205 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
13206 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
13207 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13208 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13209 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13210 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13211 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13212 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
13213 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
13214 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 ;;
13215 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 ;;
13216 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
13217 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
13218 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
13219 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
13220 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
13221 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
13222 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
13223 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
13224 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13225 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13226 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
13227 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
13228 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
13229 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
13230 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
13231 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
13232 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
13233 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
13234 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
13235 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
13236 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
13237 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
13238 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
13239 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
13240 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
13241 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
13242 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
13243 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
13244 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
13245 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
13246 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
13247 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
13248 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
13249 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
13250 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
13251 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
13252 ieee_vec
) tb
="$tb ieee.lo" ;;
13253 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
13254 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
13255 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
13256 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
13257 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
13258 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
13259 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
13260 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
13261 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
13262 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
13263 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
13264 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
13265 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
13266 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
13267 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
13268 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
13269 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
13270 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
13271 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
13272 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
13273 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
13274 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
13275 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
13276 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
13277 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
13278 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
13279 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
13280 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
13281 pef_vec
) tb
="$tb pef.lo" ;;
13282 pef_xlib_vec
) tb
="$tb pef.lo" ;;
13283 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
13284 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
13285 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
13286 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
13287 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
13288 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
13289 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13290 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13291 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13292 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
13293 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
13294 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
13295 som_vec
) tb
="$tb som.lo" ;;
13296 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
13297 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
13298 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
13299 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
13300 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
13301 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
13302 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
13303 sym_vec
) tb
="$tb xsym.lo" ;;
13304 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
13305 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
13306 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
13307 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13308 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
13309 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13310 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
13311 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
13312 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13313 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
13314 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13315 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
13316 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
13317 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
13318 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
13319 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
13320 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
13321 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
13322 versados_vec
) tb
="$tb versados.lo" ;;
13323 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
13324 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
13325 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
13326 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
13327 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
13328 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
13330 # These appear out of order in targets.c
13331 srec_vec
) tb
="$tb srec.lo" ;;
13332 symbolsrec_vec
) tb
="$tb srec.lo" ;;
13333 tekhex_vec
) tb
="$tb tekhex.lo" ;;
13334 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
13335 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
13338 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
13339 echo "$as_me: error: *** unknown target vector $vec" >&2;}
13340 { (exit 1); exit 1; }; } ;;
13343 if test ${target_size} = 64; then
13346 if test x
"${vec}" = x
"${defvec}"; then
13347 bfd_default_target_size
=${target_size}
13351 # Target architecture .o files.
13352 # A couple of CPUs use shorter file names to avoid problems on DOS
13354 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
13356 # Weed out duplicate .o files.
13378 if test x
${all_targets} = xtrue
; then
13379 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
13380 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
13384 test -n "$assocvecs" &&
13385 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13386 else # all_targets is true
13387 # Only set these if they will be nonempty, for the clever echo.
13390 test -n "$selvecs" &&
13391 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
13392 test -n "$selvecs" &&
13393 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13394 test -n "$selarchs" &&
13395 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
13396 fi # all_targets is true
13398 case ${host64}-${target64}-${want64} in
13401 bfd_libs
='$(BFD64_LIBS) $(BFD32_LIBS)'
13402 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
13403 if test $BFD_HOST_64_BIT_DEFINED = 0; then
13404 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
13405 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
13406 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
13407 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
13409 if test -n "$GCC" ; then
13411 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13412 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
13413 # Add more tests for gcc versions with non-working 64-bit support here.
13414 cat >conftest.
$ac_ext <<_ACEOF
13417 cat confdefs.h
>>conftest.
$ac_ext
13418 cat >>conftest.
$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13420 :__GNUC__:__GNUC_MINOR__:__i386__:
13422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13423 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
13425 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13426 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
13428 echo "$as_me:$LINENO: result: no" >&5
13429 echo "${ECHO_T}no" >&6
13433 if test $bad_64bit_gcc = yes ; then
13434 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
13435 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
13436 { (exit 1); exit 1; }; }
13442 bfd_libs
='$(BFD32_LIBS)'
13443 all_backends
='$(BFD32_BACKENDS)'
13454 # Determine the host dependant file_ptr a.k.a. off_t type. In order
13455 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
13456 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
13457 # Hopefully a reasonable assumption since fseeko et.al. should be
13458 # upward compatible.
13464 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
13466 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13467 echo "$as_me:$LINENO: checking for $ac_func" >&5
13468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13469 if eval "test \"\${$as_ac_var+set}\" = set"; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13472 cat >conftest.
$ac_ext <<_ACEOF
13475 cat confdefs.h
>>conftest.
$ac_ext
13476 cat >>conftest.
$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13480 #define $ac_func innocuous_$ac_func
13482 /* System header to define __stub macros and hopefully few prototypes,
13483 which can conflict with char $ac_func (); below.
13484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13485 <limits.h> exists even on freestanding compilers. */
13488 # include <limits.h>
13490 # include <assert.h>
13495 /* Override any gcc2 internal prototype to avoid an error. */
13500 /* We use char because int might match the return type of a gcc2
13501 builtin and then its argument prototype would still apply. */
13503 /* The GNU C library defines this for functions which it implements
13504 to always fail with ENOSYS. Some functions are actually named
13505 something starting with __ and the normal name is an alias. */
13506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13509 char (*f) () = $ac_func;
13518 return f != $ac_func;
13523 rm -f conftest.
$ac_objext conftest
$ac_exeext
13524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13525 (eval $ac_link) 2>conftest.er1
13527 grep -v '^ *+' conftest.er1
>conftest.err
13529 cat conftest.err
>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); } &&
13532 { ac_try
='test -z "$ac_c_werror_flag"
13533 || test ! -s conftest.err'
13534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13535 (eval $ac_try) 2>&5
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); }; } &&
13539 { ac_try
='test -s conftest$ac_exeext'
13540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13541 (eval $ac_try) 2>&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); }; }; then
13545 eval "$as_ac_var=yes"
13547 echo "$as_me: failed program was:" >&5
13548 sed 's/^/| /' conftest.
$ac_ext >&5
13550 eval "$as_ac_var=no"
13552 rm -f conftest.err conftest.
$ac_objext \
13553 conftest
$ac_exeext conftest.
$ac_ext
13555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13557 if test `eval echo '${'$as_ac_var'}'` = yes; then
13558 cat >>confdefs.h
<<_ACEOF
13559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13565 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
13566 echo "$as_me:$LINENO: checking for off_t" >&5
13567 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13568 if test "${ac_cv_type_off_t+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 cat >conftest.
$ac_ext <<_ACEOF
13574 cat confdefs.h
>>conftest.
$ac_ext
13575 cat >>conftest.
$ac_ext <<_ACEOF
13576 /* end confdefs.h. */
13577 $ac_includes_default
13583 if (sizeof (off_t))
13589 rm -f conftest.
$ac_objext
13590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13591 (eval $ac_compile) 2>conftest.er1
13593 grep -v '^ *+' conftest.er1
>conftest.err
13595 cat conftest.err
>&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } &&
13598 { ac_try
='test -z "$ac_c_werror_flag"
13599 || test ! -s conftest.err'
13600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13601 (eval $ac_try) 2>&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); }; } &&
13605 { ac_try
='test -s conftest.$ac_objext'
13606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13607 (eval $ac_try) 2>&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; }; then
13611 ac_cv_type_off_t
=yes
13613 echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.
$ac_ext >&5
13616 ac_cv_type_off_t
=no
13618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13620 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13621 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13623 echo "$as_me:$LINENO: checking size of off_t" >&5
13624 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
13625 if test "${ac_cv_sizeof_off_t+set}" = set; then
13626 echo $ECHO_N "(cached) $ECHO_C" >&6
13628 if test "$ac_cv_type_off_t" = yes; then
13629 # The cast to unsigned long works around a bug in the HP C Compiler
13630 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13631 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13632 # This bug is HP SR number 8606223364.
13633 if test "$cross_compiling" = yes; then
13634 # Depending upon the size, compute the lo and hi bounds.
13635 cat >conftest.
$ac_ext <<_ACEOF
13638 cat confdefs.h
>>conftest.
$ac_ext
13639 cat >>conftest.
$ac_ext <<_ACEOF
13640 /* end confdefs.h. */
13641 $ac_includes_default
13645 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
13652 rm -f conftest.
$ac_objext
13653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13654 (eval $ac_compile) 2>conftest.er1
13656 grep -v '^ *+' conftest.er1
>conftest.err
13658 cat conftest.err
>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } &&
13661 { ac_try
='test -z "$ac_c_werror_flag"
13662 || test ! -s conftest.err'
13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13664 (eval $ac_try) 2>&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; } &&
13668 { ac_try
='test -s conftest.$ac_objext'
13669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13670 (eval $ac_try) 2>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); }; }; then
13676 cat >conftest.
$ac_ext <<_ACEOF
13679 cat confdefs.h
>>conftest.
$ac_ext
13680 cat >>conftest.
$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13682 $ac_includes_default
13686 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
13693 rm -f conftest.
$ac_objext
13694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13695 (eval $ac_compile) 2>conftest.er1
13697 grep -v '^ *+' conftest.er1
>conftest.err
13699 cat conftest.err
>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); } &&
13702 { ac_try
='test -z "$ac_c_werror_flag"
13703 || test ! -s conftest.err'
13704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13705 (eval $ac_try) 2>&5
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); }; } &&
13709 { ac_try
='test -s conftest.$ac_objext'
13710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13711 (eval $ac_try) 2>&5
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); }; }; then
13715 ac_hi
=$ac_mid; break
13717 echo "$as_me: failed program was:" >&5
13718 sed 's/^/| /' conftest.
$ac_ext >&5
13720 ac_lo
=`expr $ac_mid + 1`
13721 if test $ac_lo -le $ac_mid; then
13725 ac_mid
=`expr 2 '*' $ac_mid + 1`
13727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.
$ac_ext >&5
13733 cat >conftest.
$ac_ext <<_ACEOF
13736 cat confdefs.h
>>conftest.
$ac_ext
13737 cat >>conftest.
$ac_ext <<_ACEOF
13738 /* end confdefs.h. */
13739 $ac_includes_default
13743 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
13750 rm -f conftest.
$ac_objext
13751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13752 (eval $ac_compile) 2>conftest.er1
13754 grep -v '^ *+' conftest.er1
>conftest.err
13756 cat conftest.err
>&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } &&
13759 { ac_try
='test -z "$ac_c_werror_flag"
13760 || test ! -s conftest.err'
13761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13762 (eval $ac_try) 2>&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; } &&
13766 { ac_try
='test -s conftest.$ac_objext'
13767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13768 (eval $ac_try) 2>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); }; }; then
13774 cat >conftest.
$ac_ext <<_ACEOF
13777 cat confdefs.h
>>conftest.
$ac_ext
13778 cat >>conftest.
$ac_ext <<_ACEOF
13779 /* end confdefs.h. */
13780 $ac_includes_default
13784 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
13791 rm -f conftest.
$ac_objext
13792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13793 (eval $ac_compile) 2>conftest.er1
13795 grep -v '^ *+' conftest.er1
>conftest.err
13797 cat conftest.err
>&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); } &&
13800 { ac_try
='test -z "$ac_c_werror_flag"
13801 || test ! -s conftest.err'
13802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13803 (eval $ac_try) 2>&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); }; } &&
13807 { ac_try
='test -s conftest.$ac_objext'
13808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13809 (eval $ac_try) 2>&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); }; }; then
13813 ac_lo
=$ac_mid; break
13815 echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.
$ac_ext >&5
13818 ac_hi
=`expr '(' $ac_mid ')' - 1`
13819 if test $ac_mid -le $ac_hi; then
13823 ac_mid
=`expr 2 '*' $ac_mid`
13825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.
$ac_ext >&5
13833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13836 # Binary search between lo and hi bounds.
13837 while test "x$ac_lo" != "x$ac_hi"; do
13838 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13839 cat >conftest.
$ac_ext <<_ACEOF
13842 cat confdefs.h
>>conftest.
$ac_ext
13843 cat >>conftest.
$ac_ext <<_ACEOF
13844 /* end confdefs.h. */
13845 $ac_includes_default
13849 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
13856 rm -f conftest.
$ac_objext
13857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13858 (eval $ac_compile) 2>conftest.er1
13860 grep -v '^ *+' conftest.er1
>conftest.err
13862 cat conftest.err
>&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 (exit $ac_status); } &&
13865 { ac_try
='test -z "$ac_c_werror_flag"
13866 || test ! -s conftest.err'
13867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13868 (eval $ac_try) 2>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); }; } &&
13872 { ac_try
='test -s conftest.$ac_objext'
13873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13874 (eval $ac_try) 2>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; }; then
13880 echo "$as_me: failed program was:" >&5
13881 sed 's/^/| /' conftest.
$ac_ext >&5
13883 ac_lo
=`expr '(' $ac_mid ')' + 1`
13885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13888 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
13889 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
13890 See \`config.log' for more details." >&5
13891 echo "$as_me: error: cannot compute sizeof (off_t), 77
13892 See \`config.log' for more details." >&2;}
13893 { (exit 1); exit 1; }; } ;;
13896 if test "$cross_compiling" = yes; then
13897 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13898 See \`config.log' for more details." >&5
13899 echo "$as_me: error: cannot run test program while cross compiling
13900 See \`config.log' for more details." >&2;}
13901 { (exit 1); exit 1; }; }
13903 cat >conftest.
$ac_ext <<_ACEOF
13906 cat confdefs.h
>>conftest.
$ac_ext
13907 cat >>conftest.
$ac_ext <<_ACEOF
13908 /* end confdefs.h. */
13909 $ac_includes_default
13910 long longval () { return (long) (sizeof (off_t)); }
13911 unsigned long ulongval () { return (long) (sizeof (off_t)); }
13913 #include <stdlib.h>
13918 FILE *f = fopen ("conftest.val", "w");
13921 if (((long) (sizeof (off_t))) < 0)
13923 long i = longval ();
13924 if (i != ((long) (sizeof (off_t))))
13926 fprintf (f, "%ld\n", i);
13930 unsigned long i = ulongval ();
13931 if (i != ((long) (sizeof (off_t))))
13933 fprintf (f, "%lu\n", i);
13935 exit (ferror (f) || fclose (f) != 0);
13941 rm -f conftest
$ac_exeext
13942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13943 (eval $ac_link) 2>&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13952 ac_cv_sizeof_off_t
=`cat conftest.val`
13954 echo "$as_me: program exited with status $ac_status" >&5
13955 echo "$as_me: failed program was:" >&5
13956 sed 's/^/| /' conftest.
$ac_ext >&5
13958 ( exit $ac_status )
13959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
13960 See \`config.log' for more details." >&5
13961 echo "$as_me: error: cannot compute sizeof (off_t), 77
13962 See \`config.log' for more details." >&2;}
13963 { (exit 1); exit 1; }; }
13965 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13970 ac_cv_sizeof_off_t
=0
13973 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
13974 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
13975 cat >>confdefs.h
<<_ACEOF
13976 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
13981 echo "$as_me:$LINENO: checking file_ptr type" >&5
13982 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
13983 bfd_file_ptr
="long"
13984 bfd_ufile_ptr
="unsigned long"
13985 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
13986 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
13987 bfd_file_ptr
=BFD_HOST_64_BIT
13988 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
13990 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
13991 echo "${ECHO_T}$bfd_file_ptr" >&6
13997 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
13998 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
13999 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
14000 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
14001 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
14006 for ac_header
in stdlib.h unistd.h
14008 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14010 echo "$as_me:$LINENO: checking for $ac_header" >&5
14011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14013 echo $ECHO_N "(cached) $ECHO_C" >&6
14015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14018 # Is the header compilable?
14019 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14021 cat >conftest.
$ac_ext <<_ACEOF
14024 cat confdefs.h
>>conftest.
$ac_ext
14025 cat >>conftest.
$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14027 $ac_includes_default
14028 #include <$ac_header>
14030 rm -f conftest.
$ac_objext
14031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14032 (eval $ac_compile) 2>conftest.er1
14034 grep -v '^ *+' conftest.er1
>conftest.err
14036 cat conftest.err
>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } &&
14039 { ac_try
='test -z "$ac_c_werror_flag"
14040 || test ! -s conftest.err'
14041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14042 (eval $ac_try) 2>&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); }; } &&
14046 { ac_try
='test -s conftest.$ac_objext'
14047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14048 (eval $ac_try) 2>&5
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 (exit $ac_status); }; }; then
14052 ac_header_compiler
=yes
14054 echo "$as_me: failed program was:" >&5
14055 sed 's/^/| /' conftest.
$ac_ext >&5
14057 ac_header_compiler
=no
14059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14060 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14061 echo "${ECHO_T}$ac_header_compiler" >&6
14063 # Is the header present?
14064 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14065 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14066 cat >conftest.
$ac_ext <<_ACEOF
14069 cat confdefs.h
>>conftest.
$ac_ext
14070 cat >>conftest.
$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14072 #include <$ac_header>
14074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14075 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14077 grep -v '^ *+' conftest.er1
>conftest.err
14079 cat conftest.err
>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); } >/dev
/null
; then
14082 if test -s conftest.err
; then
14083 ac_cpp_err
=$ac_c_preproc_warn_flag
14084 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14091 if test -z "$ac_cpp_err"; then
14092 ac_header_preproc
=yes
14094 echo "$as_me: failed program was:" >&5
14095 sed 's/^/| /' conftest.
$ac_ext >&5
14097 ac_header_preproc
=no
14099 rm -f conftest.err conftest.
$ac_ext
14100 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14101 echo "${ECHO_T}$ac_header_preproc" >&6
14103 # So? What about this header?
14104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14107 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14109 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14110 ac_header_preproc
=yes
14113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14117 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14118 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14119 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14120 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14123 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14124 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14127 ## ------------------------------------------ ##
14128 ## Report this to the AC_PACKAGE_NAME lists. ##
14129 ## ------------------------------------------ ##
14132 sed "s/^/$as_me: WARNING: /" >&2
14135 echo "$as_me:$LINENO: checking for $ac_header" >&5
14136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 eval "$as_ac_Header=\$ac_header_preproc"
14142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14147 cat >>confdefs.h
<<_ACEOF
14148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14156 for ac_func
in getpagesize
14158 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14159 echo "$as_me:$LINENO: checking for $ac_func" >&5
14160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14161 if eval "test \"\${$as_ac_var+set}\" = set"; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14164 cat >conftest.
$ac_ext <<_ACEOF
14167 cat confdefs.h
>>conftest.
$ac_ext
14168 cat >>conftest.
$ac_ext <<_ACEOF
14169 /* end confdefs.h. */
14170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14172 #define $ac_func innocuous_$ac_func
14174 /* System header to define __stub macros and hopefully few prototypes,
14175 which can conflict with char $ac_func (); below.
14176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14177 <limits.h> exists even on freestanding compilers. */
14180 # include <limits.h>
14182 # include <assert.h>
14187 /* Override any gcc2 internal prototype to avoid an error. */
14192 /* We use char because int might match the return type of a gcc2
14193 builtin and then its argument prototype would still apply. */
14195 /* The GNU C library defines this for functions which it implements
14196 to always fail with ENOSYS. Some functions are actually named
14197 something starting with __ and the normal name is an alias. */
14198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14201 char (*f) () = $ac_func;
14210 return f != $ac_func;
14215 rm -f conftest.
$ac_objext conftest
$ac_exeext
14216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14217 (eval $ac_link) 2>conftest.er1
14219 grep -v '^ *+' conftest.er1
>conftest.err
14221 cat conftest.err
>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); } &&
14224 { ac_try
='test -z "$ac_c_werror_flag"
14225 || test ! -s conftest.err'
14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227 (eval $ac_try) 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; } &&
14231 { ac_try
='test -s conftest$ac_exeext'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; }; then
14237 eval "$as_ac_var=yes"
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.
$ac_ext >&5
14242 eval "$as_ac_var=no"
14244 rm -f conftest.err conftest.
$ac_objext \
14245 conftest
$ac_exeext conftest.
$ac_ext
14247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14249 if test `eval echo '${'$as_ac_var'}'` = yes; then
14250 cat >>confdefs.h
<<_ACEOF
14251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14257 echo "$as_me:$LINENO: checking for working mmap" >&5
14258 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14259 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 if test "$cross_compiling" = yes; then
14263 ac_cv_func_mmap_fixed_mapped
=no
14265 cat >conftest.
$ac_ext <<_ACEOF
14268 cat confdefs.h
>>conftest.
$ac_ext
14269 cat >>conftest.
$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14271 $ac_includes_default
14272 /* malloc might have been renamed as rpl_malloc. */
14275 /* Thanks to Mike Haertel and Jim Avera for this test.
14276 Here is a matrix of mmap possibilities:
14277 mmap private not fixed
14278 mmap private fixed at somewhere currently unmapped
14279 mmap private fixed at somewhere already mapped
14280 mmap shared not fixed
14281 mmap shared fixed at somewhere currently unmapped
14282 mmap shared fixed at somewhere already mapped
14283 For private mappings, we should verify that changes cannot be read()
14284 back from the file, nor mmap's back from the file at a different
14285 address. (There have been systems where private was not correctly
14286 implemented like the infamous i386 svr4.0, and systems where the
14287 VM page cache was not coherent with the file system buffer cache
14288 like early versions of FreeBSD and possibly contemporary NetBSD.)
14289 For shared mappings, we should conversely verify that changes get
14290 propagated back to all the places they're supposed to be.
14292 Grep wants private fixed already mapped.
14293 The main things grep needs to know about mmap are:
14294 * does it exist and is it safe to write into the mmap'd area
14295 * how to use it (BSD variants) */
14298 #include <sys/mman.h>
14300 #if !STDC_HEADERS && !HAVE_STDLIB_H
14304 /* This mess was copied from the GNU getpagesize.h. */
14305 #if !HAVE_GETPAGESIZE
14306 /* Assume that all systems that can run configure have sys/param.h. */
14307 # if !HAVE_SYS_PARAM_H
14308 # define HAVE_SYS_PARAM_H 1
14311 # ifdef _SC_PAGESIZE
14312 # define getpagesize() sysconf(_SC_PAGESIZE)
14313 # else /* no _SC_PAGESIZE */
14314 # if HAVE_SYS_PARAM_H
14315 # include <sys/param.h>
14316 # ifdef EXEC_PAGESIZE
14317 # define getpagesize() EXEC_PAGESIZE
14318 # else /* no EXEC_PAGESIZE */
14320 # define getpagesize() NBPG * CLSIZE
14323 # endif /* no CLSIZE */
14324 # else /* no NBPG */
14326 # define getpagesize() NBPC
14327 # else /* no NBPC */
14329 # define getpagesize() PAGESIZE
14330 # endif /* PAGESIZE */
14331 # endif /* no NBPC */
14332 # endif /* no NBPG */
14333 # endif /* no EXEC_PAGESIZE */
14334 # else /* no HAVE_SYS_PARAM_H */
14335 # define getpagesize() 8192 /* punt totally */
14336 # endif /* no HAVE_SYS_PARAM_H */
14337 # endif /* no _SC_PAGESIZE */
14339 #endif /* no HAVE_GETPAGESIZE */
14344 char *data, *data2, *data3;
14348 pagesize = getpagesize ();
14350 /* First, make a file with some known garbage in it. */
14351 data = (char *) malloc (pagesize);
14354 for (i = 0; i < pagesize; ++i)
14355 *(data + i) = rand ();
14357 fd = creat ("conftest.mmap", 0600);
14360 if (write (fd, data, pagesize) != pagesize)
14364 /* Next, try to mmap the file at a fixed address which already has
14365 something else allocated at it. If we can, also make sure that
14366 we see the same garbage. */
14367 fd = open ("conftest.mmap", O_RDWR);
14370 data2 = (char *) malloc (2 * pagesize);
14373 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14374 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14375 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14377 for (i = 0; i < pagesize; ++i)
14378 if (*(data + i) != *(data2 + i))
14381 /* Finally, make sure that changes to the mapped area do not
14382 percolate back to the file as seen by read(). (This is a bug on
14383 some variants of i386 svr4.0.) */
14384 for (i = 0; i < pagesize; ++i)
14385 *(data2 + i) = *(data2 + i) + 1;
14386 data3 = (char *) malloc (pagesize);
14389 if (read (fd, data3, pagesize) != pagesize)
14391 for (i = 0; i < pagesize; ++i)
14392 if (*(data + i) != *(data3 + i))
14398 rm -f conftest
$ac_exeext
14399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14400 (eval $ac_link) 2>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14405 (eval $ac_try) 2>&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }; }; then
14409 ac_cv_func_mmap_fixed_mapped
=yes
14411 echo "$as_me: program exited with status $ac_status" >&5
14412 echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.
$ac_ext >&5
14415 ( exit $ac_status )
14416 ac_cv_func_mmap_fixed_mapped
=no
14418 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14421 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14422 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14423 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14425 cat >>confdefs.h
<<\_ACEOF
14426 #define HAVE_MMAP 1
14430 rm -f conftest.mmap
14434 for ac_func
in madvise mprotect
14436 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14437 echo "$as_me:$LINENO: checking for $ac_func" >&5
14438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14439 if eval "test \"\${$as_ac_var+set}\" = set"; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 cat >conftest.
$ac_ext <<_ACEOF
14445 cat confdefs.h
>>conftest.
$ac_ext
14446 cat >>conftest.
$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14450 #define $ac_func innocuous_$ac_func
14452 /* System header to define __stub macros and hopefully few prototypes,
14453 which can conflict with char $ac_func (); below.
14454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14455 <limits.h> exists even on freestanding compilers. */
14458 # include <limits.h>
14460 # include <assert.h>
14465 /* Override any gcc2 internal prototype to avoid an error. */
14470 /* We use char because int might match the return type of a gcc2
14471 builtin and then its argument prototype would still apply. */
14473 /* The GNU C library defines this for functions which it implements
14474 to always fail with ENOSYS. Some functions are actually named
14475 something starting with __ and the normal name is an alias. */
14476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14479 char (*f) () = $ac_func;
14488 return f != $ac_func;
14493 rm -f conftest.
$ac_objext conftest
$ac_exeext
14494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14495 (eval $ac_link) 2>conftest.er1
14497 grep -v '^ *+' conftest.er1
>conftest.err
14499 cat conftest.err
>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } &&
14502 { ac_try
='test -z "$ac_c_werror_flag"
14503 || test ! -s conftest.err'
14504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14505 (eval $ac_try) 2>&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); }; } &&
14509 { ac_try
='test -s conftest$ac_exeext'
14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; }; then
14515 eval "$as_ac_var=yes"
14517 echo "$as_me: failed program was:" >&5
14518 sed 's/^/| /' conftest.
$ac_ext >&5
14520 eval "$as_ac_var=no"
14522 rm -f conftest.err conftest.
$ac_objext \
14523 conftest
$ac_exeext conftest.
$ac_ext
14525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14527 if test `eval echo '${'$as_ac_var'}'` = yes; then
14528 cat >>confdefs.h
<<_ACEOF
14529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14535 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
14537 cat >>confdefs.h
<<\_ACEOF
14543 rm -f doc
/config.status
14544 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
14546 ac_config_commands
="$ac_config_commands default"
14553 cat >confcache
<<\_ACEOF
14554 # This file is a shell script that caches the results of configure
14555 # tests run on this system so they can be shared between configure
14556 # scripts and configure runs, see configure's option --config-cache.
14557 # It is not useful on other systems. If it contains results you don't
14558 # want to keep, you may remove or edit it.
14560 # config.status only pays attention to the cache file if you give it
14561 # the --recheck option to rerun configure.
14563 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14564 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14565 # following values.
14569 # The following way of writing the cache mishandles newlines in values,
14570 # but we know of no workaround that is simple, portable, and efficient.
14571 # So, don't put newlines in cache variables' values.
14572 # Ultrix sh set writes to stderr and can't be redirected directly,
14573 # and sets the high bit in the cache file unless we assign to the vars.
14576 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14578 # `set' does not quote correctly, so add quotes (double-quote
14579 # substitution turns \\\\ into \\, and sed turns \\ into \).
14582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14585 # `set' quotes correctly as required by POSIX, so do not add quotes.
14587 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14594 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14596 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14598 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
14599 if test -w $cache_file; then
14600 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14601 cat confcache
>$cache_file
14603 echo "not updating unwritable cache $cache_file"
14608 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14609 # Let make expand exec_prefix.
14610 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14612 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14613 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14614 # trailing colons and then remove the whole line if VPATH becomes empty
14615 # (actually we leave an empty line to preserve line numbers).
14616 if test "x$srcdir" = x.
; then
14617 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14618 s/:*\$(srcdir):*/:/;
14619 s/:*\${srcdir}:*/:/;
14621 s/^\([^=]*=[ ]*\):*/\1/;
14627 DEFS
=-DHAVE_CONFIG_H
14631 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14632 # 1. Remove the extension, and $U if already installed.
14633 ac_i
=`echo "$ac_i" |
14634 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14636 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
14637 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
14639 LIBOBJS
=$ac_libobjs
14641 LTLIBOBJS
=$ac_ltlibobjs
14644 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14645 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14646 Usually this means the macro was only invoked conditionally." >&5
14647 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14648 Usually this means the macro was only invoked conditionally." >&2;}
14649 { (exit 1); exit 1; }; }
14651 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14652 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14653 Usually this means the macro was only invoked conditionally." >&5
14654 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14655 Usually this means the macro was only invoked conditionally." >&2;}
14656 { (exit 1); exit 1; }; }
14658 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14659 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14660 Usually this means the macro was only invoked conditionally." >&5
14661 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14662 Usually this means the macro was only invoked conditionally." >&2;}
14663 { (exit 1); exit 1; }; }
14665 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
14666 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
14667 Usually this means the macro was only invoked conditionally." >&5
14668 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
14669 Usually this means the macro was only invoked conditionally." >&2;}
14670 { (exit 1); exit 1; }; }
14673 : ${CONFIG_STATUS=./config.status}
14674 ac_clean_files_save
=$ac_clean_files
14675 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14676 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14677 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14678 cat >$CONFIG_STATUS <<_ACEOF
14680 # Generated by $as_me.
14681 # Run this file to recreate the current configuration.
14682 # Compiler output produced by configure, useful for debugging
14683 # configure, is in config.log if it exists.
14686 ac_cs_recheck=false
14688 SHELL=\${CONFIG_SHELL-$SHELL}
14691 cat >>$CONFIG_STATUS <<\_ACEOF
14692 ## --------------------- ##
14693 ## M4sh Initialization. ##
14694 ## --------------------- ##
14696 # Be Bourne compatible
14697 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14700 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14701 # is contrary to our usage. Disable this feature.
14702 alias -g '${1+"$@"}'='"$@"'
14703 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
14706 DUALCASE
=1; export DUALCASE
# for MKS sh
14708 # Support unset when possible.
14709 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
14716 # Work around bugs in pre-3.0 UWIN ksh.
14717 $as_unset ENV MAIL MAILPATH
14724 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14725 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14726 LC_TELEPHONE LC_TIME
14728 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14729 eval $as_var=C
; export $as_var
14735 # Required to use basename.
14736 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14742 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
14743 as_basename
=basename
14749 # Name of the executable.
14750 as_me
=`$as_basename "$0" ||
14751 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14752 X"$0" : 'X\(//\)$' \| \
14753 X"$0" : 'X\(/\)$' \| \
14754 . : '\(.\)' 2>/dev/null ||
14756 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14757 /^X\/\(\/\/\)$/{ s//\1/; q; }
14758 /^X\/\(\/\).*/{ s//\1/; q; }
14762 # PATH needs CR, and LINENO needs CR and PATH.
14763 # Avoid depending upon Character Ranges.
14764 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14765 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14766 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14767 as_cr_digits
='0123456789'
14768 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14770 # The user is always right.
14771 if test "${PATH_SEPARATOR+set}" != set; then
14772 echo "#! /bin/sh" >conf$$.sh
14773 echo "exit 0" >>conf$$.sh
14775 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14784 as_lineno_1
=$LINENO
14785 as_lineno_2
=$LINENO
14786 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14787 test "x$as_lineno_1" != "x$as_lineno_2" &&
14788 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14789 # Find who we are. Look in the path if we contain no path at all
14792 *[\\/]* ) as_myself
=$0 ;;
14793 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14794 for as_dir
in $PATH
14797 test -z "$as_dir" && as_dir
=.
14798 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14803 # We did not find ourselves, most probably we were run as `sh COMMAND'
14804 # in which case we are not to be found in the path.
14805 if test "x$as_myself" = x
; then
14808 if test ! -f "$as_myself"; then
14809 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14810 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14811 { (exit 1); exit 1; }; }
14813 case $CONFIG_SHELL in
14815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14816 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14819 test -z "$as_dir" && as_dir
=.
14820 for as_base
in sh bash ksh sh5
; do
14823 if ("$as_dir/$as_base" -c '
14824 as_lineno_1=$LINENO
14825 as_lineno_2=$LINENO
14826 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14827 test "x$as_lineno_1" != "x$as_lineno_2" &&
14828 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14829 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
14830 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
14831 CONFIG_SHELL
=$as_dir/$as_base
14832 export CONFIG_SHELL
14833 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14841 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14842 # uniformly replaced by the line number. The first 'sed' inserts a
14843 # line-number line before each line; the second 'sed' does the real
14844 # work. The second script uses 'N' to pair each line-number line
14845 # with the numbered line, and appends trailing '-' during
14846 # substitution so that $LINENO is not a special case at line end.
14847 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14848 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14849 sed '=' <$as_myself |
14854 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14857 s,^['$as_cr_digits']*\n,,
14858 ' >$as_me.lineno
&&
14859 chmod +x
$as_me.lineno ||
14860 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14861 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14862 { (exit 1); exit 1; }; }
14864 # Don't try to exec as it changes $[0], causing all sort of problems
14865 # (the dirname of $[0] is not the place where we might find the
14866 # original and so on. Autoconf is especially sensible to this).
14868 # Exit status is that of the last command.
14873 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14874 *c
*,-n*) ECHO_N
= ECHO_C
='
14876 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14877 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14880 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14886 rm -f conf$$ conf$$.exe conf$$.
file
14888 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14889 # We could just check for DJGPP; but this test a) works b) is more generic
14890 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14891 if test -f conf$$.exe
; then
14892 # Don't use ln at all; we don't have any links
14897 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14902 rm -f conf$$ conf$$.exe conf$$.
file
14904 if mkdir
-p .
2>/dev
/null
; then
14907 test -d .
/-p && rmdir .
/-p
14911 as_executable_p
="test -f"
14913 # Sed expression to map a string onto a valid CPP name.
14914 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14916 # Sed expression to map a string onto a valid variable name.
14917 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14921 # We need space, tab and new line, in precisely that order.
14931 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14932 # report actual input values of CONFIG_FILES etc. instead of their
14933 # values after options handling. Logging --version etc. is OK.
14937 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14938 ## Running $as_me. ##
14943 This file was extended by $as_me, which was
14944 generated by GNU Autoconf 2.59. Invocation command line was
14946 CONFIG_FILES = $CONFIG_FILES
14947 CONFIG_HEADERS = $CONFIG_HEADERS
14948 CONFIG_LINKS = $CONFIG_LINKS
14949 CONFIG_COMMANDS = $CONFIG_COMMANDS
14953 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14957 # Files that config.status was made for.
14958 if test -n "$ac_config_files"; then
14959 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14962 if test -n "$ac_config_headers"; then
14963 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14966 if test -n "$ac_config_links"; then
14967 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14970 if test -n "$ac_config_commands"; then
14971 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14974 cat >>$CONFIG_STATUS <<\_ACEOF
14977 \`$as_me' instantiates files from templates according to the
14978 current configuration.
14980 Usage: $0 [OPTIONS] [FILE]...
14982 -h, --help print this help, then exit
14983 -V, --version print version number, then exit
14984 -q, --quiet do not print progress messages
14985 -d, --debug don't remove temporary files
14986 --recheck update $as_me by reconfiguring in the same conditions
14987 --file=FILE[:TEMPLATE]
14988 instantiate the configuration file FILE
14989 --header=FILE[:TEMPLATE]
14990 instantiate the configuration header FILE
14992 Configuration files:
14995 Configuration headers:
14998 Configuration commands:
15001 Report bugs to <bug-autoconf@gnu.org>."
15004 cat >>$CONFIG_STATUS <<_ACEOF
15007 configured by $0, generated by GNU Autoconf 2.59,
15008 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15010 Copyright (C) 2003 Free Software Foundation, Inc.
15011 This config.status script is free software; the Free Software Foundation
15012 gives unlimited permission to copy, distribute and modify it."
15017 cat >>$CONFIG_STATUS <<\_ACEOF
15018 # If no file are specified by the user, then we need to provide default
15019 # value. By we need to know if files were specified by the user.
15025 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15026 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15034 *) # This is not an option, so the user has probably given explicit
15037 ac_need_defaults
=false
;;
15041 # Handling of the options.
15043 cat >>$CONFIG_STATUS <<\_ACEOF
15044 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15046 --version |
--vers* |
-V )
15047 echo "$ac_cs_version"; exit 0 ;;
15049 # Conflict between --help and --header
15050 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15051 Try \`$0 --help' for more information." >&5
15052 echo "$as_me: error: ambiguous option: $1
15053 Try \`$0 --help' for more information." >&2;}
15054 { (exit 1); exit 1; }; };;
15055 --help |
--hel |
-h )
15056 echo "$ac_cs_usage"; exit 0 ;;
15057 --debug |
--d* |
-d )
15059 --file |
--fil |
--fi |
--f )
15061 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15062 ac_need_defaults
=false
;;
15063 --header |
--heade |
--head |
--hea )
15065 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15066 ac_need_defaults
=false
;;
15067 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15068 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15071 # This is an error.
15072 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15073 Try \`$0 --help' for more information." >&5
15074 echo "$as_me: error: unrecognized option: $1
15075 Try \`$0 --help' for more information." >&2;}
15076 { (exit 1); exit 1; }; } ;;
15078 *) ac_config_targets
="$ac_config_targets $1" ;;
15084 ac_configure_extra_args
=
15086 if $ac_cs_silent; then
15088 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15092 cat >>$CONFIG_STATUS <<_ACEOF
15093 if \$ac_cs_recheck; then
15094 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15095 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15100 cat >>$CONFIG_STATUS <<_ACEOF
15102 # INIT-COMMANDS section.
15105 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15112 cat >>$CONFIG_STATUS <<\_ACEOF
15113 for ac_config_target
in $ac_config_targets
15115 case "$ac_config_target" in
15116 # Handling of arguments.
15117 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15118 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15119 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15120 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15121 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15122 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
15123 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15124 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15125 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15126 { (exit 1); exit 1; }; };;
15130 # If the user did not use the arguments to specify the items to instantiate,
15131 # then the envvar interface is used. Set only those that are not.
15132 # We use the long form for the default assignment because of an extremely
15133 # bizarre bug on SunOS 4.1.3.
15134 if $ac_need_defaults; then
15135 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15136 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15137 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15140 # Have a temporary directory for convenience. Make it in the build tree
15141 # simply because there is no reason to put it here, and in addition,
15142 # creating and moving files from /tmp can sometimes cause problems.
15143 # Create a temporary directory, and hook for its removal unless debugging.
15146 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15147 trap '{ (exit 1); exit 1; }' 1 2 13 15
15150 # Create a (secure) tmp directory for tmp files.
15153 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15154 test -n "$tmp" && test -d "$tmp"
15157 tmp
=.
/confstat$$
-$RANDOM
15158 (umask 077 && mkdir
$tmp)
15161 echo "$me: cannot create a temporary directory in ." >&2
15162 { (exit 1); exit 1; }
15167 cat >>$CONFIG_STATUS <<_ACEOF
15170 # CONFIG_FILES section.
15173 # No need to generate the scripts if there are no CONFIG_FILES.
15174 # This happens for instance when ./config.status config.h
15175 if test -n "\$CONFIG_FILES"; then
15176 # Protect against being on the right side of a sed subst in config.status.
15177 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15178 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15179 s,@SHELL@,$SHELL,;t t
15180 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15181 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15182 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15183 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15184 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15185 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15186 s,@exec_prefix@,$exec_prefix,;t t
15187 s,@prefix@,$prefix,;t t
15188 s,@program_transform_name@,$program_transform_name,;t t
15189 s,@bindir@,$bindir,;t t
15190 s,@sbindir@,$sbindir,;t t
15191 s,@libexecdir@,$libexecdir,;t t
15192 s,@datadir@,$datadir,;t t
15193 s,@sysconfdir@,$sysconfdir,;t t
15194 s,@sharedstatedir@,$sharedstatedir,;t t
15195 s,@localstatedir@,$localstatedir,;t t
15196 s,@libdir@,$libdir,;t t
15197 s,@includedir@,$includedir,;t t
15198 s,@oldincludedir@,$oldincludedir,;t t
15199 s,@infodir@,$infodir,;t t
15200 s,@mandir@,$mandir,;t t
15201 s,@build_alias@,$build_alias,;t t
15202 s,@host_alias@,$host_alias,;t t
15203 s,@target_alias@,$target_alias,;t t
15204 s,@DEFS@,$DEFS,;t t
15205 s,@ECHO_C@,$ECHO_C,;t t
15206 s,@ECHO_N@,$ECHO_N,;t t
15207 s,@ECHO_T@,$ECHO_T,;t t
15208 s,@LIBS@,$LIBS,;t t
15209 s,@build@,$build,;t t
15210 s,@build_cpu@,$build_cpu,;t t
15211 s,@build_vendor@,$build_vendor,;t t
15212 s,@build_os@,$build_os,;t t
15213 s,@host@,$host,;t t
15214 s,@host_cpu@,$host_cpu,;t t
15215 s,@host_vendor@,$host_vendor,;t t
15216 s,@host_os@,$host_os,;t t
15217 s,@target@,$target,;t t
15218 s,@target_cpu@,$target_cpu,;t t
15219 s,@target_vendor@,$target_vendor,;t t
15220 s,@target_os@,$target_os,;t t
15222 s,@CFLAGS@,$CFLAGS,;t t
15223 s,@LDFLAGS@,$LDFLAGS,;t t
15224 s,@CPPFLAGS@,$CPPFLAGS,;t t
15225 s,@ac_ct_CC@,$ac_ct_CC,;t t
15226 s,@EXEEXT@,$EXEEXT,;t t
15227 s,@OBJEXT@,$OBJEXT,;t t
15228 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15229 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15230 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15231 s,@CYGPATH_W@,$CYGPATH_W,;t t
15232 s,@PACKAGE@,$PACKAGE,;t t
15233 s,@VERSION@,$VERSION,;t t
15234 s,@ACLOCAL@,$ACLOCAL,;t t
15235 s,@AUTOCONF@,$AUTOCONF,;t t
15236 s,@AUTOMAKE@,$AUTOMAKE,;t t
15237 s,@AUTOHEADER@,$AUTOHEADER,;t t
15238 s,@MAKEINFO@,$MAKEINFO,;t t
15239 s,@install_sh@,$install_sh,;t t
15240 s,@STRIP@,$STRIP,;t t
15241 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15242 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15243 s,@mkdir_p@,$mkdir_p,;t t
15245 s,@SET_MAKE@,$SET_MAKE,;t t
15246 s,@am__leading_dot@,$am__leading_dot,;t t
15247 s,@AMTAR@,$AMTAR,;t t
15248 s,@am__tar@,$am__tar,;t t
15249 s,@am__untar@,$am__untar,;t t
15250 s,@DEPDIR@,$DEPDIR,;t t
15251 s,@am__include@,$am__include,;t t
15252 s,@am__quote@,$am__quote,;t t
15253 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15254 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15255 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15256 s,@CCDEPMODE@,$CCDEPMODE,;t t
15257 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15258 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15260 s,@ac_ct_AR@,$ac_ct_AR,;t t
15261 s,@RANLIB@,$RANLIB,;t t
15262 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15263 s,@LN_S@,$LN_S,;t t
15264 s,@LIBTOOL@,$LIBTOOL,;t t
15265 s,@PKGVERSION@,$PKGVERSION,;t t
15266 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15267 s,@NO_WERROR@,$NO_WERROR,;t t
15268 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15269 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15270 s,@MAINT@,$MAINT,;t t
15271 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
15272 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
15273 s,@host_noncanonical@,$host_noncanonical,;t t
15274 s,@target_noncanonical@,$target_noncanonical,;t t
15275 s,@bfdlibdir@,$bfdlibdir,;t t
15276 s,@bfdincludedir@,$bfdincludedir,;t t
15278 s,@EGREP@,$EGREP,;t t
15279 s,@ALLOCA@,$ALLOCA,;t t
15280 s,@USE_NLS@,$USE_NLS,;t t
15281 s,@MSGFMT@,$MSGFMT,;t t
15282 s,@GMSGFMT@,$GMSGFMT,;t t
15283 s,@XGETTEXT@,$XGETTEXT,;t t
15284 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15285 s,@CATALOGS@,$CATALOGS,;t t
15286 s,@CATOBJEXT@,$CATOBJEXT,;t t
15287 s,@DATADIRNAME@,$DATADIRNAME,;t t
15288 s,@GMOFILES@,$GMOFILES,;t t
15289 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15290 s,@INTLDEPS@,$INTLDEPS,;t t
15291 s,@INTLLIBS@,$INTLLIBS,;t t
15292 s,@INTLOBJS@,$INTLOBJS,;t t
15293 s,@POFILES@,$POFILES,;t t
15294 s,@POSUB@,$POSUB,;t t
15295 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
15296 s,@GT_NO@,$GT_NO,;t t
15297 s,@GT_YES@,$GT_YES,;t t
15298 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15300 s,@HDEFINES@,$HDEFINES,;t t
15301 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
15302 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
15303 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
15304 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
15305 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
15306 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15307 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15308 s,@COREFILE@,$COREFILE,;t t
15309 s,@COREFLAG@,$COREFLAG,;t t
15310 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
15311 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
15312 s,@TDEFINES@,$TDEFINES,;t t
15313 s,@wordsize@,$wordsize,;t t
15314 s,@bfd_libs@,$bfd_libs,;t t
15315 s,@all_backends@,$all_backends,;t t
15316 s,@bfd_backends@,$bfd_backends,;t t
15317 s,@bfd_machines@,$bfd_machines,;t t
15318 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
15319 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
15320 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
15321 s,@tdefaults@,$tdefaults,;t t
15322 s,@datarootdir@,$datarootdir,;t t
15323 s,@docdir@,$docdir,;t t
15324 s,@htmldir@,$htmldir,;t t
15325 s,@LIBOBJS@,$LIBOBJS,;t t
15326 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15331 cat >>$CONFIG_STATUS <<\_ACEOF
15332 # Split the substitutions into bite-sized pieces for seds with
15333 # small command number limits, like on Digital OSF/1 and HP-UX.
15334 ac_max_sed_lines
=48
15335 ac_sed_frag
=1 # Number of current file.
15336 ac_beg
=1 # First line for current file.
15337 ac_end
=$ac_max_sed_lines # Line after last line for current file.
15340 while $ac_more_lines; do
15341 if test $ac_beg -gt 1; then
15342 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15344 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15346 if test ! -s $tmp/subs.frag
; then
15347 ac_more_lines
=false
15349 # The purpose of the label and of the branching condition is to
15350 # speed up the sed processing (if there are no `@' at all, there
15351 # is no need to browse any of the substitutions).
15352 # These are the two extra sed commands mentioned above.
15354 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
15355 if test -z "$ac_sed_cmds"; then
15356 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
15358 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15360 ac_sed_frag
=`expr $ac_sed_frag + 1`
15362 ac_end
=`expr $ac_end + $ac_max_sed_lines`
15365 if test -z "$ac_sed_cmds"; then
15368 fi # test -n "$CONFIG_FILES"
15371 cat >>$CONFIG_STATUS <<\_ACEOF
15372 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
15373 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15375 - |
*:- |
*:-:* ) # input from stdin
15377 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15378 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15379 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15380 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15381 * ) ac_file_in
=$ac_file.
in ;;
15384 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15385 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15386 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15387 X"$ac_file" : 'X\(//\)[^/]' \| \
15388 X"$ac_file" : 'X\(//\)$' \| \
15389 X"$ac_file" : 'X\(/\)' \| \
15390 . : '\(.\)' 2>/dev/null ||
15392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15393 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15394 /^X\(\/\/\)$/{ s//\1/; q; }
15395 /^X\(\/\).*/{ s//\1/; q; }
15397 { if $as_mkdir_p; then
15402 while test ! -d "$as_dir"; do
15403 as_dirs
="$as_dir $as_dirs"
15404 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15405 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15406 X"$as_dir" : 'X\(//\)[^/]' \| \
15407 X"$as_dir" : 'X\(//\)$' \| \
15408 X"$as_dir" : 'X\(/\)' \| \
15409 . : '\(.\)' 2>/dev/null ||
15411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15412 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15413 /^X\(\/\/\)$/{ s//\1/; q; }
15414 /^X\(\/\).*/{ s//\1/; q; }
15417 test ! -n "$as_dirs" || mkdir
$as_dirs
15418 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15419 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15420 { (exit 1); exit 1; }; }; }
15424 if test "$ac_dir" != .
; then
15425 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15426 # A "../" for each directory in $ac_dir_suffix.
15427 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15429 ac_dir_suffix
= ac_top_builddir
=
15433 .
) # No --srcdir option. We are building in place.
15435 if test -z "$ac_top_builddir"; then
15438 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15440 [\\/]* | ?
:[\\/]* ) # Absolute path.
15441 ac_srcdir
=$srcdir$ac_dir_suffix;
15442 ac_top_srcdir
=$srcdir ;;
15443 *) # Relative path.
15444 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15445 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15448 # Do not use `cd foo && pwd` to compute absolute paths, because
15449 # the directories may not exist.
15451 .
) ac_abs_builddir
="$ac_dir";;
15454 .
) ac_abs_builddir
=`pwd`;;
15455 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15456 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15459 case $ac_abs_builddir in
15460 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15462 case ${ac_top_builddir}.
in
15463 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15464 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15465 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15468 case $ac_abs_builddir in
15469 .
) ac_abs_srcdir
=$ac_srcdir;;
15472 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15473 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15474 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15477 case $ac_abs_builddir in
15478 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15480 case $ac_top_srcdir in
15481 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15482 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15483 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15489 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15490 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
15493 if test x
"$ac_file" != x-
; then
15494 { echo "$as_me:$LINENO: creating $ac_file" >&5
15495 echo "$as_me: creating $ac_file" >&6;}
15498 # Let's still pretend it is `configure' which instantiates (i.e., don't
15499 # use $as_me), people would be surprised to read:
15500 # /* config.h. Generated by config.status. */
15501 if test x
"$ac_file" = x-
; then
15504 configure_input
="$ac_file. "
15506 configure_input
=$configure_input"Generated from `echo $ac_file_in |
15507 sed 's,.*/,,'` by configure."
15509 # First look for the input files in the build tree, otherwise in the
15511 ac_file_inputs
=`IFS=:
15512 for f in $ac_file_in; do
15514 -) echo $tmp/stdin ;;
15516 # Absolute (can't be DOS-style, as IFS=:)
15517 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15518 echo "$as_me: error: cannot find input file: $f" >&2;}
15519 { (exit 1); exit 1; }; }
15522 if test -f "$f"; then
15525 elif test -f "$srcdir/$f"; then
15530 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15531 echo "$as_me: error: cannot find input file: $f" >&2;}
15532 { (exit 1); exit 1; }; }
15535 done` ||
{ (exit 1); exit 1; }
15537 cat >>$CONFIG_STATUS <<_ACEOF
15541 cat >>$CONFIG_STATUS <<\_ACEOF
15543 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15544 s
,@configure_input@
,$configure_input,;t t
15545 s
,@srcdir@
,$ac_srcdir,;t t
15546 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
15547 s
,@top_srcdir@
,$ac_top_srcdir,;t t
15548 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
15549 s
,@builddir@
,$ac_builddir,;t t
15550 s
,@abs_builddir@
,$ac_abs_builddir,;t t
15551 s
,@top_builddir@
,$ac_top_builddir,;t t
15552 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
15553 s
,@INSTALL@
,$ac_INSTALL,;t t
15554 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15556 if test x"$ac_file" != x-; then
15557 mv $tmp/out $ac_file
15565 cat >>$CONFIG_STATUS <<\_ACEOF
15568 # CONFIG_HEADER section.
15571 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15572 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15574 # ac_d sets the value in "#define NAME VALUE" lines.
15575 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15576 ac_dB
='[ ].*$,\1#\2'
15579 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15580 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15581 ac_uB
='$,\1#\2define\3'
15585 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15586 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15588 - |
*:- |
*:-:* ) # input from stdin
15590 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15591 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15592 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15593 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15594 * ) ac_file_in
=$ac_file.
in ;;
15597 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15598 echo "$as_me: creating $ac_file" >&6;}
15600 # First look for the input files in the build tree, otherwise in the
15602 ac_file_inputs
=`IFS=:
15603 for f in $ac_file_in; do
15605 -) echo $tmp/stdin ;;
15607 # Absolute (can't be DOS-style, as IFS=:)
15608 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15609 echo "$as_me: error: cannot find input file: $f" >&2;}
15610 { (exit 1); exit 1; }; }
15611 # Do quote $f, to prevent DOS paths from being IFS'd.
15614 if test -f "$f"; then
15617 elif test -f "$srcdir/$f"; then
15622 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15623 echo "$as_me: error: cannot find input file: $f" >&2;}
15624 { (exit 1); exit 1; }; }
15627 done` ||
{ (exit 1); exit 1; }
15628 # Remove the trailing spaces.
15629 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15633 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15634 # `conftest.undefs', that substitutes the proper values into
15635 # config.h.in to produce config.h. The first handles `#define'
15636 # templates, and the second `#undef' templates.
15637 # And first: Protect against being on the right side of a sed subst in
15638 # config.status. Protect against being in an unquoted here document
15639 # in config.status.
15640 rm -f conftest.defines conftest.undefs
15641 # Using a here document instead of a string reduces the quoting nightmare.
15642 # Putting comments in sed scripts is not portable.
15644 # `end' is used to avoid that the second main sed command (meant for
15645 # 0-ary CPP macros) applies to n-ary macro definitions.
15646 # See the Autoconf documentation for `clear'.
15647 cat >confdef2sed.
sed <<\_ACEOF
15652 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15654 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15657 # If some macros were called several times there might be several times
15658 # the same #defines, which is useless. Nevertheless, we may not want to
15659 # sort them, since we want the *last* AC-DEFINE to be honored.
15660 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15661 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15662 rm -f confdef2sed.sed
15664 # This sed command replaces #undef with comments. This is necessary, for
15665 # example, in the case of _POSIX_SOURCE, which is predefined and required
15666 # on some systems where configure will not decide to define it.
15667 cat >>conftest.undefs <<\_ACEOF
15668 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15671 # Break up conftest.defines because some shells have a limit on the size
15672 # of here documents, and old seds have small limits too (100 cmds).
15673 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15674 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15675 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15676 echo ' :' >>$CONFIG_STATUS
15677 rm -f conftest.tail
15678 while grep . conftest.defines >/dev/null
15680 # Write a limited-size here document to $tmp/defines.sed.
15681 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15682 # Speed up: don't consider the non `#define' lines.
15683 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15684 # Work around the forget-to-reset-the-flag bug.
15685 echo 't clr' >>$CONFIG_STATUS
15686 echo ': clr' >>$CONFIG_STATUS
15687 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15689 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15691 mv $tmp/out $tmp/in
15693 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15694 rm -f conftest.defines
15695 mv conftest.
tail conftest.defines
15697 rm -f conftest.defines
15698 echo ' fi # grep' >>$CONFIG_STATUS
15699 echo >>$CONFIG_STATUS
15701 # Break up conftest.undefs because some shells have a limit on the size
15702 # of here documents, and old seds have small limits too (100 cmds).
15703 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15704 rm -f conftest.
tail
15705 while grep . conftest.undefs
>/dev
/null
15707 # Write a limited-size here document to $tmp/undefs.sed.
15708 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15709 # Speed up: don't consider the non
`#undef'
15710 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15711 # Work around the forget-to-reset-the-flag bug.
15712 echo 't clr' >>$CONFIG_STATUS
15713 echo ': clr' >>$CONFIG_STATUS
15714 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15716 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15718 mv $tmp/out $tmp/in
15720 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15721 rm -f conftest.undefs
15722 mv conftest.tail conftest.undefs
15724 rm -f conftest.undefs
15726 cat >>$CONFIG_STATUS <<\_ACEOF
15727 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15728 # use $as_me), people would be surprised to read:
15729 # /* config.h. Generated by config.status. */
15730 if test x
"$ac_file" = x-
; then
15731 echo "/* Generated by configure. */" >$tmp/config.h
15733 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15735 cat $tmp/in >>$tmp/config.h
15737 if test x
"$ac_file" != x-
; then
15738 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
15739 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15740 echo "$as_me: $ac_file is unchanged" >&6;}
15742 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15743 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15744 X"$ac_file" : 'X\(//\)[^/]' \| \
15745 X"$ac_file" : 'X\(//\)$' \| \
15746 X"$ac_file" : 'X\(/\)' \| \
15747 . : '\(.\)' 2>/dev/null ||
15749 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15750 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15751 /^X\(\/\/\)$/{ s//\1/; q; }
15752 /^X\(\/\).*/{ s//\1/; q; }
15754 { if $as_mkdir_p; then
15759 while test ! -d "$as_dir"; do
15760 as_dirs
="$as_dir $as_dirs"
15761 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15763 X"$as_dir" : 'X\(//\)[^/]' \| \
15764 X"$as_dir" : 'X\(//\)$' \| \
15765 X"$as_dir" : 'X\(/\)' \| \
15766 . : '\(.\)' 2>/dev/null ||
15768 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15769 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15770 /^X\(\/\/\)$/{ s//\1/; q; }
15771 /^X\(\/\).*/{ s//\1/; q; }
15774 test ! -n "$as_dirs" || mkdir
$as_dirs
15775 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15776 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15777 { (exit 1); exit 1; }; }; }
15780 mv $tmp/config.h
$ac_file
15784 rm -f $tmp/config.h
15786 # Compute $ac_file's index in $config_headers.
15788 for _am_header
in $config_headers :; do
15789 case $_am_header in
15790 $ac_file |
$ac_file:* )
15793 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15796 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15797 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15798 X$ac_file : 'X\(//\)[^/]' \| \
15799 X$ac_file : 'X\(//\)$' \| \
15800 X$ac_file : 'X\(/\)' \| \
15801 . : '\(.\)' 2>/dev/null ||
15803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15804 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15805 /^X\(\/\/\)$/{ s//\1/; q; }
15806 /^X\(\/\).*/{ s//\1/; q; }
15807 s/.*/./; q'`/stamp-h
$_am_stamp_count
15810 cat >>$CONFIG_STATUS <<\_ACEOF
15813 # CONFIG_COMMANDS section.
15815 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
15816 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15817 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15818 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15819 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15820 X"$ac_dest" : 'X\(//\)[^/]' \| \
15821 X"$ac_dest" : 'X\(//\)$' \| \
15822 X"$ac_dest" : 'X\(/\)' \| \
15823 . : '\(.\)' 2>/dev/null ||
15825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15826 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15827 /^X\(\/\/\)$/{ s//\1/; q; }
15828 /^X\(\/\).*/{ s//\1/; q; }
15830 { if $as_mkdir_p; then
15835 while test ! -d "$as_dir"; do
15836 as_dirs
="$as_dir $as_dirs"
15837 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15839 X"$as_dir" : 'X\(//\)[^/]' \| \
15840 X"$as_dir" : 'X\(//\)$' \| \
15841 X"$as_dir" : 'X\(/\)' \| \
15842 . : '\(.\)' 2>/dev/null ||
15844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15845 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15846 /^X\(\/\/\)$/{ s//\1/; q; }
15847 /^X\(\/\).*/{ s//\1/; q; }
15850 test ! -n "$as_dirs" || mkdir
$as_dirs
15851 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15852 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15853 { (exit 1); exit 1; }; }; }
15857 if test "$ac_dir" != .
; then
15858 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15859 # A "../" for each directory in $ac_dir_suffix.
15860 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15862 ac_dir_suffix
= ac_top_builddir
=
15866 .
) # No --srcdir option. We are building in place.
15868 if test -z "$ac_top_builddir"; then
15871 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15873 [\\/]* | ?
:[\\/]* ) # Absolute path.
15874 ac_srcdir
=$srcdir$ac_dir_suffix;
15875 ac_top_srcdir
=$srcdir ;;
15876 *) # Relative path.
15877 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15878 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15881 # Do not use `cd foo && pwd` to compute absolute paths, because
15882 # the directories may not exist.
15884 .
) ac_abs_builddir
="$ac_dir";;
15887 .
) ac_abs_builddir
=`pwd`;;
15888 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15889 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15892 case $ac_abs_builddir in
15893 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15895 case ${ac_top_builddir}.
in
15896 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15897 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15898 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15901 case $ac_abs_builddir in
15902 .
) ac_abs_srcdir
=$ac_srcdir;;
15905 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15906 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15907 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15910 case $ac_abs_builddir in
15911 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15913 case $ac_top_srcdir in
15914 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15915 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15916 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15921 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15922 echo "$as_me: executing $ac_dest commands" >&6;}
15924 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
15925 # Strip MF so we end up with the name of the file.
15926 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15927 # Check whether this is an Automake generated Makefile or not.
15928 # We used to match only the files named `Makefile.in', but
15929 # some people rename them; so instead we look at the file content.
15930 # Grep'ing the first line is not enough: some people post-process
15931 # each Makefile.in and add a new line on top of each file to say so.
15932 # So let's grep whole file.
15933 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
15934 dirpart
=`(dirname "$mf") 2>/dev/null ||
15935 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15936 X"$mf" : 'X\(//\)[^/]' \| \
15937 X"$mf" : 'X\(//\)$' \| \
15938 X"$mf" : 'X\(/\)' \| \
15939 . : '\(.\)' 2>/dev/null ||
15941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15943 /^X\(\/\/\)$/{ s//\1/; q; }
15944 /^X\(\/\).*/{ s//\1/; q; }
15949 # Extract the definition of DEPDIR, am__include, and am__quote
15950 # from the Makefile without running `make'.
15951 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15952 test -z "$DEPDIR" && continue
15953 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15954 test -z "am__include" && continue
15955 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15956 # When using ansi2knr, U may be empty or an underscore; expand it
15957 U
=`sed -n 's/^U = //p' < "$mf"`
15958 # Find all dependency output files, they are included files with
15959 # $(DEPDIR) in their names. We invoke sed twice because it is the
15960 # simplest approach to changing $(DEPDIR) to its actual value in the
15962 for file in `sed -n "
15963 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15964 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15965 # Make sure the directory exists.
15966 test -f "$dirpart/$file" && continue
15967 fdir
=`(dirname "$file") 2>/dev/null ||
15968 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15969 X"$file" : 'X\(//\)[^/]' \| \
15970 X"$file" : 'X\(//\)$' \| \
15971 X"$file" : 'X\(/\)' \| \
15972 . : '\(.\)' 2>/dev/null ||
15974 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15975 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15976 /^X\(\/\/\)$/{ s//\1/; q; }
15977 /^X\(\/\).*/{ s//\1/; q; }
15979 { if $as_mkdir_p; then
15980 mkdir
-p $dirpart/$fdir
15982 as_dir
=$dirpart/$fdir
15984 while test ! -d "$as_dir"; do
15985 as_dirs
="$as_dir $as_dirs"
15986 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15987 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15988 X"$as_dir" : 'X\(//\)[^/]' \| \
15989 X"$as_dir" : 'X\(//\)$' \| \
15990 X"$as_dir" : 'X\(/\)' \| \
15991 . : '\(.\)' 2>/dev/null ||
15993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15994 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15995 /^X\(\/\/\)$/{ s//\1/; q; }
15996 /^X\(\/\).*/{ s//\1/; q; }
15999 test ! -n "$as_dirs" || mkdir
$as_dirs
16000 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16001 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16002 { (exit 1); exit 1; }; }; }
16004 # echo "creating $dirpart/$file"
16005 echo '# dummy' > "$dirpart/$file"
16009 default
) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po
/Makefile.
in > po
/Makefile
;;
16014 cat >>$CONFIG_STATUS <<\_ACEOF
16016 { (exit 0); exit 0; }
16018 chmod +x
$CONFIG_STATUS
16019 ac_clean_files
=$ac_clean_files_save
16022 # configure is writing to config.log, and then calls config.status.
16023 # config.status does its own redirection, appending to config.log.
16024 # Unfortunately, on DOS this fails, as config.log is still kept open
16025 # by configure, so config.status won't be able to write to it; its
16026 # output is simply discarded. So we exec the FD to /dev/null,
16027 # effectively closing config.log, so it can be properly (re)opened and
16028 # appended to by config.status. When coming back to configure, we
16029 # need to make the FD available again.
16030 if test "$no_create" != yes; then
16032 ac_config_status_args
=
16033 test "$silent" = yes &&
16034 ac_config_status_args
="$ac_config_status_args --quiet"
16036 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16038 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16039 # would make configure fail if this is the last instruction.
16040 $ac_cs_success ||
{ (exit 1); exit 1; }