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 WARN_CFLAGS 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 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-build-warnings Enable build-time compiler warnings
if gcc is used
863 --enable-maintainer-mode enable make rules and dependencies not useful
864 (and sometimes confusing
) to the casual installer
865 --enable-install-libbfd controls installation of libbfd and related headers
866 --disable-nls do not use Native Language Support
869 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
870 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
871 --with-gnu-ld assume the C compiler uses GNU ld default
=no
872 --with-pic try to use only PIC
/non-PIC objects default
=use both
873 --with-mmap try using mmap
for BFD input files
if available
874 --with-included-gettext use the GNU
gettext library included here
876 Some influential environment variables
:
877 CC C compiler
command
878 CFLAGS C compiler flags
879 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
880 nonstandard directory
<lib dir
>
881 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
882 headers
in a nonstandard directory
<include dir
>
885 Use these variables to override the choices made by
`configure' or to help
886 it to find libraries and programs with nonstandard names/locations.
891 if test "$ac_init_help" = "recursive"; then
892 # If there are subdirs, report their specific --help.
894 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
895 test -d $ac_dir || continue
898 if test "$ac_dir" != .; then
899 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
900 # A "../" for each directory in $ac_dir_suffix.
901 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
903 ac_dir_suffix= ac_top_builddir=
907 .) # No --srcdir option. We are building in place.
909 if test -z "$ac_top_builddir"; then
912 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
914 [\\/]* | ?:[\\/]* ) # Absolute path.
915 ac_srcdir=$srcdir$ac_dir_suffix;
916 ac_top_srcdir=$srcdir ;;
918 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
919 ac_top_srcdir=$ac_top_builddir$srcdir ;;
922 # Do not use `cd foo
&& pwd` to compute absolute paths, because
923 # the directories may not exist.
925 .) ac_abs_builddir="$ac_dir";;
928 .) ac_abs_builddir=`pwd`;;
929 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
930 *) ac_abs_builddir=`pwd`/"$ac_dir";;
933 case $ac_abs_builddir in
934 .) ac_abs_top_builddir=${ac_top_builddir}.;;
936 case ${ac_top_builddir}. in
937 .) ac_abs_top_builddir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
939 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
942 case $ac_abs_builddir in
943 .) ac_abs_srcdir=$ac_srcdir;;
946 .) ac_abs_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
948 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
951 case $ac_abs_builddir in
952 .) ac_abs_top_srcdir=$ac_top_srcdir;;
954 case $ac_top_srcdir in
955 .) ac_abs_top_srcdir=$ac_abs_builddir;;
956 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
957 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
962 # Check for guested configure; otherwise get Cygnus style configure.
963 if test -f $ac_srcdir/configure.gnu; then
965 $SHELL $ac_srcdir/configure.gnu --help=recursive
966 elif test -f $ac_srcdir/configure; then
968 $SHELL $ac_srcdir/configure --help=recursive
969 elif test -f $ac_srcdir/configure.ac ||
970 test -f $ac_srcdir/configure.in; then
974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 test -n "$ac_init_help" && exit 0
981 if $ac_init_version; then
984 Copyright (C) 2003 Free Software Foundation, Inc.
985 This configure script is free software; the Free Software Foundation
986 gives unlimited permission to copy, distribute and modify it.
992 This file contains any messages produced by compilers while
993 running configure, to aid debugging if configure makes a mistake.
995 It was created by $as_me, which was
996 generated by GNU Autoconf 2.59. Invocation command line was
1007 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1008 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1009 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1010 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1011 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1014 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1016 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1018 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1019 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1020 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1021 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1022 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1030 test -z "$as_dir" && as_dir=.
1031 echo "PATH: $as_dir"
1046 # Keep a trace of the command line.
1047 # Strip out --no-create and --no-recursion so they do not pile up.
1048 # Strip out --silent because we don't want to record it for future runs.
1049 # Also quote any args containing shell meta-characters.
1050 # Make two passes to allow for proper duplicate-argument suppression.
1055 ac_must_keep_next=false
1061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1065 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1066 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1072 if test $ac_must_keep_next = true; then
1073 ac_must_keep_next=false # Got value, back to normal.
1076 *=* | --config-cache | -C | -disable-* | --disable-* \
1077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1079 | -with-* | --with-* | -without-* | --without-* | --x)
1080 case "$ac_configure_args0 " in
1081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1084 -* ) ac_must_keep_next=true ;;
1087 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1088 # Get rid of the leading space.
1094 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1095 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097 # When interrupted or exit'd, cleanup temporary files, and complete
1098 # config.log. We remove comments because anyway the quotes in there
1099 # would cause problems or look ugly.
1100 # WARNING: Be sure not to use single quotes in there, as some shells,
1101 # such as our DU 5.0 friend, will then `close
' the trap.
1102 trap 'exit_status
=$?
1103 # Save into config.log some information that might help in debugging.
1108 ## ---------------- ##
1109 ## Cache variables. ##
1110 ## ---------------- ##
1113 # The following way of writing the cache mishandles newlines in values,
1116 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1119 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1131 ## ----------------- ##
1132 ## Output variables. ##
1133 ## ----------------- ##
1136 for ac_var
in $ac_subst_vars
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -n "$ac_subst_files"; then
1150 for ac_var
in $ac_subst_files
1152 eval ac_val
=$
`echo $ac_var`
1153 echo "$ac_var='"'"'$ac_val'"'"'"
1158 if test -s confdefs.h
; then
1165 sed "/^$/d" confdefs.h |
sort
1168 test "$ac_signal" != 0 &&
1169 echo "$as_me: caught signal $ac_signal"
1170 echo "$as_me: exit $exit_status"
1172 rm -f core
*.core
&&
1173 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1176 for ac_signal in 1 2 13 15; do
1177 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1181 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1182 rm -rf conftest* confdefs.h
1183 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1186 # Predefined preprocessor variables.
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_NAME "$PACKAGE_NAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_STRING "$PACKAGE_STRING"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1213 # Let the site file select an alternate cache file if it wants to.
1214 # Prefer explicitly selected file to automatically selected ones.
1215 if test -z "$CONFIG_SITE"; then
1216 if test "x$prefix" != xNONE; then
1217 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1222 for ac_site_file in $CONFIG_SITE; do
1223 if test -r "$ac_site_file"; then
1224 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1225 echo "$as_me: loading site script $ac_site_file" >&6;}
1226 sed 's
/^
/|
/' "$ac_site_file" >&5
1231 if test -r "$cache_file"; then
1232 # Some versions of bash will fail to source /dev/null (special
1233 # files actually), so we avoid doing that.
1234 if test -f "$cache_file"; then
1235 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1236 echo "$as_me: loading cache $cache_file" >&6;}
1238 [\\/]* | ?:[\\/]* ) . $cache_file;;
1239 *) . ./$cache_file;;
1243 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1244 echo "$as_me: creating cache $cache_file" >&6;}
1248 # Check that the precious variables saved in the cache have kept the same
1250 ac_cache_corrupted=false
1251 for ac_var in `(set) 2>&1 |
1252 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1253 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1254 eval ac_new_set=\$ac_env_${ac_var}_set
1255 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1256 eval ac_new_val="\$ac_env_${ac_var}_value"
1257 case $ac_old_set,$ac_new_set in
1259 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1261 ac_cache_corrupted=: ;;
1263 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1268 if test "x$ac_old_val" != "x$ac_new_val"; then
1269 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1270 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1271 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1272 echo "$as_me: former value: $ac_old_val" >&2;}
1273 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1274 echo "$as_me: current value: $ac_new_val" >&2;}
1275 ac_cache_corrupted=:
1278 # Pass precious variables to config.status.
1279 if test "$ac_new_set" = set; then
1281 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1282 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1283 *) ac_arg=$ac_var=$ac_new_val ;;
1285 case " $ac_configure_args " in
1286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1287 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1291 if $ac_cache_corrupted; then
1292 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1294 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1295 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1296 { (exit 1); exit 1; }; }
1300 ac_cpp='$CPP $CPPFLAGS'
1301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1302 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1327 if test -f $ac_dir/install-sh; then
1329 ac_install_sh="$ac_aux_dir/install-sh -c"
1331 elif test -f $ac_dir/install.sh; then
1333 ac_install_sh="$ac_aux_dir/install.sh -c"
1335 elif test -f $ac_dir/shtool; then
1337 ac_install_sh="$ac_aux_dir/shtool install -c"
1341 if test -z "$ac_aux_dir"; then
1342 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1343 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1344 { (exit 1); exit 1; }; }
1346 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1347 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1348 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1350 # Make sure we can run config.sub.
1351 $ac_config_sub sun4 >/dev/null 2>&1 ||
1352 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1353 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1354 { (exit 1); exit 1; }; }
1356 echo "$as_me:$LINENO: checking build system type" >&5
1357 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1358 if test "${ac_cv_build+set}" = set; then
1359 echo $ECHO_N "(cached) $ECHO_C" >&6
1361 ac_cv_build_alias=$build_alias
1362 test -z "$ac_cv_build_alias" &&
1363 ac_cv_build_alias=`$ac_config_guess`
1364 test -z "$ac_cv_build_alias" &&
1365 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1366 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1367 { (exit 1); exit 1; }; }
1368 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1369 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1370 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1371 { (exit 1); exit 1; }; }
1374 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1375 echo "${ECHO_T}$ac_cv_build" >&6
1377 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1378 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1379 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1382 echo "$as_me:$LINENO: checking host system type" >&5
1383 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1384 if test "${ac_cv_host+set}" = set; then
1385 echo $ECHO_N "(cached) $ECHO_C" >&6
1387 ac_cv_host_alias=$host_alias
1388 test -z "$ac_cv_host_alias" &&
1389 ac_cv_host_alias=$ac_cv_build_alias
1390 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1391 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1392 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1393 { (exit 1); exit 1; }; }
1396 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1397 echo "${ECHO_T}$ac_cv_host" >&6
1399 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1400 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1401 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1404 echo "$as_me:$LINENO: checking target system type" >&5
1405 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1406 if test "${ac_cv_target+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 ac_cv_target_alias=$target_alias
1410 test "x$ac_cv_target_alias" = "x" &&
1411 ac_cv_target_alias=$ac_cv_host_alias
1412 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1413 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1414 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1415 { (exit 1); exit 1; }; }
1418 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1419 echo "${ECHO_T}$ac_cv_target" >&6
1420 target=$ac_cv_target
1421 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1422 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1423 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1426 # The aliases save the names the user supplied, while $host etc.
1427 # will get canonicalized.
1428 test -n "$target_alias" &&
1429 test "$program_prefix$program_suffix$program_transform_name" = \
1431 program_prefix=${target_alias}-
1433 ac_cpp='$CPP $CPPFLAGS'
1434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1435 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1437 if test -n "$ac_tool_prefix"; then
1438 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1439 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1442 if test "${ac_cv_prog_CC+set}" = set; then
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
1445 if test -n "$CC"; then
1446 ac_cv_prog_CC="$CC" # Let the user override the test.
1448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir=.
1453 for ac_exec_ext in '' $ac_executable_extensions; do
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1455 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1465 if test -n "$CC"; then
1466 echo "$as_me:$LINENO: result: $CC" >&5
1467 echo "${ECHO_T}$CC" >&6
1469 echo "$as_me:$LINENO: result: no" >&5
1470 echo "${ECHO_T}no" >&6
1474 if test -z "$ac_cv_prog_CC"; then
1476 # Extract the first word of "gcc", so it can be a program name with args.
1477 set dummy gcc; ac_word=$2
1478 echo "$as_me:$LINENO: checking for $ac_word" >&5
1479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1481 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 if test -n "$ac_ct_CC"; then
1484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 test -z "$as_dir" && as_dir=.
1491 for ac_exec_ext in '' $ac_executable_extensions; do
1492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1493 ac_cv_prog_ac_ct_CC="gcc"
1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1503 if test -n "$ac_ct_CC"; then
1504 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1505 echo "${ECHO_T}$ac_ct_CC" >&6
1507 echo "$as_me:$LINENO: result: no" >&5
1508 echo "${ECHO_T}no" >&6
1516 if test -z "$CC"; then
1517 if test -n "$ac_tool_prefix"; then
1518 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1519 set dummy ${ac_tool_prefix}cc; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_CC+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 if test -n "$CC"; then
1526 ac_cv_prog_CC="$CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_prog_CC="${ac_tool_prefix}cc"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545 if test -n "$CC"; then
1546 echo "$as_me:$LINENO: result: $CC" >&5
1547 echo "${ECHO_T}$CC" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1554 if test -z "$ac_cv_prog_CC"; then
1556 # Extract the first word of "cc", so it can be a program name with args.
1557 set dummy cc; ac_word=$2
1558 echo "$as_me:$LINENO: checking for $ac_word" >&5
1559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 if test -n "$ac_ct_CC"; then
1564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1570 test -z "$as_dir" && as_dir=.
1571 for ac_exec_ext in '' $ac_executable_extensions; do
1572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1573 ac_cv_prog_ac_ct_CC="cc"
1574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1583 if test -n "$ac_ct_CC"; then
1584 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1585 echo "${ECHO_T}$ac_ct_CC" >&6
1587 echo "$as_me:$LINENO: result: no" >&5
1588 echo "${ECHO_T}no" >&6
1597 if test -z "$CC"; then
1598 # Extract the first word of "cc", so it can be a program name with args.
1599 set dummy cc; ac_word=$2
1600 echo "$as_me:$LINENO: checking for $ac_word" >&5
1601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1602 if test "${ac_cv_prog_CC+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 if test -n "$CC"; then
1606 ac_cv_prog_CC="$CC" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1617 ac_prog_rejected=yes
1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1627 if test $ac_prog_rejected = yes; then
1628 # We found a bogon in the path, so make sure we never use it.
1629 set dummy $ac_cv_prog_CC
1631 if test $# != 0; then
1632 # We chose a different compiler from the bogus one.
1633 # However, it has the same basename, so the bogon will be chosen
1634 # first if we set CC to just the basename; use the full file name.
1636 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1642 if test -n "$CC"; then
1643 echo "$as_me:$LINENO: result: $CC" >&5
1644 echo "${ECHO_T}$CC" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$CC"; then
1652 if test -n "$ac_tool_prefix"; then
1655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1657 echo "$as_me:$LINENO: checking for $ac_word" >&5
1658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1659 if test "${ac_cv_prog_CC+set}" = set; then
1660 echo $ECHO_N "(cached) $ECHO_C" >&6
1662 if test -n "$CC"; then
1663 ac_cv_prog_CC="$CC" # Let the user override the test.
1665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1669 test -z "$as_dir" && as_dir=.
1670 for ac_exec_ext in '' $ac_executable_extensions; do
1671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1672 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682 if test -n "$CC"; then
1683 echo "$as_me:$LINENO: result: $CC" >&5
1684 echo "${ECHO_T}$CC" >&6
1686 echo "$as_me:$LINENO: result: no" >&5
1687 echo "${ECHO_T}no" >&6
1690 test -n "$CC" && break
1693 if test -z "$CC"; then
1697 # Extract the first word of "$ac_prog", so it can be a program name with args.
1698 set dummy $ac_prog; ac_word=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 if test -n "$ac_ct_CC"; then
1705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1714 ac_cv_prog_ac_ct_CC="$ac_prog"
1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1724 if test -n "$ac_ct_CC"; then
1725 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1726 echo "${ECHO_T}$ac_ct_CC" >&6
1728 echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6
1732 test -n "$ac_ct_CC" && break
1741 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1742 See \`config.log' for more details.
" >&5
1743 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1744 See \
`config.log' for more details." >&2;}
1745 { (exit 1); exit 1; }; }
1747 # Provide some information about the compiler.
1748 echo "$as_me:$LINENO:" \
1749 "checking for C compiler version" >&5
1750 ac_compiler=`set X
$ac_compile; echo $2`
1751 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1752 (eval $ac_compiler --version </dev/null >&5) 2>&5
1754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1755 (exit $ac_status); }
1756 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1757 (eval $ac_compiler -v </dev/null >&5) 2>&5
1759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1760 (exit $ac_status); }
1761 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1762 (eval $ac_compiler -V </dev/null >&5) 2>&5
1764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1765 (exit $ac_status); }
1767 cat >conftest.$ac_ext <<_ACEOF
1770 cat confdefs.h >>conftest.$ac_ext
1771 cat >>conftest.$ac_ext <<_ACEOF
1772 /* end confdefs.h. */
1782 ac_clean_files_save=$ac_clean_files
1783 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1784 # Try to create an executable without -o first, disregard a.out.
1785 # It will help us diagnose broken compilers, and finding out an intuition
1787 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1788 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1789 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1790 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1791 (eval $ac_link_default) 2>&5
1793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1794 (exit $ac_status); }; then
1795 # Find the output, starting from the most likely. This scheme is
1796 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1799 # Be careful to initialize this variable, since it used to be cached.
1800 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1802 # b.out is created by i960 compilers.
1803 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1805 test -f "$ac_file" || continue
1807 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1810 # This is the source file.
1813 # We found the default executable, but exeext='' is most
1817 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1818 # FIXME: I believe we export ac_cv_exeext for Libtool,
1819 # but it would be cool to find out if it's true. Does anybody
1820 # maintain Libtool? --akim.
1828 echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1831 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1832 See \`config.log
' for more details." >&5
1833 echo "$as_me: error: C compiler cannot create executables
1834 See \`config.log' for more details.
" >&2;}
1835 { (exit 77); exit 77; }; }
1838 ac_exeext=$ac_cv_exeext
1839 echo "$as_me:$LINENO: result
: $ac_file" >&5
1840 echo "${ECHO_T}$ac_file" >&6
1842 # Check the compiler produces executables we can run. If not, either
1843 # the compiler is broken, or we cross compile.
1844 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1845 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1846 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1847 # If not cross compiling, check that we can run a simple program.
1848 if test "$cross_compiling" != yes; then
1849 if { ac_try='./$ac_file'
1850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1854 (exit $ac_status); }; }; then
1857 if test "$cross_compiling" = maybe; then
1860 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1861 If you meant to cross compile
, use \
`--host'.
1862 See \`config.log
' for more details." >&5
1863 echo "$as_me: error: cannot run C compiled programs.
1864 If you meant to cross compile, use \`--host'.
1865 See \
`config.log' for more details." >&2;}
1866 { (exit 1); exit 1; }; }
1870 echo "$as_me:$LINENO: result: yes" >&5
1871 echo "${ECHO_T}yes" >&6
1873 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1874 ac_clean_files=$ac_clean_files_save
1875 # Check the compiler produces executables we can run. If not, either
1876 # the compiler is broken, or we cross compile.
1877 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1878 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1879 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1880 echo "${ECHO_T}$cross_compiling" >&6
1882 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1883 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1885 (eval $ac_link) 2>&5
1887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888 (exit $ac_status); }; then
1889 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1890 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1891 # work properly (i.e., refer to `conftest.exe'), while it won't with
1893 for ac_file
in conftest.exe conftest conftest.
*; do
1894 test -f "$ac_file" ||
continue
1896 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1897 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1904 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1905 See \`config.log' for more details." >&5
1906 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1907 See \`config.log' for more details." >&2;}
1908 { (exit 1); exit 1; }; }
1911 rm -f conftest
$ac_cv_exeext
1912 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1913 echo "${ECHO_T}$ac_cv_exeext" >&6
1915 rm -f conftest.
$ac_ext
1916 EXEEXT
=$ac_cv_exeext
1918 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1919 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1920 if test "${ac_cv_objext+set}" = set; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1923 cat >conftest.
$ac_ext <<_ACEOF
1926 cat confdefs.h
>>conftest.
$ac_ext
1927 cat >>conftest.
$ac_ext <<_ACEOF
1928 /* end confdefs.h. */
1938 rm -f conftest.o conftest.obj
1939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1940 (eval $ac_compile) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; then
1944 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1946 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1947 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1952 echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.
$ac_ext >&5
1955 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1956 See \`config.log' for more details." >&5
1957 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1958 See \`config.log' for more details." >&2;}
1959 { (exit 1); exit 1; }; }
1962 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1964 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1965 echo "${ECHO_T}$ac_cv_objext" >&6
1966 OBJEXT
=$ac_cv_objext
1968 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1969 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1970 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 cat >conftest.
$ac_ext <<_ACEOF
1976 cat confdefs.h
>>conftest.
$ac_ext
1977 cat >>conftest.
$ac_ext <<_ACEOF
1978 /* end confdefs.h. */
1991 rm -f conftest.
$ac_objext
1992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1993 (eval $ac_compile) 2>conftest.er1
1995 grep -v '^ *+' conftest.er1
>conftest.err
1997 cat conftest.err
>&5
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); } &&
2000 { ac_try
='test -z "$ac_c_werror_flag"
2001 || test ! -s conftest.err'
2002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }; } &&
2007 { ac_try
='test -s conftest.$ac_objext'
2008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); }; }; then
2015 echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.
$ac_ext >&5
2020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2021 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2024 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2025 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2026 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2027 ac_test_CFLAGS
=${CFLAGS+set}
2028 ac_save_CFLAGS
=$CFLAGS
2030 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2031 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2032 if test "${ac_cv_prog_cc_g+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 cat >conftest.
$ac_ext <<_ACEOF
2038 cat confdefs.h
>>conftest.
$ac_ext
2039 cat >>conftest.
$ac_ext <<_ACEOF
2040 /* end confdefs.h. */
2050 rm -f conftest.
$ac_objext
2051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2052 (eval $ac_compile) 2>conftest.er1
2054 grep -v '^ *+' conftest.er1
>conftest.err
2056 cat conftest.err
>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); } &&
2059 { ac_try
='test -z "$ac_c_werror_flag"
2060 || test ! -s conftest.err'
2061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; } &&
2066 { ac_try
='test -s conftest.$ac_objext'
2067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; }; then
2074 echo "$as_me: failed program was:" >&5
2075 sed 's/^/| /' conftest.
$ac_ext >&5
2079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2081 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2082 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2083 if test "$ac_test_CFLAGS" = set; then
2084 CFLAGS
=$ac_save_CFLAGS
2085 elif test $ac_cv_prog_cc_g = yes; then
2086 if test "$GCC" = yes; then
2092 if test "$GCC" = yes; then
2098 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2099 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2100 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 ac_cv_prog_cc_stdc
=no
2105 cat >conftest.
$ac_ext <<_ACEOF
2108 cat confdefs.h
>>conftest.
$ac_ext
2109 cat >>conftest.
$ac_ext <<_ACEOF
2110 /* end confdefs.h. */
2113 #include <sys/types.h>
2114 #include <sys/stat.h>
2115 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2116 struct buf { int x; };
2117 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2118 static char *e (p, i)
2124 static char *f (char * (*g) (char **, int), char **p, ...)
2129 s = g (p, va_arg (v,int));
2134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2135 function prototypes and stuff, but not '\xHH' hex character constants.
2136 These don't provoke an error unfortunately, instead are silently treated
2137 as 'x'. The following induces an error, until -std1 is added to get
2138 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2139 array size at least. It's necessary to write '\x00'==0 to get something
2140 that's true only with -std1. */
2141 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2143 int test (int i, double x);
2144 struct s1 {int (*f) (int a);};
2145 struct s2 {int (*f) (double a);};
2146 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2152 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2157 # Don't try gcc -ansi; that turns off useful extensions and
2158 # breaks some systems' header files.
2159 # AIX -qlanglvl=ansi
2160 # Ultrix and OSF/1 -std1
2161 # HP-UX 10.20 and later -Ae
2162 # HP-UX older versions -Aa -D_HPUX_SOURCE
2163 # SVR4 -Xc -D__EXTENSIONS__
2164 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2166 CC
="$ac_save_CC $ac_arg"
2167 rm -f conftest.
$ac_objext
2168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2169 (eval $ac_compile) 2>conftest.er1
2171 grep -v '^ *+' conftest.er1
>conftest.err
2173 cat conftest.err
>&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); } &&
2176 { ac_try
='test -z "$ac_c_werror_flag"
2177 || test ! -s conftest.err'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; } &&
2183 { ac_try
='test -s conftest.$ac_objext'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; }; then
2189 ac_cv_prog_cc_stdc
=$ac_arg
2192 echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.
$ac_ext >&5
2196 rm -f conftest.err conftest.
$ac_objext
2198 rm -f conftest.
$ac_ext conftest.
$ac_objext
2203 case "x$ac_cv_prog_cc_stdc" in
2205 echo "$as_me:$LINENO: result: none needed" >&5
2206 echo "${ECHO_T}none needed" >&6 ;;
2208 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2209 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2210 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2213 # Some people use a C++ compiler to compile C. Since we use `exit',
2214 # in C++ we need to declare it. In case someone uses the same compiler
2215 # for both compiling C and C++ we need to have the C++ compiler decide
2216 # the declaration of exit, since it's the most demanding environment.
2217 cat >conftest.
$ac_ext <<_ACEOF
2222 rm -f conftest.
$ac_objext
2223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2224 (eval $ac_compile) 2>conftest.er1
2226 grep -v '^ *+' conftest.er1
>conftest.err
2228 cat conftest.err
>&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); } &&
2231 { ac_try
='test -z "$ac_c_werror_flag"
2232 || test ! -s conftest.err'
2233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; } &&
2238 { ac_try
='test -s conftest.$ac_objext'
2239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); }; }; then
2244 for ac_declaration
in \
2246 'extern "C" void std::exit (int) throw (); using std::exit;' \
2247 'extern "C" void std::exit (int); using std::exit;' \
2248 'extern "C" void exit (int) throw ();' \
2249 'extern "C" void exit (int);' \
2252 cat >conftest.
$ac_ext <<_ACEOF
2255 cat confdefs.h
>>conftest.
$ac_ext
2256 cat >>conftest.
$ac_ext <<_ACEOF
2257 /* end confdefs.h. */
2268 rm -f conftest.
$ac_objext
2269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270 (eval $ac_compile) 2>conftest.er1
2272 grep -v '^ *+' conftest.er1
>conftest.err
2274 cat conftest.err
>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); } &&
2277 { ac_try
='test -z "$ac_c_werror_flag"
2278 || test ! -s conftest.err'
2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; } &&
2284 { ac_try
='test -s conftest.$ac_objext'
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; }; then
2292 echo "$as_me: failed program was:" >&5
2293 sed 's/^/| /' conftest.
$ac_ext >&5
2297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2298 cat >conftest.
$ac_ext <<_ACEOF
2301 cat confdefs.h
>>conftest.
$ac_ext
2302 cat >>conftest.
$ac_ext <<_ACEOF
2303 /* end confdefs.h. */
2313 rm -f conftest.
$ac_objext
2314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2315 (eval $ac_compile) 2>conftest.er1
2317 grep -v '^ *+' conftest.er1
>conftest.err
2319 cat conftest.err
>&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } &&
2322 { ac_try
='test -z "$ac_c_werror_flag"
2323 || test ! -s conftest.err'
2324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; } &&
2329 { ac_try
='test -s conftest.$ac_objext'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; }; then
2337 echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.
$ac_ext >&5
2341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2344 if test -n "$ac_declaration"; then
2345 echo '#ifdef __cplusplus' >>confdefs.h
2346 echo $ac_declaration >>confdefs.h
2347 echo '#endif' >>confdefs.h
2351 echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.
$ac_ext >&5
2355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2357 ac_cpp
='$CPP $CPPFLAGS'
2358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2363 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2364 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2365 if test "${ac_cv_search_strerror+set}" = set; then
2366 echo $ECHO_N "(cached) $ECHO_C" >&6
2368 ac_func_search_save_LIBS
=$LIBS
2369 ac_cv_search_strerror
=no
2370 cat >conftest.
$ac_ext <<_ACEOF
2373 cat confdefs.h
>>conftest.
$ac_ext
2374 cat >>conftest.
$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2377 /* Override any gcc2 internal prototype to avoid an error. */
2381 /* We use char because int might match the return type of a gcc2
2382 builtin and then its argument prototype would still apply. */
2392 rm -f conftest.
$ac_objext conftest
$ac_exeext
2393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2394 (eval $ac_link) 2>conftest.er1
2396 grep -v '^ *+' conftest.er1
>conftest.err
2398 cat conftest.err
>&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); } &&
2401 { ac_try
='test -z "$ac_c_werror_flag"
2402 || test ! -s conftest.err'
2403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); }; } &&
2408 { ac_try
='test -s conftest$ac_exeext'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; }; then
2414 ac_cv_search_strerror
="none required"
2416 echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.
$ac_ext >&5
2420 rm -f conftest.err conftest.
$ac_objext \
2421 conftest
$ac_exeext conftest.
$ac_ext
2422 if test "$ac_cv_search_strerror" = no
; then
2423 for ac_lib
in cposix
; do
2424 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2425 cat >conftest.
$ac_ext <<_ACEOF
2428 cat confdefs.h
>>conftest.
$ac_ext
2429 cat >>conftest.
$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2432 /* Override any gcc2 internal prototype to avoid an error. */
2436 /* We use char because int might match the return type of a gcc2
2437 builtin and then its argument prototype would still apply. */
2447 rm -f conftest.
$ac_objext conftest
$ac_exeext
2448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2449 (eval $ac_link) 2>conftest.er1
2451 grep -v '^ *+' conftest.er1
>conftest.err
2453 cat conftest.err
>&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); } &&
2456 { ac_try
='test -z "$ac_c_werror_flag"
2457 || test ! -s conftest.err'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; } &&
2463 { ac_try
='test -s conftest$ac_exeext'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; }; then
2469 ac_cv_search_strerror
="-l$ac_lib"
2472 echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.
$ac_ext >&5
2476 rm -f conftest.err conftest.
$ac_objext \
2477 conftest
$ac_exeext conftest.
$ac_ext
2480 LIBS
=$ac_func_search_save_LIBS
2482 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2483 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2484 if test "$ac_cv_search_strerror" != no
; then
2485 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2490 am__api_version
="1.9"
2491 # Find a good install program. We prefer a C program (faster),
2492 # so one script is as good as another. But avoid the broken or
2493 # incompatible versions:
2494 # SysV /etc/install, /usr/sbin/install
2495 # SunOS /usr/etc/install
2496 # IRIX /sbin/install
2498 # AmigaOS /C/install, which installs bootblocks on floppy discs
2499 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2500 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2501 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2502 # OS/2's system install, which has a completely different semantic
2503 # ./install, which can be erroneously created by make from ./install.sh.
2504 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2505 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2506 if test -z "$INSTALL"; then
2507 if test "${ac_cv_path_install+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir
=.
2515 # Account for people who put trailing slashes in PATH elements.
2517 .
/ | .
// |
/cC
/* | \
2518 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2519 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2522 # OSF1 and SCO ODT 3.0 have their own names for install.
2523 # Don't use installbsd from OSF since it installs stuff as root
2525 for ac_prog
in ginstall scoinst
install; do
2526 for ac_exec_ext
in '' $ac_executable_extensions; do
2527 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2528 if test $ac_prog = install &&
2529 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2530 # AIX install. It has an incompatible calling convention.
2532 elif test $ac_prog = install &&
2533 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2534 # program-specific install script used by HP pwplus--don't use.
2537 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2549 if test "${ac_cv_path_install+set}" = set; then
2550 INSTALL
=$ac_cv_path_install
2552 # As a last resort, use the slow shell script. We don't cache a
2553 # path for INSTALL within a source directory, because that will
2554 # break other packages using the cache if that directory is
2555 # removed, or if the path is relative.
2556 INSTALL
=$ac_install_sh
2559 echo "$as_me:$LINENO: result: $INSTALL" >&5
2560 echo "${ECHO_T}$INSTALL" >&6
2562 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2563 # It thinks the first close brace ends the variable substitution.
2564 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2566 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2568 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2570 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2571 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2574 echo timestamp
> conftest.
file
2575 # Do `set' in a subshell so we don't clobber the current shell's
2576 # arguments. Must try -L first in case configure is actually a
2577 # symlink; some systems play weird games with the mod time of symlinks
2578 # (eg FreeBSD returns the mod time of the symlink's containing
2581 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2582 if test "$*" = "X"; then
2584 set X
`ls -t $srcdir/configure conftest.file`
2587 if test "$*" != "X $srcdir/configure conftest.file" \
2588 && test "$*" != "X conftest.file $srcdir/configure"; then
2590 # If neither matched, then we have a broken ls. This can happen
2591 # if, for instance, CONFIG_SHELL is bash and it inherits a
2592 # broken ls alias from the environment. This has actually
2593 # happened. Such a system could not be considered "sane".
2594 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2595 alias in your environment" >&5
2596 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2597 alias in your environment" >&2;}
2598 { (exit 1); exit 1; }; }
2601 test "$2" = conftest.
file
2607 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2608 Check your system clock" >&5
2609 echo "$as_me: error: newly created file is older than distributed files!
2610 Check your system clock" >&2;}
2611 { (exit 1); exit 1; }; }
2613 echo "$as_me:$LINENO: result: yes" >&5
2614 echo "${ECHO_T}yes" >&6
2615 test "$program_prefix" != NONE
&&
2616 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2617 # Use a double $ so make ignores it.
2618 test "$program_suffix" != NONE
&&
2619 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2620 # Double any \ or $. echo might interpret backslashes.
2621 # By default was `s,x,x', remove it if useless.
2622 cat <<\_ACEOF
>conftest.
sed
2623 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2625 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2628 # expand $ac_aux_dir to an absolute path
2629 am_aux_dir
=`cd $ac_aux_dir && pwd`
2631 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2632 # Use eval to expand $SHELL
2633 if eval "$MISSING --run true"; then
2634 am_missing_run
="$MISSING --run "
2637 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2638 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2641 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2642 # We used to keeping the `.' as first argument, in order to
2643 # allow $(mkdir_p) to be used without argument. As in
2644 # $(mkdir_p) $(somedir)
2645 # where $(somedir) is conditionally defined. However this is wrong
2647 # 1. if the package is installed by a user who cannot write `.'
2648 # make install will fail,
2649 # 2. the above comment should most certainly read
2650 # $(mkdir_p) $(DESTDIR)$(somedir)
2651 # so it does not work when $(somedir) is undefined and
2652 # $(DESTDIR) is not.
2653 # To support the latter case, we have to write
2654 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2655 # so the `.' trick is pointless.
2656 mkdir_p
='mkdir -p --'
2658 # On NextStep and OpenStep, the `mkdir' command does not
2659 # recognize any option. It will interpret all options as
2660 # directories to create, and then abort because `.' already
2662 for d
in .
/-p .
/--version;
2664 test -d $d && rmdir $d
2666 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2667 if test -f "$ac_aux_dir/mkinstalldirs"; then
2668 mkdir_p
='$(mkinstalldirs)'
2670 mkdir_p
='$(install_sh) -d'
2674 for ac_prog
in gawk mawk nawk
awk
2676 # Extract the first word of "$ac_prog", so it can be a program name with args.
2677 set dummy
$ac_prog; ac_word
=$2
2678 echo "$as_me:$LINENO: checking for $ac_word" >&5
2679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2680 if test "${ac_cv_prog_AWK+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 if test -n "$AWK"; then
2684 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 for ac_exec_ext
in '' $ac_executable_extensions; do
2692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2693 ac_cv_prog_AWK
="$ac_prog"
2694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 if test -n "$AWK"; then
2704 echo "$as_me:$LINENO: result: $AWK" >&5
2705 echo "${ECHO_T}$AWK" >&6
2707 echo "$as_me:$LINENO: result: no" >&5
2708 echo "${ECHO_T}no" >&6
2711 test -n "$AWK" && break
2714 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2715 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2716 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2717 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2718 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 cat >conftest.
make <<\_ACEOF
2722 @
echo 'ac_maketemp="$(MAKE)"'
2724 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2725 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2726 if test -n "$ac_maketemp"; then
2727 eval ac_cv_prog_make_
${ac_make}_set
=yes
2729 eval ac_cv_prog_make_
${ac_make}_set
=no
2733 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735 echo "${ECHO_T}yes" >&6
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2740 SET_MAKE
="MAKE=${MAKE-make}"
2743 rm -rf .tst
2>/dev
/null
2744 mkdir .tst
2>/dev
/null
2745 if test -d .tst
; then
2750 rmdir .tst
2>/dev
/null
2752 DEPDIR
="${am__leading_dot}deps"
2754 ac_config_commands
="$ac_config_commands depfiles"
2757 am_make
=${MAKE-make}
2758 cat > confinc
<< 'END'
2763 # If we don't find an include directive, just comment out the code.
2764 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2765 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2769 # First try GNU make style include.
2770 echo "include confinc" > confmf
2771 # We grep out `Entering directory' and `Leaving directory'
2772 # messages which can occur if `w' ends up in MAKEFLAGS.
2773 # In particular we don't look at `^make:' because GNU make might
2774 # be invoked under some other name (usually "gmake"), in which
2775 # case it prints its new name instead of `make'.
2776 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2781 # Now try BSD make style include.
2782 if test "$am__include" = "#"; then
2783 echo '.include "confinc"' > confmf
2784 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2785 am__include
=.include
2792 echo "$as_me:$LINENO: result: $_am_result" >&5
2793 echo "${ECHO_T}$_am_result" >&6
2794 rm -f confinc confmf
2796 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2797 if test "${enable_dependency_tracking+set}" = set; then
2798 enableval
="$enable_dependency_tracking"
2801 if test "x$enable_dependency_tracking" != xno
; then
2802 am_depcomp
="$ac_aux_dir/depcomp"
2807 if test "x$enable_dependency_tracking" != xno; then
2817 # test to see if srcdir already configured
2818 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2819 test -f $srcdir/config.status
; then
2820 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2821 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2822 { (exit 1); exit 1; }; }
2825 # test whether we have cygpath
2826 if test -z "$CYGPATH_W"; then
2827 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2828 CYGPATH_W
='cygpath -w'
2835 # Define the identity of the package.
2840 cat >>confdefs.h
<<_ACEOF
2841 #define PACKAGE "$PACKAGE"
2845 cat >>confdefs.h
<<_ACEOF
2846 #define VERSION "$VERSION"
2849 # Some tools Automake needs.
2851 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2854 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2857 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2860 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2863 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2865 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2867 # Installed binaries are usually stripped using `strip' when the user
2868 # run `make install-strip'. However `strip' might not be the right
2869 # tool to use in cross-compilation environments, therefore Automake
2870 # will honor the `STRIP' environment variable to overrule this program.
2871 if test "$cross_compiling" != no
; then
2872 if test -n "$ac_tool_prefix"; then
2873 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2874 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2875 echo "$as_me:$LINENO: checking for $ac_word" >&5
2876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2877 if test "${ac_cv_prog_STRIP+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 if test -n "$STRIP"; then
2881 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2887 test -z "$as_dir" && as_dir
=.
2888 for ac_exec_ext
in '' $ac_executable_extensions; do
2889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2899 STRIP
=$ac_cv_prog_STRIP
2900 if test -n "$STRIP"; then
2901 echo "$as_me:$LINENO: result: $STRIP" >&5
2902 echo "${ECHO_T}$STRIP" >&6
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2909 if test -z "$ac_cv_prog_STRIP"; then
2911 # Extract the first word of "strip", so it can be a program name with args.
2912 set dummy strip
; ac_word
=$2
2913 echo "$as_me:$LINENO: checking for $ac_word" >&5
2914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2915 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 if test -n "$ac_ct_STRIP"; then
2919 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir
=.
2926 for ac_exec_ext
in '' $ac_executable_extensions; do
2927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928 ac_cv_prog_ac_ct_STRIP
="strip"
2929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2938 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2939 if test -n "$ac_ct_STRIP"; then
2940 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2941 echo "${ECHO_T}$ac_ct_STRIP" >&6
2943 echo "$as_me:$LINENO: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2949 STRIP
="$ac_cv_prog_STRIP"
2953 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2955 # We need awk for the "check" target. The system "awk" is bad on
2957 # Always define AMTAR for backward compatibility.
2959 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2961 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2966 depcc
="$CC" am_compiler_list
=
2968 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2969 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2970 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2971 echo $ECHO_N "(cached) $ECHO_C" >&6
2973 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2974 # We make a subdir and do the tests there. Otherwise we can end up
2975 # making bogus files that we don't know about and never remove. For
2976 # instance it was reported that on HP-UX the gcc test will end up
2977 # making a dummy file named `D' -- because `-MD' means `put the output
2980 # Copy depcomp to subdir because otherwise we won't find it if we're
2981 # using a relative directory.
2982 cp "$am_depcomp" conftest.dir
2984 # We will build objects and dependencies in a subdirectory because
2985 # it helps to detect inapplicable dependency modes. For instance
2986 # both Tru64's cc and ICC support -MD to output dependencies as a
2987 # side effect of compilation, but ICC will put the dependencies in
2988 # the current directory while Tru64 will put them in the object
2992 am_cv_CC_dependencies_compiler_type
=none
2993 if test "$am_compiler_list" = ""; then
2994 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2996 for depmode
in $am_compiler_list; do
2997 # Setup a source with many dependencies, because some compilers
2998 # like to wrap large dependency lists on column 80 (with \), and
2999 # we should not choose a depcomp mode which is confused by this.
3001 # We need to recreate these files for each test, as the compiler may
3002 # overwrite some of them when testing with obscure command lines.
3003 # This happens at least with the AIX C compiler.
3005 for i
in 1 2 3 4 5 6; do
3006 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3007 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3008 # Solaris 8's {/usr,}/bin/sh.
3009 touch sub
/conftst
$i.h
3011 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3015 # after this tag, mechanisms are not by side-effect, so they'll
3016 # only be used when explicitly requested
3017 if test "x$enable_dependency_tracking" = xyes
; then
3025 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3026 # mode. It turns out that the SunPro C++ compiler does not properly
3027 # handle `-M -o', and we need to detect this.
3028 if depmode
=$depmode \
3029 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3030 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3031 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3032 >/dev
/null
2>conftest.err
&&
3033 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3034 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3035 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3036 # icc doesn't choke on unknown options, it will just issue warnings
3037 # or remarks (even with -Werror). So we grep stderr for any message
3038 # that says an option was ignored or not supported.
3039 # When given -MP, icc 7.0 and 7.1 complain thusly:
3040 # icc: Command line warning: ignoring option '-M'; no argument required
3041 # The diagnosis changed in icc 8.0:
3042 # icc: Command line remark: option '-MP' not supported
3043 if (grep 'ignoring option' conftest.err ||
3044 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3045 am_cv_CC_dependencies_compiler_type
=$depmode
3054 am_cv_CC_dependencies_compiler_type
=none
3058 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3059 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3060 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3065 test "x$enable_dependency_tracking" != xno \
3066 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3068 am__fastdepCC_FALSE
='#'
3070 am__fastdepCC_TRUE
='#'
3071 am__fastdepCC_FALSE
=
3077 if test -n "$ac_tool_prefix"; then
3078 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3079 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3080 echo "$as_me:$LINENO: checking for $ac_word" >&5
3081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3082 if test "${ac_cv_prog_AR+set}" = set; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6
3085 if test -n "$AR"; then
3086 ac_cv_prog_AR
="$AR" # Let the user override the test.
3088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir
=.
3093 for ac_exec_ext
in '' $ac_executable_extensions; do
3094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3095 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3105 if test -n "$AR"; then
3106 echo "$as_me:$LINENO: result: $AR" >&5
3107 echo "${ECHO_T}$AR" >&6
3109 echo "$as_me:$LINENO: result: no" >&5
3110 echo "${ECHO_T}no" >&6
3114 if test -z "$ac_cv_prog_AR"; then
3116 # Extract the first word of "ar", so it can be a program name with args.
3117 set dummy
ar; ac_word
=$2
3118 echo "$as_me:$LINENO: checking for $ac_word" >&5
3119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3120 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 if test -n "$ac_ct_AR"; then
3124 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3130 test -z "$as_dir" && as_dir
=.
3131 for ac_exec_ext
in '' $ac_executable_extensions; do
3132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133 ac_cv_prog_ac_ct_AR
="ar"
3134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3143 if test -n "$ac_ct_AR"; then
3144 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3145 echo "${ECHO_T}$ac_ct_AR" >&6
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3156 if test -n "$ac_tool_prefix"; then
3157 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3158 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3159 echo "$as_me:$LINENO: checking for $ac_word" >&5
3160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3161 if test "${ac_cv_prog_RANLIB+set}" = set; then
3162 echo $ECHO_N "(cached) $ECHO_C" >&6
3164 if test -n "$RANLIB"; then
3165 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3171 test -z "$as_dir" && as_dir
=.
3172 for ac_exec_ext
in '' $ac_executable_extensions; do
3173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3174 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 RANLIB
=$ac_cv_prog_RANLIB
3184 if test -n "$RANLIB"; then
3185 echo "$as_me:$LINENO: result: $RANLIB" >&5
3186 echo "${ECHO_T}$RANLIB" >&6
3188 echo "$as_me:$LINENO: result: no" >&5
3189 echo "${ECHO_T}no" >&6
3193 if test -z "$ac_cv_prog_RANLIB"; then
3194 ac_ct_RANLIB
=$RANLIB
3195 # Extract the first word of "ranlib", so it can be a program name with args.
3196 set dummy ranlib
; ac_word
=$2
3197 echo "$as_me:$LINENO: checking for $ac_word" >&5
3198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3199 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3200 echo $ECHO_N "(cached) $ECHO_C" >&6
3202 if test -n "$ac_ct_RANLIB"; then
3203 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir
=.
3210 for ac_exec_ext
in '' $ac_executable_extensions; do
3211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3212 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3222 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3223 if test -n "$ac_ct_RANLIB"; then
3224 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3225 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3227 echo "$as_me:$LINENO: result: no" >&5
3228 echo "${ECHO_T}no" >&6
3231 RANLIB
=$ac_ct_RANLIB
3233 RANLIB
="$ac_cv_prog_RANLIB"
3237 # Check whether --enable-shared or --disable-shared was given.
3238 if test "${enable_shared+set}" = set; then
3239 enableval
="$enable_shared"
3240 p
=${PACKAGE-default}
3242 yes) enable_shared
=yes ;;
3243 no
) enable_shared
=no
;;
3246 # Look at the argument we got. We use all the common list separators.
3247 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3248 for pkg
in $enableval; do
3249 if test "X$pkg" = "X$p"; then
3260 # Check whether --enable-static or --disable-static was given.
3261 if test "${enable_static+set}" = set; then
3262 enableval
="$enable_static"
3263 p
=${PACKAGE-default}
3265 yes) enable_static
=yes ;;
3266 no
) enable_static
=no
;;
3269 # Look at the argument we got. We use all the common list separators.
3270 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3271 for pkg
in $enableval; do
3272 if test "X$pkg" = "X$p"; then
3282 # Check whether --enable-fast-install or --disable-fast-install was given.
3283 if test "${enable_fast_install+set}" = set; then
3284 enableval
="$enable_fast_install"
3285 p
=${PACKAGE-default}
3287 yes) enable_fast_install
=yes ;;
3288 no
) enable_fast_install
=no
;;
3290 enable_fast_install
=no
3291 # Look at the argument we got. We use all the common list separators.
3292 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3293 for pkg
in $enableval; do
3294 if test "X$pkg" = "X$p"; then
3295 enable_fast_install
=yes
3302 enable_fast_install
=yes
3305 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3306 if test "${with_gnu_ld+set}" = set; then
3307 withval
="$with_gnu_ld"
3308 test "$withval" = no || with_gnu_ld
=yes
3313 if test "$GCC" = yes; then
3314 # Check if gcc -print-prog-name=ld gives a path.
3315 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3316 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3319 # gcc leaves a trailing carriage return which upsets mingw
3320 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3322 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3325 # Accept absolute paths.
3326 [\\/]* |
[A-Za-z
]:[\\/]*)
3327 re_direlt
='/[^/][^/]*/\.\./'
3328 # Canonicalize the path of ld
3329 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3330 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3331 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3333 test -z "$LD" && LD
="$ac_prog"
3336 # If it fails, then pretend we aren't using GCC.
3340 # If it is relative, then search for the first ld in PATH.
3344 elif test "$with_gnu_ld" = yes; then
3345 echo "$as_me:$LINENO: checking for GNU ld" >&5
3346 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3348 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3349 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3351 if test "${lt_cv_path_LD+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 if test -z "$LD"; then
3355 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3356 for ac_dir
in $PATH; do
3357 test -z "$ac_dir" && ac_dir
=.
3358 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3359 lt_cv_path_LD
="$ac_dir/$ac_prog"
3360 # Check to see if the program is GNU ld. I'd rather use --version,
3361 # but apparently some GNU ld's only accept -v.
3362 # Break only if it was the GNU/non-GNU ld that we prefer.
3363 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3364 test "$with_gnu_ld" != no
&& break
3366 test "$with_gnu_ld" != yes && break
3372 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3377 if test -n "$LD"; then
3378 echo "$as_me:$LINENO: result: $LD" >&5
3379 echo "${ECHO_T}$LD" >&6
3381 echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6
3384 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3385 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3386 { (exit 1); exit 1; }; }
3387 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3388 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3389 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3390 echo $ECHO_N "(cached) $ECHO_C" >&6
3392 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3393 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3394 lt_cv_prog_gnu_ld
=yes
3396 lt_cv_prog_gnu_ld
=no
3399 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3400 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3401 with_gnu_ld
=$lt_cv_prog_gnu_ld
3404 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3405 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3406 if test "${lt_cv_ld_reload_flag+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3409 lt_cv_ld_reload_flag
='-r'
3411 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3412 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3413 reload_flag
=$lt_cv_ld_reload_flag
3414 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3416 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3417 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3418 if test "${lt_cv_path_NM+set}" = set; then
3419 echo $ECHO_N "(cached) $ECHO_C" >&6
3421 if test -n "$NM"; then
3422 # Let the user override the test.
3425 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3426 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3427 test -z "$ac_dir" && ac_dir
=.
3428 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3429 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3430 # Check to see if the nm accepts a BSD-compat flag.
3431 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3432 # nm: unknown option "B" ignored
3433 # Tru64's nm complains that /dev/null is an invalid object file
3434 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3435 lt_cv_path_NM
="$tmp_nm -B"
3437 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3438 lt_cv_path_NM
="$tmp_nm -p"
3441 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3442 continue # so that we can try to find one that supports BSD flags
3447 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3452 echo "$as_me:$LINENO: result: $NM" >&5
3453 echo "${ECHO_T}$NM" >&6
3455 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3456 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3458 if test "$LN_S" = "ln -s"; then
3459 echo "$as_me:$LINENO: result: yes" >&5
3460 echo "${ECHO_T}yes" >&6
3462 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3463 echo "${ECHO_T}no, using $LN_S" >&6
3466 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3467 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3468 if test "${lt_cv_deplibs_check_method+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3472 lt_cv_file_magic_test_file
=
3473 lt_cv_deplibs_check_method
='unknown'
3474 # Need to set the preceding variable on all platforms that support
3475 # interlibrary dependencies.
3476 # 'none' -- dependencies not supported.
3477 # `unknown' -- same as none, but documents that we really don't know.
3478 # 'pass_all' -- all dependencies passed with no checks.
3479 # 'test_compile' -- check by making test program.
3480 # 'file_magic [regex]' -- check by looking for files in library path
3481 # which responds to the $file_magic_cmd with a given egrep regex.
3482 # If you have `file' or equivalent on your system and you're not sure
3483 # whether `pass_all' will *always* work, you probably want this one.
3487 lt_cv_deplibs_check_method
=pass_all
3491 lt_cv_deplibs_check_method
=pass_all
3495 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3496 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3497 lt_cv_file_magic_test_file
=/shlib
/libc.so
3500 cygwin
* | mingw
* |pw32
*)
3501 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3502 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3505 darwin
* | rhapsody
*)
3506 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3507 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3509 rhapsody
* | darwin1.012
)
3510 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3513 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3518 freebsd
* | kfreebsd
*-gnu)
3519 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3522 # Not sure whether the presence of OpenBSD here was a mistake.
3523 # Let's accept both of them until this is cleared up.
3524 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3525 lt_cv_file_magic_cmd
=/usr
/bin
/file
3526 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3530 lt_cv_deplibs_check_method
=pass_all
3535 lt_cv_deplibs_check_method
=pass_all
3541 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3542 lt_cv_file_magic_cmd
=/usr
/bin
/file
3543 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3546 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3547 lt_cv_file_magic_cmd
=/usr
/bin
/file
3548 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3556 # this will be overridden with pass_all, but let us keep it just in case
3557 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3561 *-32|
*"-32 ") libmagic
=32-bit;;
3562 *-n32|
*"-n32 ") libmagic
=N32
;;
3563 *-64|
*"-64 ") libmagic
=64-bit;;
3564 *) libmagic
=never-match
;;
3566 # this will be overridden with pass_all, but let us keep it just in case
3567 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3570 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3571 lt_cv_deplibs_check_method
=pass_all
3574 # This must be Linux ELF.
3577 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3578 lt_cv_deplibs_check_method
=pass_all
;;
3580 # glibc up to 2.1.1 does not perform some relocations on ARM
3581 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3583 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3586 netbsd
* | knetbsd
*-gnu)
3587 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3588 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3590 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3595 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3596 lt_cv_file_magic_cmd
=/usr
/bin
/file
3597 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3600 osf3
* | osf4
* | osf5
*)
3601 # this will be overridden with pass_all, but let us keep it just in case
3602 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3603 lt_cv_file_magic_test_file
=/shlib
/libc.so
3604 lt_cv_deplibs_check_method
=pass_all
3608 lt_cv_deplibs_check_method
=pass_all
3612 lt_cv_deplibs_check_method
=pass_all
3613 lt_cv_file_magic_test_file
=/lib
/libc.so
3616 sysv5uw
[78]* | sysv4
*uw2
*)
3617 lt_cv_deplibs_check_method
=pass_all
3620 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3621 case $host_vendor in
3623 lt_cv_deplibs_check_method
=pass_all
3626 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]'
3627 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3634 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3635 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3636 file_magic_cmd
=$lt_cv_file_magic_cmd
3637 deplibs_check_method
=$lt_cv_deplibs_check_method
3642 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3644 # Only perform the check for file, if the check method requires it
3645 case $deplibs_check_method in
3647 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3648 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3649 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3650 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3651 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3658 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3661 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3662 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3663 ac_dummy
="/usr/bin:$PATH"
3664 for ac_dir
in $ac_dummy; do
3665 test -z "$ac_dir" && ac_dir
=.
3666 if test -f $ac_dir/${ac_tool_prefix}file; then
3667 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3668 if test -n "$file_magic_test_file"; then
3669 case $deplibs_check_method in
3671 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3672 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3673 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3674 egrep "$file_magic_regex" > /dev
/null
; then
3679 *** Warning: the command libtool uses to detect shared libraries,
3680 *** $file_magic_cmd, produces output that libtool cannot recognize.
3681 *** The result is that libtool may fail to recognize shared libraries
3682 *** as such. This will affect the creation of libtool libraries that
3683 *** depend on shared libraries, but programs linked with such libtool
3684 *** libraries will work regardless of this problem. Nevertheless, you
3685 *** may want to report the problem to your system manager and/or to
3686 *** bug-libtool@gnu.org
3696 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3701 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3702 if test -n "$MAGIC_CMD"; then
3703 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3704 echo "${ECHO_T}$MAGIC_CMD" >&6
3706 echo "$as_me:$LINENO: result: no" >&5
3707 echo "${ECHO_T}no" >&6
3710 if test -z "$lt_cv_path_MAGIC_CMD"; then
3711 if test -n "$ac_tool_prefix"; then
3712 echo "$as_me:$LINENO: checking for file" >&5
3713 echo $ECHO_N "checking for file... $ECHO_C" >&6
3714 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3722 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3725 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3726 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3727 ac_dummy
="/usr/bin:$PATH"
3728 for ac_dir
in $ac_dummy; do
3729 test -z "$ac_dir" && ac_dir
=.
3730 if test -f $ac_dir/file; then
3731 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3732 if test -n "$file_magic_test_file"; then
3733 case $deplibs_check_method in
3735 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3736 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3737 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3738 egrep "$file_magic_regex" > /dev
/null
; then
3743 *** Warning: the command libtool uses to detect shared libraries,
3744 *** $file_magic_cmd, produces output that libtool cannot recognize.
3745 *** The result is that libtool may fail to recognize shared libraries
3746 *** as such. This will affect the creation of libtool libraries that
3747 *** depend on shared libraries, but programs linked with such libtool
3748 *** libraries will work regardless of this problem. Nevertheless, you
3749 *** may want to report the problem to your system manager and/or to
3750 *** bug-libtool@gnu.org
3760 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3765 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3766 if test -n "$MAGIC_CMD"; then
3767 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3768 echo "${ECHO_T}$MAGIC_CMD" >&6
3770 echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6
3783 if test -n "$ac_tool_prefix"; then
3784 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3785 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3786 echo "$as_me:$LINENO: checking for $ac_word" >&5
3787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3788 if test "${ac_cv_prog_RANLIB+set}" = set; then
3789 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 if test -n "$RANLIB"; then
3792 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3798 test -z "$as_dir" && as_dir
=.
3799 for ac_exec_ext
in '' $ac_executable_extensions; do
3800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3810 RANLIB
=$ac_cv_prog_RANLIB
3811 if test -n "$RANLIB"; then
3812 echo "$as_me:$LINENO: result: $RANLIB" >&5
3813 echo "${ECHO_T}$RANLIB" >&6
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3820 if test -z "$ac_cv_prog_RANLIB"; then
3821 ac_ct_RANLIB
=$RANLIB
3822 # Extract the first word of "ranlib", so it can be a program name with args.
3823 set dummy ranlib
; ac_word
=$2
3824 echo "$as_me:$LINENO: checking for $ac_word" >&5
3825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3826 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 if test -n "$ac_ct_RANLIB"; then
3830 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3836 test -z "$as_dir" && as_dir
=.
3837 for ac_exec_ext
in '' $ac_executable_extensions; do
3838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3849 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3850 if test -n "$ac_ct_RANLIB"; then
3851 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3852 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3854 echo "$as_me:$LINENO: result: no" >&5
3855 echo "${ECHO_T}no" >&6
3858 RANLIB
=$ac_ct_RANLIB
3860 RANLIB
="$ac_cv_prog_RANLIB"
3863 if test -n "$ac_tool_prefix"; then
3864 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3865 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3866 echo "$as_me:$LINENO: checking for $ac_word" >&5
3867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3868 if test "${ac_cv_prog_STRIP+set}" = set; then
3869 echo $ECHO_N "(cached) $ECHO_C" >&6
3871 if test -n "$STRIP"; then
3872 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3878 test -z "$as_dir" && as_dir
=.
3879 for ac_exec_ext
in '' $ac_executable_extensions; do
3880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3881 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 STRIP
=$ac_cv_prog_STRIP
3891 if test -n "$STRIP"; then
3892 echo "$as_me:$LINENO: result: $STRIP" >&5
3893 echo "${ECHO_T}$STRIP" >&6
3895 echo "$as_me:$LINENO: result: no" >&5
3896 echo "${ECHO_T}no" >&6
3900 if test -z "$ac_cv_prog_STRIP"; then
3902 # Extract the first word of "strip", so it can be a program name with args.
3903 set dummy strip
; ac_word
=$2
3904 echo "$as_me:$LINENO: checking for $ac_word" >&5
3905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3906 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3907 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 if test -n "$ac_ct_STRIP"; then
3910 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3916 test -z "$as_dir" && as_dir
=.
3917 for ac_exec_ext
in '' $ac_executable_extensions; do
3918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3919 ac_cv_prog_ac_ct_STRIP
="strip"
3920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3929 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3930 if test -n "$ac_ct_STRIP"; then
3931 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3932 echo "${ECHO_T}$ac_ct_STRIP" >&6
3934 echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3940 STRIP
="$ac_cv_prog_STRIP"
3944 # Check for any special flags to pass to ltconfig.
3945 libtool_flags
="--cache-file=$cache_file"
3946 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3947 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3948 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3949 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3950 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3953 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3954 if test "${enable_libtool_lock+set}" = set; then
3955 enableval
="$enable_libtool_lock"
3958 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3959 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3962 # Check whether --with-pic or --without-pic was given.
3963 if test "${with_pic+set}" = set; then
3969 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3970 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3972 # Some flags need to be propagated to the compiler or linker for good
3976 # Find out which ABI we are using.
3977 echo '#line 3977 "configure"' > conftest.
$ac_ext
3978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3979 (eval $ac_compile) 2>&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; then
3983 if test "$lt_cv_prog_gnu_ld" = yes; then
3984 case `/usr/bin/file conftest.$ac_objext` in
3986 LD
="${LD-ld} -melf32bsmip"
3989 LD
="${LD-ld} -melf32bmipn32"
3992 LD
="${LD-ld} -melf64bmip"
3996 case `/usr/bin/file conftest.$ac_objext` in
4013 # Find out which ABI we are using.
4014 echo 'int i;' > conftest.
$ac_ext
4015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4016 (eval $ac_compile) 2>&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); }; then
4020 case "`/usr/bin/file conftest.o`" in
4033 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4034 SAVE_CFLAGS
="$CFLAGS"
4035 CFLAGS
="$CFLAGS -belf"
4036 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4037 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4038 if test "${lt_cv_cc_needs_belf+set}" = set; then
4039 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 ac_cpp
='$CPP $CPPFLAGS'
4045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4049 cat >conftest.
$ac_ext <<_ACEOF
4052 cat confdefs.h
>>conftest.
$ac_ext
4053 cat >>conftest.
$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4064 rm -f conftest.
$ac_objext conftest
$ac_exeext
4065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4066 (eval $ac_link) 2>conftest.er1
4068 grep -v '^ *+' conftest.er1
>conftest.err
4070 cat conftest.err
>&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } &&
4073 { ac_try
='test -z "$ac_c_werror_flag"
4074 || test ! -s conftest.err'
4075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }; } &&
4080 { ac_try
='test -s conftest$ac_exeext'
4081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); }; }; then
4086 lt_cv_cc_needs_belf
=yes
4088 echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.
$ac_ext >&5
4091 lt_cv_cc_needs_belf
=no
4093 rm -f conftest.err conftest.
$ac_objext \
4094 conftest
$ac_exeext conftest.
$ac_ext
4096 ac_cpp
='$CPP $CPPFLAGS'
4097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4102 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4103 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4104 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4105 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4106 CFLAGS
="$SAVE_CFLAGS"
4114 # Save cache, so that ltconfig can load it
4115 cat >confcache
<<\_ACEOF
4116 # This file is a shell script that caches the results of configure
4117 # tests run on this system so they can be shared between configure
4118 # scripts and configure runs, see configure's option --config-cache.
4119 # It is not useful on other systems. If it contains results you don't
4120 # want to keep, you may remove or edit it.
4122 # config.status only pays attention to the cache file if you give it
4123 # the --recheck option to rerun configure.
4125 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4126 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4131 # The following way of writing the cache mishandles newlines in values,
4132 # but we know of no workaround that is simple, portable, and efficient.
4133 # So, don't put newlines in cache variables' values.
4134 # Ultrix sh set writes to stderr and can't be redirected directly,
4135 # and sets the high bit in the cache file unless we assign to the vars.
4138 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4140 # `set' does not quote correctly, so add quotes (double-quote
4141 # substitution turns \\\\ into \\, and sed turns \\ into \).
4144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4147 # `set' quotes correctly as required by POSIX, so do not add quotes.
4149 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4156 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4158 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4160 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4161 if test -w $cache_file; then
4162 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4163 cat confcache
>$cache_file
4165 echo "not updating unwritable cache $cache_file"
4170 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4171 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4172 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4173 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4174 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4175 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4176 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4177 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4178 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4179 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4180 echo "$as_me: error: libtool configure failed" >&2;}
4181 { (exit 1); exit 1; }; }
4183 # Reload cache, that may have been modified by ltconfig
4184 if test -r "$cache_file"; then
4185 # Some versions of bash will fail to source /dev/null (special
4186 # files actually), so we avoid doing that.
4187 if test -f "$cache_file"; then
4188 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4189 echo "$as_me: loading cache $cache_file" >&6;}
4191 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4192 *) . .
/$cache_file;;
4196 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4197 echo "$as_me: creating cache $cache_file" >&6;}
4202 # This can be used to rebuild libtool when needed
4203 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4205 # Always use our own libtool.
4206 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4208 # Redirect the config.log output again, so that the ltconfig log is not
4209 # clobbered by the next message.
4210 exec 5>>.
/config.log
4218 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4219 if test "${enable_64_bit_bfd+set}" = set; then
4220 enableval
="$enable_64_bit_bfd"
4221 case "${enableval}" in
4224 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4225 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4226 { (exit 1); exit 1; }; } ;;
4230 fi; # Check whether --enable-targets or --disable-targets was given.
4231 if test "${enable_targets+set}" = set; then
4232 enableval
="$enable_targets"
4233 case "${enableval}" in
4234 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4235 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4236 { (exit 1); exit 1; }; }
4238 no
) enable_targets
= ;;
4239 *) enable_targets
=$enableval ;;
4241 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4242 if test "${enable_commonbfdlib+set}" = set; then
4243 enableval
="$enable_commonbfdlib"
4244 case "${enableval}" in
4245 yes) commonbfdlib
=true
;;
4246 no
) commonbfdlib
=false
;;
4247 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4248 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4249 { (exit 1); exit 1; }; } ;;
4252 # Check whether --with-mmap or --without-mmap was given.
4253 if test "${with_mmap+set}" = set; then
4254 withval
="$with_mmap"
4255 case "${withval}" in
4256 yes) want_mmap
=true
;;
4257 no
) want_mmap
=false
;;
4258 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4259 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
4260 { (exit 1); exit 1; }; } ;;
4265 build_warnings
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4266 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4267 if test "${enable_build_warnings+set}" = set; then
4268 enableval
="$enable_build_warnings"
4269 case "${enableval}" in
4271 no
) build_warnings
="-w";;
4272 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4273 build_warnings
="${build_warnings} ${t}";;
4274 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4275 build_warnings
="${t} ${build_warnings}";;
4276 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4278 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
4279 echo "Setting warning flags = $build_warnings" 6>&1
4282 if test "x${build_warnings}" != x
&& test "x$GCC" = xyes
; then
4283 WARN_CFLAGS
="${build_warnings}"
4287 ac_config_headers
="$ac_config_headers config.h:config.in"
4290 if test -z "$target" ; then
4291 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4292 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4293 { (exit 1); exit 1; }; }
4296 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4297 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4298 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4299 if test "${enable_maintainer_mode+set}" = set; then
4300 enableval
="$enable_maintainer_mode"
4301 USE_MAINTAINER_MODE
=$enableval
4303 USE_MAINTAINER_MODE
=no
4305 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4306 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4309 if test $USE_MAINTAINER_MODE = yes; then
4310 MAINTAINER_MODE_TRUE
=
4311 MAINTAINER_MODE_FALSE
='#'
4313 MAINTAINER_MODE_TRUE
='#'
4314 MAINTAINER_MODE_FALSE
=
4317 MAINT
=$MAINTAINER_MODE_TRUE
4320 case ${build_alias} in
4321 "") build_noncanonical
=${build} ;;
4322 *) build_noncanonical
=${build_alias} ;;
4325 case ${host_alias} in
4326 "") host_noncanonical
=${build_noncanonical} ;;
4327 *) host_noncanonical
=${host_alias} ;;
4330 case ${target_alias} in
4331 "") target_noncanonical
=${host_noncanonical} ;;
4332 *) target_noncanonical
=${target_alias} ;;
4335 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4336 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4337 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4338 if test "${enable_install_libbfd+set}" = set; then
4339 enableval
="$enable_install_libbfd"
4340 install_libbfd_p
=$enableval
4342 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
4343 install_libbfd_p
=yes
4348 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4349 echo "${ECHO_T}$install_libbfd_p" >&6
4352 if test $install_libbfd_p = yes; then
4353 INSTALL_LIBBFD_TRUE
=
4354 INSTALL_LIBBFD_FALSE
='#'
4356 INSTALL_LIBBFD_TRUE
='#'
4357 INSTALL_LIBBFD_FALSE
=
4360 # Need _noncanonical variables for this.
4365 # libbfd.a is a host library containing target dependent code
4366 bfdlibdir
='$(libdir)'
4367 bfdincludedir
='$(includedir)'
4368 if test "${host}" != "${target}"; then
4369 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4370 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4380 bfd_default_target_size
=32
4385 ac_cpp
='$CPP $CPPFLAGS'
4386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4389 if test -n "$ac_tool_prefix"; then
4390 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4391 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4392 echo "$as_me:$LINENO: checking for $ac_word" >&5
4393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4394 if test "${ac_cv_prog_CC+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 if test -n "$CC"; then
4398 ac_cv_prog_CC
="$CC" # Let the user override the test.
4400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4404 test -z "$as_dir" && as_dir
=.
4405 for ac_exec_ext
in '' $ac_executable_extensions; do
4406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4407 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4417 if test -n "$CC"; then
4418 echo "$as_me:$LINENO: result: $CC" >&5
4419 echo "${ECHO_T}$CC" >&6
4421 echo "$as_me:$LINENO: result: no" >&5
4422 echo "${ECHO_T}no" >&6
4426 if test -z "$ac_cv_prog_CC"; then
4428 # Extract the first word of "gcc", so it can be a program name with args.
4429 set dummy gcc
; ac_word
=$2
4430 echo "$as_me:$LINENO: checking for $ac_word" >&5
4431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4432 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 if test -n "$ac_ct_CC"; then
4436 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4442 test -z "$as_dir" && as_dir
=.
4443 for ac_exec_ext
in '' $ac_executable_extensions; do
4444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4445 ac_cv_prog_ac_ct_CC
="gcc"
4446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4455 if test -n "$ac_ct_CC"; then
4456 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4457 echo "${ECHO_T}$ac_ct_CC" >&6
4459 echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6
4468 if test -z "$CC"; then
4469 if test -n "$ac_tool_prefix"; then
4470 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4471 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4472 echo "$as_me:$LINENO: checking for $ac_word" >&5
4473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4474 if test "${ac_cv_prog_CC+set}" = set; then
4475 echo $ECHO_N "(cached) $ECHO_C" >&6
4477 if test -n "$CC"; then
4478 ac_cv_prog_CC
="$CC" # Let the user override the test.
4480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir
=.
4485 for ac_exec_ext
in '' $ac_executable_extensions; do
4486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 if test -n "$CC"; then
4498 echo "$as_me:$LINENO: result: $CC" >&5
4499 echo "${ECHO_T}$CC" >&6
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4506 if test -z "$ac_cv_prog_CC"; then
4508 # Extract the first word of "cc", so it can be a program name with args.
4509 set dummy cc
; ac_word
=$2
4510 echo "$as_me:$LINENO: checking for $ac_word" >&5
4511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4512 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4515 if test -n "$ac_ct_CC"; then
4516 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4522 test -z "$as_dir" && as_dir
=.
4523 for ac_exec_ext
in '' $ac_executable_extensions; do
4524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4525 ac_cv_prog_ac_ct_CC
="cc"
4526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4534 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4535 if test -n "$ac_ct_CC"; then
4536 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4537 echo "${ECHO_T}$ac_ct_CC" >&6
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4549 if test -z "$CC"; then
4550 # Extract the first word of "cc", so it can be a program name with args.
4551 set dummy cc
; ac_word
=$2
4552 echo "$as_me:$LINENO: checking for $ac_word" >&5
4553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4554 if test "${ac_cv_prog_CC+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 if test -n "$CC"; then
4558 ac_cv_prog_CC
="$CC" # Let the user override the test.
4561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir
=.
4566 for ac_exec_ext
in '' $ac_executable_extensions; do
4567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4568 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4569 ac_prog_rejected
=yes
4573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 if test $ac_prog_rejected = yes; then
4580 # We found a bogon in the path, so make sure we never use it.
4581 set dummy
$ac_cv_prog_CC
4583 if test $# != 0; then
4584 # We chose a different compiler from the bogus one.
4585 # However, it has the same basename, so the bogon will be chosen
4586 # first if we set CC to just the basename; use the full file name.
4588 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4594 if test -n "$CC"; then
4595 echo "$as_me:$LINENO: result: $CC" >&5
4596 echo "${ECHO_T}$CC" >&6
4598 echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6
4603 if test -z "$CC"; then
4604 if test -n "$ac_tool_prefix"; then
4607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4608 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4609 echo "$as_me:$LINENO: checking for $ac_word" >&5
4610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4611 if test "${ac_cv_prog_CC+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 if test -n "$CC"; then
4615 ac_cv_prog_CC
="$CC" # Let the user override the test.
4617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir
=.
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 if test -n "$CC"; then
4635 echo "$as_me:$LINENO: result: $CC" >&5
4636 echo "${ECHO_T}$CC" >&6
4638 echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6
4642 test -n "$CC" && break
4645 if test -z "$CC"; then
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy
$ac_prog; ac_word
=$2
4651 echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 if test -n "$ac_ct_CC"; then
4657 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_CC
="$ac_prog"
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4676 if test -n "$ac_ct_CC"; then
4677 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4678 echo "${ECHO_T}$ac_ct_CC" >&6
4680 echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6
4684 test -n "$ac_ct_CC" && break
4693 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4694 See \`config.log' for more details." >&5
4695 echo "$as_me: error: no acceptable C compiler found in \$PATH
4696 See \`config.log' for more details." >&2;}
4697 { (exit 1); exit 1; }; }
4699 # Provide some information about the compiler.
4700 echo "$as_me:$LINENO:" \
4701 "checking for C compiler version" >&5
4702 ac_compiler
=`set X $ac_compile; echo $2`
4703 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4704 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }
4708 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4709 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }
4713 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4714 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }
4719 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4720 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4721 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 cat >conftest.
$ac_ext <<_ACEOF
4727 cat confdefs.h
>>conftest.
$ac_ext
4728 cat >>conftest.
$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4742 rm -f conftest.
$ac_objext
4743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744 (eval $ac_compile) 2>conftest.er1
4746 grep -v '^ *+' conftest.er1
>conftest.err
4748 cat conftest.err
>&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } &&
4751 { ac_try
='test -z "$ac_c_werror_flag"
4752 || test ! -s conftest.err'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; } &&
4758 { ac_try
='test -s conftest.$ac_objext'
4759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); }; }; then
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.
$ac_ext >&5
4771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4772 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4775 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4776 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4777 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4778 ac_test_CFLAGS
=${CFLAGS+set}
4779 ac_save_CFLAGS
=$CFLAGS
4781 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4782 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4783 if test "${ac_cv_prog_cc_g+set}" = set; then
4784 echo $ECHO_N "(cached) $ECHO_C" >&6
4786 cat >conftest.
$ac_ext <<_ACEOF
4789 cat confdefs.h
>>conftest.
$ac_ext
4790 cat >>conftest.
$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4801 rm -f conftest.
$ac_objext
4802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4803 (eval $ac_compile) 2>conftest.er1
4805 grep -v '^ *+' conftest.er1
>conftest.err
4807 cat conftest.err
>&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } &&
4810 { ac_try
='test -z "$ac_c_werror_flag"
4811 || test ! -s conftest.err'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; } &&
4817 { ac_try
='test -s conftest.$ac_objext'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; }; then
4825 echo "$as_me: failed program was:" >&5
4826 sed 's/^/| /' conftest.
$ac_ext >&5
4830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4832 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4833 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4834 if test "$ac_test_CFLAGS" = set; then
4835 CFLAGS
=$ac_save_CFLAGS
4836 elif test $ac_cv_prog_cc_g = yes; then
4837 if test "$GCC" = yes; then
4843 if test "$GCC" = yes; then
4849 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4850 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4851 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 ac_cv_prog_cc_stdc
=no
4856 cat >conftest.
$ac_ext <<_ACEOF
4859 cat confdefs.h
>>conftest.
$ac_ext
4860 cat >>conftest.
$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4864 #include <sys/types.h>
4865 #include <sys/stat.h>
4866 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4867 struct buf { int x; };
4868 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4869 static char *e (p, i)
4875 static char *f (char * (*g) (char **, int), char **p, ...)
4880 s = g (p, va_arg (v,int));
4885 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4886 function prototypes and stuff, but not '\xHH' hex character constants.
4887 These don't provoke an error unfortunately, instead are silently treated
4888 as 'x'. The following induces an error, until -std1 is added to get
4889 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4890 array size at least. It's necessary to write '\x00'==0 to get something
4891 that's true only with -std1. */
4892 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4894 int test (int i, double x);
4895 struct s1 {int (*f) (int a);};
4896 struct s2 {int (*f) (double a);};
4897 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4903 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4908 # Don't try gcc -ansi; that turns off useful extensions and
4909 # breaks some systems' header files.
4910 # AIX -qlanglvl=ansi
4911 # Ultrix and OSF/1 -std1
4912 # HP-UX 10.20 and later -Ae
4913 # HP-UX older versions -Aa -D_HPUX_SOURCE
4914 # SVR4 -Xc -D__EXTENSIONS__
4915 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4917 CC
="$ac_save_CC $ac_arg"
4918 rm -f conftest.
$ac_objext
4919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4920 (eval $ac_compile) 2>conftest.er1
4922 grep -v '^ *+' conftest.er1
>conftest.err
4924 cat conftest.err
>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } &&
4927 { ac_try
='test -z "$ac_c_werror_flag"
4928 || test ! -s conftest.err'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; } &&
4934 { ac_try
='test -s conftest.$ac_objext'
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; }; then
4940 ac_cv_prog_cc_stdc
=$ac_arg
4943 echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.
$ac_ext >&5
4947 rm -f conftest.err conftest.
$ac_objext
4949 rm -f conftest.
$ac_ext conftest.
$ac_objext
4954 case "x$ac_cv_prog_cc_stdc" in
4956 echo "$as_me:$LINENO: result: none needed" >&5
4957 echo "${ECHO_T}none needed" >&6 ;;
4959 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4960 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4961 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4964 # Some people use a C++ compiler to compile C. Since we use `exit',
4965 # in C++ we need to declare it. In case someone uses the same compiler
4966 # for both compiling C and C++ we need to have the C++ compiler decide
4967 # the declaration of exit, since it's the most demanding environment.
4968 cat >conftest.
$ac_ext <<_ACEOF
4973 rm -f conftest.
$ac_objext
4974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4975 (eval $ac_compile) 2>conftest.er1
4977 grep -v '^ *+' conftest.er1
>conftest.err
4979 cat conftest.err
>&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } &&
4982 { ac_try
='test -z "$ac_c_werror_flag"
4983 || test ! -s conftest.err'
4984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; } &&
4989 { ac_try
='test -s conftest.$ac_objext'
4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; }; then
4995 for ac_declaration
in \
4997 'extern "C" void std::exit (int) throw (); using std::exit;' \
4998 'extern "C" void std::exit (int); using std::exit;' \
4999 'extern "C" void exit (int) throw ();' \
5000 'extern "C" void exit (int);' \
5003 cat >conftest.
$ac_ext <<_ACEOF
5006 cat confdefs.h
>>conftest.
$ac_ext
5007 cat >>conftest.
$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5019 rm -f conftest.
$ac_objext
5020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5021 (eval $ac_compile) 2>conftest.er1
5023 grep -v '^ *+' conftest.er1
>conftest.err
5025 cat conftest.err
>&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); } &&
5028 { ac_try
='test -z "$ac_c_werror_flag"
5029 || test ! -s conftest.err'
5030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); }; } &&
5035 { ac_try
='test -s conftest.$ac_objext'
5036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5043 echo "$as_me: failed program was:" >&5
5044 sed 's/^/| /' conftest.
$ac_ext >&5
5048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5049 cat >conftest.
$ac_ext <<_ACEOF
5052 cat confdefs.h
>>conftest.
$ac_ext
5053 cat >>conftest.
$ac_ext <<_ACEOF
5054 /* end confdefs.h. */
5064 rm -f conftest.
$ac_objext
5065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5066 (eval $ac_compile) 2>conftest.er1
5068 grep -v '^ *+' conftest.er1
>conftest.err
5070 cat conftest.err
>&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); } &&
5073 { ac_try
='test -z "$ac_c_werror_flag"
5074 || test ! -s conftest.err'
5075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); }; } &&
5080 { ac_try
='test -s conftest.$ac_objext'
5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); }; }; then
5088 echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.
$ac_ext >&5
5092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5095 if test -n "$ac_declaration"; then
5096 echo '#ifdef __cplusplus' >>confdefs.h
5097 echo $ac_declaration >>confdefs.h
5098 echo '#endif' >>confdefs.h
5102 echo "$as_me: failed program was:" >&5
5103 sed 's/^/| /' conftest.
$ac_ext >&5
5106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5108 ac_cpp
='$CPP $CPPFLAGS'
5109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5114 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro"
5115 if test -n "$ac_tool_prefix"; then
5116 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5117 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5118 echo "$as_me:$LINENO: checking for $ac_word" >&5
5119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5120 if test "${ac_cv_prog_RANLIB+set}" = set; then
5121 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 if test -n "$RANLIB"; then
5124 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5130 test -z "$as_dir" && as_dir
=.
5131 for ac_exec_ext
in '' $ac_executable_extensions; do
5132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5133 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5142 RANLIB
=$ac_cv_prog_RANLIB
5143 if test -n "$RANLIB"; then
5144 echo "$as_me:$LINENO: result: $RANLIB" >&5
5145 echo "${ECHO_T}$RANLIB" >&6
5147 echo "$as_me:$LINENO: result: no" >&5
5148 echo "${ECHO_T}no" >&6
5152 if test -z "$ac_cv_prog_RANLIB"; then
5153 ac_ct_RANLIB
=$RANLIB
5154 # Extract the first word of "ranlib", so it can be a program name with args.
5155 set dummy ranlib
; ac_word
=$2
5156 echo "$as_me:$LINENO: checking for $ac_word" >&5
5157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5158 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5159 echo $ECHO_N "(cached) $ECHO_C" >&6
5161 if test -n "$ac_ct_RANLIB"; then
5162 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5168 test -z "$as_dir" && as_dir
=.
5169 for ac_exec_ext
in '' $ac_executable_extensions; do
5170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5181 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5182 if test -n "$ac_ct_RANLIB"; then
5183 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5184 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5186 echo "$as_me:$LINENO: result: no" >&5
5187 echo "${ECHO_T}no" >&6
5190 RANLIB
=$ac_ct_RANLIB
5192 RANLIB
="$ac_cv_prog_RANLIB"
5196 ac_cpp
='$CPP $CPPFLAGS'
5197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5200 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5201 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5202 # On Suns, sometimes $CPP names a directory.
5203 if test -n "$CPP" && test -d "$CPP"; then
5206 if test -z "$CPP"; then
5207 if test "${ac_cv_prog_CPP+set}" = set; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5210 # Double quotes because CPP needs to be expanded
5211 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5214 for ac_c_preproc_warn_flag
in '' yes
5216 # Use a header file that comes with gcc, so configuring glibc
5217 # with a fresh cross-compiler works.
5218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5219 # <limits.h> exists even on freestanding compilers.
5220 # On the NeXT, cc -E runs the code through the compiler's parser,
5221 # not just through cpp. "Syntax error" is here to catch this case.
5222 cat >conftest.
$ac_ext <<_ACEOF
5225 cat confdefs.h
>>conftest.
$ac_ext
5226 cat >>conftest.
$ac_ext <<_ACEOF
5227 /* end confdefs.h. */
5229 # include <limits.h>
5231 # include <assert.h>
5235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5236 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5238 grep -v '^ *+' conftest.er1
>conftest.err
5240 cat conftest.err
>&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } >/dev
/null
; then
5243 if test -s conftest.err
; then
5244 ac_cpp_err
=$ac_c_preproc_warn_flag
5245 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5252 if test -z "$ac_cpp_err"; then
5255 echo "$as_me: failed program was:" >&5
5256 sed 's/^/| /' conftest.
$ac_ext >&5
5258 # Broken: fails on valid input.
5261 rm -f conftest.err conftest.
$ac_ext
5263 # OK, works on sane cases. Now check whether non-existent headers
5264 # can be detected and how.
5265 cat >conftest.
$ac_ext <<_ACEOF
5268 cat confdefs.h
>>conftest.
$ac_ext
5269 cat >>conftest.
$ac_ext <<_ACEOF
5270 /* end confdefs.h. */
5271 #include <ac_nonexistent.h>
5273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5274 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5276 grep -v '^ *+' conftest.er1
>conftest.err
5278 cat conftest.err
>&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } >/dev
/null
; then
5281 if test -s conftest.err
; then
5282 ac_cpp_err
=$ac_c_preproc_warn_flag
5283 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5290 if test -z "$ac_cpp_err"; then
5291 # Broken: success on invalid input.
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.
$ac_ext >&5
5297 # Passes both tests.
5301 rm -f conftest.err conftest.
$ac_ext
5304 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5305 rm -f conftest.err conftest.
$ac_ext
5306 if $ac_preproc_ok; then
5318 echo "$as_me:$LINENO: result: $CPP" >&5
5319 echo "${ECHO_T}$CPP" >&6
5321 for ac_c_preproc_warn_flag
in '' yes
5323 # Use a header file that comes with gcc, so configuring glibc
5324 # with a fresh cross-compiler works.
5325 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5326 # <limits.h> exists even on freestanding compilers.
5327 # On the NeXT, cc -E runs the code through the compiler's parser,
5328 # not just through cpp. "Syntax error" is here to catch this case.
5329 cat >conftest.
$ac_ext <<_ACEOF
5332 cat confdefs.h
>>conftest.
$ac_ext
5333 cat >>conftest.
$ac_ext <<_ACEOF
5334 /* end confdefs.h. */
5336 # include <limits.h>
5338 # include <assert.h>
5342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5343 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5345 grep -v '^ *+' conftest.er1
>conftest.err
5347 cat conftest.err
>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } >/dev
/null
; then
5350 if test -s conftest.err
; then
5351 ac_cpp_err
=$ac_c_preproc_warn_flag
5352 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5359 if test -z "$ac_cpp_err"; then
5362 echo "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.
$ac_ext >&5
5365 # Broken: fails on valid input.
5368 rm -f conftest.err conftest.
$ac_ext
5370 # OK, works on sane cases. Now check whether non-existent headers
5371 # can be detected and how.
5372 cat >conftest.
$ac_ext <<_ACEOF
5375 cat confdefs.h
>>conftest.
$ac_ext
5376 cat >>conftest.
$ac_ext <<_ACEOF
5377 /* end confdefs.h. */
5378 #include <ac_nonexistent.h>
5380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5381 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5383 grep -v '^ *+' conftest.er1
>conftest.err
5385 cat conftest.err
>&5
5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); } >/dev
/null
; then
5388 if test -s conftest.err
; then
5389 ac_cpp_err
=$ac_c_preproc_warn_flag
5390 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5397 if test -z "$ac_cpp_err"; then
5398 # Broken: success on invalid input.
5401 echo "$as_me: failed program was:" >&5
5402 sed 's/^/| /' conftest.
$ac_ext >&5
5404 # Passes both tests.
5408 rm -f conftest.err conftest.
$ac_ext
5411 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5412 rm -f conftest.err conftest.
$ac_ext
5413 if $ac_preproc_ok; then
5416 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5417 See \`config.log' for more details." >&5
5418 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5419 See \`config.log' for more details." >&2;}
5420 { (exit 1); exit 1; }; }
5424 ac_cpp
='$CPP $CPPFLAGS'
5425 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5426 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5427 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5430 echo "$as_me:$LINENO: checking for egrep" >&5
5431 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5432 if test "${ac_cv_prog_egrep+set}" = set; then
5433 echo $ECHO_N "(cached) $ECHO_C" >&6
5435 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5436 then ac_cv_prog_egrep
='grep -E'
5437 else ac_cv_prog_egrep
='egrep'
5440 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5441 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5442 EGREP
=$ac_cv_prog_egrep
5445 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5446 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5447 if test "${ac_cv_header_stdc+set}" = set; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5450 cat >conftest.
$ac_ext <<_ACEOF
5453 cat confdefs.h
>>conftest.
$ac_ext
5454 cat >>conftest.
$ac_ext <<_ACEOF
5455 /* end confdefs.h. */
5469 rm -f conftest.
$ac_objext
5470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5471 (eval $ac_compile) 2>conftest.er1
5473 grep -v '^ *+' conftest.er1
>conftest.err
5475 cat conftest.err
>&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); } &&
5478 { ac_try
='test -z "$ac_c_werror_flag"
5479 || test ! -s conftest.err'
5480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); }; } &&
5485 { ac_try
='test -s conftest.$ac_objext'
5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; }; then
5491 ac_cv_header_stdc
=yes
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.
$ac_ext >&5
5496 ac_cv_header_stdc
=no
5498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5500 if test $ac_cv_header_stdc = yes; then
5501 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5502 cat >conftest.
$ac_ext <<_ACEOF
5505 cat confdefs.h
>>conftest.
$ac_ext
5506 cat >>conftest.
$ac_ext <<_ACEOF
5507 /* end confdefs.h. */
5511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5512 $EGREP "memchr" >/dev
/null
2>&1; then
5515 ac_cv_header_stdc
=no
5521 if test $ac_cv_header_stdc = yes; then
5522 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5523 cat >conftest.
$ac_ext <<_ACEOF
5526 cat confdefs.h
>>conftest.
$ac_ext
5527 cat >>conftest.
$ac_ext <<_ACEOF
5528 /* end confdefs.h. */
5532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5533 $EGREP "free" >/dev
/null
2>&1; then
5536 ac_cv_header_stdc
=no
5542 if test $ac_cv_header_stdc = yes; then
5543 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5544 if test "$cross_compiling" = yes; then
5547 cat >conftest.
$ac_ext <<_ACEOF
5550 cat confdefs.h
>>conftest.
$ac_ext
5551 cat >>conftest.
$ac_ext <<_ACEOF
5552 /* end confdefs.h. */
5554 #if ((' ' & 0x0FF) == 0x020)
5555 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5556 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5558 # define ISLOWER(c) \
5559 (('a' <= (c) && (c) <= 'i') \
5560 || ('j' <= (c) && (c) <= 'r') \
5561 || ('s' <= (c) && (c) <= 'z'))
5562 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5565 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5570 for (i = 0; i < 256; i++)
5571 if (XOR (islower (i), ISLOWER (i))
5572 || toupper (i) != TOUPPER (i))
5577 rm -f conftest
$ac_exeext
5578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5579 (eval $ac_link) 2>&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); }; }; then
5590 echo "$as_me: program exited with status $ac_status" >&5
5591 echo "$as_me: failed program was:" >&5
5592 sed 's/^/| /' conftest.
$ac_ext >&5
5595 ac_cv_header_stdc
=no
5597 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5601 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5602 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5603 if test $ac_cv_header_stdc = yes; then
5605 cat >>confdefs.h
<<\_ACEOF
5606 #define STDC_HEADERS 1
5611 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5612 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5613 if test "${ac_cv_c_const+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 cat >conftest.
$ac_ext <<_ACEOF
5619 cat confdefs.h
>>conftest.
$ac_ext
5620 cat >>conftest.
$ac_ext <<_ACEOF
5621 /* end confdefs.h. */
5626 /* FIXME: Include the comments suggested by Paul. */
5628 /* Ultrix mips cc rejects this. */
5629 typedef int charset[2];
5631 /* SunOS 4.1.1 cc rejects this. */
5632 char const *const *ccp;
5634 /* NEC SVR4.0.2 mips cc rejects this. */
5635 struct point {int x, y;};
5636 static struct point const zero = {0,0};
5637 /* AIX XL C 1.02.0.0 rejects this.
5638 It does not let you subtract one const X* pointer from another in
5639 an arm of an if-expression whose if-part is not a constant
5641 const char *g = "string";
5642 ccp = &g + (g ? g-g : 0);
5643 /* HPUX 7.0 cc rejects these. */
5646 ccp = (char const *const *) p;
5647 { /* SCO 3.2v4 cc rejects this. */
5649 char const *s = 0 ? (char *) 0 : (char const *) 0;
5653 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5655 const int *foo = &x[0];
5658 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5659 typedef const int *iptr;
5663 { /* AIX XL C 1.02.0.0 rejects this saying
5664 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5665 struct s { int j; const int *ap[3]; };
5666 struct s *b; b->j = 5;
5668 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5677 rm -f conftest.
$ac_objext
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>conftest.er1
5681 grep -v '^ *+' conftest.er1
>conftest.err
5683 cat conftest.err
>&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); } &&
5686 { ac_try
='test -z "$ac_c_werror_flag"
5687 || test ! -s conftest.err'
5688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); }; } &&
5693 { ac_try
='test -s conftest.$ac_objext'
5694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); }; }; then
5701 echo "$as_me: failed program was:" >&5
5702 sed 's/^/| /' conftest.
$ac_ext >&5
5706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5708 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5709 echo "${ECHO_T}$ac_cv_c_const" >&6
5710 if test $ac_cv_c_const = no
; then
5712 cat >>confdefs.h
<<\_ACEOF
5718 echo "$as_me:$LINENO: checking for inline" >&5
5719 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5720 if test "${ac_cv_c_inline+set}" = set; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 for ac_kw
in inline __inline__ __inline
; do
5725 cat >conftest.
$ac_ext <<_ACEOF
5728 cat confdefs.h
>>conftest.
$ac_ext
5729 cat >>conftest.
$ac_ext <<_ACEOF
5730 /* end confdefs.h. */
5733 static $ac_kw foo_t static_foo () {return 0; }
5734 $ac_kw foo_t foo () {return 0; }
5738 rm -f conftest.
$ac_objext
5739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5740 (eval $ac_compile) 2>conftest.er1
5742 grep -v '^ *+' conftest.er1
>conftest.err
5744 cat conftest.err
>&5
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); } &&
5747 { ac_try
='test -z "$ac_c_werror_flag"
5748 || test ! -s conftest.err'
5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; } &&
5754 { ac_try
='test -s conftest.$ac_objext'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; }; then
5760 ac_cv_c_inline
=$ac_kw; break
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.
$ac_ext >&5
5766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5770 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5771 echo "${ECHO_T}$ac_cv_c_inline" >&6
5774 case $ac_cv_c_inline in
5777 case $ac_cv_c_inline in
5779 *) ac_val
=$ac_cv_c_inline;;
5781 cat >>confdefs.h
<<_ACEOF
5783 #define inline $ac_val
5789 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5799 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5800 inttypes.h stdint.h unistd.h
5802 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5803 echo "$as_me:$LINENO: checking for $ac_header" >&5
5804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 cat >conftest.
$ac_ext <<_ACEOF
5811 cat confdefs.h
>>conftest.
$ac_ext
5812 cat >>conftest.
$ac_ext <<_ACEOF
5813 /* end confdefs.h. */
5814 $ac_includes_default
5816 #include <$ac_header>
5818 rm -f conftest.
$ac_objext
5819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5820 (eval $ac_compile) 2>conftest.er1
5822 grep -v '^ *+' conftest.er1
>conftest.err
5824 cat conftest.err
>&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); } &&
5827 { ac_try
='test -z "$ac_c_werror_flag"
5828 || test ! -s conftest.err'
5829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); }; } &&
5834 { ac_try
='test -s conftest.$ac_objext'
5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); }; }; then
5840 eval "$as_ac_Header=yes"
5842 echo "$as_me: failed program was:" >&5
5843 sed 's/^/| /' conftest.
$ac_ext >&5
5845 eval "$as_ac_Header=no"
5847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5852 cat >>confdefs.h
<<_ACEOF
5853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5861 echo "$as_me:$LINENO: checking for off_t" >&5
5862 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5863 if test "${ac_cv_type_off_t+set}" = set; then
5864 echo $ECHO_N "(cached) $ECHO_C" >&6
5866 cat >conftest.
$ac_ext <<_ACEOF
5869 cat confdefs.h
>>conftest.
$ac_ext
5870 cat >>conftest.
$ac_ext <<_ACEOF
5871 /* end confdefs.h. */
5872 $ac_includes_default
5884 rm -f conftest.
$ac_objext
5885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5886 (eval $ac_compile) 2>conftest.er1
5888 grep -v '^ *+' conftest.er1
>conftest.err
5890 cat conftest.err
>&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } &&
5893 { ac_try
='test -z "$ac_c_werror_flag"
5894 || test ! -s conftest.err'
5895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); }; } &&
5900 { ac_try
='test -s conftest.$ac_objext'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; }; then
5906 ac_cv_type_off_t
=yes
5908 echo "$as_me: failed program was:" >&5
5909 sed 's/^/| /' conftest.
$ac_ext >&5
5913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5915 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5916 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5917 if test $ac_cv_type_off_t = yes; then
5921 cat >>confdefs.h
<<_ACEOF
5927 echo "$as_me:$LINENO: checking for size_t" >&5
5928 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5929 if test "${ac_cv_type_size_t+set}" = set; then
5930 echo $ECHO_N "(cached) $ECHO_C" >&6
5932 cat >conftest.
$ac_ext <<_ACEOF
5935 cat confdefs.h
>>conftest.
$ac_ext
5936 cat >>conftest.
$ac_ext <<_ACEOF
5937 /* end confdefs.h. */
5938 $ac_includes_default
5944 if (sizeof (size_t))
5950 rm -f conftest.
$ac_objext
5951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5952 (eval $ac_compile) 2>conftest.er1
5954 grep -v '^ *+' conftest.er1
>conftest.err
5956 cat conftest.err
>&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); } &&
5959 { ac_try
='test -z "$ac_c_werror_flag"
5960 || test ! -s conftest.err'
5961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); }; } &&
5966 { ac_try
='test -s conftest.$ac_objext'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; }; then
5972 ac_cv_type_size_t
=yes
5974 echo "$as_me: failed program was:" >&5
5975 sed 's/^/| /' conftest.
$ac_ext >&5
5977 ac_cv_type_size_t
=no
5979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5981 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5982 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5983 if test $ac_cv_type_size_t = yes; then
5987 cat >>confdefs.h
<<_ACEOF
5988 #define size_t unsigned
5993 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5994 # for constant arguments. Useless!
5995 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5996 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5997 if test "${ac_cv_working_alloca_h+set}" = set; then
5998 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 cat >conftest.
$ac_ext <<_ACEOF
6003 cat confdefs.h
>>conftest.
$ac_ext
6004 cat >>conftest.
$ac_ext <<_ACEOF
6005 /* end confdefs.h. */
6010 char *p = (char *) alloca (2 * sizeof (int));
6015 rm -f conftest.
$ac_objext conftest
$ac_exeext
6016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6017 (eval $ac_link) 2>conftest.er1
6019 grep -v '^ *+' conftest.er1
>conftest.err
6021 cat conftest.err
>&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); } &&
6024 { ac_try
='test -z "$ac_c_werror_flag"
6025 || test ! -s conftest.err'
6026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); }; } &&
6031 { ac_try
='test -s conftest$ac_exeext'
6032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); }; }; then
6037 ac_cv_working_alloca_h
=yes
6039 echo "$as_me: failed program was:" >&5
6040 sed 's/^/| /' conftest.
$ac_ext >&5
6042 ac_cv_working_alloca_h
=no
6044 rm -f conftest.err conftest.
$ac_objext \
6045 conftest
$ac_exeext conftest.
$ac_ext
6047 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6048 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6049 if test $ac_cv_working_alloca_h = yes; then
6051 cat >>confdefs.h
<<\_ACEOF
6052 #define HAVE_ALLOCA_H 1
6057 echo "$as_me:$LINENO: checking for alloca" >&5
6058 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6059 if test "${ac_cv_func_alloca_works+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 cat >conftest.
$ac_ext <<_ACEOF
6065 cat confdefs.h
>>conftest.
$ac_ext
6066 cat >>conftest.
$ac_ext <<_ACEOF
6067 /* end confdefs.h. */
6069 # define alloca __builtin_alloca
6072 # include <malloc.h>
6073 # define alloca _alloca
6076 # include <alloca.h>
6081 # ifndef alloca /* predefined by HP cc +Olibcalls */
6092 char *p = (char *) alloca (1);
6097 rm -f conftest.
$ac_objext conftest
$ac_exeext
6098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6099 (eval $ac_link) 2>conftest.er1
6101 grep -v '^ *+' conftest.er1
>conftest.err
6103 cat conftest.err
>&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); } &&
6106 { ac_try
='test -z "$ac_c_werror_flag"
6107 || test ! -s conftest.err'
6108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); }; } &&
6113 { ac_try
='test -s conftest$ac_exeext'
6114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); }; }; then
6119 ac_cv_func_alloca_works
=yes
6121 echo "$as_me: failed program was:" >&5
6122 sed 's/^/| /' conftest.
$ac_ext >&5
6124 ac_cv_func_alloca_works
=no
6126 rm -f conftest.err conftest.
$ac_objext \
6127 conftest
$ac_exeext conftest.
$ac_ext
6129 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6130 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6132 if test $ac_cv_func_alloca_works = yes; then
6134 cat >>confdefs.h
<<\_ACEOF
6135 #define HAVE_ALLOCA 1
6139 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6140 # that cause trouble. Some versions do not even contain alloca or
6141 # contain a buggy version. If you still want to use their alloca,
6142 # use ar to extract alloca.o from them instead of compiling alloca.c.
6144 ALLOCA
=alloca.
$ac_objext
6146 cat >>confdefs.h
<<\_ACEOF
6151 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6152 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6153 if test "${ac_cv_os_cray+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 cat >conftest.
$ac_ext <<_ACEOF
6159 cat confdefs.h
>>conftest.
$ac_ext
6160 cat >>conftest.
$ac_ext <<_ACEOF
6161 /* end confdefs.h. */
6162 #if defined(CRAY) && ! defined(CRAY2)
6169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6170 $EGREP "webecray" >/dev
/null
2>&1; then
6178 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6179 echo "${ECHO_T}$ac_cv_os_cray" >&6
6180 if test $ac_cv_os_cray = yes; then
6181 for ac_func
in _getb67 GETB67 getb67
; do
6182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6183 echo "$as_me:$LINENO: checking for $ac_func" >&5
6184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6185 if eval "test \"\${$as_ac_var+set}\" = set"; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 cat >conftest.
$ac_ext <<_ACEOF
6191 cat confdefs.h
>>conftest.
$ac_ext
6192 cat >>conftest.
$ac_ext <<_ACEOF
6193 /* end confdefs.h. */
6194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6196 #define $ac_func innocuous_$ac_func
6198 /* System header to define __stub macros and hopefully few prototypes,
6199 which can conflict with char $ac_func (); below.
6200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6201 <limits.h> exists even on freestanding compilers. */
6204 # include <limits.h>
6206 # include <assert.h>
6211 /* Override any gcc2 internal prototype to avoid an error. */
6216 /* We use char because int might match the return type of a gcc2
6217 builtin and then its argument prototype would still apply. */
6219 /* The GNU C library defines this for functions which it implements
6220 to always fail with ENOSYS. Some functions are actually named
6221 something starting with __ and the normal name is an alias. */
6222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6225 char (*f) () = $ac_func;
6234 return f != $ac_func;
6239 rm -f conftest.
$ac_objext conftest
$ac_exeext
6240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6241 (eval $ac_link) 2>conftest.er1
6243 grep -v '^ *+' conftest.er1
>conftest.err
6245 cat conftest.err
>&5
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); } &&
6248 { ac_try
='test -z "$ac_c_werror_flag"
6249 || test ! -s conftest.err'
6250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); }; } &&
6255 { ac_try
='test -s conftest$ac_exeext'
6256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); }; }; then
6261 eval "$as_ac_var=yes"
6263 echo "$as_me: failed program was:" >&5
6264 sed 's/^/| /' conftest.
$ac_ext >&5
6266 eval "$as_ac_var=no"
6268 rm -f conftest.err conftest.
$ac_objext \
6269 conftest
$ac_exeext conftest.
$ac_ext
6271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6273 if test `eval echo '${'$as_ac_var'}'` = yes; then
6275 cat >>confdefs.h
<<_ACEOF
6276 #define CRAY_STACKSEG_END $ac_func
6285 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6286 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6287 if test "${ac_cv_c_stack_direction+set}" = set; then
6288 echo $ECHO_N "(cached) $ECHO_C" >&6
6290 if test "$cross_compiling" = yes; then
6291 ac_cv_c_stack_direction
=0
6293 cat >conftest.
$ac_ext <<_ACEOF
6296 cat confdefs.h
>>conftest.
$ac_ext
6297 cat >>conftest.
$ac_ext <<_ACEOF
6298 /* end confdefs.h. */
6300 find_stack_direction ()
6302 static char *addr = 0;
6307 return find_stack_direction ();
6310 return (&dummy > addr) ? 1 : -1;
6316 exit (find_stack_direction () < 0);
6319 rm -f conftest
$ac_exeext
6320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6321 (eval $ac_link) 2>&5
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); }; }; then
6330 ac_cv_c_stack_direction
=1
6332 echo "$as_me: program exited with status $ac_status" >&5
6333 echo "$as_me: failed program was:" >&5
6334 sed 's/^/| /' conftest.
$ac_ext >&5
6337 ac_cv_c_stack_direction
=-1
6339 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6342 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6343 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6345 cat >>confdefs.h
<<_ACEOF
6346 #define STACK_DIRECTION $ac_cv_c_stack_direction
6354 for ac_header
in stdlib.h unistd.h
6356 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6358 echo "$as_me:$LINENO: checking for $ac_header" >&5
6359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6361 echo $ECHO_N "(cached) $ECHO_C" >&6
6363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6366 # Is the header compilable?
6367 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6368 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
6376 #include <$ac_header>
6378 rm -f conftest.
$ac_objext
6379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6380 (eval $ac_compile) 2>conftest.er1
6382 grep -v '^ *+' conftest.er1
>conftest.err
6384 cat conftest.err
>&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); } &&
6387 { ac_try
='test -z "$ac_c_werror_flag"
6388 || test ! -s conftest.err'
6389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); }; } &&
6394 { ac_try
='test -s conftest.$ac_objext'
6395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); }; }; then
6400 ac_header_compiler
=yes
6402 echo "$as_me: failed program was:" >&5
6403 sed 's/^/| /' conftest.
$ac_ext >&5
6405 ac_header_compiler
=no
6407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6409 echo "${ECHO_T}$ac_header_compiler" >&6
6411 # Is the header present?
6412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6414 cat >conftest.
$ac_ext <<_ACEOF
6417 cat confdefs.h
>>conftest.
$ac_ext
6418 cat >>conftest.
$ac_ext <<_ACEOF
6419 /* end confdefs.h. */
6420 #include <$ac_header>
6422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6423 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6425 grep -v '^ *+' conftest.er1
>conftest.err
6427 cat conftest.err
>&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); } >/dev
/null
; then
6430 if test -s conftest.err
; then
6431 ac_cpp_err
=$ac_c_preproc_warn_flag
6432 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6439 if test -z "$ac_cpp_err"; then
6440 ac_header_preproc
=yes
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.
$ac_ext >&5
6445 ac_header_preproc
=no
6447 rm -f conftest.err conftest.
$ac_ext
6448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6449 echo "${ECHO_T}$ac_header_preproc" >&6
6451 # So? What about this header?
6452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6458 ac_header_preproc
=yes
6461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6475 ## ------------------------------------------ ##
6476 ## Report this to the AC_PACKAGE_NAME lists. ##
6477 ## ------------------------------------------ ##
6480 sed "s/^/$as_me: WARNING: /" >&2
6483 echo "$as_me:$LINENO: checking for $ac_header" >&5
6484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6486 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 eval "$as_ac_Header=\$ac_header_preproc"
6490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6495 cat >>confdefs.h
<<_ACEOF
6496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6504 for ac_func
in getpagesize
6506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6507 echo "$as_me:$LINENO: checking for $ac_func" >&5
6508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6509 if eval "test \"\${$as_ac_var+set}\" = set"; then
6510 echo $ECHO_N "(cached) $ECHO_C" >&6
6512 cat >conftest.
$ac_ext <<_ACEOF
6515 cat confdefs.h
>>conftest.
$ac_ext
6516 cat >>conftest.
$ac_ext <<_ACEOF
6517 /* end confdefs.h. */
6518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6520 #define $ac_func innocuous_$ac_func
6522 /* System header to define __stub macros and hopefully few prototypes,
6523 which can conflict with char $ac_func (); below.
6524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6525 <limits.h> exists even on freestanding compilers. */
6528 # include <limits.h>
6530 # include <assert.h>
6535 /* Override any gcc2 internal prototype to avoid an error. */
6540 /* We use char because int might match the return type of a gcc2
6541 builtin and then its argument prototype would still apply. */
6543 /* The GNU C library defines this for functions which it implements
6544 to always fail with ENOSYS. Some functions are actually named
6545 something starting with __ and the normal name is an alias. */
6546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6549 char (*f) () = $ac_func;
6558 return f != $ac_func;
6563 rm -f conftest.
$ac_objext conftest
$ac_exeext
6564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6565 (eval $ac_link) 2>conftest.er1
6567 grep -v '^ *+' conftest.er1
>conftest.err
6569 cat conftest.err
>&5
6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571 (exit $ac_status); } &&
6572 { ac_try
='test -z "$ac_c_werror_flag"
6573 || test ! -s conftest.err'
6574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); }; } &&
6579 { ac_try
='test -s conftest$ac_exeext'
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); }; }; then
6585 eval "$as_ac_var=yes"
6587 echo "$as_me: failed program was:" >&5
6588 sed 's/^/| /' conftest.
$ac_ext >&5
6590 eval "$as_ac_var=no"
6592 rm -f conftest.err conftest.
$ac_objext \
6593 conftest
$ac_exeext conftest.
$ac_ext
6595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6597 if test `eval echo '${'$as_ac_var'}'` = yes; then
6598 cat >>confdefs.h
<<_ACEOF
6599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6605 echo "$as_me:$LINENO: checking for working mmap" >&5
6606 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6607 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6608 echo $ECHO_N "(cached) $ECHO_C" >&6
6610 if test "$cross_compiling" = yes; then
6611 ac_cv_func_mmap_fixed_mapped
=no
6613 cat >conftest.
$ac_ext <<_ACEOF
6616 cat confdefs.h
>>conftest.
$ac_ext
6617 cat >>conftest.
$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6619 $ac_includes_default
6620 /* malloc might have been renamed as rpl_malloc. */
6623 /* Thanks to Mike Haertel and Jim Avera for this test.
6624 Here is a matrix of mmap possibilities:
6625 mmap private not fixed
6626 mmap private fixed at somewhere currently unmapped
6627 mmap private fixed at somewhere already mapped
6628 mmap shared not fixed
6629 mmap shared fixed at somewhere currently unmapped
6630 mmap shared fixed at somewhere already mapped
6631 For private mappings, we should verify that changes cannot be read()
6632 back from the file, nor mmap's back from the file at a different
6633 address. (There have been systems where private was not correctly
6634 implemented like the infamous i386 svr4.0, and systems where the
6635 VM page cache was not coherent with the file system buffer cache
6636 like early versions of FreeBSD and possibly contemporary NetBSD.)
6637 For shared mappings, we should conversely verify that changes get
6638 propagated back to all the places they're supposed to be.
6640 Grep wants private fixed already mapped.
6641 The main things grep needs to know about mmap are:
6642 * does it exist and is it safe to write into the mmap'd area
6643 * how to use it (BSD variants) */
6646 #include <sys/mman.h>
6648 #if !STDC_HEADERS && !HAVE_STDLIB_H
6652 /* This mess was copied from the GNU getpagesize.h. */
6653 #if !HAVE_GETPAGESIZE
6654 /* Assume that all systems that can run configure have sys/param.h. */
6655 # if !HAVE_SYS_PARAM_H
6656 # define HAVE_SYS_PARAM_H 1
6659 # ifdef _SC_PAGESIZE
6660 # define getpagesize() sysconf(_SC_PAGESIZE)
6661 # else /* no _SC_PAGESIZE */
6662 # if HAVE_SYS_PARAM_H
6663 # include <sys/param.h>
6664 # ifdef EXEC_PAGESIZE
6665 # define getpagesize() EXEC_PAGESIZE
6666 # else /* no EXEC_PAGESIZE */
6668 # define getpagesize() NBPG * CLSIZE
6671 # endif /* no CLSIZE */
6672 # else /* no NBPG */
6674 # define getpagesize() NBPC
6675 # else /* no NBPC */
6677 # define getpagesize() PAGESIZE
6678 # endif /* PAGESIZE */
6679 # endif /* no NBPC */
6680 # endif /* no NBPG */
6681 # endif /* no EXEC_PAGESIZE */
6682 # else /* no HAVE_SYS_PARAM_H */
6683 # define getpagesize() 8192 /* punt totally */
6684 # endif /* no HAVE_SYS_PARAM_H */
6685 # endif /* no _SC_PAGESIZE */
6687 #endif /* no HAVE_GETPAGESIZE */
6692 char *data, *data2, *data3;
6696 pagesize = getpagesize ();
6698 /* First, make a file with some known garbage in it. */
6699 data = (char *) malloc (pagesize);
6702 for (i = 0; i < pagesize; ++i)
6703 *(data + i) = rand ();
6705 fd = creat ("conftest.mmap", 0600);
6708 if (write (fd, data, pagesize) != pagesize)
6712 /* Next, try to mmap the file at a fixed address which already has
6713 something else allocated at it. If we can, also make sure that
6714 we see the same garbage. */
6715 fd = open ("conftest.mmap", O_RDWR);
6718 data2 = (char *) malloc (2 * pagesize);
6721 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6722 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6723 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6725 for (i = 0; i < pagesize; ++i)
6726 if (*(data + i) != *(data2 + i))
6729 /* Finally, make sure that changes to the mapped area do not
6730 percolate back to the file as seen by read(). (This is a bug on
6731 some variants of i386 svr4.0.) */
6732 for (i = 0; i < pagesize; ++i)
6733 *(data2 + i) = *(data2 + i) + 1;
6734 data3 = (char *) malloc (pagesize);
6737 if (read (fd, data3, pagesize) != pagesize)
6739 for (i = 0; i < pagesize; ++i)
6740 if (*(data + i) != *(data3 + i))
6746 rm -f conftest
$ac_exeext
6747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6748 (eval $ac_link) 2>&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); }; }; then
6757 ac_cv_func_mmap_fixed_mapped
=yes
6759 echo "$as_me: program exited with status $ac_status" >&5
6760 echo "$as_me: failed program was:" >&5
6761 sed 's/^/| /' conftest.
$ac_ext >&5
6764 ac_cv_func_mmap_fixed_mapped
=no
6766 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6769 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6770 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6771 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6773 cat >>confdefs.h
<<\_ACEOF
6790 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6791 unistd.h values.h sys
/param.h
6793 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6795 echo "$as_me:$LINENO: checking for $ac_header" >&5
6796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6803 # Is the header compilable?
6804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6806 cat >conftest.
$ac_ext <<_ACEOF
6809 cat confdefs.h
>>conftest.
$ac_ext
6810 cat >>conftest.
$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6812 $ac_includes_default
6813 #include <$ac_header>
6815 rm -f conftest.
$ac_objext
6816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6817 (eval $ac_compile) 2>conftest.er1
6819 grep -v '^ *+' conftest.er1
>conftest.err
6821 cat conftest.err
>&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); } &&
6824 { ac_try
='test -z "$ac_c_werror_flag"
6825 || test ! -s conftest.err'
6826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); }; } &&
6831 { ac_try
='test -s conftest.$ac_objext'
6832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; }; then
6837 ac_header_compiler
=yes
6839 echo "$as_me: failed program was:" >&5
6840 sed 's/^/| /' conftest.
$ac_ext >&5
6842 ac_header_compiler
=no
6844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6846 echo "${ECHO_T}$ac_header_compiler" >&6
6848 # Is the header present?
6849 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6850 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6851 cat >conftest.
$ac_ext <<_ACEOF
6854 cat confdefs.h
>>conftest.
$ac_ext
6855 cat >>conftest.
$ac_ext <<_ACEOF
6856 /* end confdefs.h. */
6857 #include <$ac_header>
6859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6860 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6862 grep -v '^ *+' conftest.er1
>conftest.err
6864 cat conftest.err
>&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); } >/dev
/null
; then
6867 if test -s conftest.err
; then
6868 ac_cpp_err
=$ac_c_preproc_warn_flag
6869 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6876 if test -z "$ac_cpp_err"; then
6877 ac_header_preproc
=yes
6879 echo "$as_me: failed program was:" >&5
6880 sed 's/^/| /' conftest.
$ac_ext >&5
6882 ac_header_preproc
=no
6884 rm -f conftest.err conftest.
$ac_ext
6885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6886 echo "${ECHO_T}$ac_header_preproc" >&6
6888 # So? What about this header?
6889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6891 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6892 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6894 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6895 ac_header_preproc
=yes
6898 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6899 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6900 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6901 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6902 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6903 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6904 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6905 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6908 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6909 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6912 ## ------------------------------------------ ##
6913 ## Report this to the AC_PACKAGE_NAME lists. ##
6914 ## ------------------------------------------ ##
6917 sed "s/^/$as_me: WARNING: /" >&2
6920 echo "$as_me:$LINENO: checking for $ac_header" >&5
6921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6923 echo $ECHO_N "(cached) $ECHO_C" >&6
6925 eval "$as_ac_Header=\$ac_header_preproc"
6927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6932 cat >>confdefs.h
<<_ACEOF
6933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6950 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6951 __argz_count __argz_stringify __argz_next
6953 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6954 echo "$as_me:$LINENO: checking for $ac_func" >&5
6955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6956 if eval "test \"\${$as_ac_var+set}\" = set"; then
6957 echo $ECHO_N "(cached) $ECHO_C" >&6
6959 cat >conftest.
$ac_ext <<_ACEOF
6962 cat confdefs.h
>>conftest.
$ac_ext
6963 cat >>conftest.
$ac_ext <<_ACEOF
6964 /* end confdefs.h. */
6965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6967 #define $ac_func innocuous_$ac_func
6969 /* System header to define __stub macros and hopefully few prototypes,
6970 which can conflict with char $ac_func (); below.
6971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6972 <limits.h> exists even on freestanding compilers. */
6975 # include <limits.h>
6977 # include <assert.h>
6982 /* Override any gcc2 internal prototype to avoid an error. */
6987 /* We use char because int might match the return type of a gcc2
6988 builtin and then its argument prototype would still apply. */
6990 /* The GNU C library defines this for functions which it implements
6991 to always fail with ENOSYS. Some functions are actually named
6992 something starting with __ and the normal name is an alias. */
6993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6996 char (*f) () = $ac_func;
7005 return f != $ac_func;
7010 rm -f conftest.
$ac_objext conftest
$ac_exeext
7011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7012 (eval $ac_link) 2>conftest.er1
7014 grep -v '^ *+' conftest.er1
>conftest.err
7016 cat conftest.err
>&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); } &&
7019 { ac_try
='test -z "$ac_c_werror_flag"
7020 || test ! -s conftest.err'
7021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025 (exit $ac_status); }; } &&
7026 { ac_try
='test -s conftest$ac_exeext'
7027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); }; }; then
7032 eval "$as_ac_var=yes"
7034 echo "$as_me: failed program was:" >&5
7035 sed 's/^/| /' conftest.
$ac_ext >&5
7037 eval "$as_ac_var=no"
7039 rm -f conftest.err conftest.
$ac_objext \
7040 conftest
$ac_exeext conftest.
$ac_ext
7042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7044 if test `eval echo '${'$as_ac_var'}'` = yes; then
7045 cat >>confdefs.h
<<_ACEOF
7046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7053 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7055 for ac_func
in stpcpy
7057 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7058 echo "$as_me:$LINENO: checking for $ac_func" >&5
7059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7060 if eval "test \"\${$as_ac_var+set}\" = set"; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7063 cat >conftest.
$ac_ext <<_ACEOF
7066 cat confdefs.h
>>conftest.
$ac_ext
7067 cat >>conftest.
$ac_ext <<_ACEOF
7068 /* end confdefs.h. */
7069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7071 #define $ac_func innocuous_$ac_func
7073 /* System header to define __stub macros and hopefully few prototypes,
7074 which can conflict with char $ac_func (); below.
7075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7076 <limits.h> exists even on freestanding compilers. */
7079 # include <limits.h>
7081 # include <assert.h>
7086 /* Override any gcc2 internal prototype to avoid an error. */
7091 /* We use char because int might match the return type of a gcc2
7092 builtin and then its argument prototype would still apply. */
7094 /* The GNU C library defines this for functions which it implements
7095 to always fail with ENOSYS. Some functions are actually named
7096 something starting with __ and the normal name is an alias. */
7097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7100 char (*f) () = $ac_func;
7109 return f != $ac_func;
7114 rm -f conftest.
$ac_objext conftest
$ac_exeext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7116 (eval $ac_link) 2>conftest.er1
7118 grep -v '^ *+' conftest.er1
>conftest.err
7120 cat conftest.err
>&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } &&
7123 { ac_try
='test -z "$ac_c_werror_flag"
7124 || test ! -s conftest.err'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; } &&
7130 { ac_try
='test -s conftest$ac_exeext'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; }; then
7136 eval "$as_ac_var=yes"
7138 echo "$as_me: failed program was:" >&5
7139 sed 's/^/| /' conftest.
$ac_ext >&5
7141 eval "$as_ac_var=no"
7143 rm -f conftest.err conftest.
$ac_objext \
7144 conftest
$ac_exeext conftest.
$ac_ext
7146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7148 if test `eval echo '${'$as_ac_var'}'` = yes; then
7149 cat >>confdefs.h
<<_ACEOF
7150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7157 if test "${ac_cv_func_stpcpy}" = "yes"; then
7159 cat >>confdefs.h
<<\_ACEOF
7160 #define HAVE_STPCPY 1
7165 if test $ac_cv_header_locale_h = yes; then
7166 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7167 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7168 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7169 echo $ECHO_N "(cached) $ECHO_C" >&6
7171 cat >conftest.
$ac_ext <<_ACEOF
7174 cat confdefs.h
>>conftest.
$ac_ext
7175 cat >>conftest.
$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7186 rm -f conftest.
$ac_objext conftest
$ac_exeext
7187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7188 (eval $ac_link) 2>conftest.er1
7190 grep -v '^ *+' conftest.er1
>conftest.err
7192 cat conftest.err
>&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } &&
7195 { ac_try
='test -z "$ac_c_werror_flag"
7196 || test ! -s conftest.err'
7197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); }; } &&
7202 { ac_try
='test -s conftest$ac_exeext'
7203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }; }; then
7208 am_cv_val_LC_MESSAGES
=yes
7210 echo "$as_me: failed program was:" >&5
7211 sed 's/^/| /' conftest.
$ac_ext >&5
7213 am_cv_val_LC_MESSAGES
=no
7215 rm -f conftest.err conftest.
$ac_objext \
7216 conftest
$ac_exeext conftest.
$ac_ext
7218 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7219 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7220 if test $am_cv_val_LC_MESSAGES = yes; then
7222 cat >>confdefs.h
<<\_ACEOF
7223 #define HAVE_LC_MESSAGES 1
7228 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7229 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7230 # Check whether --enable-nls or --disable-nls was given.
7231 if test "${enable_nls+set}" = set; then
7232 enableval
="$enable_nls"
7237 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7238 echo "${ECHO_T}$USE_NLS" >&6
7241 USE_INCLUDED_LIBINTL
=no
7243 if test "$USE_NLS" = "yes"; then
7244 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7245 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7247 # Check whether --with-included-gettext or --without-included-gettext was given.
7248 if test "${with_included_gettext+set}" = set; then
7249 withval
="$with_included_gettext"
7250 nls_cv_force_use_gnu_gettext
=$withval
7252 nls_cv_force_use_gnu_gettext
=no
7254 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7255 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7257 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7258 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7260 nls_cv_header_libgt
=
7263 if test "${ac_cv_header_libintl_h+set}" = set; then
7264 echo "$as_me:$LINENO: checking for libintl.h" >&5
7265 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7266 if test "${ac_cv_header_libintl_h+set}" = set; then
7267 echo $ECHO_N "(cached) $ECHO_C" >&6
7269 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7270 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7272 # Is the header compilable?
7273 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7274 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7275 cat >conftest.
$ac_ext <<_ACEOF
7278 cat confdefs.h
>>conftest.
$ac_ext
7279 cat >>conftest.
$ac_ext <<_ACEOF
7280 /* end confdefs.h. */
7281 $ac_includes_default
7282 #include <libintl.h>
7284 rm -f conftest.
$ac_objext
7285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7286 (eval $ac_compile) 2>conftest.er1
7288 grep -v '^ *+' conftest.er1
>conftest.err
7290 cat conftest.err
>&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); } &&
7293 { ac_try
='test -z "$ac_c_werror_flag"
7294 || test ! -s conftest.err'
7295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); }; } &&
7300 { ac_try
='test -s conftest.$ac_objext'
7301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305 (exit $ac_status); }; }; then
7306 ac_header_compiler
=yes
7308 echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.
$ac_ext >&5
7311 ac_header_compiler
=no
7313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7315 echo "${ECHO_T}$ac_header_compiler" >&6
7317 # Is the header present?
7318 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7319 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7320 cat >conftest.
$ac_ext <<_ACEOF
7323 cat confdefs.h
>>conftest.
$ac_ext
7324 cat >>conftest.
$ac_ext <<_ACEOF
7325 /* end confdefs.h. */
7326 #include <libintl.h>
7328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7331 grep -v '^ *+' conftest.er1
>conftest.err
7333 cat conftest.err
>&5
7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 (exit $ac_status); } >/dev
/null
; then
7336 if test -s conftest.err
; then
7337 ac_cpp_err
=$ac_c_preproc_warn_flag
7338 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7345 if test -z "$ac_cpp_err"; then
7346 ac_header_preproc
=yes
7348 echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.
$ac_ext >&5
7351 ac_header_preproc
=no
7353 rm -f conftest.err conftest.
$ac_ext
7354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7355 echo "${ECHO_T}$ac_header_preproc" >&6
7357 # So? What about this header?
7358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7360 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7361 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7362 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7363 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7364 ac_header_preproc
=yes
7367 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7368 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7369 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7370 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7371 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7372 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7373 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7374 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7375 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7376 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7377 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7378 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7381 ## ------------------------------------------ ##
7382 ## Report this to the AC_PACKAGE_NAME lists. ##
7383 ## ------------------------------------------ ##
7386 sed "s/^/$as_me: WARNING: /" >&2
7389 echo "$as_me:$LINENO: checking for libintl.h" >&5
7390 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7391 if test "${ac_cv_header_libintl_h+set}" = set; then
7392 echo $ECHO_N "(cached) $ECHO_C" >&6
7394 ac_cv_header_libintl_h
=$ac_header_preproc
7396 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7397 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7400 if test $ac_cv_header_libintl_h = yes; then
7401 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7402 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7403 if test "${gt_cv_func_gettext_libc+set}" = set; then
7404 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 cat >conftest.
$ac_ext <<_ACEOF
7409 cat confdefs.h
>>conftest.
$ac_ext
7410 cat >>conftest.
$ac_ext <<_ACEOF
7411 /* end confdefs.h. */
7412 #include <libintl.h>
7416 return (int) gettext ("")
7421 rm -f conftest.
$ac_objext conftest
$ac_exeext
7422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7423 (eval $ac_link) 2>conftest.er1
7425 grep -v '^ *+' conftest.er1
>conftest.err
7427 cat conftest.err
>&5
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); } &&
7430 { ac_try
='test -z "$ac_c_werror_flag"
7431 || test ! -s conftest.err'
7432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); }; } &&
7437 { ac_try
='test -s conftest$ac_exeext'
7438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); }; }; then
7443 gt_cv_func_gettext_libc
=yes
7445 echo "$as_me: failed program was:" >&5
7446 sed 's/^/| /' conftest.
$ac_ext >&5
7448 gt_cv_func_gettext_libc
=no
7450 rm -f conftest.err conftest.
$ac_objext \
7451 conftest
$ac_exeext conftest.
$ac_ext
7453 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7454 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7456 if test "$gt_cv_func_gettext_libc" != "yes"; then
7457 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7458 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7459 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7460 echo $ECHO_N "(cached) $ECHO_C" >&6
7462 ac_check_lib_save_LIBS
=$LIBS
7464 cat >conftest.
$ac_ext <<_ACEOF
7467 cat confdefs.h
>>conftest.
$ac_ext
7468 cat >>conftest.
$ac_ext <<_ACEOF
7469 /* end confdefs.h. */
7471 /* Override any gcc2 internal prototype to avoid an error. */
7475 /* We use char because int might match the return type of a gcc2
7476 builtin and then its argument prototype would still apply. */
7477 char bindtextdomain ();
7486 rm -f conftest.
$ac_objext conftest
$ac_exeext
7487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7488 (eval $ac_link) 2>conftest.er1
7490 grep -v '^ *+' conftest.er1
>conftest.err
7492 cat conftest.err
>&5
7493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494 (exit $ac_status); } &&
7495 { ac_try
='test -z "$ac_c_werror_flag"
7496 || test ! -s conftest.err'
7497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501 (exit $ac_status); }; } &&
7502 { ac_try
='test -s conftest$ac_exeext'
7503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); }; }; then
7508 ac_cv_lib_intl_bindtextdomain
=yes
7510 echo "$as_me: failed program was:" >&5
7511 sed 's/^/| /' conftest.
$ac_ext >&5
7513 ac_cv_lib_intl_bindtextdomain
=no
7515 rm -f conftest.err conftest.
$ac_objext \
7516 conftest
$ac_exeext conftest.
$ac_ext
7517 LIBS
=$ac_check_lib_save_LIBS
7519 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7520 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7521 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7522 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7523 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7524 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7525 echo $ECHO_N "(cached) $ECHO_C" >&6
7527 cat >conftest.
$ac_ext <<_ACEOF
7530 cat confdefs.h
>>conftest.
$ac_ext
7531 cat >>conftest.
$ac_ext <<_ACEOF
7532 /* end confdefs.h. */
7537 return (int) gettext ("")
7542 rm -f conftest.
$ac_objext conftest
$ac_exeext
7543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7544 (eval $ac_link) 2>conftest.er1
7546 grep -v '^ *+' conftest.er1
>conftest.err
7548 cat conftest.err
>&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); } &&
7551 { ac_try
='test -z "$ac_c_werror_flag"
7552 || test ! -s conftest.err'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); }; } &&
7558 { ac_try
='test -s conftest$ac_exeext'
7559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); }; }; then
7564 gt_cv_func_gettext_libintl
=yes
7566 echo "$as_me: failed program was:" >&5
7567 sed 's/^/| /' conftest.
$ac_ext >&5
7569 gt_cv_func_gettext_libintl
=no
7571 rm -f conftest.err conftest.
$ac_objext \
7572 conftest
$ac_exeext conftest.
$ac_ext
7574 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7575 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7580 if test "$gt_cv_func_gettext_libc" = "yes" \
7581 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7583 cat >>confdefs.h
<<\_ACEOF
7584 #define HAVE_GETTEXT 1
7587 # Extract the first word of "msgfmt", so it can be a program name with args.
7588 set dummy msgfmt
; ac_word
=$2
7589 echo "$as_me:$LINENO: checking for $ac_word" >&5
7590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7591 if test "${ac_cv_path_MSGFMT+set}" = set; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6
7596 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7599 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7600 for ac_dir
in $PATH; do
7601 test -z "$ac_dir" && ac_dir
=.
7602 if test -f $ac_dir/$ac_word; then
7603 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7604 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7610 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7614 MSGFMT
="$ac_cv_path_MSGFMT"
7615 if test -n "$MSGFMT"; then
7616 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7617 echo "${ECHO_T}$MSGFMT" >&6
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7622 if test "$MSGFMT" != "no"; then
7624 for ac_func
in dcgettext
7626 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7627 echo "$as_me:$LINENO: checking for $ac_func" >&5
7628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7629 if eval "test \"\${$as_ac_var+set}\" = set"; then
7630 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 cat >conftest.
$ac_ext <<_ACEOF
7635 cat confdefs.h
>>conftest.
$ac_ext
7636 cat >>conftest.
$ac_ext <<_ACEOF
7637 /* end confdefs.h. */
7638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7640 #define $ac_func innocuous_$ac_func
7642 /* System header to define __stub macros and hopefully few prototypes,
7643 which can conflict with char $ac_func (); below.
7644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7645 <limits.h> exists even on freestanding compilers. */
7648 # include <limits.h>
7650 # include <assert.h>
7655 /* Override any gcc2 internal prototype to avoid an error. */
7660 /* We use char because int might match the return type of a gcc2
7661 builtin and then its argument prototype would still apply. */
7663 /* The GNU C library defines this for functions which it implements
7664 to always fail with ENOSYS. Some functions are actually named
7665 something starting with __ and the normal name is an alias. */
7666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7669 char (*f) () = $ac_func;
7678 return f != $ac_func;
7683 rm -f conftest.
$ac_objext conftest
$ac_exeext
7684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7685 (eval $ac_link) 2>conftest.er1
7687 grep -v '^ *+' conftest.er1
>conftest.err
7689 cat conftest.err
>&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); } &&
7692 { ac_try
='test -z "$ac_c_werror_flag"
7693 || test ! -s conftest.err'
7694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); }; } &&
7699 { ac_try
='test -s conftest$ac_exeext'
7700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); }; }; then
7705 eval "$as_ac_var=yes"
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.
$ac_ext >&5
7710 eval "$as_ac_var=no"
7712 rm -f conftest.err conftest.
$ac_objext \
7713 conftest
$ac_exeext conftest.
$ac_ext
7715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7717 if test `eval echo '${'$as_ac_var'}'` = yes; then
7718 cat >>confdefs.h
<<_ACEOF
7719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7725 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7726 set dummy gmsgfmt
; ac_word
=$2
7727 echo "$as_me:$LINENO: checking for $ac_word" >&5
7728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7729 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7730 echo $ECHO_N "(cached) $ECHO_C" >&6
7734 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7741 test -z "$as_dir" && as_dir
=.
7742 for ac_exec_ext
in '' $ac_executable_extensions; do
7743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7744 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7751 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7755 GMSGFMT
=$ac_cv_path_GMSGFMT
7757 if test -n "$GMSGFMT"; then
7758 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7759 echo "${ECHO_T}$GMSGFMT" >&6
7761 echo "$as_me:$LINENO: result: no" >&5
7762 echo "${ECHO_T}no" >&6
7765 # Extract the first word of "xgettext", so it can be a program name with args.
7766 set dummy xgettext
; ac_word
=$2
7767 echo "$as_me:$LINENO: checking for $ac_word" >&5
7768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7769 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7770 echo $ECHO_N "(cached) $ECHO_C" >&6
7774 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7777 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7778 for ac_dir
in $PATH; do
7779 test -z "$ac_dir" && ac_dir
=.
7780 if test -f $ac_dir/$ac_word; then
7781 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7782 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7788 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7792 XGETTEXT
="$ac_cv_path_XGETTEXT"
7793 if test -n "$XGETTEXT"; then
7794 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7795 echo "${ECHO_T}$XGETTEXT" >&6
7797 echo "$as_me:$LINENO: result: no" >&5
7798 echo "${ECHO_T}no" >&6
7801 cat >conftest.
$ac_ext <<_ACEOF
7804 cat confdefs.h
>>conftest.
$ac_ext
7805 cat >>conftest.
$ac_ext <<_ACEOF
7806 /* end confdefs.h. */
7811 extern int _nl_msg_cat_cntr;
7812 return _nl_msg_cat_cntr
7817 rm -f conftest.
$ac_objext conftest
$ac_exeext
7818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7819 (eval $ac_link) 2>conftest.er1
7821 grep -v '^ *+' conftest.er1
>conftest.err
7823 cat conftest.err
>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } &&
7826 { ac_try
='test -z "$ac_c_werror_flag"
7827 || test ! -s conftest.err'
7828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832 (exit $ac_status); }; } &&
7833 { ac_try
='test -s conftest$ac_exeext'
7834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7838 (exit $ac_status); }; }; then
7842 echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.
$ac_ext >&5
7848 rm -f conftest.err conftest.
$ac_objext \
7849 conftest
$ac_exeext conftest.
$ac_ext
7859 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
7860 # Neither gettext nor catgets in included in the C library.
7861 # Fall back on GNU gettext library (assuming it is present).
7862 nls_cv_use_gnu_gettext
=yes
7866 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7867 INTLOBJS
="\$(GETTOBJS)"
7868 # Extract the first word of "msgfmt", so it can be a program name with args.
7869 set dummy msgfmt
; ac_word
=$2
7870 echo "$as_me:$LINENO: checking for $ac_word" >&5
7871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7872 if test "${ac_cv_path_MSGFMT+set}" = set; then
7873 echo $ECHO_N "(cached) $ECHO_C" >&6
7877 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7880 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7881 for ac_dir
in $PATH; do
7882 test -z "$ac_dir" && ac_dir
=.
7883 if test -f $ac_dir/$ac_word; then
7884 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7885 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7891 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7895 MSGFMT
="$ac_cv_path_MSGFMT"
7896 if test -n "$MSGFMT"; then
7897 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7898 echo "${ECHO_T}$MSGFMT" >&6
7900 echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6
7904 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7905 set dummy gmsgfmt
; ac_word
=$2
7906 echo "$as_me:$LINENO: checking for $ac_word" >&5
7907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7908 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7913 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7920 test -z "$as_dir" && as_dir
=.
7921 for ac_exec_ext
in '' $ac_executable_extensions; do
7922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7923 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7934 GMSGFMT
=$ac_cv_path_GMSGFMT
7936 if test -n "$GMSGFMT"; then
7937 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7938 echo "${ECHO_T}$GMSGFMT" >&6
7940 echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6
7944 # Extract the first word of "xgettext", so it can be a program name with args.
7945 set dummy xgettext
; ac_word
=$2
7946 echo "$as_me:$LINENO: checking for $ac_word" >&5
7947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7948 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7949 echo $ECHO_N "(cached) $ECHO_C" >&6
7953 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7956 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7957 for ac_dir
in $PATH; do
7958 test -z "$ac_dir" && ac_dir
=.
7959 if test -f $ac_dir/$ac_word; then
7960 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7961 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7967 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7971 XGETTEXT
="$ac_cv_path_XGETTEXT"
7972 if test -n "$XGETTEXT"; then
7973 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7974 echo "${ECHO_T}$XGETTEXT" >&6
7976 echo "$as_me:$LINENO: result: no" >&5
7977 echo "${ECHO_T}no" >&6
7981 USE_INCLUDED_LIBINTL
=yes
7985 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7987 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7988 nls_cv_header_intl
=libintl.h
7989 nls_cv_header_libgt
=libgettext.h
7992 if test "$XGETTEXT" != ":"; then
7993 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7996 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7997 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8002 # We need to process the po/ directory.
8006 nls_cv_header_intl
=libintl.h
8007 nls_cv_header_libgt
=libgettext.h
8010 # If this is used in GNU gettext we have to set USE_NLS to `yes'
8011 # because some of the sources are only built for this goal.
8012 if test "$PACKAGE" = gettext; then
8014 USE_INCLUDED_LIBINTL
=yes
8017 for lang
in $ALL_LINGUAS; do
8018 GMOFILES
="$GMOFILES $lang.gmo"
8019 POFILES
="$POFILES $lang.po"
8033 if test "x$CATOBJEXT" != "x"; then
8035 cat >>confdefs.h
<<\_ACEOF
8036 #define ENABLE_NLS 1
8042 if test "x$CATOBJEXT" != "x"; then
8043 if test "x$ALL_LINGUAS" = "x"; then
8046 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8047 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8049 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8050 case "$ALL_LINGUAS" in
8051 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8054 LINGUAS
=$NEW_LINGUAS
8055 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8056 echo "${ECHO_T}$LINGUAS" >&6
8059 if test -n "$LINGUAS"; then
8060 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8064 if test $ac_cv_header_locale_h = yes; then
8065 INCLUDE_LOCALE_H
="#include <locale.h>"
8068 /* The system does not provide the header <locale.h>. Take care yourself. */"
8072 if test -f $srcdir/po2tbl.
sed.
in; then
8073 if test "$CATOBJEXT" = ".cat"; then
8074 if test "${ac_cv_header_linux_version_h+set}" = set; then
8075 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8076 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8077 if test "${ac_cv_header_linux_version_h+set}" = set; then
8078 echo $ECHO_N "(cached) $ECHO_C" >&6
8080 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8081 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8083 # Is the header compilable?
8084 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8085 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8086 cat >conftest.
$ac_ext <<_ACEOF
8089 cat confdefs.h
>>conftest.
$ac_ext
8090 cat >>conftest.
$ac_ext <<_ACEOF
8091 /* end confdefs.h. */
8092 $ac_includes_default
8093 #include <linux/version.h>
8095 rm -f conftest.
$ac_objext
8096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8097 (eval $ac_compile) 2>conftest.er1
8099 grep -v '^ *+' conftest.er1
>conftest.err
8101 cat conftest.err
>&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); } &&
8104 { ac_try
='test -z "$ac_c_werror_flag"
8105 || test ! -s conftest.err'
8106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); }; } &&
8111 { ac_try
='test -s conftest.$ac_objext'
8112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 (exit $ac_status); }; }; then
8117 ac_header_compiler
=yes
8119 echo "$as_me: failed program was:" >&5
8120 sed 's/^/| /' conftest.
$ac_ext >&5
8122 ac_header_compiler
=no
8124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8126 echo "${ECHO_T}$ac_header_compiler" >&6
8128 # Is the header present?
8129 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8130 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8131 cat >conftest.
$ac_ext <<_ACEOF
8134 cat confdefs.h
>>conftest.
$ac_ext
8135 cat >>conftest.
$ac_ext <<_ACEOF
8136 /* end confdefs.h. */
8137 #include <linux/version.h>
8139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8140 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8142 grep -v '^ *+' conftest.er1
>conftest.err
8144 cat conftest.err
>&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); } >/dev
/null
; then
8147 if test -s conftest.err
; then
8148 ac_cpp_err
=$ac_c_preproc_warn_flag
8149 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8156 if test -z "$ac_cpp_err"; then
8157 ac_header_preproc
=yes
8159 echo "$as_me: failed program was:" >&5
8160 sed 's/^/| /' conftest.
$ac_ext >&5
8162 ac_header_preproc
=no
8164 rm -f conftest.err conftest.
$ac_ext
8165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8166 echo "${ECHO_T}$ac_header_preproc" >&6
8168 # So? What about this header?
8169 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8171 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8172 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8173 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8174 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8175 ac_header_preproc
=yes
8178 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8179 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8180 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8181 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8182 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8183 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8184 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8185 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8186 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8187 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8188 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8189 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8192 ## ------------------------------------------ ##
8193 ## Report this to the AC_PACKAGE_NAME lists. ##
8194 ## ------------------------------------------ ##
8197 sed "s/^/$as_me: WARNING: /" >&2
8200 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8201 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8202 if test "${ac_cv_header_linux_version_h+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 ac_cv_header_linux_version_h
=$ac_header_preproc
8207 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8208 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8211 if test $ac_cv_header_linux_version_h = yes; then
8219 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8221 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8222 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8225 if test "$PACKAGE" = "gettext"; then
8235 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8241 if test -f $srcdir/po
/POTFILES.
in; then
8242 test -d po || mkdir po
8243 if test "x$srcdir" != "x."; then
8244 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8245 posrcprefix
="$srcdir/"
8247 posrcprefix
="../$srcdir/"
8253 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8254 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8258 # Permit host specific settings.
8259 .
${srcdir}/configure.
host
8262 # Find a good install program. We prefer a C program (faster),
8263 # so one script is as good as another. But avoid the broken or
8264 # incompatible versions:
8265 # SysV /etc/install, /usr/sbin/install
8266 # SunOS /usr/etc/install
8267 # IRIX /sbin/install
8269 # AmigaOS /C/install, which installs bootblocks on floppy discs
8270 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8271 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8272 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8273 # OS/2's system install, which has a completely different semantic
8274 # ./install, which can be erroneously created by make from ./install.sh.
8275 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8276 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8277 if test -z "$INSTALL"; then
8278 if test "${ac_cv_path_install+set}" = set; then
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8285 test -z "$as_dir" && as_dir
=.
8286 # Account for people who put trailing slashes in PATH elements.
8288 .
/ | .
// |
/cC
/* | \
8289 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
8290 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
8293 # OSF1 and SCO ODT 3.0 have their own names for install.
8294 # Don't use installbsd from OSF since it installs stuff as root
8296 for ac_prog
in ginstall scoinst
install; do
8297 for ac_exec_ext
in '' $ac_executable_extensions; do
8298 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8299 if test $ac_prog = install &&
8300 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8301 # AIX install. It has an incompatible calling convention.
8303 elif test $ac_prog = install &&
8304 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
8305 # program-specific install script used by HP pwplus--don't use.
8308 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
8320 if test "${ac_cv_path_install+set}" = set; then
8321 INSTALL
=$ac_cv_path_install
8323 # As a last resort, use the slow shell script. We don't cache a
8324 # path for INSTALL within a source directory, because that will
8325 # break other packages using the cache if that directory is
8326 # removed, or if the path is relative.
8327 INSTALL
=$ac_install_sh
8330 echo "$as_me:$LINENO: result: $INSTALL" >&5
8331 echo "${ECHO_T}$INSTALL" >&6
8333 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8334 # It thinks the first close brace ends the variable substitution.
8335 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8337 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
8339 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8342 BFD_HOST_64BIT_LONG
=0
8343 BFD_HOST_LONG_LONG
=0
8344 BFD_HOST_64_BIT_DEFINED
=0
8348 echo "$as_me:$LINENO: checking for long long" >&5
8349 echo $ECHO_N "checking for long long... $ECHO_C" >&6
8350 if test "${bfd_cv_has_long_long+set}" = set; then
8351 echo $ECHO_N "(cached) $ECHO_C" >&6
8353 cat >conftest.
$ac_ext <<_ACEOF
8356 cat confdefs.h
>>conftest.
$ac_ext
8357 cat >>conftest.
$ac_ext <<_ACEOF
8358 /* end confdefs.h. */
8363 unsigned long long ll = 18446744073709551615ULL;
8368 rm -f conftest.
$ac_objext
8369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8370 (eval $ac_compile) 2>conftest.er1
8372 grep -v '^ *+' conftest.er1
>conftest.err
8374 cat conftest.err
>&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); } &&
8377 { ac_try
='test -z "$ac_c_werror_flag"
8378 || test ! -s conftest.err'
8379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); }; } &&
8384 { ac_try
='test -s conftest.$ac_objext'
8385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); }; }; then
8390 bfd_cv_has_long_long
=yes
8392 echo "$as_me: failed program was:" >&5
8393 sed 's/^/| /' conftest.
$ac_ext >&5
8395 bfd_cv_has_long_long
=no
8397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8400 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
8401 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
8402 if test $bfd_cv_has_long_long = yes; then
8403 BFD_HOST_LONG_LONG
=1
8404 echo "$as_me:$LINENO: checking size of long long" >&5
8405 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
8406 if test "${ac_cv_sizeof_long_long+set}" = set; then
8407 echo $ECHO_N "(cached) $ECHO_C" >&6
8409 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8410 cat >conftest.
$ac_ext <<_ACEOF
8413 cat confdefs.h
>>conftest.
$ac_ext
8414 cat >>conftest.
$ac_ext <<_ACEOF
8415 /* end confdefs.h. */
8416 #include "confdefs.h"
8417 #include <sys/types.h>
8423 switch (0) case 0: case (sizeof (long long) == $ac_size):;
8428 rm -f conftest.
$ac_objext
8429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8430 (eval $ac_compile) 2>conftest.er1
8432 grep -v '^ *+' conftest.er1
>conftest.err
8434 cat conftest.err
>&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); } &&
8437 { ac_try
='test -z "$ac_c_werror_flag"
8438 || test ! -s conftest.err'
8439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); }; } &&
8444 { ac_try
='test -s conftest.$ac_objext'
8445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449 (exit $ac_status); }; }; then
8450 ac_cv_sizeof_long_long
=$ac_size
8452 echo "$as_me: failed program was:" >&5
8453 sed 's/^/| /' conftest.
$ac_ext >&5
8456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8457 if test x
$ac_cv_sizeof_long_long != x
; then break; fi
8462 if test x
$ac_cv_sizeof_long_long = x
; then
8463 { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5
8464 echo "$as_me: error: cannot determine a size for long long" >&2;}
8465 { (exit 1); exit 1; }; }
8467 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
8468 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
8470 cat >>confdefs.h
<<_ACEOF
8471 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8477 echo "$as_me:$LINENO: checking size of long" >&5
8478 echo $ECHO_N "checking size of long... $ECHO_C" >&6
8479 if test "${ac_cv_sizeof_long+set}" = set; then
8480 echo $ECHO_N "(cached) $ECHO_C" >&6
8482 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
8483 cat >conftest.
$ac_ext <<_ACEOF
8486 cat confdefs.h
>>conftest.
$ac_ext
8487 cat >>conftest.
$ac_ext <<_ACEOF
8488 /* end confdefs.h. */
8489 #include "confdefs.h"
8490 #include <sys/types.h>
8496 switch (0) case 0: case (sizeof (long) == $ac_size):;
8501 rm -f conftest.
$ac_objext
8502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8503 (eval $ac_compile) 2>conftest.er1
8505 grep -v '^ *+' conftest.er1
>conftest.err
8507 cat conftest.err
>&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); } &&
8510 { ac_try
='test -z "$ac_c_werror_flag"
8511 || test ! -s conftest.err'
8512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); }; } &&
8517 { ac_try
='test -s conftest.$ac_objext'
8518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); }; }; then
8523 ac_cv_sizeof_long
=$ac_size
8525 echo "$as_me: failed program was:" >&5
8526 sed 's/^/| /' conftest.
$ac_ext >&5
8529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8530 if test x
$ac_cv_sizeof_long != x
; then break; fi
8535 if test x
$ac_cv_sizeof_long = x
; then
8536 { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
8537 echo "$as_me: error: cannot determine a size for long" >&2;}
8538 { (exit 1); exit 1; }; }
8540 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8541 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8543 cat >>confdefs.h
<<_ACEOF
8544 #define SIZEOF_LONG $ac_cv_sizeof_long
8548 if test "x${ac_cv_sizeof_long}" = "x8"; then
8550 BFD_HOST_64BIT_LONG
=1
8551 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
8552 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
8553 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
8554 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
8555 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
8558 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
8559 BFD_HOST_64_BIT_DEFINED
=1
8560 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
8561 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
8570 # Put a plausible default for CC_FOR_BUILD in Makefile.
8571 if test -z "$CC_FOR_BUILD"; then
8572 if test "x$cross_compiling" = "xno"; then
8573 CC_FOR_BUILD
='$(CC)'
8579 # Also set EXEEXT_FOR_BUILD.
8580 if test "x$cross_compiling" = "xno"; then
8581 EXEEXT_FOR_BUILD
='$(EXEEXT)'
8583 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
8584 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
8585 if test "${bfd_cv_build_exeext+set}" = set; then
8586 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 echo 'int main () { return 0; }' > conftest.c
8590 bfd_cv_build_exeext
=
8591 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
8592 for file in conftest.
*; do
8594 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
8595 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
8599 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
8601 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
8602 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
8604 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
8614 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
8616 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8618 echo "$as_me:$LINENO: checking for $ac_header" >&5
8619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8626 # Is the header compilable?
8627 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8629 cat >conftest.
$ac_ext <<_ACEOF
8632 cat confdefs.h
>>conftest.
$ac_ext
8633 cat >>conftest.
$ac_ext <<_ACEOF
8634 /* end confdefs.h. */
8635 $ac_includes_default
8636 #include <$ac_header>
8638 rm -f conftest.
$ac_objext
8639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8640 (eval $ac_compile) 2>conftest.er1
8642 grep -v '^ *+' conftest.er1
>conftest.err
8644 cat conftest.err
>&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } &&
8647 { ac_try
='test -z "$ac_c_werror_flag"
8648 || test ! -s conftest.err'
8649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); }; } &&
8654 { ac_try
='test -s conftest.$ac_objext'
8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; }; then
8660 ac_header_compiler
=yes
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.
$ac_ext >&5
8665 ac_header_compiler
=no
8667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8669 echo "${ECHO_T}$ac_header_compiler" >&6
8671 # Is the header present?
8672 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8673 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8674 cat >conftest.
$ac_ext <<_ACEOF
8677 cat confdefs.h
>>conftest.
$ac_ext
8678 cat >>conftest.
$ac_ext <<_ACEOF
8679 /* end confdefs.h. */
8680 #include <$ac_header>
8682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8683 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8685 grep -v '^ *+' conftest.er1
>conftest.err
8687 cat conftest.err
>&5
8688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689 (exit $ac_status); } >/dev
/null
; then
8690 if test -s conftest.err
; then
8691 ac_cpp_err
=$ac_c_preproc_warn_flag
8692 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8699 if test -z "$ac_cpp_err"; then
8700 ac_header_preproc
=yes
8702 echo "$as_me: failed program was:" >&5
8703 sed 's/^/| /' conftest.
$ac_ext >&5
8705 ac_header_preproc
=no
8707 rm -f conftest.err conftest.
$ac_ext
8708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8709 echo "${ECHO_T}$ac_header_preproc" >&6
8711 # So? What about this header?
8712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8717 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8718 ac_header_preproc
=yes
8721 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8722 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8723 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8724 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8725 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8726 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8727 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8728 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8731 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8732 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8735 ## ------------------------------------------ ##
8736 ## Report this to the AC_PACKAGE_NAME lists. ##
8737 ## ------------------------------------------ ##
8740 sed "s/^/$as_me: WARNING: /" >&2
8743 echo "$as_me:$LINENO: checking for $ac_header" >&5
8744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 eval "$as_ac_Header=\$ac_header_preproc"
8750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8755 cat >>confdefs.h
<<_ACEOF
8756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8766 for ac_header
in fcntl.h sys
/file.h sys
/time.h
8768 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8770 echo "$as_me:$LINENO: checking for $ac_header" >&5
8771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8773 echo $ECHO_N "(cached) $ECHO_C" >&6
8775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8778 # Is the header compilable?
8779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8781 cat >conftest.
$ac_ext <<_ACEOF
8784 cat confdefs.h
>>conftest.
$ac_ext
8785 cat >>conftest.
$ac_ext <<_ACEOF
8786 /* end confdefs.h. */
8787 $ac_includes_default
8788 #include <$ac_header>
8790 rm -f conftest.
$ac_objext
8791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8792 (eval $ac_compile) 2>conftest.er1
8794 grep -v '^ *+' conftest.er1
>conftest.err
8796 cat conftest.err
>&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); } &&
8799 { ac_try
='test -z "$ac_c_werror_flag"
8800 || test ! -s conftest.err'
8801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); }; } &&
8806 { ac_try
='test -s conftest.$ac_objext'
8807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); }; }; then
8812 ac_header_compiler
=yes
8814 echo "$as_me: failed program was:" >&5
8815 sed 's/^/| /' conftest.
$ac_ext >&5
8817 ac_header_compiler
=no
8819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8821 echo "${ECHO_T}$ac_header_compiler" >&6
8823 # Is the header present?
8824 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8825 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8826 cat >conftest.
$ac_ext <<_ACEOF
8829 cat confdefs.h
>>conftest.
$ac_ext
8830 cat >>conftest.
$ac_ext <<_ACEOF
8831 /* end confdefs.h. */
8832 #include <$ac_header>
8834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8835 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8837 grep -v '^ *+' conftest.er1
>conftest.err
8839 cat conftest.err
>&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); } >/dev
/null
; then
8842 if test -s conftest.err
; then
8843 ac_cpp_err
=$ac_c_preproc_warn_flag
8844 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8851 if test -z "$ac_cpp_err"; then
8852 ac_header_preproc
=yes
8854 echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.
$ac_ext >&5
8857 ac_header_preproc
=no
8859 rm -f conftest.err conftest.
$ac_ext
8860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8861 echo "${ECHO_T}$ac_header_preproc" >&6
8863 # So? What about this header?
8864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8866 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8867 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8869 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8870 ac_header_preproc
=yes
8873 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8874 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8875 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8876 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8877 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8878 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8879 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8880 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8883 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8884 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8887 ## ------------------------------------------ ##
8888 ## Report this to the AC_PACKAGE_NAME lists. ##
8889 ## ------------------------------------------ ##
8892 sed "s/^/$as_me: WARNING: /" >&2
8895 echo "$as_me:$LINENO: checking for $ac_header" >&5
8896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8898 echo $ECHO_N "(cached) $ECHO_C" >&6
8900 eval "$as_ac_Header=\$ac_header_preproc"
8902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8907 cat >>confdefs.h
<<_ACEOF
8908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8915 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8916 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8917 if test "${ac_cv_header_time+set}" = set; then
8918 echo $ECHO_N "(cached) $ECHO_C" >&6
8920 cat >conftest.
$ac_ext <<_ACEOF
8923 cat confdefs.h
>>conftest.
$ac_ext
8924 cat >>conftest.
$ac_ext <<_ACEOF
8925 /* end confdefs.h. */
8926 #include <sys/types.h>
8927 #include <sys/time.h>
8933 if ((struct tm *) 0)
8939 rm -f conftest.
$ac_objext
8940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8941 (eval $ac_compile) 2>conftest.er1
8943 grep -v '^ *+' conftest.er1
>conftest.err
8945 cat conftest.err
>&5
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); } &&
8948 { ac_try
='test -z "$ac_c_werror_flag"
8949 || test ! -s conftest.err'
8950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); }; } &&
8955 { ac_try
='test -s conftest.$ac_objext'
8956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960 (exit $ac_status); }; }; then
8961 ac_cv_header_time
=yes
8963 echo "$as_me: failed program was:" >&5
8964 sed 's/^/| /' conftest.
$ac_ext >&5
8966 ac_cv_header_time
=no
8968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8970 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8971 echo "${ECHO_T}$ac_cv_header_time" >&6
8972 if test $ac_cv_header_time = yes; then
8974 cat >>confdefs.h
<<\_ACEOF
8975 #define TIME_WITH_SYS_TIME 1
8986 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8987 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8988 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8989 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8991 echo $ECHO_N "(cached) $ECHO_C" >&6
8993 cat >conftest.
$ac_ext <<_ACEOF
8996 cat confdefs.h
>>conftest.
$ac_ext
8997 cat >>conftest.
$ac_ext <<_ACEOF
8998 /* end confdefs.h. */
8999 #include <sys/types.h>
9011 rm -f conftest.
$ac_objext
9012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9013 (eval $ac_compile) 2>conftest.er1
9015 grep -v '^ *+' conftest.er1
>conftest.err
9017 cat conftest.err
>&5
9018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019 (exit $ac_status); } &&
9020 { ac_try
='test -z "$ac_c_werror_flag"
9021 || test ! -s conftest.err'
9022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); }; } &&
9027 { ac_try
='test -s conftest.$ac_objext'
9028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); }; }; then
9033 eval "$as_ac_Header=yes"
9035 echo "$as_me: failed program was:" >&5
9036 sed 's/^/| /' conftest.
$ac_ext >&5
9038 eval "$as_ac_Header=no"
9040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9045 cat >>confdefs.h
<<_ACEOF
9046 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9049 ac_header_dirent
=$ac_hdr; break
9053 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9054 if test $ac_header_dirent = dirent.h
; then
9055 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9056 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9057 if test "${ac_cv_search_opendir+set}" = set; then
9058 echo $ECHO_N "(cached) $ECHO_C" >&6
9060 ac_func_search_save_LIBS
=$LIBS
9061 ac_cv_search_opendir
=no
9062 cat >conftest.
$ac_ext <<_ACEOF
9065 cat confdefs.h
>>conftest.
$ac_ext
9066 cat >>conftest.
$ac_ext <<_ACEOF
9067 /* end confdefs.h. */
9069 /* Override any gcc2 internal prototype to avoid an error. */
9073 /* We use char because int might match the return type of a gcc2
9074 builtin and then its argument prototype would still apply. */
9084 rm -f conftest.
$ac_objext conftest
$ac_exeext
9085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9086 (eval $ac_link) 2>conftest.er1
9088 grep -v '^ *+' conftest.er1
>conftest.err
9090 cat conftest.err
>&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); } &&
9093 { ac_try
='test -z "$ac_c_werror_flag"
9094 || test ! -s conftest.err'
9095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); }; } &&
9100 { ac_try
='test -s conftest$ac_exeext'
9101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105 (exit $ac_status); }; }; then
9106 ac_cv_search_opendir
="none required"
9108 echo "$as_me: failed program was:" >&5
9109 sed 's/^/| /' conftest.
$ac_ext >&5
9112 rm -f conftest.err conftest.
$ac_objext \
9113 conftest
$ac_exeext conftest.
$ac_ext
9114 if test "$ac_cv_search_opendir" = no
; then
9115 for ac_lib
in dir
; do
9116 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9117 cat >conftest.
$ac_ext <<_ACEOF
9120 cat confdefs.h
>>conftest.
$ac_ext
9121 cat >>conftest.
$ac_ext <<_ACEOF
9122 /* end confdefs.h. */
9124 /* Override any gcc2 internal prototype to avoid an error. */
9128 /* We use char because int might match the return type of a gcc2
9129 builtin and then its argument prototype would still apply. */
9139 rm -f conftest.
$ac_objext conftest
$ac_exeext
9140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9141 (eval $ac_link) 2>conftest.er1
9143 grep -v '^ *+' conftest.er1
>conftest.err
9145 cat conftest.err
>&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); } &&
9148 { ac_try
='test -z "$ac_c_werror_flag"
9149 || test ! -s conftest.err'
9150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9154 (exit $ac_status); }; } &&
9155 { ac_try
='test -s conftest$ac_exeext'
9156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); }; }; then
9161 ac_cv_search_opendir
="-l$ac_lib"
9164 echo "$as_me: failed program was:" >&5
9165 sed 's/^/| /' conftest.
$ac_ext >&5
9168 rm -f conftest.err conftest.
$ac_objext \
9169 conftest
$ac_exeext conftest.
$ac_ext
9172 LIBS
=$ac_func_search_save_LIBS
9174 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9175 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9176 if test "$ac_cv_search_opendir" != no
; then
9177 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9182 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9183 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9184 if test "${ac_cv_search_opendir+set}" = set; then
9185 echo $ECHO_N "(cached) $ECHO_C" >&6
9187 ac_func_search_save_LIBS
=$LIBS
9188 ac_cv_search_opendir
=no
9189 cat >conftest.
$ac_ext <<_ACEOF
9192 cat confdefs.h
>>conftest.
$ac_ext
9193 cat >>conftest.
$ac_ext <<_ACEOF
9194 /* end confdefs.h. */
9196 /* Override any gcc2 internal prototype to avoid an error. */
9200 /* We use char because int might match the return type of a gcc2
9201 builtin and then its argument prototype would still apply. */
9211 rm -f conftest.
$ac_objext conftest
$ac_exeext
9212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9213 (eval $ac_link) 2>conftest.er1
9215 grep -v '^ *+' conftest.er1
>conftest.err
9217 cat conftest.err
>&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } &&
9220 { ac_try
='test -z "$ac_c_werror_flag"
9221 || test ! -s conftest.err'
9222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; } &&
9227 { ac_try
='test -s conftest$ac_exeext'
9228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); }; }; then
9233 ac_cv_search_opendir
="none required"
9235 echo "$as_me: failed program was:" >&5
9236 sed 's/^/| /' conftest.
$ac_ext >&5
9239 rm -f conftest.err conftest.
$ac_objext \
9240 conftest
$ac_exeext conftest.
$ac_ext
9241 if test "$ac_cv_search_opendir" = no
; then
9243 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9244 cat >conftest.
$ac_ext <<_ACEOF
9247 cat confdefs.h
>>conftest.
$ac_ext
9248 cat >>conftest.
$ac_ext <<_ACEOF
9249 /* end confdefs.h. */
9251 /* Override any gcc2 internal prototype to avoid an error. */
9255 /* We use char because int might match the return type of a gcc2
9256 builtin and then its argument prototype would still apply. */
9266 rm -f conftest.
$ac_objext conftest
$ac_exeext
9267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9268 (eval $ac_link) 2>conftest.er1
9270 grep -v '^ *+' conftest.er1
>conftest.err
9272 cat conftest.err
>&5
9273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9274 (exit $ac_status); } &&
9275 { ac_try
='test -z "$ac_c_werror_flag"
9276 || test ! -s conftest.err'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); }; } &&
9282 { ac_try
='test -s conftest$ac_exeext'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; }; then
9288 ac_cv_search_opendir
="-l$ac_lib"
9291 echo "$as_me: failed program was:" >&5
9292 sed 's/^/| /' conftest.
$ac_ext >&5
9295 rm -f conftest.err conftest.
$ac_objext \
9296 conftest
$ac_exeext conftest.
$ac_ext
9299 LIBS
=$ac_func_search_save_LIBS
9301 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9302 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9303 if test "$ac_cv_search_opendir" != no
; then
9304 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9317 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
9319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9320 echo "$as_me:$LINENO: checking for $ac_func" >&5
9321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9322 if eval "test \"\${$as_ac_var+set}\" = set"; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9325 cat >conftest.
$ac_ext <<_ACEOF
9328 cat confdefs.h
>>conftest.
$ac_ext
9329 cat >>conftest.
$ac_ext <<_ACEOF
9330 /* end confdefs.h. */
9331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9333 #define $ac_func innocuous_$ac_func
9335 /* System header to define __stub macros and hopefully few prototypes,
9336 which can conflict with char $ac_func (); below.
9337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9338 <limits.h> exists even on freestanding compilers. */
9341 # include <limits.h>
9343 # include <assert.h>
9348 /* Override any gcc2 internal prototype to avoid an error. */
9353 /* We use char because int might match the return type of a gcc2
9354 builtin and then its argument prototype would still apply. */
9356 /* The GNU C library defines this for functions which it implements
9357 to always fail with ENOSYS. Some functions are actually named
9358 something starting with __ and the normal name is an alias. */
9359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9362 char (*f) () = $ac_func;
9371 return f != $ac_func;
9376 rm -f conftest.
$ac_objext conftest
$ac_exeext
9377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9378 (eval $ac_link) 2>conftest.er1
9380 grep -v '^ *+' conftest.er1
>conftest.err
9382 cat conftest.err
>&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } &&
9385 { ac_try
='test -z "$ac_c_werror_flag"
9386 || test ! -s conftest.err'
9387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); }; } &&
9392 { ac_try
='test -s conftest$ac_exeext'
9393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); }; }; then
9398 eval "$as_ac_var=yes"
9400 echo "$as_me: failed program was:" >&5
9401 sed 's/^/| /' conftest.
$ac_ext >&5
9403 eval "$as_ac_var=no"
9405 rm -f conftest.err conftest.
$ac_objext \
9406 conftest
$ac_exeext conftest.
$ac_ext
9408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9410 if test `eval echo '${'$as_ac_var'}'` = yes; then
9411 cat >>confdefs.h
<<_ACEOF
9412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9419 for ac_func
in strtoull
9421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9422 echo "$as_me:$LINENO: checking for $ac_func" >&5
9423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9424 if eval "test \"\${$as_ac_var+set}\" = set"; then
9425 echo $ECHO_N "(cached) $ECHO_C" >&6
9427 cat >conftest.
$ac_ext <<_ACEOF
9430 cat confdefs.h
>>conftest.
$ac_ext
9431 cat >>conftest.
$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9435 #define $ac_func innocuous_$ac_func
9437 /* System header to define __stub macros and hopefully few prototypes,
9438 which can conflict with char $ac_func (); below.
9439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9440 <limits.h> exists even on freestanding compilers. */
9443 # include <limits.h>
9445 # include <assert.h>
9450 /* Override any gcc2 internal prototype to avoid an error. */
9455 /* We use char because int might match the return type of a gcc2
9456 builtin and then its argument prototype would still apply. */
9458 /* The GNU C library defines this for functions which it implements
9459 to always fail with ENOSYS. Some functions are actually named
9460 something starting with __ and the normal name is an alias. */
9461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9464 char (*f) () = $ac_func;
9473 return f != $ac_func;
9478 rm -f conftest.
$ac_objext conftest
$ac_exeext
9479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9480 (eval $ac_link) 2>conftest.er1
9482 grep -v '^ *+' conftest.er1
>conftest.err
9484 cat conftest.err
>&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); } &&
9487 { ac_try
='test -z "$ac_c_werror_flag"
9488 || test ! -s conftest.err'
9489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); }; } &&
9494 { ac_try
='test -s conftest$ac_exeext'
9495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; }; then
9500 eval "$as_ac_var=yes"
9502 echo "$as_me: failed program was:" >&5
9503 sed 's/^/| /' conftest.
$ac_ext >&5
9505 eval "$as_ac_var=no"
9507 rm -f conftest.err conftest.
$ac_objext \
9508 conftest
$ac_exeext conftest.
$ac_ext
9510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9512 if test `eval echo '${'$as_ac_var'}'` = yes; then
9513 cat >>confdefs.h
<<_ACEOF
9514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9523 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
9525 cat >>confdefs.h
<<\_ACEOF
9526 #define USE_BINARY_FOPEN 1
9531 echo "$as_me:$LINENO: checking whether strstr must be declared" >&5
9532 echo $ECHO_N "checking whether strstr must be declared... $ECHO_C" >&6
9533 if test "${bfd_cv_decl_needed_strstr+set}" = set; then
9534 echo $ECHO_N "(cached) $ECHO_C" >&6
9536 cat >conftest.
$ac_ext <<_ACEOF
9539 cat confdefs.h
>>conftest.
$ac_ext
9540 cat >>conftest.
$ac_ext <<_ACEOF
9541 /* end confdefs.h. */
9544 #ifdef HAVE_STRING_H
9547 #ifdef HAVE_STRINGS_H
9548 #include <strings.h>
9551 #ifdef HAVE_STDLIB_H
9554 #ifdef HAVE_UNISTD_H
9560 char *(*pfn) = (char *(*)) strstr
9565 rm -f conftest.
$ac_objext
9566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9567 (eval $ac_compile) 2>conftest.er1
9569 grep -v '^ *+' conftest.er1
>conftest.err
9571 cat conftest.err
>&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); } &&
9574 { ac_try
='test -z "$ac_c_werror_flag"
9575 || test ! -s conftest.err'
9576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; } &&
9581 { ac_try
='test -s conftest.$ac_objext'
9582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); }; }; then
9587 bfd_cv_decl_needed_strstr
=no
9589 echo "$as_me: failed program was:" >&5
9590 sed 's/^/| /' conftest.
$ac_ext >&5
9592 bfd_cv_decl_needed_strstr
=yes
9594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9597 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_strstr" >&5
9598 echo "${ECHO_T}$bfd_cv_decl_needed_strstr" >&6
9599 if test $bfd_cv_decl_needed_strstr = yes; then
9601 cat >>confdefs.h
<<\_ACEOF
9602 #define NEED_DECLARATION_STRSTR 1
9607 echo "$as_me:$LINENO: checking whether malloc must be declared" >&5
9608 echo $ECHO_N "checking whether malloc must be declared... $ECHO_C" >&6
9609 if test "${bfd_cv_decl_needed_malloc+set}" = set; then
9610 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 cat >conftest.
$ac_ext <<_ACEOF
9615 cat confdefs.h
>>conftest.
$ac_ext
9616 cat >>conftest.
$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9620 #ifdef HAVE_STRING_H
9623 #ifdef HAVE_STRINGS_H
9624 #include <strings.h>
9627 #ifdef HAVE_STDLIB_H
9630 #ifdef HAVE_UNISTD_H
9636 char *(*pfn) = (char *(*)) malloc
9641 rm -f conftest.
$ac_objext
9642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9643 (eval $ac_compile) 2>conftest.er1
9645 grep -v '^ *+' conftest.er1
>conftest.err
9647 cat conftest.err
>&5
9648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649 (exit $ac_status); } &&
9650 { ac_try
='test -z "$ac_c_werror_flag"
9651 || test ! -s conftest.err'
9652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; } &&
9657 { ac_try
='test -s conftest.$ac_objext'
9658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); }; }; then
9663 bfd_cv_decl_needed_malloc
=no
9665 echo "$as_me: failed program was:" >&5
9666 sed 's/^/| /' conftest.
$ac_ext >&5
9668 bfd_cv_decl_needed_malloc
=yes
9670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9673 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_malloc" >&5
9674 echo "${ECHO_T}$bfd_cv_decl_needed_malloc" >&6
9675 if test $bfd_cv_decl_needed_malloc = yes; then
9677 cat >>confdefs.h
<<\_ACEOF
9678 #define NEED_DECLARATION_MALLOC 1
9683 echo "$as_me:$LINENO: checking whether realloc must be declared" >&5
9684 echo $ECHO_N "checking whether realloc must be declared... $ECHO_C" >&6
9685 if test "${bfd_cv_decl_needed_realloc+set}" = set; then
9686 echo $ECHO_N "(cached) $ECHO_C" >&6
9688 cat >conftest.
$ac_ext <<_ACEOF
9691 cat confdefs.h
>>conftest.
$ac_ext
9692 cat >>conftest.
$ac_ext <<_ACEOF
9693 /* end confdefs.h. */
9696 #ifdef HAVE_STRING_H
9699 #ifdef HAVE_STRINGS_H
9700 #include <strings.h>
9703 #ifdef HAVE_STDLIB_H
9706 #ifdef HAVE_UNISTD_H
9712 char *(*pfn) = (char *(*)) realloc
9717 rm -f conftest.
$ac_objext
9718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9719 (eval $ac_compile) 2>conftest.er1
9721 grep -v '^ *+' conftest.er1
>conftest.err
9723 cat conftest.err
>&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } &&
9726 { ac_try
='test -z "$ac_c_werror_flag"
9727 || test ! -s conftest.err'
9728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); }; } &&
9733 { ac_try
='test -s conftest.$ac_objext'
9734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); }; }; then
9739 bfd_cv_decl_needed_realloc
=no
9741 echo "$as_me: failed program was:" >&5
9742 sed 's/^/| /' conftest.
$ac_ext >&5
9744 bfd_cv_decl_needed_realloc
=yes
9746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9749 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_realloc" >&5
9750 echo "${ECHO_T}$bfd_cv_decl_needed_realloc" >&6
9751 if test $bfd_cv_decl_needed_realloc = yes; then
9753 cat >>confdefs.h
<<\_ACEOF
9754 #define NEED_DECLARATION_REALLOC 1
9759 echo "$as_me:$LINENO: checking whether free must be declared" >&5
9760 echo $ECHO_N "checking whether free must be declared... $ECHO_C" >&6
9761 if test "${bfd_cv_decl_needed_free+set}" = set; then
9762 echo $ECHO_N "(cached) $ECHO_C" >&6
9764 cat >conftest.
$ac_ext <<_ACEOF
9767 cat confdefs.h
>>conftest.
$ac_ext
9768 cat >>conftest.
$ac_ext <<_ACEOF
9769 /* end confdefs.h. */
9772 #ifdef HAVE_STRING_H
9775 #ifdef HAVE_STRINGS_H
9776 #include <strings.h>
9779 #ifdef HAVE_STDLIB_H
9782 #ifdef HAVE_UNISTD_H
9788 char *(*pfn) = (char *(*)) free
9793 rm -f conftest.
$ac_objext
9794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9795 (eval $ac_compile) 2>conftest.er1
9797 grep -v '^ *+' conftest.er1
>conftest.err
9799 cat conftest.err
>&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); } &&
9802 { ac_try
='test -z "$ac_c_werror_flag"
9803 || test ! -s conftest.err'
9804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); }; } &&
9809 { ac_try
='test -s conftest.$ac_objext'
9810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 (exit $ac_status); }; }; then
9815 bfd_cv_decl_needed_free
=no
9817 echo "$as_me: failed program was:" >&5
9818 sed 's/^/| /' conftest.
$ac_ext >&5
9820 bfd_cv_decl_needed_free
=yes
9822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9825 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_free" >&5
9826 echo "${ECHO_T}$bfd_cv_decl_needed_free" >&6
9827 if test $bfd_cv_decl_needed_free = yes; then
9829 cat >>confdefs.h
<<\_ACEOF
9830 #define NEED_DECLARATION_FREE 1
9835 echo "$as_me:$LINENO: checking whether getenv must be declared" >&5
9836 echo $ECHO_N "checking whether getenv must be declared... $ECHO_C" >&6
9837 if test "${bfd_cv_decl_needed_getenv+set}" = set; then
9838 echo $ECHO_N "(cached) $ECHO_C" >&6
9840 cat >conftest.
$ac_ext <<_ACEOF
9843 cat confdefs.h
>>conftest.
$ac_ext
9844 cat >>conftest.
$ac_ext <<_ACEOF
9845 /* end confdefs.h. */
9848 #ifdef HAVE_STRING_H
9851 #ifdef HAVE_STRINGS_H
9852 #include <strings.h>
9855 #ifdef HAVE_STDLIB_H
9858 #ifdef HAVE_UNISTD_H
9864 char *(*pfn) = (char *(*)) getenv
9869 rm -f conftest.
$ac_objext
9870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9871 (eval $ac_compile) 2>conftest.er1
9873 grep -v '^ *+' conftest.er1
>conftest.err
9875 cat conftest.err
>&5
9876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9877 (exit $ac_status); } &&
9878 { ac_try
='test -z "$ac_c_werror_flag"
9879 || test ! -s conftest.err'
9880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); }; } &&
9885 { ac_try
='test -s conftest.$ac_objext'
9886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); }; }; then
9891 bfd_cv_decl_needed_getenv
=no
9893 echo "$as_me: failed program was:" >&5
9894 sed 's/^/| /' conftest.
$ac_ext >&5
9896 bfd_cv_decl_needed_getenv
=yes
9898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9901 echo "$as_me:$LINENO: result: $bfd_cv_decl_needed_getenv" >&5
9902 echo "${ECHO_T}$bfd_cv_decl_needed_getenv" >&6
9903 if test $bfd_cv_decl_needed_getenv = yes; then
9905 cat >>confdefs.h
<<\_ACEOF
9906 #define NEED_DECLARATION_GETENV 1
9912 # If we are configured native, pick a core file support file.
9916 if test "${target}" = "${host}"; then
9918 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
9921 alpha
*-*-linux-gnu*)
9922 COREFILE
=trad-core.lo
9923 TRAD_HEADER
='"hosts/alphalinux.h"'
9925 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
9926 COREFILE
=netbsd-core.lo
9928 alpha
*-*-*) COREFILE
=osf-core.lo
;;
9929 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
9931 arm-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
9932 arm-
*-riscix) COREFILE
=trad-core.lo
;;
9933 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
9934 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
9935 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
9936 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
9937 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
9938 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
9939 COREFILE
=netbsd-core.lo
9943 COREFILE
=trad-core.lo
9944 TRAD_HEADER
='"hosts/i370linux.h"'
9947 i
[3-7]86-sequent-bsd*)
9948 COREFILE
=trad-core.lo
9949 TRAD_HEADER
='"hosts/symmetry.h"'
9951 i
[3-7]86-sequent-sysv4*) ;;
9952 i
[3-7]86-sequent-sysv*)
9953 COREFILE
=trad-core.lo
9954 TRAD_HEADER
='"hosts/symmetry.h"'
9959 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
*)
9960 COREFILE
=trad-core.lo
9961 TRAD_HEADER
='"hosts/i386bsd.h"'
9963 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
9965 TRAD_HEADER
='"hosts/i386bsd.h"'
9967 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
9968 COREFILE
=netbsd-core.lo
9970 i
[3-7]86-esix-sysv3*)
9971 COREFILE
=trad-core.lo
9972 TRAD_HEADER
='"hosts/esix.h"'
9974 i
[3-7]86-*-sco3.2v5
*)
9975 COREFILE
=sco5-core.lo
9977 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
9978 COREFILE
=trad-core.lo
9979 TRAD_HEADER
='"hosts/i386sco.h"'
9982 COREFILE
=trad-core.lo
9983 TRAD_HEADER
='"hosts/i386mach3.h"'
9985 i
[3-7]86-*-linux-gnu*)
9986 COREFILE
=trad-core.lo
9987 TRAD_HEADER
='"hosts/i386linux.h"'
9989 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
9990 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
9991 i860-
*-mach3* | i860-
*-osf1*)
9992 COREFILE
=trad-core.lo
9993 TRAD_HEADER
='"hosts/i860mach3.h"'
9995 mips-
*-netbsd* | mips
*-*-openbsd*)
9996 COREFILE
=netbsd-core.lo
9999 COREFILE
=trad-core.lo
10000 TRAD_HEADER
='"hosts/decstation.h"'
10002 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
10003 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
10004 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
10006 mips-
*-sysv* | mips-
*-riscos*)
10007 COREFILE
=trad-core.lo
10008 TRAD_HEADER
='"hosts/riscos.h"'
10011 COREFILE
=trad-core.lo
10012 TRAD_HEADER
='"hosts/news-mips.h"'
10015 COREFILE
=trad-core.lo
10016 TRAD_HEADER
='"hosts/dpx2.h"'
10018 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
10020 COREFILE
=trad-core.lo
10021 TRAD_HEADER
='"hosts/hp300bsd.h"'
10024 COREFILE
=trad-core.lo
10025 TRAD_HEADER
='"hosts/m68klinux.h"'
10027 m68
*-motorola-sysv*)
10028 COREFILE
=trad-core.lo
10029 TRAD_HEADER
='"hosts/delta68.h"'
10032 COREFILE
=trad-core.lo
10033 TRAD_HEADER
='"hosts/news.h"'
10035 m68
*-*-netbsd* | m68
*-*-openbsd*)
10036 COREFILE
=netbsd-core.lo
10039 COREFILE
=trad-core.lo
10040 TRAD_HEADER
='"hosts/m68kaux.h"'
10044 m88
*-motorola-sysv*)
10045 COREFILE
=ptrace-core.lo
10048 COREFILE
=trad-core.lo
10049 TRAD_HEADER
='"hosts/m88kmach3.h"'
10052 COREFILE
=netbsd-core.lo
10055 COREFILE
=trad-core.lo
10056 TRAD_HEADER
='"hosts/pc532mach.h"'
10058 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
10059 COREFILE
=netbsd-core.lo
10062 COREFILE
=lynx-core.lo
10064 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
10065 COREFILE
=rs6000-core.lo
10066 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
10068 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
10069 COREFILE
=rs6000-core.lo
10070 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
10071 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
10072 # have c_impl as a member of struct core_dumpx
10073 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
10074 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
10075 cat >conftest.
$ac_ext <<_ACEOF
10078 cat confdefs.h
>>conftest.
$ac_ext
10079 cat >>conftest.
$ac_ext <<_ACEOF
10080 /* end confdefs.h. */
10085 struct core_dumpx c; c.c_impl = 0;
10090 rm -f conftest.
$ac_objext
10091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10092 (eval $ac_compile) 2>conftest.er1
10094 grep -v '^ *+' conftest.er1
>conftest.err
10096 cat conftest.err
>&5
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); } &&
10099 { ac_try
='test -z "$ac_c_werror_flag"
10100 || test ! -s conftest.err'
10101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10102 (eval $ac_try) 2>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; } &&
10106 { ac_try
='test -s conftest.$ac_objext'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; }; then
10113 cat >>confdefs.h
<<\_ACEOF
10114 #define HAVE_ST_C_IMPL 1
10117 echo "$as_me:$LINENO: result: yes" >&5
10118 echo "${ECHO_T}yes" >&6
10120 echo "$as_me: failed program was:" >&5
10121 sed 's/^/| /' conftest.
$ac_ext >&5
10123 echo "$as_me:$LINENO: result: no" >&5
10124 echo "${ECHO_T}no" >&6
10126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10128 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
10129 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
10130 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
10131 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
10132 powerpc-
*-beos*) ;;
10133 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
10135 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
10136 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
10137 s390
*-*-*) COREFILE
=trad-core.lo
;;
10138 sh
*-*-netbsd*) COREFILE
=netbsd-core.lo
;;
10139 sparc-
*-netbsd* | sparc
*-*-openbsd*)
10140 COREFILE
=netbsd-core.lo
10143 COREFILE
=trad-core.lo
10144 TRAD_HEADER
='"hosts/tahoe.h"'
10146 vax-
*-netbsd* | vax-
*-openbsd*)
10147 COREFILE
=netbsd-core.lo
10150 COREFILE
=trad-core.lo
10151 TRAD_HEADER
='"hosts/vaxult2.h"'
10154 COREFILE
=trad-core.lo
10155 TRAD_HEADER
='"hosts/vaxult2.h"'
10158 COREFILE
=trad-core.lo
10159 TRAD_HEADER
='"hosts/vaxlinux.h"'
10162 COREFILE
=trad-core.lo
10163 TRAD_HEADER
='"hosts/vaxbsd.h"'
10165 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
10166 COREFILE
=netbsd-core.lo
10170 case "$COREFILE" in
10171 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
10172 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
10173 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
10174 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
10175 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
10176 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
10177 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
10178 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
10179 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
10180 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
10181 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
10184 # ELF corefile support has several flavors, but all of
10185 # them use something called <sys/procfs.h>
10187 for ac_header
in sys
/procfs.h
10189 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10191 echo "$as_me:$LINENO: checking for $ac_header" >&5
10192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10194 echo $ECHO_N "(cached) $ECHO_C" >&6
10196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10199 # Is the header compilable?
10200 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10202 cat >conftest.
$ac_ext <<_ACEOF
10205 cat confdefs.h
>>conftest.
$ac_ext
10206 cat >>conftest.
$ac_ext <<_ACEOF
10207 /* end confdefs.h. */
10208 $ac_includes_default
10209 #include <$ac_header>
10211 rm -f conftest.
$ac_objext
10212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10213 (eval $ac_compile) 2>conftest.er1
10215 grep -v '^ *+' conftest.er1
>conftest.err
10217 cat conftest.err
>&5
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); } &&
10220 { ac_try
='test -z "$ac_c_werror_flag"
10221 || test ! -s conftest.err'
10222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 (eval $ac_try) 2>&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; } &&
10227 { ac_try
='test -s conftest.$ac_objext'
10228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10229 (eval $ac_try) 2>&5
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 (exit $ac_status); }; }; then
10233 ac_header_compiler
=yes
10235 echo "$as_me: failed program was:" >&5
10236 sed 's/^/| /' conftest.
$ac_ext >&5
10238 ac_header_compiler
=no
10240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10242 echo "${ECHO_T}$ac_header_compiler" >&6
10244 # Is the header present?
10245 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10247 cat >conftest.
$ac_ext <<_ACEOF
10250 cat confdefs.h
>>conftest.
$ac_ext
10251 cat >>conftest.
$ac_ext <<_ACEOF
10252 /* end confdefs.h. */
10253 #include <$ac_header>
10255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10256 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10258 grep -v '^ *+' conftest.er1
>conftest.err
10260 cat conftest.err
>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); } >/dev
/null
; then
10263 if test -s conftest.err
; then
10264 ac_cpp_err
=$ac_c_preproc_warn_flag
10265 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10272 if test -z "$ac_cpp_err"; then
10273 ac_header_preproc
=yes
10275 echo "$as_me: failed program was:" >&5
10276 sed 's/^/| /' conftest.
$ac_ext >&5
10278 ac_header_preproc
=no
10280 rm -f conftest.err conftest.
$ac_ext
10281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10282 echo "${ECHO_T}$ac_header_preproc" >&6
10284 # So? What about this header?
10285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10288 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10290 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10291 ac_header_preproc
=yes
10294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10298 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10299 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10300 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10301 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10304 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10305 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10308 ## ------------------------------------------ ##
10309 ## Report this to the AC_PACKAGE_NAME lists. ##
10310 ## ------------------------------------------ ##
10313 sed "s/^/$as_me: WARNING: /" >&2
10316 echo "$as_me:$LINENO: checking for $ac_header" >&5
10317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10319 echo $ECHO_N "(cached) $ECHO_C" >&6
10321 eval "$as_ac_Header=\$ac_header_preproc"
10323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10328 cat >>confdefs.h
<<_ACEOF
10329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10336 if test "$ac_cv_header_sys_procfs_h" = yes; then
10337 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
10338 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
10339 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
10340 echo $ECHO_N "(cached) $ECHO_C" >&6
10342 cat >conftest.
$ac_ext <<_ACEOF
10345 cat confdefs.h
>>conftest.
$ac_ext
10346 cat >>conftest.
$ac_ext <<_ACEOF
10347 /* end confdefs.h. */
10350 #include <sys/procfs.h>
10359 rm -f conftest.
$ac_objext
10360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10361 (eval $ac_compile) 2>conftest.er1
10363 grep -v '^ *+' conftest.er1
>conftest.err
10365 cat conftest.err
>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); } &&
10368 { ac_try
='test -z "$ac_c_werror_flag"
10369 || test ! -s conftest.err'
10370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371 (eval $ac_try) 2>&5
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; } &&
10375 { ac_try
='test -s conftest.$ac_objext'
10376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10377 (eval $ac_try) 2>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; }; then
10381 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
10383 echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.
$ac_ext >&5
10386 bfd_cv_have_sys_procfs_type_prstatus_t
=no
10389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10392 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
10394 cat >>confdefs.h
<<\_ACEOF
10395 #define HAVE_PRSTATUS_T 1
10399 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
10400 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
10402 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
10403 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
10404 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
10405 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 cat >conftest.
$ac_ext <<_ACEOF
10410 cat confdefs.h
>>conftest.
$ac_ext
10411 cat >>conftest.
$ac_ext <<_ACEOF
10412 /* end confdefs.h. */
10415 #include <sys/procfs.h>
10424 rm -f conftest.
$ac_objext
10425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10426 (eval $ac_compile) 2>conftest.er1
10428 grep -v '^ *+' conftest.er1
>conftest.err
10430 cat conftest.err
>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); } &&
10433 { ac_try
='test -z "$ac_c_werror_flag"
10434 || test ! -s conftest.err'
10435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10436 (eval $ac_try) 2>&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); }; } &&
10440 { ac_try
='test -s conftest.$ac_objext'
10441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10442 (eval $ac_try) 2>&5
10444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445 (exit $ac_status); }; }; then
10446 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
10448 echo "$as_me: failed program was:" >&5
10449 sed 's/^/| /' conftest.
$ac_ext >&5
10451 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
10454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10457 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
10459 cat >>confdefs.h
<<\_ACEOF
10460 #define HAVE_PRSTATUS32_T 1
10464 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
10465 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
10467 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
10468 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
10469 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 cat >conftest.
$ac_ext <<_ACEOF
10475 cat confdefs.h
>>conftest.
$ac_ext
10476 cat >>conftest.
$ac_ext <<_ACEOF
10477 /* end confdefs.h. */
10480 #include <sys/procfs.h>
10484 prstatus_t avar; void* aref = (void*) &avar.pr_who
10489 rm -f conftest.
$ac_objext
10490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10491 (eval $ac_compile) 2>conftest.er1
10493 grep -v '^ *+' conftest.er1
>conftest.err
10495 cat conftest.err
>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } &&
10498 { ac_try
='test -z "$ac_c_werror_flag"
10499 || test ! -s conftest.err'
10500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10501 (eval $ac_try) 2>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }; } &&
10505 { ac_try
='test -s conftest.$ac_objext'
10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507 (eval $ac_try) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; }; then
10511 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
10513 echo "$as_me: failed program was:" >&5
10514 sed 's/^/| /' conftest.
$ac_ext >&5
10516 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
10519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10522 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
10524 cat >>confdefs.h
<<\_ACEOF
10525 #define HAVE_PRSTATUS_T_PR_WHO 1
10529 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
10530 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
10532 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
10533 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
10534 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10537 cat >conftest.
$ac_ext <<_ACEOF
10540 cat confdefs.h
>>conftest.
$ac_ext
10541 cat >>conftest.
$ac_ext <<_ACEOF
10542 /* end confdefs.h. */
10545 #include <sys/procfs.h>
10549 prstatus32_t avar; void* aref = (void*) &avar.pr_who
10554 rm -f conftest.
$ac_objext
10555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10556 (eval $ac_compile) 2>conftest.er1
10558 grep -v '^ *+' conftest.er1
>conftest.err
10560 cat conftest.err
>&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); } &&
10563 { ac_try
='test -z "$ac_c_werror_flag"
10564 || test ! -s conftest.err'
10565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566 (eval $ac_try) 2>&5
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); }; } &&
10570 { ac_try
='test -s conftest.$ac_objext'
10571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572 (eval $ac_try) 2>&5
10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575 (exit $ac_status); }; }; then
10576 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
10578 echo "$as_me: failed program was:" >&5
10579 sed 's/^/| /' conftest.
$ac_ext >&5
10581 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
10584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10587 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
10589 cat >>confdefs.h
<<\_ACEOF
10590 #define HAVE_PRSTATUS32_T_PR_WHO 1
10594 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
10595 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
10597 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
10598 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
10599 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
10600 echo $ECHO_N "(cached) $ECHO_C" >&6
10602 cat >conftest.
$ac_ext <<_ACEOF
10605 cat confdefs.h
>>conftest.
$ac_ext
10606 cat >>conftest.
$ac_ext <<_ACEOF
10607 /* end confdefs.h. */
10610 #include <sys/procfs.h>
10619 rm -f conftest.
$ac_objext
10620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10621 (eval $ac_compile) 2>conftest.er1
10623 grep -v '^ *+' conftest.er1
>conftest.err
10625 cat conftest.err
>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); } &&
10628 { ac_try
='test -z "$ac_c_werror_flag"
10629 || test ! -s conftest.err'
10630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10631 (eval $ac_try) 2>&5
10633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10634 (exit $ac_status); }; } &&
10635 { ac_try
='test -s conftest.$ac_objext'
10636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10637 (eval $ac_try) 2>&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); }; }; then
10641 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
10643 echo "$as_me: failed program was:" >&5
10644 sed 's/^/| /' conftest.
$ac_ext >&5
10646 bfd_cv_have_sys_procfs_type_pstatus_t
=no
10649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10652 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
10654 cat >>confdefs.h
<<\_ACEOF
10655 #define HAVE_PSTATUS_T 1
10659 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
10660 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
10662 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
10663 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
10664 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 cat >conftest.
$ac_ext <<_ACEOF
10670 cat confdefs.h
>>conftest.
$ac_ext
10671 cat >>conftest.
$ac_ext <<_ACEOF
10672 /* end confdefs.h. */
10675 #include <sys/procfs.h>
10684 rm -f conftest.
$ac_objext
10685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10686 (eval $ac_compile) 2>conftest.er1
10688 grep -v '^ *+' conftest.er1
>conftest.err
10690 cat conftest.err
>&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); } &&
10693 { ac_try
='test -z "$ac_c_werror_flag"
10694 || test ! -s conftest.err'
10695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10696 (eval $ac_try) 2>&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); }; } &&
10700 { ac_try
='test -s conftest.$ac_objext'
10701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10702 (eval $ac_try) 2>&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); }; }; then
10706 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
10708 echo "$as_me: failed program was:" >&5
10709 sed 's/^/| /' conftest.
$ac_ext >&5
10711 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
10714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10717 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
10719 cat >>confdefs.h
<<\_ACEOF
10720 #define HAVE_PXSTATUS_T 1
10724 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
10725 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
10727 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
10728 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
10729 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
10730 echo $ECHO_N "(cached) $ECHO_C" >&6
10732 cat >conftest.
$ac_ext <<_ACEOF
10735 cat confdefs.h
>>conftest.
$ac_ext
10736 cat >>conftest.
$ac_ext <<_ACEOF
10737 /* end confdefs.h. */
10740 #include <sys/procfs.h>
10749 rm -f conftest.
$ac_objext
10750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10751 (eval $ac_compile) 2>conftest.er1
10753 grep -v '^ *+' conftest.er1
>conftest.err
10755 cat conftest.err
>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } &&
10758 { ac_try
='test -z "$ac_c_werror_flag"
10759 || test ! -s conftest.err'
10760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761 (eval $ac_try) 2>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); }; } &&
10765 { ac_try
='test -s conftest.$ac_objext'
10766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10767 (eval $ac_try) 2>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); }; }; then
10771 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
10773 echo "$as_me: failed program was:" >&5
10774 sed 's/^/| /' conftest.
$ac_ext >&5
10776 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
10779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10782 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
10784 cat >>confdefs.h
<<\_ACEOF
10785 #define HAVE_PSTATUS32_T 1
10789 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
10790 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
10792 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
10793 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
10794 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 cat >conftest.
$ac_ext <<_ACEOF
10800 cat confdefs.h
>>conftest.
$ac_ext
10801 cat >>conftest.
$ac_ext <<_ACEOF
10802 /* end confdefs.h. */
10805 #include <sys/procfs.h>
10814 rm -f conftest.
$ac_objext
10815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10816 (eval $ac_compile) 2>conftest.er1
10818 grep -v '^ *+' conftest.er1
>conftest.err
10820 cat conftest.err
>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } &&
10823 { ac_try
='test -z "$ac_c_werror_flag"
10824 || test ! -s conftest.err'
10825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10826 (eval $ac_try) 2>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); }; } &&
10830 { ac_try
='test -s conftest.$ac_objext'
10831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10832 (eval $ac_try) 2>&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); }; }; then
10836 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
10838 echo "$as_me: failed program was:" >&5
10839 sed 's/^/| /' conftest.
$ac_ext >&5
10841 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
10844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10847 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
10849 cat >>confdefs.h
<<\_ACEOF
10850 #define HAVE_PRPSINFO_T 1
10854 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
10855 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
10857 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
10858 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
10859 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
10860 echo $ECHO_N "(cached) $ECHO_C" >&6
10862 cat >conftest.
$ac_ext <<_ACEOF
10865 cat confdefs.h
>>conftest.
$ac_ext
10866 cat >>conftest.
$ac_ext <<_ACEOF
10867 /* end confdefs.h. */
10870 #include <sys/procfs.h>
10879 rm -f conftest.
$ac_objext
10880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10881 (eval $ac_compile) 2>conftest.er1
10883 grep -v '^ *+' conftest.er1
>conftest.err
10885 cat conftest.err
>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); } &&
10888 { ac_try
='test -z "$ac_c_werror_flag"
10889 || test ! -s conftest.err'
10890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10891 (eval $ac_try) 2>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; } &&
10895 { ac_try
='test -s conftest.$ac_objext'
10896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10897 (eval $ac_try) 2>&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); }; }; then
10901 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
10903 echo "$as_me: failed program was:" >&5
10904 sed 's/^/| /' conftest.
$ac_ext >&5
10906 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
10909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10912 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
10914 cat >>confdefs.h
<<\_ACEOF
10915 #define HAVE_PRPSINFO32_T 1
10919 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
10920 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
10922 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
10923 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
10924 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 cat >conftest.
$ac_ext <<_ACEOF
10930 cat confdefs.h
>>conftest.
$ac_ext
10931 cat >>conftest.
$ac_ext <<_ACEOF
10932 /* end confdefs.h. */
10935 #include <sys/procfs.h>
10944 rm -f conftest.
$ac_objext
10945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10946 (eval $ac_compile) 2>conftest.er1
10948 grep -v '^ *+' conftest.er1
>conftest.err
10950 cat conftest.err
>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); } &&
10953 { ac_try
='test -z "$ac_c_werror_flag"
10954 || test ! -s conftest.err'
10955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10956 (eval $ac_try) 2>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); }; } &&
10960 { ac_try
='test -s conftest.$ac_objext'
10961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962 (eval $ac_try) 2>&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); }; }; then
10966 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.
$ac_ext >&5
10971 bfd_cv_have_sys_procfs_type_psinfo_t
=no
10974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10977 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
10979 cat >>confdefs.h
<<\_ACEOF
10980 #define HAVE_PSINFO_T 1
10984 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
10985 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
10987 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
10988 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
10989 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
10990 echo $ECHO_N "(cached) $ECHO_C" >&6
10992 cat >conftest.
$ac_ext <<_ACEOF
10995 cat confdefs.h
>>conftest.
$ac_ext
10996 cat >>conftest.
$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
11000 #include <sys/procfs.h>
11009 rm -f conftest.
$ac_objext
11010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11011 (eval $ac_compile) 2>conftest.er1
11013 grep -v '^ *+' conftest.er1
>conftest.err
11015 cat conftest.err
>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); } &&
11018 { ac_try
='test -z "$ac_c_werror_flag"
11019 || test ! -s conftest.err'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; } &&
11025 { ac_try
='test -s conftest.$ac_objext'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; }; then
11031 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.
$ac_ext >&5
11036 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
11039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11042 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
11044 cat >>confdefs.h
<<\_ACEOF
11045 #define HAVE_PSINFO32_T 1
11049 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
11050 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
11052 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
11053 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
11054 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
11055 echo $ECHO_N "(cached) $ECHO_C" >&6
11057 cat >conftest.
$ac_ext <<_ACEOF
11060 cat confdefs.h
>>conftest.
$ac_ext
11061 cat >>conftest.
$ac_ext <<_ACEOF
11062 /* end confdefs.h. */
11065 #include <sys/procfs.h>
11074 rm -f conftest.
$ac_objext
11075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11076 (eval $ac_compile) 2>conftest.er1
11078 grep -v '^ *+' conftest.er1
>conftest.err
11080 cat conftest.err
>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); } &&
11083 { ac_try
='test -z "$ac_c_werror_flag"
11084 || test ! -s conftest.err'
11085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11086 (eval $ac_try) 2>&5
11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); }; } &&
11090 { ac_try
='test -s conftest.$ac_objext'
11091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11092 (eval $ac_try) 2>&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }; }; then
11096 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
11098 echo "$as_me: failed program was:" >&5
11099 sed 's/^/| /' conftest.
$ac_ext >&5
11101 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
11104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11107 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
11109 cat >>confdefs.h
<<\_ACEOF
11110 #define HAVE_LWPSTATUS_T 1
11114 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
11115 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
11117 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
11118 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
11119 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 cat >conftest.
$ac_ext <<_ACEOF
11125 cat confdefs.h
>>conftest.
$ac_ext
11126 cat >>conftest.
$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11130 #include <sys/procfs.h>
11139 rm -f conftest.
$ac_objext
11140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11141 (eval $ac_compile) 2>conftest.er1
11143 grep -v '^ *+' conftest.er1
>conftest.err
11145 cat conftest.err
>&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } &&
11148 { ac_try
='test -z "$ac_c_werror_flag"
11149 || test ! -s conftest.err'
11150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151 (eval $ac_try) 2>&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; } &&
11155 { ac_try
='test -s conftest.$ac_objext'
11156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11157 (eval $ac_try) 2>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); }; }; then
11161 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
11163 echo "$as_me: failed program was:" >&5
11164 sed 's/^/| /' conftest.
$ac_ext >&5
11166 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
11169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11172 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
11174 cat >>confdefs.h
<<\_ACEOF
11175 #define HAVE_LWPXSTATUS_T 1
11179 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
11180 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
11182 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
11183 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
11184 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11187 cat >conftest.
$ac_ext <<_ACEOF
11190 cat confdefs.h
>>conftest.
$ac_ext
11191 cat >>conftest.
$ac_ext <<_ACEOF
11192 /* end confdefs.h. */
11195 #include <sys/procfs.h>
11199 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
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 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
11228 echo "$as_me: failed program was:" >&5
11229 sed 's/^/| /' conftest.
$ac_ext >&5
11231 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
11234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11237 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
11239 cat >>confdefs.h
<<\_ACEOF
11240 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
11244 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
11245 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
11247 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
11248 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
11249 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
11250 echo $ECHO_N "(cached) $ECHO_C" >&6
11252 cat >conftest.
$ac_ext <<_ACEOF
11255 cat confdefs.h
>>conftest.
$ac_ext
11256 cat >>conftest.
$ac_ext <<_ACEOF
11257 /* end confdefs.h. */
11260 #include <sys/procfs.h>
11264 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
11269 rm -f conftest.
$ac_objext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271 (eval $ac_compile) 2>conftest.er1
11273 grep -v '^ *+' conftest.er1
>conftest.err
11275 cat conftest.err
>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } &&
11278 { ac_try
='test -z "$ac_c_werror_flag"
11279 || test ! -s conftest.err'
11280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11281 (eval $ac_try) 2>&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }; } &&
11285 { ac_try
='test -s conftest.$ac_objext'
11286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11287 (eval $ac_try) 2>&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); }; }; then
11291 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
11293 echo "$as_me: failed program was:" >&5
11294 sed 's/^/| /' conftest.
$ac_ext >&5
11296 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
11299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11302 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
11304 cat >>confdefs.h
<<\_ACEOF
11305 #define HAVE_LWPSTATUS_T_PR_REG 1
11309 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
11310 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
11312 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
11313 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
11314 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
11315 echo $ECHO_N "(cached) $ECHO_C" >&6
11317 cat >conftest.
$ac_ext <<_ACEOF
11320 cat confdefs.h
>>conftest.
$ac_ext
11321 cat >>conftest.
$ac_ext <<_ACEOF
11322 /* end confdefs.h. */
11325 #include <sys/procfs.h>
11329 win32_pstatus_t avar
11334 rm -f conftest.
$ac_objext
11335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11336 (eval $ac_compile) 2>conftest.er1
11338 grep -v '^ *+' conftest.er1
>conftest.err
11340 cat conftest.err
>&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); } &&
11343 { ac_try
='test -z "$ac_c_werror_flag"
11344 || test ! -s conftest.err'
11345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11346 (eval $ac_try) 2>&5
11348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11349 (exit $ac_status); }; } &&
11350 { ac_try
='test -s conftest.$ac_objext'
11351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11352 (eval $ac_try) 2>&5
11354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355 (exit $ac_status); }; }; then
11356 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
11358 echo "$as_me: failed program was:" >&5
11359 sed 's/^/| /' conftest.
$ac_ext >&5
11361 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
11364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11367 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
11369 cat >>confdefs.h
<<\_ACEOF
11370 #define HAVE_WIN32_PSTATUS_T 1
11374 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
11375 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
11381 if test -n "$TRAD_HEADER"; then
11383 cat >>confdefs.h
<<_ACEOF
11384 #define TRAD_HEADER $TRAD_HEADER
11389 # Horrible hacks to build DLLs on Windows.
11394 if test "$enable_shared" = "yes"; then
11395 WIN32LDFLAGS
="-no-undefined"
11396 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
11400 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
11404 # Linux/MIPS uses PIC by default.
11405 if test "$enable_shared" = "yes"; then
11406 WIN32LIBADD
="-L../libiberty -liberty"
11410 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
11411 if test -n "$x"; then
11412 WIN32LIBADD
="-L../libiberty/pic -liberty"
11423 # Canonicalize the secondary target names.
11424 if test -n "$enable_targets" ; then
11425 for targ
in `echo $enable_targets | sed 's/,/ /g'`
11427 result
=`$ac_config_sub $targ 2>/dev/null`
11428 if test -n "$result" ; then
11429 canon_targets
="$canon_targets $result"
11431 # Allow targets that config.sub doesn't recognize, like "all".
11432 canon_targets
="$canon_targets $targ"
11443 for targ
in $target $canon_targets
11445 if test "x$targ" = "xall"; then
11447 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
11449 .
$srcdir/config.bfd
11450 if test "x$targ" = "x$target"; then
11451 defvec
=$targ_defvec
11453 selvecs
="$selvecs $targ_defvec $targ_selvecs"
11454 selarchs
="$selarchs $targ_archs"
11455 TDEFINES
="$TDEFINES $targ_cflags"
11460 # This processing still needs to be done if we're to decide properly whether
11461 # 64-bit support needs to be compiled in. Currently, it will be included if
11462 # the default or any other explicitly requested target requires it; it
11463 # will not be included on a 32-bit host if no 64-bit target is requested, and
11464 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
11467 # uniq the default and selected vectors in all the configured targets.
11469 for i
in $selvecs ; do
11478 # uniq the associated vectors in all the configured targets.
11480 for i
in $assocvecs ; do
11489 # uniq the architectures in all the configured targets.
11491 for i
in $selarchs ; do
11499 # Target backend .o files.
11502 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
11504 for vec
in $selvecs
11508 # This list is alphabetized to make it easy to compare
11509 # with the two vector lists in targets.c. For the same reason,
11510 # use one entry per line, even though this leads to long lines.
11511 a29kcoff_big_vec
) tb
="$tb coff-a29k.lo cofflink.lo" ;;
11512 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
11513 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11514 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
11515 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
11516 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
11517 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
11518 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
11519 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
11520 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
11521 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
11522 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
11523 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
11524 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
11525 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
11526 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
11527 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
11528 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
11529 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
11530 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
11531 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
11532 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
11533 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
11534 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
11535 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
11536 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
11537 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
11538 bfd_elf32_bigarm_symbian_vec
)
11539 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
11540 bfd_elf32_bigarm_vxworks_vec
)
11541 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
11542 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11543 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
11544 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
11545 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
11546 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
11547 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
11548 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
11549 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
11550 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
11551 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
11552 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
11553 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11554 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11555 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
11556 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
11557 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf32.lo $elf" ;;
11558 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf32.lo $elf" ;;
11559 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
11560 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
11561 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
11562 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
11563 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
11564 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
11565 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
11566 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
11567 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
11568 bfd_elf32_littlearm_symbian_vec
)
11569 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
11570 bfd_elf32_littlearm_vxworks_vec
)
11571 tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
11572 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo $elf" ;;
11573 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11574 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11575 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11576 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11577 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
11578 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
11579 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
11580 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
11581 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
11582 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
11583 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
11584 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
11585 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
11586 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
11587 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11588 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11589 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11590 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11591 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
11592 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
11593 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
11594 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
11595 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf32.lo $elf" ;;
11596 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf32.lo $elf" ;;
11597 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
11598 # FIXME: We include cofflink.lo not because it's needed for
11599 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
11600 # which needs it but does not list it. Should be fixed in right place.
11601 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11602 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11603 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11604 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
11605 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
11606 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf32.lo $elf cofflink.lo" ;;
11607 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
11608 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11609 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;;
11610 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf32.lo $elf coff-sh.lo" ;;
11611 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11612 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11613 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
11614 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elf32.lo $elf" ;;
11615 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11616 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
11617 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
11618 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
11619 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
11620 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
11621 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
11622 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
11623 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
11624 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
11625 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11626 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11627 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
11628 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
11629 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11630 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11631 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
11632 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11633 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11634 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
11635 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
11636 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
11637 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
11638 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11639 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11640 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11641 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11642 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11643 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
11644 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elf64.lo $elf"; target_size
=64 ;;
11645 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11646 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
11647 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
11648 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
11649 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
11650 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
11651 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
11652 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
11653 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
11654 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
11655 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11656 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11657 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11658 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
11659 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
11660 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
11661 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
11662 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
11663 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
11664 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
11665 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
11666 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
11667 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
11668 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
11669 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
11670 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
11671 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
11672 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
11673 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
11674 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
11675 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
11676 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
11677 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
11678 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
11679 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
11680 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
11681 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
11682 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
11683 ieee_vec
) tb
="$tb ieee.lo" ;;
11684 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
11685 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
11686 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
11687 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
11688 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
11689 m68klynx_aout_vec
) tb
="$tb m68klynx.lo lynx-core.lo aout32.lo" ;;
11690 m68klynx_coff_vec
) tb
="$tb cf-m68klynx.lo coff-m68k.lo cofflink.lo lynx-core.lo" ;;
11691 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
11692 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
11693 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
11694 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
11695 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
11696 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
11697 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
11698 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
11699 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
11700 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11701 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11702 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11703 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11704 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
11705 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
11706 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
11707 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
11708 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
11709 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
11710 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
11711 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
11712 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
11713 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
11714 pef_vec
) tb
="$tb pef.lo" ;;
11715 pef_xlib_vec
) tb
="$tb pef.lo" ;;
11716 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
11717 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11718 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
11719 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
11720 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11721 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11722 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11723 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11724 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11725 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11726 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11727 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11728 som_vec
) tb
="$tb som.lo" ;;
11729 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
11730 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
11731 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
11732 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
11733 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
11734 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
11735 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
11736 sym_vec
) tb
="$tb xsym.lo" ;;
11737 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
11738 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
11739 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
11740 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11741 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
11742 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11743 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
11744 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11745 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11746 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
11747 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11748 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
11749 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11750 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
11751 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
11752 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
11753 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
11754 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
11755 versados_vec
) tb
="$tb versados.lo" ;;
11756 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
11757 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
11758 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
11759 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
11760 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo" ;;
11762 # These appear out of order in targets.c
11763 srec_vec
) tb
="$tb srec.lo" ;;
11764 symbolsrec_vec
) tb
="$tb srec.lo" ;;
11765 tekhex_vec
) tb
="$tb tekhex.lo" ;;
11766 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
11767 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
11770 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
11771 echo "$as_me: error: *** unknown target vector $vec" >&2;}
11772 { (exit 1); exit 1; }; } ;;
11775 if test ${target_size} = 64; then
11778 if test x
"${vec}" = x
"${defvec}"; then
11779 bfd_default_target_size
=${target_size}
11783 # Target architecture .o files.
11784 # A couple of CPUs use shorter file names to avoid problems on DOS
11786 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
11788 # Weed out duplicate .o files.
11810 if test x
${all_targets} = xtrue
; then
11811 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
11812 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
11816 test -n "$assocvecs" &&
11817 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11818 else # all_targets is true
11819 # Only set these if they will be nonempty, for the clever echo.
11822 test -n "$selvecs" &&
11823 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
11824 test -n "$selvecs" &&
11825 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11826 test -n "$selarchs" &&
11827 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11828 fi # all_targets is true
11830 case ${host64}-${target64}-${want64} in
11833 bfd_libs
='$(BFD64_LIBS) $(BFD32_LIBS)'
11834 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
11835 if test $BFD_HOST_64_BIT_DEFINED = 0; then
11836 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
11837 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
11838 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
11839 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
11841 if test -n "$GCC" ; then
11843 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
11844 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
11845 # Add more tests for gcc versions with non-working 64-bit support here.
11846 cat >conftest.
$ac_ext <<_ACEOF
11849 cat confdefs.h
>>conftest.
$ac_ext
11850 cat >>conftest.
$ac_ext <<_ACEOF
11851 /* end confdefs.h. */
11852 :__GNUC__:__GNUC_MINOR__:__i386__:
11854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11855 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
11857 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
11858 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
11860 echo "$as_me:$LINENO: result: no" >&5
11861 echo "${ECHO_T}no" >&6
11865 if test $bad_64bit_gcc = yes ; then
11866 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
11867 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
11868 { (exit 1); exit 1; }; }
11874 bfd_libs
='$(BFD32_LIBS)'
11875 all_backends
='$(BFD32_BACKENDS)'
11886 # Determine the host dependant file_ptr a.k.a. off_t type. In order
11887 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
11888 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
11889 # Hopefully a reasonable assumption since fseeko et.al. should be
11890 # upward compatible.
11895 for ac_func
in ftello ftello64 fseeko fseeko64
11897 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11898 echo "$as_me:$LINENO: checking for $ac_func" >&5
11899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11900 if eval "test \"\${$as_ac_var+set}\" = set"; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 cat >conftest.
$ac_ext <<_ACEOF
11906 cat confdefs.h
>>conftest.
$ac_ext
11907 cat >>conftest.
$ac_ext <<_ACEOF
11908 /* end confdefs.h. */
11909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11911 #define $ac_func innocuous_$ac_func
11913 /* System header to define __stub macros and hopefully few prototypes,
11914 which can conflict with char $ac_func (); below.
11915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11916 <limits.h> exists even on freestanding compilers. */
11919 # include <limits.h>
11921 # include <assert.h>
11926 /* Override any gcc2 internal prototype to avoid an error. */
11931 /* We use char because int might match the return type of a gcc2
11932 builtin and then its argument prototype would still apply. */
11934 /* The GNU C library defines this for functions which it implements
11935 to always fail with ENOSYS. Some functions are actually named
11936 something starting with __ and the normal name is an alias. */
11937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11940 char (*f) () = $ac_func;
11949 return f != $ac_func;
11954 rm -f conftest.
$ac_objext conftest
$ac_exeext
11955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11956 (eval $ac_link) 2>conftest.er1
11958 grep -v '^ *+' conftest.er1
>conftest.err
11960 cat conftest.err
>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } &&
11963 { ac_try
='test -z "$ac_c_werror_flag"
11964 || test ! -s conftest.err'
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966 (eval $ac_try) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; } &&
11970 { ac_try
='test -s conftest$ac_exeext'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11976 eval "$as_ac_var=yes"
11978 echo "$as_me: failed program was:" >&5
11979 sed 's/^/| /' conftest.
$ac_ext >&5
11981 eval "$as_ac_var=no"
11983 rm -f conftest.err conftest.
$ac_objext \
11984 conftest
$ac_exeext conftest.
$ac_ext
11986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11988 if test `eval echo '${'$as_ac_var'}'` = yes; then
11989 cat >>confdefs.h
<<_ACEOF
11990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11996 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
11997 echo "$as_me:$LINENO: checking size of off_t" >&5
11998 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
11999 if test "${ac_cv_sizeof_off_t+set}" = set; then
12000 echo $ECHO_N "(cached) $ECHO_C" >&6
12002 for ac_size
in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
12003 cat >conftest.
$ac_ext <<_ACEOF
12006 cat confdefs.h
>>conftest.
$ac_ext
12007 cat >>conftest.
$ac_ext <<_ACEOF
12008 /* end confdefs.h. */
12009 #include "confdefs.h"
12010 #include <sys/types.h>
12016 switch (0) case 0: case (sizeof (off_t) == $ac_size):;
12021 rm -f conftest.
$ac_objext
12022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12023 (eval $ac_compile) 2>conftest.er1
12025 grep -v '^ *+' conftest.er1
>conftest.err
12027 cat conftest.err
>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try
='test -z "$ac_c_werror_flag"
12031 || test ! -s conftest.err'
12032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033 (eval $ac_try) 2>&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; } &&
12037 { ac_try
='test -s conftest.$ac_objext'
12038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039 (eval $ac_try) 2>&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); }; }; then
12043 ac_cv_sizeof_off_t
=$ac_size
12045 echo "$as_me: failed program was:" >&5
12046 sed 's/^/| /' conftest.
$ac_ext >&5
12049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12050 if test x
$ac_cv_sizeof_off_t != x
; then break; fi
12055 if test x
$ac_cv_sizeof_off_t = x
; then
12056 { { echo "$as_me:$LINENO: error: cannot determine a size for off_t" >&5
12057 echo "$as_me: error: cannot determine a size for off_t" >&2;}
12058 { (exit 1); exit 1; }; }
12060 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
12061 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
12063 cat >>confdefs.h
<<_ACEOF
12064 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
12069 echo "$as_me:$LINENO: checking file_ptr type" >&5
12070 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
12071 bfd_file_ptr
="long"
12072 bfd_ufile_ptr
="unsigned long"
12073 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
12074 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
12075 bfd_file_ptr
=BFD_HOST_64_BIT
12076 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
12078 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
12079 echo "${ECHO_T}$bfd_file_ptr" >&6
12085 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
12086 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
12087 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
12088 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
12089 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
12094 for ac_header
in stdlib.h unistd.h
12096 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12098 echo "$as_me:$LINENO: checking for $ac_header" >&5
12099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12101 echo $ECHO_N "(cached) $ECHO_C" >&6
12103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12106 # Is the header compilable?
12107 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12109 cat >conftest.
$ac_ext <<_ACEOF
12112 cat confdefs.h
>>conftest.
$ac_ext
12113 cat >>conftest.
$ac_ext <<_ACEOF
12114 /* end confdefs.h. */
12115 $ac_includes_default
12116 #include <$ac_header>
12118 rm -f conftest.
$ac_objext
12119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12120 (eval $ac_compile) 2>conftest.er1
12122 grep -v '^ *+' conftest.er1
>conftest.err
12124 cat conftest.err
>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } &&
12127 { ac_try
='test -z "$ac_c_werror_flag"
12128 || test ! -s conftest.err'
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); }; } &&
12134 { ac_try
='test -s conftest.$ac_objext'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; }; then
12140 ac_header_compiler
=yes
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.
$ac_ext >&5
12145 ac_header_compiler
=no
12147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12149 echo "${ECHO_T}$ac_header_compiler" >&6
12151 # Is the header present?
12152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12154 cat >conftest.
$ac_ext <<_ACEOF
12157 cat confdefs.h
>>conftest.
$ac_ext
12158 cat >>conftest.
$ac_ext <<_ACEOF
12159 /* end confdefs.h. */
12160 #include <$ac_header>
12162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12165 grep -v '^ *+' conftest.er1
>conftest.err
12167 cat conftest.err
>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } >/dev
/null
; then
12170 if test -s conftest.err
; then
12171 ac_cpp_err
=$ac_c_preproc_warn_flag
12172 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12179 if test -z "$ac_cpp_err"; then
12180 ac_header_preproc
=yes
12182 echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.
$ac_ext >&5
12185 ac_header_preproc
=no
12187 rm -f conftest.err conftest.
$ac_ext
12188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12189 echo "${ECHO_T}$ac_header_preproc" >&6
12191 # So? What about this header?
12192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12198 ac_header_preproc
=yes
12201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12205 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12207 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12208 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12211 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12215 ## ------------------------------------------ ##
12216 ## Report this to the AC_PACKAGE_NAME lists. ##
12217 ## ------------------------------------------ ##
12220 sed "s/^/$as_me: WARNING: /" >&2
12223 echo "$as_me:$LINENO: checking for $ac_header" >&5
12224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12228 eval "$as_ac_Header=\$ac_header_preproc"
12230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12235 cat >>confdefs.h
<<_ACEOF
12236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12244 for ac_func
in getpagesize
12246 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12247 echo "$as_me:$LINENO: checking for $ac_func" >&5
12248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12249 if eval "test \"\${$as_ac_var+set}\" = set"; then
12250 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 cat >conftest.
$ac_ext <<_ACEOF
12255 cat confdefs.h
>>conftest.
$ac_ext
12256 cat >>conftest.
$ac_ext <<_ACEOF
12257 /* end confdefs.h. */
12258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12260 #define $ac_func innocuous_$ac_func
12262 /* System header to define __stub macros and hopefully few prototypes,
12263 which can conflict with char $ac_func (); below.
12264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12265 <limits.h> exists even on freestanding compilers. */
12268 # include <limits.h>
12270 # include <assert.h>
12275 /* Override any gcc2 internal prototype to avoid an error. */
12280 /* We use char because int might match the return type of a gcc2
12281 builtin and then its argument prototype would still apply. */
12283 /* The GNU C library defines this for functions which it implements
12284 to always fail with ENOSYS. Some functions are actually named
12285 something starting with __ and the normal name is an alias. */
12286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12289 char (*f) () = $ac_func;
12298 return f != $ac_func;
12303 rm -f conftest.
$ac_objext conftest
$ac_exeext
12304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12305 (eval $ac_link) 2>conftest.er1
12307 grep -v '^ *+' conftest.er1
>conftest.err
12309 cat conftest.err
>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } &&
12312 { ac_try
='test -z "$ac_c_werror_flag"
12313 || test ! -s conftest.err'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; } &&
12319 { ac_try
='test -s conftest$ac_exeext'
12320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321 (eval $ac_try) 2>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }; }; then
12325 eval "$as_ac_var=yes"
12327 echo "$as_me: failed program was:" >&5
12328 sed 's/^/| /' conftest.
$ac_ext >&5
12330 eval "$as_ac_var=no"
12332 rm -f conftest.err conftest.
$ac_objext \
12333 conftest
$ac_exeext conftest.
$ac_ext
12335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12337 if test `eval echo '${'$as_ac_var'}'` = yes; then
12338 cat >>confdefs.h
<<_ACEOF
12339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12345 echo "$as_me:$LINENO: checking for working mmap" >&5
12346 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
12347 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 if test "$cross_compiling" = yes; then
12351 ac_cv_func_mmap_fixed_mapped
=no
12353 cat >conftest.
$ac_ext <<_ACEOF
12356 cat confdefs.h
>>conftest.
$ac_ext
12357 cat >>conftest.
$ac_ext <<_ACEOF
12358 /* end confdefs.h. */
12359 $ac_includes_default
12360 /* malloc might have been renamed as rpl_malloc. */
12363 /* Thanks to Mike Haertel and Jim Avera for this test.
12364 Here is a matrix of mmap possibilities:
12365 mmap private not fixed
12366 mmap private fixed at somewhere currently unmapped
12367 mmap private fixed at somewhere already mapped
12368 mmap shared not fixed
12369 mmap shared fixed at somewhere currently unmapped
12370 mmap shared fixed at somewhere already mapped
12371 For private mappings, we should verify that changes cannot be read()
12372 back from the file, nor mmap's back from the file at a different
12373 address. (There have been systems where private was not correctly
12374 implemented like the infamous i386 svr4.0, and systems where the
12375 VM page cache was not coherent with the file system buffer cache
12376 like early versions of FreeBSD and possibly contemporary NetBSD.)
12377 For shared mappings, we should conversely verify that changes get
12378 propagated back to all the places they're supposed to be.
12380 Grep wants private fixed already mapped.
12381 The main things grep needs to know about mmap are:
12382 * does it exist and is it safe to write into the mmap'd area
12383 * how to use it (BSD variants) */
12386 #include <sys/mman.h>
12388 #if !STDC_HEADERS && !HAVE_STDLIB_H
12392 /* This mess was copied from the GNU getpagesize.h. */
12393 #if !HAVE_GETPAGESIZE
12394 /* Assume that all systems that can run configure have sys/param.h. */
12395 # if !HAVE_SYS_PARAM_H
12396 # define HAVE_SYS_PARAM_H 1
12399 # ifdef _SC_PAGESIZE
12400 # define getpagesize() sysconf(_SC_PAGESIZE)
12401 # else /* no _SC_PAGESIZE */
12402 # if HAVE_SYS_PARAM_H
12403 # include <sys/param.h>
12404 # ifdef EXEC_PAGESIZE
12405 # define getpagesize() EXEC_PAGESIZE
12406 # else /* no EXEC_PAGESIZE */
12408 # define getpagesize() NBPG * CLSIZE
12411 # endif /* no CLSIZE */
12412 # else /* no NBPG */
12414 # define getpagesize() NBPC
12415 # else /* no NBPC */
12417 # define getpagesize() PAGESIZE
12418 # endif /* PAGESIZE */
12419 # endif /* no NBPC */
12420 # endif /* no NBPG */
12421 # endif /* no EXEC_PAGESIZE */
12422 # else /* no HAVE_SYS_PARAM_H */
12423 # define getpagesize() 8192 /* punt totally */
12424 # endif /* no HAVE_SYS_PARAM_H */
12425 # endif /* no _SC_PAGESIZE */
12427 #endif /* no HAVE_GETPAGESIZE */
12432 char *data, *data2, *data3;
12436 pagesize = getpagesize ();
12438 /* First, make a file with some known garbage in it. */
12439 data = (char *) malloc (pagesize);
12442 for (i = 0; i < pagesize; ++i)
12443 *(data + i) = rand ();
12445 fd = creat ("conftest.mmap", 0600);
12448 if (write (fd, data, pagesize) != pagesize)
12452 /* Next, try to mmap the file at a fixed address which already has
12453 something else allocated at it. If we can, also make sure that
12454 we see the same garbage. */
12455 fd = open ("conftest.mmap", O_RDWR);
12458 data2 = (char *) malloc (2 * pagesize);
12461 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
12462 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12463 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12465 for (i = 0; i < pagesize; ++i)
12466 if (*(data + i) != *(data2 + i))
12469 /* Finally, make sure that changes to the mapped area do not
12470 percolate back to the file as seen by read(). (This is a bug on
12471 some variants of i386 svr4.0.) */
12472 for (i = 0; i < pagesize; ++i)
12473 *(data2 + i) = *(data2 + i) + 1;
12474 data3 = (char *) malloc (pagesize);
12477 if (read (fd, data3, pagesize) != pagesize)
12479 for (i = 0; i < pagesize; ++i)
12480 if (*(data + i) != *(data3 + i))
12486 rm -f conftest
$ac_exeext
12487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12488 (eval $ac_link) 2>&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493 (eval $ac_try) 2>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); }; }; then
12497 ac_cv_func_mmap_fixed_mapped
=yes
12499 echo "$as_me: program exited with status $ac_status" >&5
12500 echo "$as_me: failed program was:" >&5
12501 sed 's/^/| /' conftest.
$ac_ext >&5
12503 ( exit $ac_status )
12504 ac_cv_func_mmap_fixed_mapped
=no
12506 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12509 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12510 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12511 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12513 cat >>confdefs.h
<<\_ACEOF
12514 #define HAVE_MMAP 1
12518 rm -f conftest.mmap
12522 for ac_func
in madvise mprotect
12524 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12525 echo "$as_me:$LINENO: checking for $ac_func" >&5
12526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12527 if eval "test \"\${$as_ac_var+set}\" = set"; then
12528 echo $ECHO_N "(cached) $ECHO_C" >&6
12530 cat >conftest.
$ac_ext <<_ACEOF
12533 cat confdefs.h
>>conftest.
$ac_ext
12534 cat >>conftest.
$ac_ext <<_ACEOF
12535 /* end confdefs.h. */
12536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12538 #define $ac_func innocuous_$ac_func
12540 /* System header to define __stub macros and hopefully few prototypes,
12541 which can conflict with char $ac_func (); below.
12542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12543 <limits.h> exists even on freestanding compilers. */
12546 # include <limits.h>
12548 # include <assert.h>
12553 /* Override any gcc2 internal prototype to avoid an error. */
12558 /* We use char because int might match the return type of a gcc2
12559 builtin and then its argument prototype would still apply. */
12561 /* The GNU C library defines this for functions which it implements
12562 to always fail with ENOSYS. Some functions are actually named
12563 something starting with __ and the normal name is an alias. */
12564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12567 char (*f) () = $ac_func;
12576 return f != $ac_func;
12581 rm -f conftest.
$ac_objext conftest
$ac_exeext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12583 (eval $ac_link) 2>conftest.er1
12585 grep -v '^ *+' conftest.er1
>conftest.err
12587 cat conftest.err
>&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); } &&
12590 { ac_try
='test -z "$ac_c_werror_flag"
12591 || test ! -s conftest.err'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; } &&
12597 { ac_try
='test -s conftest$ac_exeext'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; }; then
12603 eval "$as_ac_var=yes"
12605 echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.
$ac_ext >&5
12608 eval "$as_ac_var=no"
12610 rm -f conftest.err conftest.
$ac_objext \
12611 conftest
$ac_exeext conftest.
$ac_ext
12613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12615 if test `eval echo '${'$as_ac_var'}'` = yes; then
12616 cat >>confdefs.h
<<_ACEOF
12617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12623 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
12625 cat >>confdefs.h
<<\_ACEOF
12631 rm -f doc
/config.status
12632 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
12634 ac_config_commands
="$ac_config_commands default"
12636 cat >confcache
<<\_ACEOF
12637 # This file is a shell script that caches the results of configure
12638 # tests run on this system so they can be shared between configure
12639 # scripts and configure runs, see configure's option --config-cache.
12640 # It is not useful on other systems. If it contains results you don't
12641 # want to keep, you may remove or edit it.
12643 # config.status only pays attention to the cache file if you give it
12644 # the --recheck option to rerun configure.
12646 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12647 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12648 # following values.
12652 # The following way of writing the cache mishandles newlines in values,
12653 # but we know of no workaround that is simple, portable, and efficient.
12654 # So, don't put newlines in cache variables' values.
12655 # Ultrix sh set writes to stderr and can't be redirected directly,
12656 # and sets the high bit in the cache file unless we assign to the vars.
12659 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12661 # `set' does not quote correctly, so add quotes (double-quote
12662 # substitution turns \\\\ into \\, and sed turns \\ into \).
12665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12668 # `set' quotes correctly as required by POSIX, so do not add quotes.
12670 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12677 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12679 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12681 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12682 if test -w $cache_file; then
12683 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12684 cat confcache
>$cache_file
12686 echo "not updating unwritable cache $cache_file"
12691 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12692 # Let make expand exec_prefix.
12693 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12695 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12696 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12697 # trailing colons and then remove the whole line if VPATH becomes empty
12698 # (actually we leave an empty line to preserve line numbers).
12699 if test "x$srcdir" = x.
; then
12700 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12701 s/:*\$(srcdir):*/:/;
12702 s/:*\${srcdir}:*/:/;
12704 s/^\([^=]*=[ ]*\):*/\1/;
12710 DEFS
=-DHAVE_CONFIG_H
12714 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12715 # 1. Remove the extension, and $U if already installed.
12716 ac_i
=`echo "$ac_i" |
12717 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12719 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12720 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12722 LIBOBJS
=$ac_libobjs
12724 LTLIBOBJS
=$ac_ltlibobjs
12727 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12728 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12729 Usually this means the macro was only invoked conditionally." >&5
12730 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12731 Usually this means the macro was only invoked conditionally." >&2;}
12732 { (exit 1); exit 1; }; }
12734 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12735 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12736 Usually this means the macro was only invoked conditionally." >&5
12737 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12738 Usually this means the macro was only invoked conditionally." >&2;}
12739 { (exit 1); exit 1; }; }
12741 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12742 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12743 Usually this means the macro was only invoked conditionally." >&5
12744 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12745 Usually this means the macro was only invoked conditionally." >&2;}
12746 { (exit 1); exit 1; }; }
12748 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12749 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
12750 Usually this means the macro was only invoked conditionally." >&5
12751 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
12752 Usually this means the macro was only invoked conditionally." >&2;}
12753 { (exit 1); exit 1; }; }
12756 : ${CONFIG_STATUS=./config.status}
12757 ac_clean_files_save
=$ac_clean_files
12758 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12759 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12760 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12761 cat >$CONFIG_STATUS <<_ACEOF
12763 # Generated by $as_me.
12764 # Run this file to recreate the current configuration.
12765 # Compiler output produced by configure, useful for debugging
12766 # configure, is in config.log if it exists.
12769 ac_cs_recheck=false
12771 SHELL=\${CONFIG_SHELL-$SHELL}
12774 cat >>$CONFIG_STATUS <<\_ACEOF
12775 ## --------------------- ##
12776 ## M4sh Initialization. ##
12777 ## --------------------- ##
12779 # Be Bourne compatible
12780 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12783 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12784 # is contrary to our usage. Disable this feature.
12785 alias -g '${1+"$@"}'='"$@"'
12786 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12789 DUALCASE
=1; export DUALCASE
# for MKS sh
12791 # Support unset when possible.
12792 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12799 # Work around bugs in pre-3.0 UWIN ksh.
12800 $as_unset ENV MAIL MAILPATH
12807 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12808 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12809 LC_TELEPHONE LC_TIME
12811 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12812 eval $as_var=C
; export $as_var
12818 # Required to use basename.
12819 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12825 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12826 as_basename
=basename
12832 # Name of the executable.
12833 as_me
=`$as_basename "$0" ||
12834 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12835 X"$0" : 'X\(//\)$' \| \
12836 X"$0" : 'X\(/\)$' \| \
12837 . : '\(.\)' 2>/dev/null ||
12839 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12840 /^X\/\(\/\/\)$/{ s//\1/; q; }
12841 /^X\/\(\/\).*/{ s//\1/; q; }
12845 # PATH needs CR, and LINENO needs CR and PATH.
12846 # Avoid depending upon Character Ranges.
12847 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12848 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12849 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12850 as_cr_digits
='0123456789'
12851 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12853 # The user is always right.
12854 if test "${PATH_SEPARATOR+set}" != set; then
12855 echo "#! /bin/sh" >conf$$.sh
12856 echo "exit 0" >>conf$$.sh
12858 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12867 as_lineno_1
=$LINENO
12868 as_lineno_2
=$LINENO
12869 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12870 test "x$as_lineno_1" != "x$as_lineno_2" &&
12871 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12872 # Find who we are. Look in the path if we contain no path at all
12875 *[\\/]* ) as_myself
=$0 ;;
12876 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12877 for as_dir
in $PATH
12880 test -z "$as_dir" && as_dir
=.
12881 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12886 # We did not find ourselves, most probably we were run as `sh COMMAND'
12887 # in which case we are not to be found in the path.
12888 if test "x$as_myself" = x
; then
12891 if test ! -f "$as_myself"; then
12892 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12893 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12894 { (exit 1); exit 1; }; }
12896 case $CONFIG_SHELL in
12898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12899 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12902 test -z "$as_dir" && as_dir
=.
12903 for as_base
in sh bash ksh sh5
; do
12906 if ("$as_dir/$as_base" -c '
12907 as_lineno_1=$LINENO
12908 as_lineno_2=$LINENO
12909 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12910 test "x$as_lineno_1" != "x$as_lineno_2" &&
12911 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12912 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12913 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12914 CONFIG_SHELL
=$as_dir/$as_base
12915 export CONFIG_SHELL
12916 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12924 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12925 # uniformly replaced by the line number. The first 'sed' inserts a
12926 # line-number line before each line; the second 'sed' does the real
12927 # work. The second script uses 'N' to pair each line-number line
12928 # with the numbered line, and appends trailing '-' during
12929 # substitution so that $LINENO is not a special case at line end.
12930 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12931 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12932 sed '=' <$as_myself |
12937 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12940 s,^['$as_cr_digits']*\n,,
12941 ' >$as_me.lineno
&&
12942 chmod +x
$as_me.lineno ||
12943 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12944 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12945 { (exit 1); exit 1; }; }
12947 # Don't try to exec as it changes $[0], causing all sort of problems
12948 # (the dirname of $[0] is not the place where we might find the
12949 # original and so on. Autoconf is especially sensible to this).
12951 # Exit status is that of the last command.
12956 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12957 *c
*,-n*) ECHO_N
= ECHO_C
='
12959 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12960 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12963 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12969 rm -f conf$$ conf$$.exe conf$$.
file
12971 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12972 # We could just check for DJGPP; but this test a) works b) is more generic
12973 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12974 if test -f conf$$.exe
; then
12975 # Don't use ln at all; we don't have any links
12980 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12985 rm -f conf$$ conf$$.exe conf$$.
file
12987 if mkdir
-p .
2>/dev
/null
; then
12990 test -d .
/-p && rmdir .
/-p
12994 as_executable_p
="test -f"
12996 # Sed expression to map a string onto a valid CPP name.
12997 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12999 # Sed expression to map a string onto a valid variable name.
13000 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13004 # We need space, tab and new line, in precisely that order.
13014 # Open the log real soon, to keep \$[0] and so on meaningful, and to
13015 # report actual input values of CONFIG_FILES etc. instead of their
13016 # values after options handling. Logging --version etc. is OK.
13020 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13021 ## Running $as_me. ##
13026 This file was extended by $as_me, which was
13027 generated by GNU Autoconf 2.59. Invocation command line was
13029 CONFIG_FILES = $CONFIG_FILES
13030 CONFIG_HEADERS = $CONFIG_HEADERS
13031 CONFIG_LINKS = $CONFIG_LINKS
13032 CONFIG_COMMANDS = $CONFIG_COMMANDS
13036 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13040 # Files that config.status was made for.
13041 if test -n "$ac_config_files"; then
13042 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13045 if test -n "$ac_config_headers"; then
13046 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13049 if test -n "$ac_config_links"; then
13050 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13053 if test -n "$ac_config_commands"; then
13054 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13057 cat >>$CONFIG_STATUS <<\_ACEOF
13060 \`$as_me' instantiates files from templates according to the
13061 current configuration.
13063 Usage: $0 [OPTIONS] [FILE]...
13065 -h, --help print this help, then exit
13066 -V, --version print version number, then exit
13067 -q, --quiet do not print progress messages
13068 -d, --debug don't remove temporary files
13069 --recheck update $as_me by reconfiguring in the same conditions
13070 --file=FILE[:TEMPLATE]
13071 instantiate the configuration file FILE
13072 --header=FILE[:TEMPLATE]
13073 instantiate the configuration header FILE
13075 Configuration files:
13078 Configuration headers:
13081 Configuration commands:
13084 Report bugs to <bug-autoconf@gnu.org>."
13087 cat >>$CONFIG_STATUS <<_ACEOF
13090 configured by $0, generated by GNU Autoconf 2.59,
13091 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13093 Copyright (C) 2003 Free Software Foundation, Inc.
13094 This config.status script is free software; the Free Software Foundation
13095 gives unlimited permission to copy, distribute and modify it."
13100 cat >>$CONFIG_STATUS <<\_ACEOF
13101 # If no file are specified by the user, then we need to provide default
13102 # value. By we need to know if files were specified by the user.
13108 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
13109 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
13117 *) # This is not an option, so the user has probably given explicit
13120 ac_need_defaults
=false
;;
13124 # Handling of the options.
13126 cat >>$CONFIG_STATUS <<\_ACEOF
13127 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13129 --version |
--vers* |
-V )
13130 echo "$ac_cs_version"; exit 0 ;;
13132 # Conflict between --help and --header
13133 { { echo "$as_me:$LINENO: error: ambiguous option: $1
13134 Try \`$0 --help' for more information." >&5
13135 echo "$as_me: error: ambiguous option: $1
13136 Try \`$0 --help' for more information." >&2;}
13137 { (exit 1); exit 1; }; };;
13138 --help |
--hel |
-h )
13139 echo "$ac_cs_usage"; exit 0 ;;
13140 --debug |
--d* |
-d )
13142 --file |
--fil |
--fi |
--f )
13144 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13145 ac_need_defaults
=false
;;
13146 --header |
--heade |
--head |
--hea )
13148 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13149 ac_need_defaults
=false
;;
13150 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13151 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13154 # This is an error.
13155 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13156 Try \`$0 --help' for more information." >&5
13157 echo "$as_me: error: unrecognized option: $1
13158 Try \`$0 --help' for more information." >&2;}
13159 { (exit 1); exit 1; }; } ;;
13161 *) ac_config_targets
="$ac_config_targets $1" ;;
13167 ac_configure_extra_args
=
13169 if $ac_cs_silent; then
13171 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13175 cat >>$CONFIG_STATUS <<_ACEOF
13176 if \$ac_cs_recheck; then
13177 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13178 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13183 cat >>$CONFIG_STATUS <<_ACEOF
13185 # INIT-COMMANDS section.
13188 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13195 cat >>$CONFIG_STATUS <<\_ACEOF
13196 for ac_config_target
in $ac_config_targets
13198 case "$ac_config_target" in
13199 # Handling of arguments.
13200 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13201 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13202 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
13203 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13204 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13205 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
13206 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
13207 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13208 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13209 { (exit 1); exit 1; }; };;
13213 # If the user did not use the arguments to specify the items to instantiate,
13214 # then the envvar interface is used. Set only those that are not.
13215 # We use the long form for the default assignment because of an extremely
13216 # bizarre bug on SunOS 4.1.3.
13217 if $ac_need_defaults; then
13218 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13219 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13220 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13223 # Have a temporary directory for convenience. Make it in the build tree
13224 # simply because there is no reason to put it here, and in addition,
13225 # creating and moving files from /tmp can sometimes cause problems.
13226 # Create a temporary directory, and hook for its removal unless debugging.
13229 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13230 trap '{ (exit 1); exit 1; }' 1 2 13 15
13233 # Create a (secure) tmp directory for tmp files.
13236 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13237 test -n "$tmp" && test -d "$tmp"
13240 tmp
=.
/confstat$$
-$RANDOM
13241 (umask 077 && mkdir
$tmp)
13244 echo "$me: cannot create a temporary directory in ." >&2
13245 { (exit 1); exit 1; }
13250 cat >>$CONFIG_STATUS <<_ACEOF
13253 # CONFIG_FILES section.
13256 # No need to generate the scripts if there are no CONFIG_FILES.
13257 # This happens for instance when ./config.status config.h
13258 if test -n "\$CONFIG_FILES"; then
13259 # Protect against being on the right side of a sed subst in config.status.
13260 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13261 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13262 s,@SHELL@,$SHELL,;t t
13263 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13264 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13265 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13266 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13267 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13268 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13269 s,@exec_prefix@,$exec_prefix,;t t
13270 s,@prefix@,$prefix,;t t
13271 s,@program_transform_name@,$program_transform_name,;t t
13272 s,@bindir@,$bindir,;t t
13273 s,@sbindir@,$sbindir,;t t
13274 s,@libexecdir@,$libexecdir,;t t
13275 s,@datadir@,$datadir,;t t
13276 s,@sysconfdir@,$sysconfdir,;t t
13277 s,@sharedstatedir@,$sharedstatedir,;t t
13278 s,@localstatedir@,$localstatedir,;t t
13279 s,@libdir@,$libdir,;t t
13280 s,@includedir@,$includedir,;t t
13281 s,@oldincludedir@,$oldincludedir,;t t
13282 s,@infodir@,$infodir,;t t
13283 s,@mandir@,$mandir,;t t
13284 s,@build_alias@,$build_alias,;t t
13285 s,@host_alias@,$host_alias,;t t
13286 s,@target_alias@,$target_alias,;t t
13287 s,@DEFS@,$DEFS,;t t
13288 s,@ECHO_C@,$ECHO_C,;t t
13289 s,@ECHO_N@,$ECHO_N,;t t
13290 s,@ECHO_T@,$ECHO_T,;t t
13291 s,@LIBS@,$LIBS,;t t
13292 s,@build@,$build,;t t
13293 s,@build_cpu@,$build_cpu,;t t
13294 s,@build_vendor@,$build_vendor,;t t
13295 s,@build_os@,$build_os,;t t
13296 s,@host@,$host,;t t
13297 s,@host_cpu@,$host_cpu,;t t
13298 s,@host_vendor@,$host_vendor,;t t
13299 s,@host_os@,$host_os,;t t
13300 s,@target@,$target,;t t
13301 s,@target_cpu@,$target_cpu,;t t
13302 s,@target_vendor@,$target_vendor,;t t
13303 s,@target_os@,$target_os,;t t
13305 s,@CFLAGS@,$CFLAGS,;t t
13306 s,@LDFLAGS@,$LDFLAGS,;t t
13307 s,@CPPFLAGS@,$CPPFLAGS,;t t
13308 s,@ac_ct_CC@,$ac_ct_CC,;t t
13309 s,@EXEEXT@,$EXEEXT,;t t
13310 s,@OBJEXT@,$OBJEXT,;t t
13311 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13312 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13313 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13314 s,@CYGPATH_W@,$CYGPATH_W,;t t
13315 s,@PACKAGE@,$PACKAGE,;t t
13316 s,@VERSION@,$VERSION,;t t
13317 s,@ACLOCAL@,$ACLOCAL,;t t
13318 s,@AUTOCONF@,$AUTOCONF,;t t
13319 s,@AUTOMAKE@,$AUTOMAKE,;t t
13320 s,@AUTOHEADER@,$AUTOHEADER,;t t
13321 s,@MAKEINFO@,$MAKEINFO,;t t
13322 s,@install_sh@,$install_sh,;t t
13323 s,@STRIP@,$STRIP,;t t
13324 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13325 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13326 s,@mkdir_p@,$mkdir_p,;t t
13328 s,@SET_MAKE@,$SET_MAKE,;t t
13329 s,@am__leading_dot@,$am__leading_dot,;t t
13330 s,@AMTAR@,$AMTAR,;t t
13331 s,@am__tar@,$am__tar,;t t
13332 s,@am__untar@,$am__untar,;t t
13333 s,@DEPDIR@,$DEPDIR,;t t
13334 s,@am__include@,$am__include,;t t
13335 s,@am__quote@,$am__quote,;t t
13336 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13337 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13338 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13339 s,@CCDEPMODE@,$CCDEPMODE,;t t
13340 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13341 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13343 s,@ac_ct_AR@,$ac_ct_AR,;t t
13344 s,@RANLIB@,$RANLIB,;t t
13345 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13346 s,@LN_S@,$LN_S,;t t
13347 s,@LIBTOOL@,$LIBTOOL,;t t
13348 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
13349 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13350 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13351 s,@MAINT@,$MAINT,;t t
13352 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
13353 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
13354 s,@host_noncanonical@,$host_noncanonical,;t t
13355 s,@target_noncanonical@,$target_noncanonical,;t t
13356 s,@bfdlibdir@,$bfdlibdir,;t t
13357 s,@bfdincludedir@,$bfdincludedir,;t t
13359 s,@EGREP@,$EGREP,;t t
13360 s,@ALLOCA@,$ALLOCA,;t t
13361 s,@USE_NLS@,$USE_NLS,;t t
13362 s,@MSGFMT@,$MSGFMT,;t t
13363 s,@GMSGFMT@,$GMSGFMT,;t t
13364 s,@XGETTEXT@,$XGETTEXT,;t t
13365 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
13366 s,@CATALOGS@,$CATALOGS,;t t
13367 s,@CATOBJEXT@,$CATOBJEXT,;t t
13368 s,@DATADIRNAME@,$DATADIRNAME,;t t
13369 s,@GMOFILES@,$GMOFILES,;t t
13370 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13371 s,@INTLDEPS@,$INTLDEPS,;t t
13372 s,@INTLLIBS@,$INTLLIBS,;t t
13373 s,@INTLOBJS@,$INTLOBJS,;t t
13374 s,@POFILES@,$POFILES,;t t
13375 s,@POSUB@,$POSUB,;t t
13376 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
13377 s,@GT_NO@,$GT_NO,;t t
13378 s,@GT_YES@,$GT_YES,;t t
13379 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13381 s,@HDEFINES@,$HDEFINES,;t t
13382 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
13383 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
13384 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
13385 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
13386 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
13387 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13388 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
13389 s,@COREFILE@,$COREFILE,;t t
13390 s,@COREFLAG@,$COREFLAG,;t t
13391 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
13392 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
13393 s,@TDEFINES@,$TDEFINES,;t t
13394 s,@wordsize@,$wordsize,;t t
13395 s,@bfd_libs@,$bfd_libs,;t t
13396 s,@all_backends@,$all_backends,;t t
13397 s,@bfd_backends@,$bfd_backends,;t t
13398 s,@bfd_machines@,$bfd_machines,;t t
13399 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
13400 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
13401 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
13402 s,@tdefaults@,$tdefaults,;t t
13403 s,@LIBOBJS@,$LIBOBJS,;t t
13404 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13409 cat >>$CONFIG_STATUS <<\_ACEOF
13410 # Split the substitutions into bite-sized pieces for seds with
13411 # small command number limits, like on Digital OSF/1 and HP-UX.
13412 ac_max_sed_lines
=48
13413 ac_sed_frag
=1 # Number of current file.
13414 ac_beg
=1 # First line for current file.
13415 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13418 while $ac_more_lines; do
13419 if test $ac_beg -gt 1; then
13420 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13422 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13424 if test ! -s $tmp/subs.frag
; then
13425 ac_more_lines
=false
13427 # The purpose of the label and of the branching condition is to
13428 # speed up the sed processing (if there are no `@' at all, there
13429 # is no need to browse any of the substitutions).
13430 # These are the two extra sed commands mentioned above.
13432 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13433 if test -z "$ac_sed_cmds"; then
13434 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13436 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13438 ac_sed_frag
=`expr $ac_sed_frag + 1`
13440 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13443 if test -z "$ac_sed_cmds"; then
13446 fi # test -n "$CONFIG_FILES"
13449 cat >>$CONFIG_STATUS <<\_ACEOF
13450 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13451 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13453 - |
*:- |
*:-:* ) # input from stdin
13455 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13456 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13457 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13458 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13459 * ) ac_file_in
=$ac_file.
in ;;
13462 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13463 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13464 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13465 X"$ac_file" : 'X\(//\)[^/]' \| \
13466 X"$ac_file" : 'X\(//\)$' \| \
13467 X"$ac_file" : 'X\(/\)' \| \
13468 . : '\(.\)' 2>/dev/null ||
13470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13472 /^X\(\/\/\)$/{ s//\1/; q; }
13473 /^X\(\/\).*/{ s//\1/; q; }
13475 { if $as_mkdir_p; then
13480 while test ! -d "$as_dir"; do
13481 as_dirs
="$as_dir $as_dirs"
13482 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13484 X"$as_dir" : 'X\(//\)[^/]' \| \
13485 X"$as_dir" : 'X\(//\)$' \| \
13486 X"$as_dir" : 'X\(/\)' \| \
13487 . : '\(.\)' 2>/dev/null ||
13489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13490 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13491 /^X\(\/\/\)$/{ s//\1/; q; }
13492 /^X\(\/\).*/{ s//\1/; q; }
13495 test ! -n "$as_dirs" || mkdir
$as_dirs
13496 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13497 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13498 { (exit 1); exit 1; }; }; }
13502 if test "$ac_dir" != .
; then
13503 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13504 # A "../" for each directory in $ac_dir_suffix.
13505 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13507 ac_dir_suffix
= ac_top_builddir
=
13511 .
) # No --srcdir option. We are building in place.
13513 if test -z "$ac_top_builddir"; then
13516 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13518 [\\/]* | ?
:[\\/]* ) # Absolute path.
13519 ac_srcdir
=$srcdir$ac_dir_suffix;
13520 ac_top_srcdir
=$srcdir ;;
13521 *) # Relative path.
13522 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13523 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13526 # Do not use `cd foo && pwd` to compute absolute paths, because
13527 # the directories may not exist.
13529 .
) ac_abs_builddir
="$ac_dir";;
13532 .
) ac_abs_builddir
=`pwd`;;
13533 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13534 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13537 case $ac_abs_builddir in
13538 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13540 case ${ac_top_builddir}.
in
13541 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13542 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13543 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13546 case $ac_abs_builddir in
13547 .
) ac_abs_srcdir
=$ac_srcdir;;
13550 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13551 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13552 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13555 case $ac_abs_builddir in
13556 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13558 case $ac_top_srcdir in
13559 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13560 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13561 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13567 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13568 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13571 if test x
"$ac_file" != x-
; then
13572 { echo "$as_me:$LINENO: creating $ac_file" >&5
13573 echo "$as_me: creating $ac_file" >&6;}
13576 # Let's still pretend it is `configure' which instantiates (i.e., don't
13577 # use $as_me), people would be surprised to read:
13578 # /* config.h. Generated by config.status. */
13579 if test x
"$ac_file" = x-
; then
13582 configure_input
="$ac_file. "
13584 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13585 sed 's,.*/,,'` by configure."
13587 # First look for the input files in the build tree, otherwise in the
13589 ac_file_inputs
=`IFS=:
13590 for f in $ac_file_in; do
13592 -) echo $tmp/stdin ;;
13594 # Absolute (can't be DOS-style, as IFS=:)
13595 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13596 echo "$as_me: error: cannot find input file: $f" >&2;}
13597 { (exit 1); exit 1; }; }
13600 if test -f "$f"; then
13603 elif test -f "$srcdir/$f"; then
13608 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13609 echo "$as_me: error: cannot find input file: $f" >&2;}
13610 { (exit 1); exit 1; }; }
13613 done` ||
{ (exit 1); exit 1; }
13615 cat >>$CONFIG_STATUS <<_ACEOF
13619 cat >>$CONFIG_STATUS <<\_ACEOF
13621 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13622 s
,@configure_input@
,$configure_input,;t t
13623 s
,@srcdir@
,$ac_srcdir,;t t
13624 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13625 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13626 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13627 s
,@builddir@
,$ac_builddir,;t t
13628 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13629 s
,@top_builddir@
,$ac_top_builddir,;t t
13630 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13631 s
,@INSTALL@
,$ac_INSTALL,;t t
13632 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13634 if test x"$ac_file" != x-; then
13635 mv $tmp/out $ac_file
13643 cat >>$CONFIG_STATUS <<\_ACEOF
13646 # CONFIG_HEADER section.
13649 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13650 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13652 # ac_d sets the value in "#define NAME VALUE" lines.
13653 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13654 ac_dB
='[ ].*$,\1#\2'
13657 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13658 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13659 ac_uB
='$,\1#\2define\3'
13663 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13664 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13666 - |
*:- |
*:-:* ) # input from stdin
13668 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13669 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13670 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13671 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13672 * ) ac_file_in
=$ac_file.
in ;;
13675 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13676 echo "$as_me: creating $ac_file" >&6;}
13678 # First look for the input files in the build tree, otherwise in the
13680 ac_file_inputs
=`IFS=:
13681 for f in $ac_file_in; do
13683 -) echo $tmp/stdin ;;
13685 # Absolute (can't be DOS-style, as IFS=:)
13686 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13687 echo "$as_me: error: cannot find input file: $f" >&2;}
13688 { (exit 1); exit 1; }; }
13689 # Do quote $f, to prevent DOS paths from being IFS'd.
13692 if test -f "$f"; then
13695 elif test -f "$srcdir/$f"; then
13700 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13701 echo "$as_me: error: cannot find input file: $f" >&2;}
13702 { (exit 1); exit 1; }; }
13705 done` ||
{ (exit 1); exit 1; }
13706 # Remove the trailing spaces.
13707 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13711 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13712 # `conftest.undefs', that substitutes the proper values into
13713 # config.h.in to produce config.h. The first handles `#define'
13714 # templates, and the second `#undef' templates.
13715 # And first: Protect against being on the right side of a sed subst in
13716 # config.status. Protect against being in an unquoted here document
13717 # in config.status.
13718 rm -f conftest.defines conftest.undefs
13719 # Using a here document instead of a string reduces the quoting nightmare.
13720 # Putting comments in sed scripts is not portable.
13722 # `end' is used to avoid that the second main sed command (meant for
13723 # 0-ary CPP macros) applies to n-ary macro definitions.
13724 # See the Autoconf documentation for `clear'.
13725 cat >confdef2sed.
sed <<\_ACEOF
13730 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13732 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13735 # If some macros were called several times there might be several times
13736 # the same #defines, which is useless. Nevertheless, we may not want to
13737 # sort them, since we want the *last* AC-DEFINE to be honored.
13738 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13739 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13740 rm -f confdef2sed.sed
13742 # This sed command replaces #undef with comments. This is necessary, for
13743 # example, in the case of _POSIX_SOURCE, which is predefined and required
13744 # on some systems where configure will not decide to define it.
13745 cat >>conftest.undefs <<\_ACEOF
13746 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13749 # Break up conftest.defines because some shells have a limit on the size
13750 # of here documents, and old seds have small limits too (100 cmds).
13751 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13752 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13753 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13754 echo ' :' >>$CONFIG_STATUS
13755 rm -f conftest.tail
13756 while grep . conftest.defines >/dev/null
13758 # Write a limited-size here document to $tmp/defines.sed.
13759 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13760 # Speed up: don't consider the non `#define' lines.
13761 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13762 # Work around the forget-to-reset-the-flag bug.
13763 echo 't clr' >>$CONFIG_STATUS
13764 echo ': clr' >>$CONFIG_STATUS
13765 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13767 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13769 mv $tmp/out $tmp/in
13771 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13772 rm -f conftest.defines
13773 mv conftest.
tail conftest.defines
13775 rm -f conftest.defines
13776 echo ' fi # grep' >>$CONFIG_STATUS
13777 echo >>$CONFIG_STATUS
13779 # Break up conftest.undefs because some shells have a limit on the size
13780 # of here documents, and old seds have small limits too (100 cmds).
13781 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13782 rm -f conftest.
tail
13783 while grep . conftest.undefs
>/dev
/null
13785 # Write a limited-size here document to $tmp/undefs.sed.
13786 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13787 # Speed up: don't consider the non
`#undef'
13788 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13789 # Work around the forget-to-reset-the-flag bug.
13790 echo 't clr' >>$CONFIG_STATUS
13791 echo ': clr' >>$CONFIG_STATUS
13792 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13794 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13796 mv $tmp/out $tmp/in
13798 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13799 rm -f conftest.undefs
13800 mv conftest.tail conftest.undefs
13802 rm -f conftest.undefs
13804 cat >>$CONFIG_STATUS <<\_ACEOF
13805 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13806 # use $as_me), people would be surprised to read:
13807 # /* config.h. Generated by config.status. */
13808 if test x
"$ac_file" = x-
; then
13809 echo "/* Generated by configure. */" >$tmp/config.h
13811 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13813 cat $tmp/in >>$tmp/config.h
13815 if test x
"$ac_file" != x-
; then
13816 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13817 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13818 echo "$as_me: $ac_file is unchanged" >&6;}
13820 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13821 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13822 X"$ac_file" : 'X\(//\)[^/]' \| \
13823 X"$ac_file" : 'X\(//\)$' \| \
13824 X"$ac_file" : 'X\(/\)' \| \
13825 . : '\(.\)' 2>/dev/null ||
13827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13829 /^X\(\/\/\)$/{ s//\1/; q; }
13830 /^X\(\/\).*/{ s//\1/; q; }
13832 { if $as_mkdir_p; then
13837 while test ! -d "$as_dir"; do
13838 as_dirs
="$as_dir $as_dirs"
13839 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13841 X"$as_dir" : 'X\(//\)[^/]' \| \
13842 X"$as_dir" : 'X\(//\)$' \| \
13843 X"$as_dir" : 'X\(/\)' \| \
13844 . : '\(.\)' 2>/dev/null ||
13846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13848 /^X\(\/\/\)$/{ s//\1/; q; }
13849 /^X\(\/\).*/{ s//\1/; q; }
13852 test ! -n "$as_dirs" || mkdir
$as_dirs
13853 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13854 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13855 { (exit 1); exit 1; }; }; }
13858 mv $tmp/config.h
$ac_file
13862 rm -f $tmp/config.h
13864 # Compute $ac_file's index in $config_headers.
13866 for _am_header
in $config_headers :; do
13867 case $_am_header in
13868 $ac_file |
$ac_file:* )
13871 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13874 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13875 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13876 X$ac_file : 'X\(//\)[^/]' \| \
13877 X$ac_file : 'X\(//\)$' \| \
13878 X$ac_file : 'X\(/\)' \| \
13879 . : '\(.\)' 2>/dev/null ||
13881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13882 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13883 /^X\(\/\/\)$/{ s//\1/; q; }
13884 /^X\(\/\).*/{ s//\1/; q; }
13885 s/.*/./; q'`/stamp-h
$_am_stamp_count
13888 cat >>$CONFIG_STATUS <<\_ACEOF
13891 # CONFIG_COMMANDS section.
13893 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13894 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13895 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13896 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13897 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13898 X"$ac_dest" : 'X\(//\)[^/]' \| \
13899 X"$ac_dest" : 'X\(//\)$' \| \
13900 X"$ac_dest" : 'X\(/\)' \| \
13901 . : '\(.\)' 2>/dev/null ||
13903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13905 /^X\(\/\/\)$/{ s//\1/; q; }
13906 /^X\(\/\).*/{ s//\1/; q; }
13908 { if $as_mkdir_p; then
13913 while test ! -d "$as_dir"; do
13914 as_dirs
="$as_dir $as_dirs"
13915 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13916 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13917 X"$as_dir" : 'X\(//\)[^/]' \| \
13918 X"$as_dir" : 'X\(//\)$' \| \
13919 X"$as_dir" : 'X\(/\)' \| \
13920 . : '\(.\)' 2>/dev/null ||
13922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13923 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13924 /^X\(\/\/\)$/{ s//\1/; q; }
13925 /^X\(\/\).*/{ s//\1/; q; }
13928 test ! -n "$as_dirs" || mkdir
$as_dirs
13929 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13930 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13931 { (exit 1); exit 1; }; }; }
13935 if test "$ac_dir" != .
; then
13936 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13937 # A "../" for each directory in $ac_dir_suffix.
13938 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13940 ac_dir_suffix
= ac_top_builddir
=
13944 .
) # No --srcdir option. We are building in place.
13946 if test -z "$ac_top_builddir"; then
13949 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13951 [\\/]* | ?
:[\\/]* ) # Absolute path.
13952 ac_srcdir
=$srcdir$ac_dir_suffix;
13953 ac_top_srcdir
=$srcdir ;;
13954 *) # Relative path.
13955 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13956 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13959 # Do not use `cd foo && pwd` to compute absolute paths, because
13960 # the directories may not exist.
13962 .
) ac_abs_builddir
="$ac_dir";;
13965 .
) ac_abs_builddir
=`pwd`;;
13966 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13967 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13970 case $ac_abs_builddir in
13971 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13973 case ${ac_top_builddir}.
in
13974 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13975 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13976 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13979 case $ac_abs_builddir in
13980 .
) ac_abs_srcdir
=$ac_srcdir;;
13983 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13984 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13985 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13988 case $ac_abs_builddir in
13989 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13991 case $ac_top_srcdir in
13992 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13993 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13994 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13999 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14000 echo "$as_me: executing $ac_dest commands" >&6;}
14002 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14003 # Strip MF so we end up with the name of the file.
14004 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14005 # Check whether this is an Automake generated Makefile or not.
14006 # We used to match only the files named `Makefile.in', but
14007 # some people rename them; so instead we look at the file content.
14008 # Grep'ing the first line is not enough: some people post-process
14009 # each Makefile.in and add a new line on top of each file to say so.
14010 # So let's grep whole file.
14011 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14012 dirpart
=`(dirname "$mf") 2>/dev/null ||
14013 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14014 X"$mf" : 'X\(//\)[^/]' \| \
14015 X"$mf" : 'X\(//\)$' \| \
14016 X"$mf" : 'X\(/\)' \| \
14017 . : '\(.\)' 2>/dev/null ||
14019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14020 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14021 /^X\(\/\/\)$/{ s//\1/; q; }
14022 /^X\(\/\).*/{ s//\1/; q; }
14027 # Extract the definition of DEPDIR, am__include, and am__quote
14028 # from the Makefile without running `make'.
14029 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14030 test -z "$DEPDIR" && continue
14031 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14032 test -z "am__include" && continue
14033 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14034 # When using ansi2knr, U may be empty or an underscore; expand it
14035 U
=`sed -n 's/^U = //p' < "$mf"`
14036 # Find all dependency output files, they are included files with
14037 # $(DEPDIR) in their names. We invoke sed twice because it is the
14038 # simplest approach to changing $(DEPDIR) to its actual value in the
14040 for file in `sed -n "
14041 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14042 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14043 # Make sure the directory exists.
14044 test -f "$dirpart/$file" && continue
14045 fdir
=`(dirname "$file") 2>/dev/null ||
14046 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14047 X"$file" : 'X\(//\)[^/]' \| \
14048 X"$file" : 'X\(//\)$' \| \
14049 X"$file" : 'X\(/\)' \| \
14050 . : '\(.\)' 2>/dev/null ||
14052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14053 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14054 /^X\(\/\/\)$/{ s//\1/; q; }
14055 /^X\(\/\).*/{ s//\1/; q; }
14057 { if $as_mkdir_p; then
14058 mkdir
-p $dirpart/$fdir
14060 as_dir
=$dirpart/$fdir
14062 while test ! -d "$as_dir"; do
14063 as_dirs
="$as_dir $as_dirs"
14064 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14065 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14066 X"$as_dir" : 'X\(//\)[^/]' \| \
14067 X"$as_dir" : 'X\(//\)$' \| \
14068 X"$as_dir" : 'X\(/\)' \| \
14069 . : '\(.\)' 2>/dev/null ||
14071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14072 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14073 /^X\(\/\/\)$/{ s//\1/; q; }
14074 /^X\(\/\).*/{ s//\1/; q; }
14077 test ! -n "$as_dirs" || mkdir
$as_dirs
14078 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14079 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14080 { (exit 1); exit 1; }; }; }
14082 # echo "creating $dirpart/$file"
14083 echo '# dummy' > "$dirpart/$file"
14087 default
) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po
/Makefile.
in > po
/Makefile
;;
14092 cat >>$CONFIG_STATUS <<\_ACEOF
14094 { (exit 0); exit 0; }
14096 chmod +x
$CONFIG_STATUS
14097 ac_clean_files
=$ac_clean_files_save
14100 # configure is writing to config.log, and then calls config.status.
14101 # config.status does its own redirection, appending to config.log.
14102 # Unfortunately, on DOS this fails, as config.log is still kept open
14103 # by configure, so config.status won't be able to write to it; its
14104 # output is simply discarded. So we exec the FD to /dev/null,
14105 # effectively closing config.log, so it can be properly (re)opened and
14106 # appended to by config.status. When coming back to configure, we
14107 # need to make the FD available again.
14108 if test "$no_create" != yes; then
14110 ac_config_status_args
=
14111 test "$silent" = yes &&
14112 ac_config_status_args
="$ac_config_status_args --quiet"
14114 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14116 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14117 # would make configure fail if this is the last instruction.
14118 $ac_cs_success ||
{ (exit 1); exit 1; }