2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="libbfd.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL PKGVERSION WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES CPP EGREP BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default
=no
856 --enable-static=PKGS build static libraries default
=yes
857 --enable-fast-install=PKGS optimize
for fast installation default
=yes
858 --disable-libtool-lock avoid locking
(might
break parallel builds
)
859 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
860 --enable-targets alternative target configurations
861 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
862 --enable-secureplt Default to creating read-only plt entries
863 --enable-werror treat compile warnings as errors
864 --enable-build-warnings enable build-time compiler warnings
865 --enable-maintainer-mode enable make rules and dependencies not useful
866 (and sometimes confusing
) to the casual installer
867 --enable-install-libbfd controls installation of libbfd and related headers
868 --disable-nls do not use Native Language Support
871 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
872 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
873 --with-gnu-ld assume the C compiler uses GNU ld default
=no
874 --with-pic try to use only PIC
/non-PIC objects default
=use both
875 --with-mmap try using mmap
for BFD input files
if available
876 --with-pkgversion=PKG Add PKG to the version string
878 Some influential environment variables
:
879 CC C compiler
command
880 CFLAGS C compiler flags
881 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
882 nonstandard directory
<lib dir
>
883 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
884 headers
in a nonstandard directory
<include dir
>
887 Use these variables to override the choices made by
`configure' or to help
888 it to find libraries and programs with nonstandard names/locations.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix= ac_top_builddir=
909 .) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924 # Do not use `cd foo
&& pwd` to compute absolute paths, because
925 # the directories may not exist.
927 .) ac_abs_builddir="$ac_dir";;
930 .) ac_abs_builddir=`pwd`;;
931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
935 case $ac_abs_builddir in
936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
938 case ${ac_top_builddir}. in
939 .) ac_abs_top_builddir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
944 case $ac_abs_builddir in
945 .) ac_abs_srcdir=$ac_srcdir;;
948 .) ac_abs_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
953 case $ac_abs_builddir in
954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
986 Copyright (C) 2003 Free Software Foundation, Inc.
987 This configure script is free software; the Free Software Foundation
988 gives unlimited permission to copy, distribute and modify it.
994 This file contains any messages produced by compilers while
995 running configure, to aid debugging if configure makes a mistake.
997 It was created by $as_me, which was
998 generated by GNU Autoconf 2.59. Invocation command line was
1009 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1010 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1011 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1012 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1013 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1016 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1018 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1019 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1020 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1021 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1022 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1023 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1024 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1032 test -z "$as_dir" && as_dir=.
1033 echo "PATH: $as_dir"
1048 # Keep a trace of the command line.
1049 # Strip out --no-create and --no-recursion so they do not pile up.
1050 # Strip out --silent because we don't want to record it for future runs.
1051 # Also quote any args containing shell meta-characters.
1052 # Make two passes to allow for proper duplicate-argument suppression.
1057 ac_must_keep_next=false
1063 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1065 | -silent | --silent | --silen | --sile | --sil)
1067 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1068 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1071 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1073 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1074 if test $ac_must_keep_next = true; then
1075 ac_must_keep_next=false # Got value, back to normal.
1078 *=* | --config-cache | -C | -disable-* | --disable-* \
1079 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1080 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1081 | -with-* | --with-* | -without-* | --without-* | --x)
1082 case "$ac_configure_args0 " in
1083 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1086 -* ) ac_must_keep_next=true ;;
1089 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1090 # Get rid of the leading space.
1096 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1097 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1099 # When interrupted or exit'd, cleanup temporary files, and complete
1100 # config.log. We remove comments because anyway the quotes in there
1101 # would cause problems or look ugly.
1102 # WARNING: Be sure not to use single quotes in there, as some shells,
1103 # such as our DU 5.0 friend, will then `close
' the trap.
1104 trap 'exit_status
=$?
1105 # Save into config.log some information that might help in debugging.
1110 ## ---------------- ##
1111 ## Cache variables. ##
1112 ## ---------------- ##
1115 # The following way of writing the cache mishandles newlines in values,
1118 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1121 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1133 ## ----------------- ##
1134 ## Output variables. ##
1135 ## ----------------- ##
1138 for ac_var
in $ac_subst_vars
1140 eval ac_val
=$
`echo $ac_var`
1141 echo "$ac_var='"'"'$ac_val'"'"'"
1145 if test -n "$ac_subst_files"; then
1152 for ac_var
in $ac_subst_files
1154 eval ac_val
=$
`echo $ac_var`
1155 echo "$ac_var='"'"'$ac_val'"'"'"
1160 if test -s confdefs.h
; then
1167 sed "/^$/d" confdefs.h |
sort
1170 test "$ac_signal" != 0 &&
1171 echo "$as_me: caught signal $ac_signal"
1172 echo "$as_me: exit $exit_status"
1174 rm -f core
*.core
&&
1175 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1178 for ac_signal in 1 2 13 15; do
1179 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1183 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1184 rm -rf conftest* confdefs.h
1185 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1188 # Predefined preprocessor variables.
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_NAME "$PACKAGE_NAME"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_STRING "$PACKAGE_STRING"
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1215 # Let the site file select an alternate cache file if it wants to.
1216 # Prefer explicitly selected file to automatically selected ones.
1217 if test -z "$CONFIG_SITE"; then
1218 if test "x$prefix" != xNONE; then
1219 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1221 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1224 for ac_site_file in $CONFIG_SITE; do
1225 if test -r "$ac_site_file"; then
1226 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1227 echo "$as_me: loading site script $ac_site_file" >&6;}
1228 sed 's
/^
/|
/' "$ac_site_file" >&5
1233 if test -r "$cache_file"; then
1234 # Some versions of bash will fail to source /dev/null (special
1235 # files actually), so we avoid doing that.
1236 if test -f "$cache_file"; then
1237 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1238 echo "$as_me: loading cache $cache_file" >&6;}
1240 [\\/]* | ?:[\\/]* ) . $cache_file;;
1241 *) . ./$cache_file;;
1245 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1246 echo "$as_me: creating cache $cache_file" >&6;}
1250 # Check that the precious variables saved in the cache have kept the same
1252 ac_cache_corrupted=false
1253 for ac_var in `(set) 2>&1 |
1254 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1255 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1256 eval ac_new_set=\$ac_env_${ac_var}_set
1257 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1258 eval ac_new_val="\$ac_env_${ac_var}_value"
1259 case $ac_old_set,$ac_new_set in
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1263 ac_cache_corrupted=: ;;
1265 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1270 if test "x$ac_old_val" != "x$ac_new_val"; then
1271 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1272 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1273 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1274 echo "$as_me: former value: $ac_old_val" >&2;}
1275 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1276 echo "$as_me: current value: $ac_new_val" >&2;}
1277 ac_cache_corrupted=:
1280 # Pass precious variables to config.status.
1281 if test "$ac_new_set" = set; then
1283 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1284 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1285 *) ac_arg=$ac_var=$ac_new_val ;;
1287 case " $ac_configure_args " in
1288 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1289 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1293 if $ac_cache_corrupted; then
1294 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1295 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1296 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1297 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1298 { (exit 1); exit 1; }; }
1302 ac_cpp='$CPP $CPPFLAGS'
1303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1304 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1328 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1329 if test -f $ac_dir/install-sh; then
1331 ac_install_sh="$ac_aux_dir/install-sh -c"
1333 elif test -f $ac_dir/install.sh; then
1335 ac_install_sh="$ac_aux_dir/install.sh -c"
1337 elif test -f $ac_dir/shtool; then
1339 ac_install_sh="$ac_aux_dir/shtool install -c"
1343 if test -z "$ac_aux_dir"; then
1344 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1345 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1346 { (exit 1); exit 1; }; }
1348 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1349 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1350 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1352 # Make sure we can run config.sub.
1353 $ac_config_sub sun4 >/dev/null 2>&1 ||
1354 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1355 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1356 { (exit 1); exit 1; }; }
1358 echo "$as_me:$LINENO: checking build system type" >&5
1359 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1360 if test "${ac_cv_build+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 ac_cv_build_alias=$build_alias
1364 test -z "$ac_cv_build_alias" &&
1365 ac_cv_build_alias=`$ac_config_guess`
1366 test -z "$ac_cv_build_alias" &&
1367 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1368 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1369 { (exit 1); exit 1; }; }
1370 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1371 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1372 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1373 { (exit 1); exit 1; }; }
1376 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1377 echo "${ECHO_T}$ac_cv_build" >&6
1379 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1380 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1381 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1384 echo "$as_me:$LINENO: checking host system type" >&5
1385 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1386 if test "${ac_cv_host+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 ac_cv_host_alias=$host_alias
1390 test -z "$ac_cv_host_alias" &&
1391 ac_cv_host_alias=$ac_cv_build_alias
1392 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1393 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1394 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1395 { (exit 1); exit 1; }; }
1398 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1399 echo "${ECHO_T}$ac_cv_host" >&6
1401 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1402 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1403 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1406 echo "$as_me:$LINENO: checking target system type" >&5
1407 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1408 if test "${ac_cv_target+set}" = set; then
1409 echo $ECHO_N "(cached) $ECHO_C" >&6
1411 ac_cv_target_alias=$target_alias
1412 test "x$ac_cv_target_alias" = "x" &&
1413 ac_cv_target_alias=$ac_cv_host_alias
1414 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1421 echo "${ECHO_T}$ac_cv_target" >&6
1422 target=$ac_cv_target
1423 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1424 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1425 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1428 # The aliases save the names the user supplied, while $host etc.
1429 # will get canonicalized.
1430 test -n "$target_alias" &&
1431 test "$program_prefix$program_suffix$program_transform_name" = \
1433 program_prefix=${target_alias}-
1435 ac_cpp='$CPP $CPPFLAGS'
1436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1437 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1439 if test -n "$ac_tool_prefix"; then
1440 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1441 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1442 echo "$as_me:$LINENO: checking for $ac_word" >&5
1443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1444 if test "${ac_cv_prog_CC+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 if test -n "$CC"; then
1448 ac_cv_prog_CC="$CC" # Let the user override the test.
1450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454 test -z "$as_dir" && as_dir=.
1455 for ac_exec_ext in '' $ac_executable_extensions; do
1456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1457 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1467 if test -n "$CC"; then
1468 echo "$as_me:$LINENO: result: $CC" >&5
1469 echo "${ECHO_T}$CC" >&6
1471 echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1476 if test -z "$ac_cv_prog_CC"; then
1478 # Extract the first word of "gcc", so it can be a program name with args.
1479 set dummy gcc; ac_word=$2
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5
1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 if test -n "$ac_ct_CC"; then
1486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492 test -z "$as_dir" && as_dir=.
1493 for ac_exec_ext in '' $ac_executable_extensions; do
1494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1495 ac_cv_prog_ac_ct_CC="gcc"
1496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1505 if test -n "$ac_ct_CC"; then
1506 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1507 echo "${ECHO_T}$ac_ct_CC" >&6
1509 echo "$as_me:$LINENO: result: no" >&5
1510 echo "${ECHO_T}no" >&6
1518 if test -z "$CC"; then
1519 if test -n "$ac_tool_prefix"; then
1520 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1521 set dummy ${ac_tool_prefix}cc; ac_word=$2
1522 echo "$as_me:$LINENO: checking for $ac_word" >&5
1523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1524 if test "${ac_cv_prog_CC+set}" = set; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 if test -n "$CC"; then
1528 ac_cv_prog_CC="$CC" # Let the user override the test.
1530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1534 test -z "$as_dir" && as_dir=.
1535 for ac_exec_ext in '' $ac_executable_extensions; do
1536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1537 ac_cv_prog_CC="${ac_tool_prefix}cc"
1538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1547 if test -n "$CC"; then
1548 echo "$as_me:$LINENO: result: $CC" >&5
1549 echo "${ECHO_T}$CC" >&6
1551 echo "$as_me:$LINENO: result: no" >&5
1552 echo "${ECHO_T}no" >&6
1556 if test -z "$ac_cv_prog_CC"; then
1558 # Extract the first word of "cc", so it can be a program name with args.
1559 set dummy cc; ac_word=$2
1560 echo "$as_me:$LINENO: checking for $ac_word" >&5
1561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1562 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 if test -n "$ac_ct_CC"; then
1566 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1572 test -z "$as_dir" && as_dir=.
1573 for ac_exec_ext in '' $ac_executable_extensions; do
1574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1575 ac_cv_prog_ac_ct_CC="cc"
1576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1584 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1585 if test -n "$ac_ct_CC"; then
1586 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1587 echo "${ECHO_T}$ac_ct_CC" >&6
1589 echo "$as_me:$LINENO: result: no" >&5
1590 echo "${ECHO_T}no" >&6
1599 if test -z "$CC"; then
1600 # Extract the first word of "cc", so it can be a program name with args.
1601 set dummy cc; ac_word=$2
1602 echo "$as_me:$LINENO: checking for $ac_word" >&5
1603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1604 if test "${ac_cv_prog_CC+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 if test -n "$CC"; then
1608 ac_cv_prog_CC="$CC" # Let the user override the test.
1611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1615 test -z "$as_dir" && as_dir=.
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1619 ac_prog_rejected=yes
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1629 if test $ac_prog_rejected = yes; then
1630 # We found a bogon in the path, so make sure we never use it.
1631 set dummy $ac_cv_prog_CC
1633 if test $# != 0; then
1634 # We chose a different compiler from the bogus one.
1635 # However, it has the same basename, so the bogon will be chosen
1636 # first if we set CC to just the basename; use the full file name.
1638 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1644 if test -n "$CC"; then
1645 echo "$as_me:$LINENO: result: $CC" >&5
1646 echo "${ECHO_T}$CC" >&6
1648 echo "$as_me:$LINENO: result: no" >&5
1649 echo "${ECHO_T}no" >&6
1653 if test -z "$CC"; then
1654 if test -n "$ac_tool_prefix"; then
1657 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1658 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_CC+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 if test -n "$CC"; then
1665 ac_cv_prog_CC="$CC" # Let the user override the test.
1667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1671 test -z "$as_dir" && as_dir=.
1672 for ac_exec_ext in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1684 if test -n "$CC"; then
1685 echo "$as_me:$LINENO: result: $CC" >&5
1686 echo "${ECHO_T}$CC" >&6
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1692 test -n "$CC" && break
1695 if test -z "$CC"; then
1699 # Extract the first word of "$ac_prog", so it can be a program name with args.
1700 set dummy $ac_prog; ac_word=$2
1701 echo "$as_me:$LINENO: checking for $ac_word" >&5
1702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 if test -n "$ac_ct_CC"; then
1707 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 test -z "$as_dir" && as_dir=.
1714 for ac_exec_ext in '' $ac_executable_extensions; do
1715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1716 ac_cv_prog_ac_ct_CC="$ac_prog"
1717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1725 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1726 if test -n "$ac_ct_CC"; then
1727 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1728 echo "${ECHO_T}$ac_ct_CC" >&6
1730 echo "$as_me:$LINENO: result: no" >&5
1731 echo "${ECHO_T}no" >&6
1734 test -n "$ac_ct_CC" && break
1743 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1744 See \`config.log' for more details.
" >&5
1745 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1746 See \
`config.log' for more details." >&2;}
1747 { (exit 1); exit 1; }; }
1749 # Provide some information about the compiler.
1750 echo "$as_me:$LINENO:" \
1751 "checking for C compiler version" >&5
1752 ac_compiler=`set X
$ac_compile; echo $2`
1753 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1754 (eval $ac_compiler --version </dev/null >&5) 2>&5
1756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1757 (exit $ac_status); }
1758 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1759 (eval $ac_compiler -v </dev/null >&5) 2>&5
1761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1762 (exit $ac_status); }
1763 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1764 (eval $ac_compiler -V </dev/null >&5) 2>&5
1766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1767 (exit $ac_status); }
1769 cat >conftest.$ac_ext <<_ACEOF
1772 cat confdefs.h >>conftest.$ac_ext
1773 cat >>conftest.$ac_ext <<_ACEOF
1774 /* end confdefs.h. */
1784 ac_clean_files_save=$ac_clean_files
1785 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1786 # Try to create an executable without -o first, disregard a.out.
1787 # It will help us diagnose broken compilers, and finding out an intuition
1789 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1790 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1791 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1792 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1793 (eval $ac_link_default) 2>&5
1795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1796 (exit $ac_status); }; then
1797 # Find the output, starting from the most likely. This scheme is
1798 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1801 # Be careful to initialize this variable, since it used to be cached.
1802 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1804 # b.out is created by i960 compilers.
1805 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1807 test -f "$ac_file" || continue
1809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1812 # This is the source file.
1815 # We found the default executable, but exeext='' is most
1819 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1820 # FIXME: I believe we export ac_cv_exeext for Libtool,
1821 # but it would be cool to find out if it's true. Does anybody
1822 # maintain Libtool? --akim.
1830 echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1833 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1834 See \`config.log
' for more details." >&5
1835 echo "$as_me: error: C compiler cannot create executables
1836 See \`config.log' for more details.
" >&2;}
1837 { (exit 77); exit 77; }; }
1840 ac_exeext=$ac_cv_exeext
1841 echo "$as_me:$LINENO: result
: $ac_file" >&5
1842 echo "${ECHO_T}$ac_file" >&6
1844 # Check the compiler produces executables we can run. If not, either
1845 # the compiler is broken, or we cross compile.
1846 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1847 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1848 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1849 # If not cross compiling, check that we can run a simple program.
1850 if test "$cross_compiling" != yes; then
1851 if { ac_try='./$ac_file'
1852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1856 (exit $ac_status); }; }; then
1859 if test "$cross_compiling" = maybe; then
1862 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1863 If you meant to cross compile
, use \
`--host'.
1864 See \`config.log
' for more details." >&5
1865 echo "$as_me: error: cannot run C compiled programs.
1866 If you meant to cross compile, use \`--host'.
1867 See \
`config.log' for more details." >&2;}
1868 { (exit 1); exit 1; }; }
1872 echo "$as_me:$LINENO: result: yes" >&5
1873 echo "${ECHO_T}yes" >&6
1875 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1876 ac_clean_files=$ac_clean_files_save
1877 # Check the compiler produces executables we can run. If not, either
1878 # the compiler is broken, or we cross compile.
1879 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1880 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1881 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1882 echo "${ECHO_T}$cross_compiling" >&6
1884 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1885 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1887 (eval $ac_link) 2>&5
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; then
1891 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1892 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1893 # work properly (i.e., refer to `conftest.exe'), while it won't with
1895 for ac_file
in conftest.exe conftest conftest.
*; do
1896 test -f "$ac_file" ||
continue
1898 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1899 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1906 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1907 See \`config.log' for more details." >&5
1908 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1909 See \`config.log' for more details." >&2;}
1910 { (exit 1); exit 1; }; }
1913 rm -f conftest
$ac_cv_exeext
1914 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1915 echo "${ECHO_T}$ac_cv_exeext" >&6
1917 rm -f conftest.
$ac_ext
1918 EXEEXT
=$ac_cv_exeext
1920 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1921 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1922 if test "${ac_cv_objext+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 cat >conftest.
$ac_ext <<_ACEOF
1928 cat confdefs.h
>>conftest.
$ac_ext
1929 cat >>conftest.
$ac_ext <<_ACEOF
1930 /* end confdefs.h. */
1940 rm -f conftest.o conftest.obj
1941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1942 (eval $ac_compile) 2>&5
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }; then
1946 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1948 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1949 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1954 echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.
$ac_ext >&5
1957 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1958 See \`config.log' for more details." >&5
1959 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1960 See \`config.log' for more details." >&2;}
1961 { (exit 1); exit 1; }; }
1964 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1966 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1967 echo "${ECHO_T}$ac_cv_objext" >&6
1968 OBJEXT
=$ac_cv_objext
1970 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1971 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1972 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 cat >conftest.
$ac_ext <<_ACEOF
1978 cat confdefs.h
>>conftest.
$ac_ext
1979 cat >>conftest.
$ac_ext <<_ACEOF
1980 /* end confdefs.h. */
1993 rm -f conftest.
$ac_objext
1994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1995 (eval $ac_compile) 2>conftest.er1
1997 grep -v '^ *+' conftest.er1
>conftest.err
1999 cat conftest.err
>&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); } &&
2002 { ac_try
='test -z "$ac_c_werror_flag"
2003 || test ! -s conftest.err'
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }; } &&
2009 { ac_try
='test -s conftest.$ac_objext'
2010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014 (exit $ac_status); }; }; then
2017 echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.
$ac_ext >&5
2022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2023 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2026 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2027 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2028 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2029 ac_test_CFLAGS
=${CFLAGS+set}
2030 ac_save_CFLAGS
=$CFLAGS
2032 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2033 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2034 if test "${ac_cv_prog_cc_g+set}" = set; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 cat >conftest.
$ac_ext <<_ACEOF
2040 cat confdefs.h
>>conftest.
$ac_ext
2041 cat >>conftest.
$ac_ext <<_ACEOF
2042 /* end confdefs.h. */
2052 rm -f conftest.
$ac_objext
2053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2054 (eval $ac_compile) 2>conftest.er1
2056 grep -v '^ *+' conftest.er1
>conftest.err
2058 cat conftest.err
>&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); } &&
2061 { ac_try
='test -z "$ac_c_werror_flag"
2062 || test ! -s conftest.err'
2063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }; } &&
2068 { ac_try
='test -s conftest.$ac_objext'
2069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073 (exit $ac_status); }; }; then
2076 echo "$as_me: failed program was:" >&5
2077 sed 's/^/| /' conftest.
$ac_ext >&5
2081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2084 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2085 if test "$ac_test_CFLAGS" = set; then
2086 CFLAGS
=$ac_save_CFLAGS
2087 elif test $ac_cv_prog_cc_g = yes; then
2088 if test "$GCC" = yes; then
2094 if test "$GCC" = yes; then
2100 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2101 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2102 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2103 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 ac_cv_prog_cc_stdc
=no
2107 cat >conftest.
$ac_ext <<_ACEOF
2110 cat confdefs.h
>>conftest.
$ac_ext
2111 cat >>conftest.
$ac_ext <<_ACEOF
2112 /* end confdefs.h. */
2115 #include <sys/types.h>
2116 #include <sys/stat.h>
2117 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2118 struct buf { int x; };
2119 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2120 static char *e (p, i)
2126 static char *f (char * (*g) (char **, int), char **p, ...)
2131 s = g (p, va_arg (v,int));
2136 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2137 function prototypes and stuff, but not '\xHH' hex character constants.
2138 These don't provoke an error unfortunately, instead are silently treated
2139 as 'x'. The following induces an error, until -std1 is added to get
2140 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2141 array size at least. It's necessary to write '\x00'==0 to get something
2142 that's true only with -std1. */
2143 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2145 int test (int i, double x);
2146 struct s1 {int (*f) (int a);};
2147 struct s2 {int (*f) (double a);};
2148 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2154 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2159 # Don't try gcc -ansi; that turns off useful extensions and
2160 # breaks some systems' header files.
2161 # AIX -qlanglvl=ansi
2162 # Ultrix and OSF/1 -std1
2163 # HP-UX 10.20 and later -Ae
2164 # HP-UX older versions -Aa -D_HPUX_SOURCE
2165 # SVR4 -Xc -D__EXTENSIONS__
2166 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2168 CC
="$ac_save_CC $ac_arg"
2169 rm -f conftest.
$ac_objext
2170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2171 (eval $ac_compile) 2>conftest.er1
2173 grep -v '^ *+' conftest.er1
>conftest.err
2175 cat conftest.err
>&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); } &&
2178 { ac_try
='test -z "$ac_c_werror_flag"
2179 || test ! -s conftest.err'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; } &&
2185 { ac_try
='test -s conftest.$ac_objext'
2186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); }; }; then
2191 ac_cv_prog_cc_stdc
=$ac_arg
2194 echo "$as_me: failed program was:" >&5
2195 sed 's/^/| /' conftest.
$ac_ext >&5
2198 rm -f conftest.err conftest.
$ac_objext
2200 rm -f conftest.
$ac_ext conftest.
$ac_objext
2205 case "x$ac_cv_prog_cc_stdc" in
2207 echo "$as_me:$LINENO: result: none needed" >&5
2208 echo "${ECHO_T}none needed" >&6 ;;
2210 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2211 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2212 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2215 # Some people use a C++ compiler to compile C. Since we use `exit',
2216 # in C++ we need to declare it. In case someone uses the same compiler
2217 # for both compiling C and C++ we need to have the C++ compiler decide
2218 # the declaration of exit, since it's the most demanding environment.
2219 cat >conftest.
$ac_ext <<_ACEOF
2224 rm -f conftest.
$ac_objext
2225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2226 (eval $ac_compile) 2>conftest.er1
2228 grep -v '^ *+' conftest.er1
>conftest.err
2230 cat conftest.err
>&5
2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2232 (exit $ac_status); } &&
2233 { ac_try
='test -z "$ac_c_werror_flag"
2234 || test ! -s conftest.err'
2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; } &&
2240 { ac_try
='test -s conftest.$ac_objext'
2241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); }; }; then
2246 for ac_declaration
in \
2248 'extern "C" void std::exit (int) throw (); using std::exit;' \
2249 'extern "C" void std::exit (int); using std::exit;' \
2250 'extern "C" void exit (int) throw ();' \
2251 'extern "C" void exit (int);' \
2254 cat >conftest.
$ac_ext <<_ACEOF
2257 cat confdefs.h
>>conftest.
$ac_ext
2258 cat >>conftest.
$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2270 rm -f conftest.
$ac_objext
2271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2272 (eval $ac_compile) 2>conftest.er1
2274 grep -v '^ *+' conftest.er1
>conftest.err
2276 cat conftest.err
>&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); } &&
2279 { ac_try
='test -z "$ac_c_werror_flag"
2280 || test ! -s conftest.err'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; } &&
2286 { ac_try
='test -s conftest.$ac_objext'
2287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); }; }; then
2294 echo "$as_me: failed program was:" >&5
2295 sed 's/^/| /' conftest.
$ac_ext >&5
2299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2300 cat >conftest.
$ac_ext <<_ACEOF
2303 cat confdefs.h
>>conftest.
$ac_ext
2304 cat >>conftest.
$ac_ext <<_ACEOF
2305 /* end confdefs.h. */
2315 rm -f conftest.
$ac_objext
2316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317 (eval $ac_compile) 2>conftest.er1
2319 grep -v '^ *+' conftest.er1
>conftest.err
2321 cat conftest.err
>&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); } &&
2324 { ac_try
='test -z "$ac_c_werror_flag"
2325 || test ! -s conftest.err'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; } &&
2331 { ac_try
='test -s conftest.$ac_objext'
2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; }; then
2339 echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.
$ac_ext >&5
2343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2346 if test -n "$ac_declaration"; then
2347 echo '#ifdef __cplusplus' >>confdefs.h
2348 echo $ac_declaration >>confdefs.h
2349 echo '#endif' >>confdefs.h
2353 echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.
$ac_ext >&5
2357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2359 ac_cpp
='$CPP $CPPFLAGS'
2360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2365 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2366 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2367 if test "${ac_cv_search_strerror+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 ac_func_search_save_LIBS
=$LIBS
2371 ac_cv_search_strerror
=no
2372 cat >conftest.
$ac_ext <<_ACEOF
2375 cat confdefs.h
>>conftest.
$ac_ext
2376 cat >>conftest.
$ac_ext <<_ACEOF
2377 /* end confdefs.h. */
2379 /* Override any gcc2 internal prototype to avoid an error. */
2383 /* We use char because int might match the return type of a gcc2
2384 builtin and then its argument prototype would still apply. */
2394 rm -f conftest.
$ac_objext conftest
$ac_exeext
2395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2396 (eval $ac_link) 2>conftest.er1
2398 grep -v '^ *+' conftest.er1
>conftest.err
2400 cat conftest.err
>&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); } &&
2403 { ac_try
='test -z "$ac_c_werror_flag"
2404 || test ! -s conftest.err'
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; } &&
2410 { ac_try
='test -s conftest$ac_exeext'
2411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; }; then
2416 ac_cv_search_strerror
="none required"
2418 echo "$as_me: failed program was:" >&5
2419 sed 's/^/| /' conftest.
$ac_ext >&5
2422 rm -f conftest.err conftest.
$ac_objext \
2423 conftest
$ac_exeext conftest.
$ac_ext
2424 if test "$ac_cv_search_strerror" = no
; then
2425 for ac_lib
in cposix
; do
2426 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2427 cat >conftest.
$ac_ext <<_ACEOF
2430 cat confdefs.h
>>conftest.
$ac_ext
2431 cat >>conftest.
$ac_ext <<_ACEOF
2432 /* end confdefs.h. */
2434 /* Override any gcc2 internal prototype to avoid an error. */
2438 /* We use char because int might match the return type of a gcc2
2439 builtin and then its argument prototype would still apply. */
2449 rm -f conftest.
$ac_objext conftest
$ac_exeext
2450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2451 (eval $ac_link) 2>conftest.er1
2453 grep -v '^ *+' conftest.er1
>conftest.err
2455 cat conftest.err
>&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); } &&
2458 { ac_try
='test -z "$ac_c_werror_flag"
2459 || test ! -s conftest.err'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; } &&
2465 { ac_try
='test -s conftest$ac_exeext'
2466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }; }; then
2471 ac_cv_search_strerror
="-l$ac_lib"
2474 echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.
$ac_ext >&5
2478 rm -f conftest.err conftest.
$ac_objext \
2479 conftest
$ac_exeext conftest.
$ac_ext
2482 LIBS
=$ac_func_search_save_LIBS
2484 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2485 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2486 if test "$ac_cv_search_strerror" != no
; then
2487 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2492 am__api_version
="1.9"
2493 # Find a good install program. We prefer a C program (faster),
2494 # so one script is as good as another. But avoid the broken or
2495 # incompatible versions:
2496 # SysV /etc/install, /usr/sbin/install
2497 # SunOS /usr/etc/install
2498 # IRIX /sbin/install
2500 # AmigaOS /C/install, which installs bootblocks on floppy discs
2501 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2502 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2503 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2504 # OS/2's system install, which has a completely different semantic
2505 # ./install, which can be erroneously created by make from ./install.sh.
2506 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2507 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2508 if test -z "$INSTALL"; then
2509 if test "${ac_cv_path_install+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir
=.
2517 # Account for people who put trailing slashes in PATH elements.
2519 .
/ | .
// |
/cC
/* | \
2520 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2521 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2524 # OSF1 and SCO ODT 3.0 have their own names for install.
2525 # Don't use installbsd from OSF since it installs stuff as root
2527 for ac_prog
in ginstall scoinst
install; do
2528 for ac_exec_ext
in '' $ac_executable_extensions; do
2529 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2530 if test $ac_prog = install &&
2531 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2532 # AIX install. It has an incompatible calling convention.
2534 elif test $ac_prog = install &&
2535 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2536 # program-specific install script used by HP pwplus--don't use.
2539 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2551 if test "${ac_cv_path_install+set}" = set; then
2552 INSTALL
=$ac_cv_path_install
2554 # As a last resort, use the slow shell script. We don't cache a
2555 # path for INSTALL within a source directory, because that will
2556 # break other packages using the cache if that directory is
2557 # removed, or if the path is relative.
2558 INSTALL
=$ac_install_sh
2561 echo "$as_me:$LINENO: result: $INSTALL" >&5
2562 echo "${ECHO_T}$INSTALL" >&6
2564 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2565 # It thinks the first close brace ends the variable substitution.
2566 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2568 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2570 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2572 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2573 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2576 echo timestamp
> conftest.
file
2577 # Do `set' in a subshell so we don't clobber the current shell's
2578 # arguments. Must try -L first in case configure is actually a
2579 # symlink; some systems play weird games with the mod time of symlinks
2580 # (eg FreeBSD returns the mod time of the symlink's containing
2583 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2584 if test "$*" = "X"; then
2586 set X
`ls -t $srcdir/configure conftest.file`
2589 if test "$*" != "X $srcdir/configure conftest.file" \
2590 && test "$*" != "X conftest.file $srcdir/configure"; then
2592 # If neither matched, then we have a broken ls. This can happen
2593 # if, for instance, CONFIG_SHELL is bash and it inherits a
2594 # broken ls alias from the environment. This has actually
2595 # happened. Such a system could not be considered "sane".
2596 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2597 alias in your environment" >&5
2598 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2599 alias in your environment" >&2;}
2600 { (exit 1); exit 1; }; }
2603 test "$2" = conftest.
file
2609 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2610 Check your system clock" >&5
2611 echo "$as_me: error: newly created file is older than distributed files!
2612 Check your system clock" >&2;}
2613 { (exit 1); exit 1; }; }
2615 echo "$as_me:$LINENO: result: yes" >&5
2616 echo "${ECHO_T}yes" >&6
2617 test "$program_prefix" != NONE
&&
2618 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2619 # Use a double $ so make ignores it.
2620 test "$program_suffix" != NONE
&&
2621 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2622 # Double any \ or $. echo might interpret backslashes.
2623 # By default was `s,x,x', remove it if useless.
2624 cat <<\_ACEOF
>conftest.
sed
2625 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2627 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2630 # expand $ac_aux_dir to an absolute path
2631 am_aux_dir
=`cd $ac_aux_dir && pwd`
2633 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2634 # Use eval to expand $SHELL
2635 if eval "$MISSING --run true"; then
2636 am_missing_run
="$MISSING --run "
2639 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2640 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2643 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2644 # We used to keeping the `.' as first argument, in order to
2645 # allow $(mkdir_p) to be used without argument. As in
2646 # $(mkdir_p) $(somedir)
2647 # where $(somedir) is conditionally defined. However this is wrong
2649 # 1. if the package is installed by a user who cannot write `.'
2650 # make install will fail,
2651 # 2. the above comment should most certainly read
2652 # $(mkdir_p) $(DESTDIR)$(somedir)
2653 # so it does not work when $(somedir) is undefined and
2654 # $(DESTDIR) is not.
2655 # To support the latter case, we have to write
2656 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2657 # so the `.' trick is pointless.
2658 mkdir_p
='mkdir -p --'
2660 # On NextStep and OpenStep, the `mkdir' command does not
2661 # recognize any option. It will interpret all options as
2662 # directories to create, and then abort because `.' already
2664 for d
in .
/-p .
/--version;
2666 test -d $d && rmdir $d
2668 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2669 if test -f "$ac_aux_dir/mkinstalldirs"; then
2670 mkdir_p
='$(mkinstalldirs)'
2672 mkdir_p
='$(install_sh) -d'
2676 for ac_prog
in gawk mawk nawk
awk
2678 # Extract the first word of "$ac_prog", so it can be a program name with args.
2679 set dummy
$ac_prog; ac_word
=$2
2680 echo "$as_me:$LINENO: checking for $ac_word" >&5
2681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2682 if test "${ac_cv_prog_AWK+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 if test -n "$AWK"; then
2686 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir
=.
2693 for ac_exec_ext
in '' $ac_executable_extensions; do
2694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2695 ac_cv_prog_AWK
="$ac_prog"
2696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 if test -n "$AWK"; then
2706 echo "$as_me:$LINENO: result: $AWK" >&5
2707 echo "${ECHO_T}$AWK" >&6
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2713 test -n "$AWK" && break
2716 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2717 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2718 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2719 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 cat >conftest.
make <<\_ACEOF
2724 @
echo 'ac_maketemp="$(MAKE)"'
2726 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2727 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2728 if test -n "$ac_maketemp"; then
2729 eval ac_cv_prog_make_
${ac_make}_set
=yes
2731 eval ac_cv_prog_make_
${ac_make}_set
=no
2735 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2736 echo "$as_me:$LINENO: result: yes" >&5
2737 echo "${ECHO_T}yes" >&6
2740 echo "$as_me:$LINENO: result: no" >&5
2741 echo "${ECHO_T}no" >&6
2742 SET_MAKE
="MAKE=${MAKE-make}"
2745 rm -rf .tst
2>/dev
/null
2746 mkdir .tst
2>/dev
/null
2747 if test -d .tst
; then
2752 rmdir .tst
2>/dev
/null
2754 DEPDIR
="${am__leading_dot}deps"
2756 ac_config_commands
="$ac_config_commands depfiles"
2759 am_make
=${MAKE-make}
2760 cat > confinc
<< 'END'
2765 # If we don't find an include directive, just comment out the code.
2766 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2767 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2771 # First try GNU make style include.
2772 echo "include confinc" > confmf
2773 # We grep out `Entering directory' and `Leaving directory'
2774 # messages which can occur if `w' ends up in MAKEFLAGS.
2775 # In particular we don't look at `^make:' because GNU make might
2776 # be invoked under some other name (usually "gmake"), in which
2777 # case it prints its new name instead of `make'.
2778 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2783 # Now try BSD make style include.
2784 if test "$am__include" = "#"; then
2785 echo '.include "confinc"' > confmf
2786 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2787 am__include
=.include
2794 echo "$as_me:$LINENO: result: $_am_result" >&5
2795 echo "${ECHO_T}$_am_result" >&6
2796 rm -f confinc confmf
2798 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2799 if test "${enable_dependency_tracking+set}" = set; then
2800 enableval
="$enable_dependency_tracking"
2803 if test "x$enable_dependency_tracking" != xno
; then
2804 am_depcomp
="$ac_aux_dir/depcomp"
2809 if test "x$enable_dependency_tracking" != xno; then
2819 # test to see if srcdir already configured
2820 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2821 test -f $srcdir/config.status
; then
2822 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2823 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2824 { (exit 1); exit 1; }; }
2827 # test whether we have cygpath
2828 if test -z "$CYGPATH_W"; then
2829 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2830 CYGPATH_W
='cygpath -w'
2837 # Define the identity of the package.
2842 cat >>confdefs.h
<<_ACEOF
2843 #define PACKAGE "$PACKAGE"
2847 cat >>confdefs.h
<<_ACEOF
2848 #define VERSION "$VERSION"
2851 # Some tools Automake needs.
2853 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2856 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2859 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2862 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2865 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2867 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2869 # Installed binaries are usually stripped using `strip' when the user
2870 # run `make install-strip'. However `strip' might not be the right
2871 # tool to use in cross-compilation environments, therefore Automake
2872 # will honor the `STRIP' environment variable to overrule this program.
2873 if test "$cross_compiling" != no
; then
2874 if test -n "$ac_tool_prefix"; then
2875 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2876 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2877 echo "$as_me:$LINENO: checking for $ac_word" >&5
2878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2879 if test "${ac_cv_prog_STRIP+set}" = set; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 if test -n "$STRIP"; then
2883 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir
=.
2890 for ac_exec_ext
in '' $ac_executable_extensions; do
2891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2892 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2901 STRIP
=$ac_cv_prog_STRIP
2902 if test -n "$STRIP"; then
2903 echo "$as_me:$LINENO: result: $STRIP" >&5
2904 echo "${ECHO_T}$STRIP" >&6
2906 echo "$as_me:$LINENO: result: no" >&5
2907 echo "${ECHO_T}no" >&6
2911 if test -z "$ac_cv_prog_STRIP"; then
2913 # Extract the first word of "strip", so it can be a program name with args.
2914 set dummy strip
; ac_word
=$2
2915 echo "$as_me:$LINENO: checking for $ac_word" >&5
2916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2917 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2918 echo $ECHO_N "(cached) $ECHO_C" >&6
2920 if test -n "$ac_ct_STRIP"; then
2921 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir
=.
2928 for ac_exec_ext
in '' $ac_executable_extensions; do
2929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2930 ac_cv_prog_ac_ct_STRIP
="strip"
2931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2940 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2941 if test -n "$ac_ct_STRIP"; then
2942 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2943 echo "${ECHO_T}$ac_ct_STRIP" >&6
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2951 STRIP
="$ac_cv_prog_STRIP"
2955 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2957 # We need awk for the "check" target. The system "awk" is bad on
2959 # Always define AMTAR for backward compatibility.
2961 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2963 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2968 depcc
="$CC" am_compiler_list
=
2970 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2971 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2972 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2973 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2976 # We make a subdir and do the tests there. Otherwise we can end up
2977 # making bogus files that we don't know about and never remove. For
2978 # instance it was reported that on HP-UX the gcc test will end up
2979 # making a dummy file named `D' -- because `-MD' means `put the output
2982 # Copy depcomp to subdir because otherwise we won't find it if we're
2983 # using a relative directory.
2984 cp "$am_depcomp" conftest.dir
2986 # We will build objects and dependencies in a subdirectory because
2987 # it helps to detect inapplicable dependency modes. For instance
2988 # both Tru64's cc and ICC support -MD to output dependencies as a
2989 # side effect of compilation, but ICC will put the dependencies in
2990 # the current directory while Tru64 will put them in the object
2994 am_cv_CC_dependencies_compiler_type
=none
2995 if test "$am_compiler_list" = ""; then
2996 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2998 for depmode
in $am_compiler_list; do
2999 # Setup a source with many dependencies, because some compilers
3000 # like to wrap large dependency lists on column 80 (with \), and
3001 # we should not choose a depcomp mode which is confused by this.
3003 # We need to recreate these files for each test, as the compiler may
3004 # overwrite some of them when testing with obscure command lines.
3005 # This happens at least with the AIX C compiler.
3007 for i
in 1 2 3 4 5 6; do
3008 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3009 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3010 # Solaris 8's {/usr,}/bin/sh.
3011 touch sub
/conftst
$i.h
3013 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3017 # after this tag, mechanisms are not by side-effect, so they'll
3018 # only be used when explicitly requested
3019 if test "x$enable_dependency_tracking" = xyes
; then
3027 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3028 # mode. It turns out that the SunPro C++ compiler does not properly
3029 # handle `-M -o', and we need to detect this.
3030 if depmode
=$depmode \
3031 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3032 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3033 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3034 >/dev
/null
2>conftest.err
&&
3035 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3036 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3037 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3038 # icc doesn't choke on unknown options, it will just issue warnings
3039 # or remarks (even with -Werror). So we grep stderr for any message
3040 # that says an option was ignored or not supported.
3041 # When given -MP, icc 7.0 and 7.1 complain thusly:
3042 # icc: Command line warning: ignoring option '-M'; no argument required
3043 # The diagnosis changed in icc 8.0:
3044 # icc: Command line remark: option '-MP' not supported
3045 if (grep 'ignoring option' conftest.err ||
3046 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3047 am_cv_CC_dependencies_compiler_type
=$depmode
3056 am_cv_CC_dependencies_compiler_type
=none
3060 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3061 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3062 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3067 test "x$enable_dependency_tracking" != xno \
3068 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3070 am__fastdepCC_FALSE
='#'
3072 am__fastdepCC_TRUE
='#'
3073 am__fastdepCC_FALSE
=
3079 if test -n "$ac_tool_prefix"; then
3080 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3081 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3082 echo "$as_me:$LINENO: checking for $ac_word" >&5
3083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3084 if test "${ac_cv_prog_AR+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3087 if test -n "$AR"; then
3088 ac_cv_prog_AR
="$AR" # Let the user override the test.
3090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3094 test -z "$as_dir" && as_dir
=.
3095 for ac_exec_ext
in '' $ac_executable_extensions; do
3096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3097 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 if test -n "$AR"; then
3108 echo "$as_me:$LINENO: result: $AR" >&5
3109 echo "${ECHO_T}$AR" >&6
3111 echo "$as_me:$LINENO: result: no" >&5
3112 echo "${ECHO_T}no" >&6
3116 if test -z "$ac_cv_prog_AR"; then
3118 # Extract the first word of "ar", so it can be a program name with args.
3119 set dummy
ar; ac_word
=$2
3120 echo "$as_me:$LINENO: checking for $ac_word" >&5
3121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3122 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3123 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 if test -n "$ac_ct_AR"; then
3126 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3132 test -z "$as_dir" && as_dir
=.
3133 for ac_exec_ext
in '' $ac_executable_extensions; do
3134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3135 ac_cv_prog_ac_ct_AR
="ar"
3136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3145 if test -n "$ac_ct_AR"; then
3146 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3147 echo "${ECHO_T}$ac_ct_AR" >&6
3149 echo "$as_me:$LINENO: result: no" >&5
3150 echo "${ECHO_T}no" >&6
3158 if test -n "$ac_tool_prefix"; then
3159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3160 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3161 echo "$as_me:$LINENO: checking for $ac_word" >&5
3162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3163 if test "${ac_cv_prog_RANLIB+set}" = set; then
3164 echo $ECHO_N "(cached) $ECHO_C" >&6
3166 if test -n "$RANLIB"; then
3167 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir
=.
3174 for ac_exec_ext
in '' $ac_executable_extensions; do
3175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3176 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 RANLIB
=$ac_cv_prog_RANLIB
3186 if test -n "$RANLIB"; then
3187 echo "$as_me:$LINENO: result: $RANLIB" >&5
3188 echo "${ECHO_T}$RANLIB" >&6
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3195 if test -z "$ac_cv_prog_RANLIB"; then
3196 ac_ct_RANLIB
=$RANLIB
3197 # Extract the first word of "ranlib", so it can be a program name with args.
3198 set dummy ranlib
; ac_word
=$2
3199 echo "$as_me:$LINENO: checking for $ac_word" >&5
3200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3201 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 if test -n "$ac_ct_RANLIB"; then
3205 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir
=.
3212 for ac_exec_ext
in '' $ac_executable_extensions; do
3213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3221 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3224 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3225 if test -n "$ac_ct_RANLIB"; then
3226 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3227 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3229 echo "$as_me:$LINENO: result: no" >&5
3230 echo "${ECHO_T}no" >&6
3233 RANLIB
=$ac_ct_RANLIB
3235 RANLIB
="$ac_cv_prog_RANLIB"
3239 # Check whether --enable-shared or --disable-shared was given.
3240 if test "${enable_shared+set}" = set; then
3241 enableval
="$enable_shared"
3242 p
=${PACKAGE-default}
3244 yes) enable_shared
=yes ;;
3245 no
) enable_shared
=no
;;
3248 # Look at the argument we got. We use all the common list separators.
3249 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3250 for pkg
in $enableval; do
3251 if test "X$pkg" = "X$p"; then
3262 # Check whether --enable-static or --disable-static was given.
3263 if test "${enable_static+set}" = set; then
3264 enableval
="$enable_static"
3265 p
=${PACKAGE-default}
3267 yes) enable_static
=yes ;;
3268 no
) enable_static
=no
;;
3271 # Look at the argument we got. We use all the common list separators.
3272 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3273 for pkg
in $enableval; do
3274 if test "X$pkg" = "X$p"; then
3284 # Check whether --enable-fast-install or --disable-fast-install was given.
3285 if test "${enable_fast_install+set}" = set; then
3286 enableval
="$enable_fast_install"
3287 p
=${PACKAGE-default}
3289 yes) enable_fast_install
=yes ;;
3290 no
) enable_fast_install
=no
;;
3292 enable_fast_install
=no
3293 # Look at the argument we got. We use all the common list separators.
3294 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3295 for pkg
in $enableval; do
3296 if test "X$pkg" = "X$p"; then
3297 enable_fast_install
=yes
3304 enable_fast_install
=yes
3307 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3308 if test "${with_gnu_ld+set}" = set; then
3309 withval
="$with_gnu_ld"
3310 test "$withval" = no || with_gnu_ld
=yes
3315 if test "$GCC" = yes; then
3316 # Check if gcc -print-prog-name=ld gives a path.
3317 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3318 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3321 # gcc leaves a trailing carriage return which upsets mingw
3322 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3324 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3327 # Accept absolute paths.
3328 [\\/]* |
[A-Za-z
]:[\\/]*)
3329 re_direlt
='/[^/][^/]*/\.\./'
3330 # Canonicalize the path of ld
3331 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3332 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3333 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3335 test -z "$LD" && LD
="$ac_prog"
3338 # If it fails, then pretend we aren't using GCC.
3342 # If it is relative, then search for the first ld in PATH.
3346 elif test "$with_gnu_ld" = yes; then
3347 echo "$as_me:$LINENO: checking for GNU ld" >&5
3348 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3350 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3351 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3353 if test "${lt_cv_path_LD+set}" = set; then
3354 echo $ECHO_N "(cached) $ECHO_C" >&6
3356 if test -z "$LD"; then
3357 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3358 for ac_dir
in $PATH; do
3359 test -z "$ac_dir" && ac_dir
=.
3360 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3361 lt_cv_path_LD
="$ac_dir/$ac_prog"
3362 # Check to see if the program is GNU ld. I'd rather use --version,
3363 # but apparently some GNU ld's only accept -v.
3364 # Break only if it was the GNU/non-GNU ld that we prefer.
3365 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3366 test "$with_gnu_ld" != no
&& break
3368 test "$with_gnu_ld" != yes && break
3374 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3379 if test -n "$LD"; then
3380 echo "$as_me:$LINENO: result: $LD" >&5
3381 echo "${ECHO_T}$LD" >&6
3383 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6
3386 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3387 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3388 { (exit 1); exit 1; }; }
3389 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3390 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3391 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3395 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3396 lt_cv_prog_gnu_ld
=yes
3398 lt_cv_prog_gnu_ld
=no
3401 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3402 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3403 with_gnu_ld
=$lt_cv_prog_gnu_ld
3406 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3407 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3408 if test "${lt_cv_ld_reload_flag+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 lt_cv_ld_reload_flag
='-r'
3413 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3414 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3415 reload_flag
=$lt_cv_ld_reload_flag
3416 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3418 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3419 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3420 if test "${lt_cv_path_NM+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 if test -n "$NM"; then
3424 # Let the user override the test.
3427 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3428 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3429 test -z "$ac_dir" && ac_dir
=.
3430 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3431 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3432 # Check to see if the nm accepts a BSD-compat flag.
3433 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3434 # nm: unknown option "B" ignored
3435 # Tru64's nm complains that /dev/null is an invalid object file
3436 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3437 lt_cv_path_NM
="$tmp_nm -B"
3439 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3440 lt_cv_path_NM
="$tmp_nm -p"
3443 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3444 continue # so that we can try to find one that supports BSD flags
3449 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3454 echo "$as_me:$LINENO: result: $NM" >&5
3455 echo "${ECHO_T}$NM" >&6
3457 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3458 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3460 if test "$LN_S" = "ln -s"; then
3461 echo "$as_me:$LINENO: result: yes" >&5
3462 echo "${ECHO_T}yes" >&6
3464 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3465 echo "${ECHO_T}no, using $LN_S" >&6
3468 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3469 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3470 if test "${lt_cv_deplibs_check_method+set}" = set; then
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3474 lt_cv_file_magic_test_file
=
3475 lt_cv_deplibs_check_method
='unknown'
3476 # Need to set the preceding variable on all platforms that support
3477 # interlibrary dependencies.
3478 # 'none' -- dependencies not supported.
3479 # `unknown' -- same as none, but documents that we really don't know.
3480 # 'pass_all' -- all dependencies passed with no checks.
3481 # 'test_compile' -- check by making test program.
3482 # 'file_magic [regex]' -- check by looking for files in library path
3483 # which responds to the $file_magic_cmd with a given egrep regex.
3484 # If you have `file' or equivalent on your system and you're not sure
3485 # whether `pass_all' will *always* work, you probably want this one.
3489 lt_cv_deplibs_check_method
=pass_all
3493 lt_cv_deplibs_check_method
=pass_all
3497 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3498 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3499 lt_cv_file_magic_test_file
=/shlib
/libc.so
3502 cygwin
* | mingw
* |pw32
*)
3503 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3504 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3507 darwin
* | rhapsody
*)
3508 # this will be overwritten by pass_all, but leave it in just in case
3509 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3510 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3512 rhapsody
* | darwin1.012
)
3513 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3516 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3519 lt_cv_deplibs_check_method
=pass_all
3522 freebsd
* | kfreebsd
*-gnu)
3523 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3526 # Not sure whether the presence of OpenBSD here was a mistake.
3527 # Let's accept both of them until this is cleared up.
3528 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3529 lt_cv_file_magic_cmd
=/usr
/bin
/file
3530 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3534 lt_cv_deplibs_check_method
=pass_all
3539 lt_cv_deplibs_check_method
=pass_all
3545 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3546 lt_cv_file_magic_cmd
=/usr
/bin
/file
3547 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3550 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3551 lt_cv_file_magic_cmd
=/usr
/bin
/file
3552 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3560 # this will be overridden with pass_all, but let us keep it just in case
3561 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3565 *-32|
*"-32 ") libmagic
=32-bit;;
3566 *-n32|
*"-n32 ") libmagic
=N32
;;
3567 *-64|
*"-64 ") libmagic
=64-bit;;
3568 *) libmagic
=never-match
;;
3570 # this will be overridden with pass_all, but let us keep it just in case
3571 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3574 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3575 lt_cv_deplibs_check_method
=pass_all
3578 # This must be Linux ELF.
3580 lt_cv_deplibs_check_method
=pass_all
3583 netbsd
* | knetbsd
*-gnu)
3584 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3585 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3587 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3592 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3593 lt_cv_file_magic_cmd
=/usr
/bin
/file
3594 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3597 osf3
* | osf4
* | osf5
*)
3598 # this will be overridden with pass_all, but let us keep it just in case
3599 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3600 lt_cv_file_magic_test_file
=/shlib
/libc.so
3601 lt_cv_deplibs_check_method
=pass_all
3605 lt_cv_deplibs_check_method
=pass_all
3609 lt_cv_deplibs_check_method
=pass_all
3610 lt_cv_file_magic_test_file
=/lib
/libc.so
3613 sysv5uw
[78]* | sysv4
*uw2
*)
3614 lt_cv_deplibs_check_method
=pass_all
3617 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3618 case $host_vendor in
3620 lt_cv_deplibs_check_method
=pass_all
3623 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]'
3624 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3631 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3632 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3633 file_magic_cmd
=$lt_cv_file_magic_cmd
3634 deplibs_check_method
=$lt_cv_deplibs_check_method
3639 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3641 # find the maximum length of command line arguments
3642 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3643 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3644 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 # On DJGPP, this test can blow up pretty badly due to problems in libc
3653 # (any single argument exceeding 2000 bytes causes a buffer overrun
3654 # during glob expansion). Even if it were fixed, the result of this
3655 # check would be larger than it should be.
3656 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3660 # On Win9x/ME, this test blows up -- it succeeds, but takes
3661 # about 5 minutes as the teststring grows exponentially.
3662 # Worse, since 9x/ME are not pre-emptively multitasking,
3663 # you end up with a "frozen" computer, even though with patience
3664 # the test eventually succeeds (with a max line length of 256k).
3665 # Instead, let's just punt: use the minimum linelength reported by
3666 # all of the supported platforms: 8192 (on NT/2K/XP).
3667 lt_cv_sys_max_cmd_len
=8192;
3671 # On AmigaOS with pdksh, this test takes hours, literally.
3672 # So we just punt and use a minimum line length of 8192.
3673 lt_cv_sys_max_cmd_len
=8192;
3676 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3677 # This has been around since 386BSD, at least. Likely further.
3678 if test -x /sbin
/sysctl
; then
3679 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3680 elif test -x /usr
/sbin
/sysctl
; then
3681 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3683 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3685 # And add a safety zone
3686 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3687 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3693 if test -n "$lt_cv_sys_max_cmd_len" ; then
3694 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3695 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3697 echo "$as_me:$LINENO: result: none" >&5
3698 echo "${ECHO_T}none" >&6
3702 # Only perform the check for file, if the check method requires it
3703 case $deplibs_check_method in
3705 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3706 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3707 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3708 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3716 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3719 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3720 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3721 ac_dummy
="/usr/bin:$PATH"
3722 for ac_dir
in $ac_dummy; do
3723 test -z "$ac_dir" && ac_dir
=.
3724 if test -f $ac_dir/${ac_tool_prefix}file; then
3725 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3726 if test -n "$file_magic_test_file"; then
3727 case $deplibs_check_method in
3729 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3730 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3731 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3732 egrep "$file_magic_regex" > /dev
/null
; then
3737 *** Warning: the command libtool uses to detect shared libraries,
3738 *** $file_magic_cmd, produces output that libtool cannot recognize.
3739 *** The result is that libtool may fail to recognize shared libraries
3740 *** as such. This will affect the creation of libtool libraries that
3741 *** depend on shared libraries, but programs linked with such libtool
3742 *** libraries will work regardless of this problem. Nevertheless, you
3743 *** may want to report the problem to your system manager and/or to
3744 *** bug-libtool@gnu.org
3754 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3759 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3760 if test -n "$MAGIC_CMD"; then
3761 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3762 echo "${ECHO_T}$MAGIC_CMD" >&6
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3768 if test -z "$lt_cv_path_MAGIC_CMD"; then
3769 if test -n "$ac_tool_prefix"; then
3770 echo "$as_me:$LINENO: checking for file" >&5
3771 echo $ECHO_N "checking for file... $ECHO_C" >&6
3772 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3780 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3783 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3784 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3785 ac_dummy
="/usr/bin:$PATH"
3786 for ac_dir
in $ac_dummy; do
3787 test -z "$ac_dir" && ac_dir
=.
3788 if test -f $ac_dir/file; then
3789 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3790 if test -n "$file_magic_test_file"; then
3791 case $deplibs_check_method in
3793 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3794 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3795 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3796 egrep "$file_magic_regex" > /dev
/null
; then
3801 *** Warning: the command libtool uses to detect shared libraries,
3802 *** $file_magic_cmd, produces output that libtool cannot recognize.
3803 *** The result is that libtool may fail to recognize shared libraries
3804 *** as such. This will affect the creation of libtool libraries that
3805 *** depend on shared libraries, but programs linked with such libtool
3806 *** libraries will work regardless of this problem. Nevertheless, you
3807 *** may want to report the problem to your system manager and/or to
3808 *** bug-libtool@gnu.org
3818 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3823 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3824 if test -n "$MAGIC_CMD"; then
3825 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3826 echo "${ECHO_T}$MAGIC_CMD" >&6
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3841 if test -n "$ac_tool_prefix"; then
3842 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3843 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3844 echo "$as_me:$LINENO: checking for $ac_word" >&5
3845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3846 if test "${ac_cv_prog_RANLIB+set}" = set; then
3847 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 if test -n "$RANLIB"; then
3850 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3856 test -z "$as_dir" && as_dir
=.
3857 for ac_exec_ext
in '' $ac_executable_extensions; do
3858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 RANLIB
=$ac_cv_prog_RANLIB
3869 if test -n "$RANLIB"; then
3870 echo "$as_me:$LINENO: result: $RANLIB" >&5
3871 echo "${ECHO_T}$RANLIB" >&6
3873 echo "$as_me:$LINENO: result: no" >&5
3874 echo "${ECHO_T}no" >&6
3878 if test -z "$ac_cv_prog_RANLIB"; then
3879 ac_ct_RANLIB
=$RANLIB
3880 # Extract the first word of "ranlib", so it can be a program name with args.
3881 set dummy ranlib
; ac_word
=$2
3882 echo "$as_me:$LINENO: checking for $ac_word" >&5
3883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3884 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3885 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 if test -n "$ac_ct_RANLIB"; then
3888 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3894 test -z "$as_dir" && as_dir
=.
3895 for ac_exec_ext
in '' $ac_executable_extensions; do
3896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3897 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3907 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3908 if test -n "$ac_ct_RANLIB"; then
3909 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3910 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3912 echo "$as_me:$LINENO: result: no" >&5
3913 echo "${ECHO_T}no" >&6
3916 RANLIB
=$ac_ct_RANLIB
3918 RANLIB
="$ac_cv_prog_RANLIB"
3921 if test -n "$ac_tool_prefix"; then
3922 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3923 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3924 echo "$as_me:$LINENO: checking for $ac_word" >&5
3925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3926 if test "${ac_cv_prog_STRIP+set}" = set; then
3927 echo $ECHO_N "(cached) $ECHO_C" >&6
3929 if test -n "$STRIP"; then
3930 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir
=.
3937 for ac_exec_ext
in '' $ac_executable_extensions; do
3938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3939 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 STRIP
=$ac_cv_prog_STRIP
3949 if test -n "$STRIP"; then
3950 echo "$as_me:$LINENO: result: $STRIP" >&5
3951 echo "${ECHO_T}$STRIP" >&6
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3958 if test -z "$ac_cv_prog_STRIP"; then
3960 # Extract the first word of "strip", so it can be a program name with args.
3961 set dummy strip
; ac_word
=$2
3962 echo "$as_me:$LINENO: checking for $ac_word" >&5
3963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3964 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 if test -n "$ac_ct_STRIP"; then
3968 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3974 test -z "$as_dir" && as_dir
=.
3975 for ac_exec_ext
in '' $ac_executable_extensions; do
3976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3977 ac_cv_prog_ac_ct_STRIP
="strip"
3978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3987 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3988 if test -n "$ac_ct_STRIP"; then
3989 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3990 echo "${ECHO_T}$ac_ct_STRIP" >&6
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
3998 STRIP
="$ac_cv_prog_STRIP"
4002 # Check for any special flags to pass to ltconfig.
4003 libtool_flags
="--cache-file=$cache_file"
4004 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4005 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4006 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4007 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4008 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4011 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4012 if test "${enable_libtool_lock+set}" = set; then
4013 enableval
="$enable_libtool_lock"
4016 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4017 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4020 # Check whether --with-pic or --without-pic was given.
4021 if test "${with_pic+set}" = set; then
4027 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4028 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4030 # Some flags need to be propagated to the compiler or linker for good
4034 # Find out which ABI we are using.
4035 echo '#line 4035 "configure"' > conftest.
$ac_ext
4036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4037 (eval $ac_compile) 2>&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; then
4041 if test "$lt_cv_prog_gnu_ld" = yes; then
4042 case `/usr/bin/file conftest.$ac_objext` in
4044 LD
="${LD-ld} -melf32bsmip"
4047 LD
="${LD-ld} -melf32bmipn32"
4050 LD
="${LD-ld} -melf64bmip"
4054 case `/usr/bin/file conftest.$ac_objext` in
4071 # Find out which ABI we are using.
4072 echo 'int i;' > conftest.
$ac_ext
4073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4074 (eval $ac_compile) 2>&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); }; then
4078 case "`/usr/bin/file conftest.o`" in
4090 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4091 # Find out which ABI we are using.
4092 echo 'int i;' > conftest.
$ac_ext
4093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4094 (eval $ac_compile) 2>&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; then
4098 case "`/usr/bin/file conftest.o`" in
4102 LD
="${LD-ld} -m elf_i386"
4104 ppc64-
*linux
*|powerpc64-
*linux
*)
4105 LD
="${LD-ld} -m elf32ppclinux"
4108 LD
="${LD-ld} -m elf_s390"
4111 LD
="${LD-ld} -m elf32_sparc"
4118 LD
="${LD-ld} -m elf_x86_64"
4120 ppc
*-*linux
*|powerpc
*-*linux
*)
4121 LD
="${LD-ld} -m elf64ppc"
4124 LD
="${LD-ld} -m elf64_s390"
4127 LD
="${LD-ld} -m elf64_sparc"
4137 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4138 SAVE_CFLAGS
="$CFLAGS"
4139 CFLAGS
="$CFLAGS -belf"
4140 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4141 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4142 if test "${lt_cv_cc_needs_belf+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 ac_cpp
='$CPP $CPPFLAGS'
4149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4153 cat >conftest.
$ac_ext <<_ACEOF
4156 cat confdefs.h
>>conftest.
$ac_ext
4157 cat >>conftest.
$ac_ext <<_ACEOF
4158 /* end confdefs.h. */
4168 rm -f conftest.
$ac_objext conftest
$ac_exeext
4169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4170 (eval $ac_link) 2>conftest.er1
4172 grep -v '^ *+' conftest.er1
>conftest.err
4174 cat conftest.err
>&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); } &&
4177 { ac_try
='test -z "$ac_c_werror_flag"
4178 || test ! -s conftest.err'
4179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); }; } &&
4184 { ac_try
='test -s conftest$ac_exeext'
4185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); }; }; then
4190 lt_cv_cc_needs_belf
=yes
4192 echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.
$ac_ext >&5
4195 lt_cv_cc_needs_belf
=no
4197 rm -f conftest.err conftest.
$ac_objext \
4198 conftest
$ac_exeext conftest.
$ac_ext
4200 ac_cpp
='$CPP $CPPFLAGS'
4201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4206 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4207 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4208 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4209 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4210 CFLAGS
="$SAVE_CFLAGS"
4218 # Save cache, so that ltconfig can load it
4219 cat >confcache
<<\_ACEOF
4220 # This file is a shell script that caches the results of configure
4221 # tests run on this system so they can be shared between configure
4222 # scripts and configure runs, see configure's option --config-cache.
4223 # It is not useful on other systems. If it contains results you don't
4224 # want to keep, you may remove or edit it.
4226 # config.status only pays attention to the cache file if you give it
4227 # the --recheck option to rerun configure.
4229 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4230 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4235 # The following way of writing the cache mishandles newlines in values,
4236 # but we know of no workaround that is simple, portable, and efficient.
4237 # So, don't put newlines in cache variables' values.
4238 # Ultrix sh set writes to stderr and can't be redirected directly,
4239 # and sets the high bit in the cache file unless we assign to the vars.
4242 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4244 # `set' does not quote correctly, so add quotes (double-quote
4245 # substitution turns \\\\ into \\, and sed turns \\ into \).
4248 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4251 # `set' quotes correctly as required by POSIX, so do not add quotes.
4253 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4260 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4262 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4264 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4265 if test -w $cache_file; then
4266 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4267 cat confcache
>$cache_file
4269 echo "not updating unwritable cache $cache_file"
4274 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4275 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4276 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4277 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4278 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4279 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4280 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4281 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4282 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4283 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4284 echo "$as_me: error: libtool configure failed" >&2;}
4285 { (exit 1); exit 1; }; }
4287 # Reload cache, that may have been modified by ltconfig
4288 if test -r "$cache_file"; then
4289 # Some versions of bash will fail to source /dev/null (special
4290 # files actually), so we avoid doing that.
4291 if test -f "$cache_file"; then
4292 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4293 echo "$as_me: loading cache $cache_file" >&6;}
4295 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4296 *) . .
/$cache_file;;
4300 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4301 echo "$as_me: creating cache $cache_file" >&6;}
4306 # This can be used to rebuild libtool when needed
4307 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4309 # Always use our own libtool.
4310 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4312 # Redirect the config.log output again, so that the ltconfig log is not
4313 # clobbered by the next message.
4314 exec 5>>.
/config.log
4322 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4323 if test "${enable_64_bit_bfd+set}" = set; then
4324 enableval
="$enable_64_bit_bfd"
4325 case "${enableval}" in
4328 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4329 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4330 { (exit 1); exit 1; }; } ;;
4334 fi; # Check whether --enable-targets or --disable-targets was given.
4335 if test "${enable_targets+set}" = set; then
4336 enableval
="$enable_targets"
4337 case "${enableval}" in
4338 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4339 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4340 { (exit 1); exit 1; }; }
4342 no
) enable_targets
= ;;
4343 *) enable_targets
=$enableval ;;
4345 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4346 if test "${enable_commonbfdlib+set}" = set; then
4347 enableval
="$enable_commonbfdlib"
4348 case "${enableval}" in
4349 yes) commonbfdlib
=true
;;
4350 no
) commonbfdlib
=false
;;
4351 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4352 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4353 { (exit 1); exit 1; }; } ;;
4356 # Check whether --with-mmap or --without-mmap was given.
4357 if test "${with_mmap+set}" = set; then
4358 withval
="$with_mmap"
4359 case "${withval}" in
4360 yes) want_mmap
=true
;;
4361 no
) want_mmap
=false
;;
4362 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4363 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
4364 { (exit 1); exit 1; }; } ;;
4369 # Check whether --enable-secureplt or --disable-secureplt was given.
4370 if test "${enable_secureplt+set}" = set; then
4371 enableval
="$enable_secureplt"
4372 case "${enableval}" in
4373 yes) use_secureplt
=true
;;
4374 no
) use_secureplt
=false
;;
4375 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4376 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
4377 { (exit 1); exit 1; }; } ;;
4381 fi; if test $use_secureplt = true
; then
4383 cat >>confdefs.h
<<\_ACEOF
4384 #define USE_SECUREPLT 1
4389 # Package version. For an official FSF release, it is empty.
4391 # Check whether --with-pkgversion or --without-pkgversion was given.
4392 if test "${with_pkgversion+set}" = set; then
4393 withval
="$with_pkgversion"
4395 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4396 echo "$as_me: error: package version not specified" >&2;}
4397 { (exit 1); exit 1; }; } ;;
4399 *) PKGVERSION
="($withval) " ;;
4402 PKGVERSION
="(GNU Binutils) "
4408 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4410 # Check whether --enable-werror or --disable-werror was given.
4411 if test "${enable_werror+set}" = set; then
4412 enableval
="$enable_werror"
4413 case "${enableval}" in
4414 yes | y
) ERROR_ON_WARNING
="yes" ;;
4415 no | n
) ERROR_ON_WARNING
="no" ;;
4416 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4417 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4418 { (exit 1); exit 1; }; } ;;
4422 # Enable -Werror by default when using gcc
4423 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4424 ERROR_ON_WARNING
=yes
4428 if test "${ERROR_ON_WARNING}" = yes ; then
4429 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4430 NO_WERROR
="-Wno-error"
4433 if test "${GCC}" = yes ; then
4434 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4437 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4438 if test "${enable_build_warnings+set}" = set; then
4439 enableval
="$enable_build_warnings"
4440 case "${enableval}" in
4441 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4442 no
) if test "${GCC}" = yes ; then
4445 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4446 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4447 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4448 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4449 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4453 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4454 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4461 ac_config_headers
="$ac_config_headers config.h:config.in"
4464 if test -z "$target" ; then
4465 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4466 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4467 { (exit 1); exit 1; }; }
4470 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4471 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4472 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4473 if test "${enable_maintainer_mode+set}" = set; then
4474 enableval
="$enable_maintainer_mode"
4475 USE_MAINTAINER_MODE
=$enableval
4477 USE_MAINTAINER_MODE
=no
4479 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4480 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4483 if test $USE_MAINTAINER_MODE = yes; then
4484 MAINTAINER_MODE_TRUE
=
4485 MAINTAINER_MODE_FALSE
='#'
4487 MAINTAINER_MODE_TRUE
='#'
4488 MAINTAINER_MODE_FALSE
=
4491 MAINT
=$MAINTAINER_MODE_TRUE
4497 GENINSRC_NEVER_TRUE
=
4498 GENINSRC_NEVER_FALSE
='#'
4500 GENINSRC_NEVER_TRUE
='#'
4501 GENINSRC_NEVER_FALSE
=
4504 case ${build_alias} in
4505 "") build_noncanonical
=${build} ;;
4506 *) build_noncanonical
=${build_alias} ;;
4509 case ${host_alias} in
4510 "") host_noncanonical
=${build_noncanonical} ;;
4511 *) host_noncanonical
=${host_alias} ;;
4514 case ${target_alias} in
4515 "") target_noncanonical
=${host_noncanonical} ;;
4516 *) target_noncanonical
=${target_alias} ;;
4519 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4520 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4521 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4522 if test "${enable_install_libbfd+set}" = set; then
4523 enableval
="$enable_install_libbfd"
4524 install_libbfd_p
=$enableval
4526 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
4527 install_libbfd_p
=yes
4532 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4533 echo "${ECHO_T}$install_libbfd_p" >&6
4536 if test $install_libbfd_p = yes; then
4537 INSTALL_LIBBFD_TRUE
=
4538 INSTALL_LIBBFD_FALSE
='#'
4540 INSTALL_LIBBFD_TRUE
='#'
4541 INSTALL_LIBBFD_FALSE
=
4544 # Need _noncanonical variables for this.
4549 # libbfd.a is a host library containing target dependent code
4550 bfdlibdir
='$(libdir)'
4551 bfdincludedir
='$(includedir)'
4552 if test "${host}" != "${target}"; then
4553 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4554 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4564 bfd_default_target_size
=32
4569 ac_cpp
='$CPP $CPPFLAGS'
4570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4573 if test -n "$ac_tool_prefix"; then
4574 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4575 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4576 echo "$as_me:$LINENO: checking for $ac_word" >&5
4577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4578 if test "${ac_cv_prog_CC+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 if test -n "$CC"; then
4582 ac_cv_prog_CC
="$CC" # Let the user override the test.
4584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir
=.
4589 for ac_exec_ext
in '' $ac_executable_extensions; do
4590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4591 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 if test -n "$CC"; then
4602 echo "$as_me:$LINENO: result: $CC" >&5
4603 echo "${ECHO_T}$CC" >&6
4605 echo "$as_me:$LINENO: result: no" >&5
4606 echo "${ECHO_T}no" >&6
4610 if test -z "$ac_cv_prog_CC"; then
4612 # Extract the first word of "gcc", so it can be a program name with args.
4613 set dummy gcc
; ac_word
=$2
4614 echo "$as_me:$LINENO: checking for $ac_word" >&5
4615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4616 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 if test -n "$ac_ct_CC"; then
4620 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4626 test -z "$as_dir" && as_dir
=.
4627 for ac_exec_ext
in '' $ac_executable_extensions; do
4628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4629 ac_cv_prog_ac_ct_CC
="gcc"
4630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4639 if test -n "$ac_ct_CC"; then
4640 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4641 echo "${ECHO_T}$ac_ct_CC" >&6
4643 echo "$as_me:$LINENO: result: no" >&5
4644 echo "${ECHO_T}no" >&6
4652 if test -z "$CC"; then
4653 if test -n "$ac_tool_prefix"; then
4654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4655 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4656 echo "$as_me:$LINENO: checking for $ac_word" >&5
4657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4658 if test "${ac_cv_prog_CC+set}" = set; then
4659 echo $ECHO_N "(cached) $ECHO_C" >&6
4661 if test -n "$CC"; then
4662 ac_cv_prog_CC
="$CC" # Let the user override the test.
4664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4668 test -z "$as_dir" && as_dir
=.
4669 for ac_exec_ext
in '' $ac_executable_extensions; do
4670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4671 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4681 if test -n "$CC"; then
4682 echo "$as_me:$LINENO: result: $CC" >&5
4683 echo "${ECHO_T}$CC" >&6
4685 echo "$as_me:$LINENO: result: no" >&5
4686 echo "${ECHO_T}no" >&6
4690 if test -z "$ac_cv_prog_CC"; then
4692 # Extract the first word of "cc", so it can be a program name with args.
4693 set dummy cc
; ac_word
=$2
4694 echo "$as_me:$LINENO: checking for $ac_word" >&5
4695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4697 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 if test -n "$ac_ct_CC"; then
4700 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4706 test -z "$as_dir" && as_dir
=.
4707 for ac_exec_ext
in '' $ac_executable_extensions; do
4708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4709 ac_cv_prog_ac_ct_CC
="cc"
4710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4719 if test -n "$ac_ct_CC"; then
4720 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4721 echo "${ECHO_T}$ac_ct_CC" >&6
4723 echo "$as_me:$LINENO: result: no" >&5
4724 echo "${ECHO_T}no" >&6
4733 if test -z "$CC"; then
4734 # Extract the first word of "cc", so it can be a program name with args.
4735 set dummy cc
; ac_word
=$2
4736 echo "$as_me:$LINENO: checking for $ac_word" >&5
4737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4738 if test "${ac_cv_prog_CC+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 if test -n "$CC"; then
4742 ac_cv_prog_CC
="$CC" # Let the user override the test.
4745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir
=.
4750 for ac_exec_ext
in '' $ac_executable_extensions; do
4751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4752 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4753 ac_prog_rejected
=yes
4757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 if test $ac_prog_rejected = yes; then
4764 # We found a bogon in the path, so make sure we never use it.
4765 set dummy
$ac_cv_prog_CC
4767 if test $# != 0; then
4768 # We chose a different compiler from the bogus one.
4769 # However, it has the same basename, so the bogon will be chosen
4770 # first if we set CC to just the basename; use the full file name.
4772 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4778 if test -n "$CC"; then
4779 echo "$as_me:$LINENO: result: $CC" >&5
4780 echo "${ECHO_T}$CC" >&6
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4787 if test -z "$CC"; then
4788 if test -n "$ac_tool_prefix"; then
4791 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4792 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4793 echo "$as_me:$LINENO: checking for $ac_word" >&5
4794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4795 if test "${ac_cv_prog_CC+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4798 if test -n "$CC"; then
4799 ac_cv_prog_CC
="$CC" # Let the user override the test.
4801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4805 test -z "$as_dir" && as_dir
=.
4806 for ac_exec_ext
in '' $ac_executable_extensions; do
4807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4808 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4818 if test -n "$CC"; then
4819 echo "$as_me:$LINENO: result: $CC" >&5
4820 echo "${ECHO_T}$CC" >&6
4822 echo "$as_me:$LINENO: result: no" >&5
4823 echo "${ECHO_T}no" >&6
4826 test -n "$CC" && break
4829 if test -z "$CC"; then
4833 # Extract the first word of "$ac_prog", so it can be a program name with args.
4834 set dummy
$ac_prog; ac_word
=$2
4835 echo "$as_me:$LINENO: checking for $ac_word" >&5
4836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 if test -n "$ac_ct_CC"; then
4841 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 test -z "$as_dir" && as_dir
=.
4848 for ac_exec_ext
in '' $ac_executable_extensions; do
4849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4850 ac_cv_prog_ac_ct_CC
="$ac_prog"
4851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4860 if test -n "$ac_ct_CC"; then
4861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4862 echo "${ECHO_T}$ac_ct_CC" >&6
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4868 test -n "$ac_ct_CC" && break
4877 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4878 See \`config.log' for more details." >&5
4879 echo "$as_me: error: no acceptable C compiler found in \$PATH
4880 See \`config.log' for more details." >&2;}
4881 { (exit 1); exit 1; }; }
4883 # Provide some information about the compiler.
4884 echo "$as_me:$LINENO:" \
4885 "checking for C compiler version" >&5
4886 ac_compiler
=`set X $ac_compile; echo $2`
4887 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4888 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }
4892 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4893 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }
4897 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4898 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }
4903 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4904 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4905 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 cat >conftest.
$ac_ext <<_ACEOF
4911 cat confdefs.h
>>conftest.
$ac_ext
4912 cat >>conftest.
$ac_ext <<_ACEOF
4913 /* end confdefs.h. */
4926 rm -f conftest.
$ac_objext
4927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4928 (eval $ac_compile) 2>conftest.er1
4930 grep -v '^ *+' conftest.er1
>conftest.err
4932 cat conftest.err
>&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); } &&
4935 { ac_try
='test -z "$ac_c_werror_flag"
4936 || test ! -s conftest.err'
4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; } &&
4942 { ac_try
='test -s conftest.$ac_objext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; }; then
4950 echo "$as_me: failed program was:" >&5
4951 sed 's/^/| /' conftest.
$ac_ext >&5
4955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4956 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4959 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4960 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4961 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4962 ac_test_CFLAGS
=${CFLAGS+set}
4963 ac_save_CFLAGS
=$CFLAGS
4965 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4966 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4967 if test "${ac_cv_prog_cc_g+set}" = set; then
4968 echo $ECHO_N "(cached) $ECHO_C" >&6
4970 cat >conftest.
$ac_ext <<_ACEOF
4973 cat confdefs.h
>>conftest.
$ac_ext
4974 cat >>conftest.
$ac_ext <<_ACEOF
4975 /* end confdefs.h. */
4985 rm -f conftest.
$ac_objext
4986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4987 (eval $ac_compile) 2>conftest.er1
4989 grep -v '^ *+' conftest.er1
>conftest.err
4991 cat conftest.err
>&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } &&
4994 { ac_try
='test -z "$ac_c_werror_flag"
4995 || test ! -s conftest.err'
4996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 (exit $ac_status); }; } &&
5001 { ac_try
='test -s conftest.$ac_objext'
5002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 (exit $ac_status); }; }; then
5009 echo "$as_me: failed program was:" >&5
5010 sed 's/^/| /' conftest.
$ac_ext >&5
5014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5016 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5017 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5018 if test "$ac_test_CFLAGS" = set; then
5019 CFLAGS
=$ac_save_CFLAGS
5020 elif test $ac_cv_prog_cc_g = yes; then
5021 if test "$GCC" = yes; then
5027 if test "$GCC" = yes; then
5033 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5034 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5035 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5036 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 ac_cv_prog_cc_stdc
=no
5040 cat >conftest.
$ac_ext <<_ACEOF
5043 cat confdefs.h
>>conftest.
$ac_ext
5044 cat >>conftest.
$ac_ext <<_ACEOF
5045 /* end confdefs.h. */
5048 #include <sys/types.h>
5049 #include <sys/stat.h>
5050 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5051 struct buf { int x; };
5052 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5053 static char *e (p, i)
5059 static char *f (char * (*g) (char **, int), char **p, ...)
5064 s = g (p, va_arg (v,int));
5069 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5070 function prototypes and stuff, but not '\xHH' hex character constants.
5071 These don't provoke an error unfortunately, instead are silently treated
5072 as 'x'. The following induces an error, until -std1 is added to get
5073 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5074 array size at least. It's necessary to write '\x00'==0 to get something
5075 that's true only with -std1. */
5076 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5078 int test (int i, double x);
5079 struct s1 {int (*f) (int a);};
5080 struct s2 {int (*f) (double a);};
5081 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5087 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5092 # Don't try gcc -ansi; that turns off useful extensions and
5093 # breaks some systems' header files.
5094 # AIX -qlanglvl=ansi
5095 # Ultrix and OSF/1 -std1
5096 # HP-UX 10.20 and later -Ae
5097 # HP-UX older versions -Aa -D_HPUX_SOURCE
5098 # SVR4 -Xc -D__EXTENSIONS__
5099 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5101 CC
="$ac_save_CC $ac_arg"
5102 rm -f conftest.
$ac_objext
5103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5104 (eval $ac_compile) 2>conftest.er1
5106 grep -v '^ *+' conftest.er1
>conftest.err
5108 cat conftest.err
>&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); } &&
5111 { ac_try
='test -z "$ac_c_werror_flag"
5112 || test ! -s conftest.err'
5113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); }; } &&
5118 { ac_try
='test -s conftest.$ac_objext'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; }; then
5124 ac_cv_prog_cc_stdc
=$ac_arg
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.
$ac_ext >&5
5131 rm -f conftest.err conftest.
$ac_objext
5133 rm -f conftest.
$ac_ext conftest.
$ac_objext
5138 case "x$ac_cv_prog_cc_stdc" in
5140 echo "$as_me:$LINENO: result: none needed" >&5
5141 echo "${ECHO_T}none needed" >&6 ;;
5143 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5144 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5145 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5148 # Some people use a C++ compiler to compile C. Since we use `exit',
5149 # in C++ we need to declare it. In case someone uses the same compiler
5150 # for both compiling C and C++ we need to have the C++ compiler decide
5151 # the declaration of exit, since it's the most demanding environment.
5152 cat >conftest.
$ac_ext <<_ACEOF
5157 rm -f conftest.
$ac_objext
5158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5159 (eval $ac_compile) 2>conftest.er1
5161 grep -v '^ *+' conftest.er1
>conftest.err
5163 cat conftest.err
>&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); } &&
5166 { ac_try
='test -z "$ac_c_werror_flag"
5167 || test ! -s conftest.err'
5168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); }; } &&
5173 { ac_try
='test -s conftest.$ac_objext'
5174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); }; }; then
5179 for ac_declaration
in \
5181 'extern "C" void std::exit (int) throw (); using std::exit;' \
5182 'extern "C" void std::exit (int); using std::exit;' \
5183 'extern "C" void exit (int) throw ();' \
5184 'extern "C" void exit (int);' \
5187 cat >conftest.
$ac_ext <<_ACEOF
5190 cat confdefs.h
>>conftest.
$ac_ext
5191 cat >>conftest.
$ac_ext <<_ACEOF
5192 /* end confdefs.h. */
5203 rm -f conftest.
$ac_objext
5204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5205 (eval $ac_compile) 2>conftest.er1
5207 grep -v '^ *+' conftest.er1
>conftest.err
5209 cat conftest.err
>&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } &&
5212 { ac_try
='test -z "$ac_c_werror_flag"
5213 || test ! -s conftest.err'
5214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); }; } &&
5219 { ac_try
='test -s conftest.$ac_objext'
5220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); }; }; then
5227 echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.
$ac_ext >&5
5232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5233 cat >conftest.
$ac_ext <<_ACEOF
5236 cat confdefs.h
>>conftest.
$ac_ext
5237 cat >>conftest.
$ac_ext <<_ACEOF
5238 /* end confdefs.h. */
5248 rm -f conftest.
$ac_objext
5249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5250 (eval $ac_compile) 2>conftest.er1
5252 grep -v '^ *+' conftest.er1
>conftest.err
5254 cat conftest.err
>&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); } &&
5257 { ac_try
='test -z "$ac_c_werror_flag"
5258 || test ! -s conftest.err'
5259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); }; } &&
5264 { ac_try
='test -s conftest.$ac_objext'
5265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); }; }; then
5272 echo "$as_me: failed program was:" >&5
5273 sed 's/^/| /' conftest.
$ac_ext >&5
5276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5279 if test -n "$ac_declaration"; then
5280 echo '#ifdef __cplusplus' >>confdefs.h
5281 echo $ac_declaration >>confdefs.h
5282 echo '#endif' >>confdefs.h
5286 echo "$as_me: failed program was:" >&5
5287 sed 's/^/| /' conftest.
$ac_ext >&5
5290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5292 ac_cpp
='$CPP $CPPFLAGS'
5293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5298 cat >>confdefs.h
<<\_ACEOF
5299 #define _GNU_SOURCE 1
5304 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi"
5305 # If we haven't got the data from the intl directory,
5306 # assume NLS is disabled.
5315 if test -f ..
/intl
/config.intl
; then
5316 . ..
/intl
/config.intl
5318 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5319 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5320 if test x
"$USE_NLS" != xyes
; then
5321 echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5324 echo "$as_me:$LINENO: result: yes" >&5
5325 echo "${ECHO_T}yes" >&6
5327 cat >>confdefs.h
<<\_ACEOF
5328 #define ENABLE_NLS 1
5332 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5333 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5334 # Look for .po and .gmo files in the source directory.
5337 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5338 # If there aren't any .gmo files the shell will give us the
5339 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5341 case "$cat" in *\
**)
5344 # The quadruple backslash is collapsed to a double backslash
5345 # by the backticks, then collapsed again by the double quotes,
5346 # leaving us with one backslash in the sed expression (right
5347 # before the dot that mustn't act as a wildcard).
5348 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5349 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5350 # The user is allowed to set LINGUAS to a list of languages to
5351 # install catalogs for. If it's empty that means "all of them."
5352 if test "x$LINGUAS" = x
; then
5353 CATALOGS
="$CATALOGS $cat"
5354 XLINGUAS
="$XLINGUAS $lang"
5356 case "$LINGUAS" in *$lang*)
5357 CATALOGS
="$CATALOGS $cat"
5358 XLINGUAS
="$XLINGUAS $lang"
5364 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5365 echo "${ECHO_T}$LINGUAS" >&6
5379 if test -n "$ac_aux_dir"; then
5380 case "$ac_aux_dir" in
5381 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5382 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5385 if test -z "$MKINSTALLDIRS"; then
5386 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5391 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5392 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5393 # Check whether --enable-nls or --disable-nls was given.
5394 if test "${enable_nls+set}" = set; then
5395 enableval
="$enable_nls"
5400 echo "$as_me:$LINENO: result: $USE_NLS" >&5
5401 echo "${ECHO_T}$USE_NLS" >&6
5408 # Prepare PATH_SEPARATOR.
5409 # The user is always right.
5410 if test "${PATH_SEPARATOR+set}" != set; then
5411 echo "#! /bin/sh" >conf$$.sh
5412 echo "exit 0" >>conf$$.sh
5414 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5422 # Find out how to test for executable files. Don't use a zero-byte file,
5423 # as systems may use methods other than mode bits to determine executability.
5424 cat >conf$$.
file <<_ASEOF
5428 chmod +x conf$$.
file
5429 if test -x conf$$.
file >/dev
/null
2>&1; then
5430 ac_executable_p
="test -x"
5432 ac_executable_p
="test -f"
5436 # Extract the first word of "msgfmt", so it can be a program name with args.
5437 set dummy msgfmt
; ac_word
=$2
5438 echo "$as_me:$LINENO: checking for $ac_word" >&5
5439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5440 if test "${ac_cv_path_MSGFMT+set}" = set; then
5441 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5448 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5449 for ac_dir
in $PATH; do
5451 test -z "$ac_dir" && ac_dir
=.
5452 for ac_exec_ext
in '' $ac_executable_extensions; do
5453 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5454 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5455 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5456 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5463 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5467 MSGFMT
="$ac_cv_path_MSGFMT"
5468 if test "$MSGFMT" != ":"; then
5469 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5470 echo "${ECHO_T}$MSGFMT" >&6
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5476 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5477 set dummy gmsgfmt
; ac_word
=$2
5478 echo "$as_me:$LINENO: checking for $ac_word" >&5
5479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5480 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5481 echo $ECHO_N "(cached) $ECHO_C" >&6
5485 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5492 test -z "$as_dir" && as_dir
=.
5493 for ac_exec_ext
in '' $ac_executable_extensions; do
5494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5495 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5506 GMSGFMT
=$ac_cv_path_GMSGFMT
5508 if test -n "$GMSGFMT"; then
5509 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5510 echo "${ECHO_T}$GMSGFMT" >&6
5512 echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6
5518 # Prepare PATH_SEPARATOR.
5519 # The user is always right.
5520 if test "${PATH_SEPARATOR+set}" != set; then
5521 echo "#! /bin/sh" >conf$$.sh
5522 echo "exit 0" >>conf$$.sh
5524 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5532 # Find out how to test for executable files. Don't use a zero-byte file,
5533 # as systems may use methods other than mode bits to determine executability.
5534 cat >conf$$.
file <<_ASEOF
5538 chmod +x conf$$.
file
5539 if test -x conf$$.
file >/dev
/null
2>&1; then
5540 ac_executable_p
="test -x"
5542 ac_executable_p
="test -f"
5546 # Extract the first word of "xgettext", so it can be a program name with args.
5547 set dummy xgettext
; ac_word
=$2
5548 echo "$as_me:$LINENO: checking for $ac_word" >&5
5549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5550 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5558 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5559 for ac_dir
in $PATH; do
5561 test -z "$ac_dir" && ac_dir
=.
5562 for ac_exec_ext
in '' $ac_executable_extensions; do
5563 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5564 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5565 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5566 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5573 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5577 XGETTEXT
="$ac_cv_path_XGETTEXT"
5578 if test "$XGETTEXT" != ":"; then
5579 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5580 echo "${ECHO_T}$XGETTEXT" >&6
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5589 # Prepare PATH_SEPARATOR.
5590 # The user is always right.
5591 if test "${PATH_SEPARATOR+set}" != set; then
5592 echo "#! /bin/sh" >conf$$.sh
5593 echo "exit 0" >>conf$$.sh
5595 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5603 # Find out how to test for executable files. Don't use a zero-byte file,
5604 # as systems may use methods other than mode bits to determine executability.
5605 cat >conf$$.
file <<_ASEOF
5609 chmod +x conf$$.
file
5610 if test -x conf$$.
file >/dev
/null
2>&1; then
5611 ac_executable_p
="test -x"
5613 ac_executable_p
="test -f"
5617 # Extract the first word of "msgmerge", so it can be a program name with args.
5618 set dummy msgmerge
; ac_word
=$2
5619 echo "$as_me:$LINENO: checking for $ac_word" >&5
5620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5621 if test "${ac_cv_path_MSGMERGE+set}" = set; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5626 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5629 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5630 for ac_dir
in $PATH; do
5632 test -z "$ac_dir" && ac_dir
=.
5633 for ac_exec_ext
in '' $ac_executable_extensions; do
5634 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5635 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5636 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5643 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5647 MSGMERGE
="$ac_cv_path_MSGMERGE"
5648 if test "$MSGMERGE" != ":"; then
5649 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5650 echo "${ECHO_T}$MSGMERGE" >&6
5652 echo "$as_me:$LINENO: result: no" >&5
5653 echo "${ECHO_T}no" >&6
5657 if test "$GMSGFMT" != ":"; then
5658 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5659 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5662 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5663 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5664 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
5669 if test "$XGETTEXT" != ":"; then
5670 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5671 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5674 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5675 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5681 ac_config_commands
="$ac_config_commands default-1"
5685 # Permit host specific settings.
5686 .
${srcdir}/configure.
host
5689 # Find a good install program. We prefer a C program (faster),
5690 # so one script is as good as another. But avoid the broken or
5691 # incompatible versions:
5692 # SysV /etc/install, /usr/sbin/install
5693 # SunOS /usr/etc/install
5694 # IRIX /sbin/install
5696 # AmigaOS /C/install, which installs bootblocks on floppy discs
5697 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5698 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5699 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5700 # OS/2's system install, which has a completely different semantic
5701 # ./install, which can be erroneously created by make from ./install.sh.
5702 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5703 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5704 if test -z "$INSTALL"; then
5705 if test "${ac_cv_path_install+set}" = set; then
5706 echo $ECHO_N "(cached) $ECHO_C" >&6
5708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir
=.
5713 # Account for people who put trailing slashes in PATH elements.
5715 .
/ | .
// |
/cC
/* | \
5716 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5717 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5720 # OSF1 and SCO ODT 3.0 have their own names for install.
5721 # Don't use installbsd from OSF since it installs stuff as root
5723 for ac_prog
in ginstall scoinst
install; do
5724 for ac_exec_ext
in '' $ac_executable_extensions; do
5725 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5726 if test $ac_prog = install &&
5727 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5728 # AIX install. It has an incompatible calling convention.
5730 elif test $ac_prog = install &&
5731 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5732 # program-specific install script used by HP pwplus--don't use.
5735 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5747 if test "${ac_cv_path_install+set}" = set; then
5748 INSTALL
=$ac_cv_path_install
5750 # As a last resort, use the slow shell script. We don't cache a
5751 # path for INSTALL within a source directory, because that will
5752 # break other packages using the cache if that directory is
5753 # removed, or if the path is relative.
5754 INSTALL
=$ac_install_sh
5757 echo "$as_me:$LINENO: result: $INSTALL" >&5
5758 echo "${ECHO_T}$INSTALL" >&6
5760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5761 # It thinks the first close brace ends the variable substitution.
5762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5766 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5769 BFD_HOST_64BIT_LONG
=0
5770 BFD_HOST_LONG_LONG
=0
5771 BFD_HOST_64_BIT_DEFINED
=0
5775 echo "$as_me:$LINENO: checking for long long" >&5
5776 echo $ECHO_N "checking for long long... $ECHO_C" >&6
5777 if test "${bfd_cv_has_long_long+set}" = set; then
5778 echo $ECHO_N "(cached) $ECHO_C" >&6
5780 cat >conftest.
$ac_ext <<_ACEOF
5783 cat confdefs.h
>>conftest.
$ac_ext
5784 cat >>conftest.
$ac_ext <<_ACEOF
5785 /* end confdefs.h. */
5790 unsigned long long ll = 18446744073709551615ULL;
5795 rm -f conftest.
$ac_objext
5796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5797 (eval $ac_compile) 2>conftest.er1
5799 grep -v '^ *+' conftest.er1
>conftest.err
5801 cat conftest.err
>&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); } &&
5804 { ac_try
='test -z "$ac_c_werror_flag"
5805 || test ! -s conftest.err'
5806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); }; } &&
5811 { ac_try
='test -s conftest.$ac_objext'
5812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816 (exit $ac_status); }; }; then
5817 bfd_cv_has_long_long
=yes
5819 echo "$as_me: failed program was:" >&5
5820 sed 's/^/| /' conftest.
$ac_ext >&5
5822 bfd_cv_has_long_long
=no
5824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5827 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
5828 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
5829 if test $bfd_cv_has_long_long = yes; then
5830 BFD_HOST_LONG_LONG
=1
5832 ac_cpp
='$CPP $CPPFLAGS'
5833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5836 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5837 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5838 # On Suns, sometimes $CPP names a directory.
5839 if test -n "$CPP" && test -d "$CPP"; then
5842 if test -z "$CPP"; then
5843 if test "${ac_cv_prog_CPP+set}" = set; then
5844 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 # Double quotes because CPP needs to be expanded
5847 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5850 for ac_c_preproc_warn_flag
in '' yes
5852 # Use a header file that comes with gcc, so configuring glibc
5853 # with a fresh cross-compiler works.
5854 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5855 # <limits.h> exists even on freestanding compilers.
5856 # On the NeXT, cc -E runs the code through the compiler's parser,
5857 # not just through cpp. "Syntax error" is here to catch this case.
5858 cat >conftest.
$ac_ext <<_ACEOF
5861 cat confdefs.h
>>conftest.
$ac_ext
5862 cat >>conftest.
$ac_ext <<_ACEOF
5863 /* end confdefs.h. */
5865 # include <limits.h>
5867 # include <assert.h>
5871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5874 grep -v '^ *+' conftest.er1
>conftest.err
5876 cat conftest.err
>&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); } >/dev
/null
; then
5879 if test -s conftest.err
; then
5880 ac_cpp_err
=$ac_c_preproc_warn_flag
5881 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5888 if test -z "$ac_cpp_err"; then
5891 echo "$as_me: failed program was:" >&5
5892 sed 's/^/| /' conftest.
$ac_ext >&5
5894 # Broken: fails on valid input.
5897 rm -f conftest.err conftest.
$ac_ext
5899 # OK, works on sane cases. Now check whether non-existent headers
5900 # can be detected and how.
5901 cat >conftest.
$ac_ext <<_ACEOF
5904 cat confdefs.h
>>conftest.
$ac_ext
5905 cat >>conftest.
$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5907 #include <ac_nonexistent.h>
5909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5910 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5912 grep -v '^ *+' conftest.er1
>conftest.err
5914 cat conftest.err
>&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); } >/dev
/null
; then
5917 if test -s conftest.err
; then
5918 ac_cpp_err
=$ac_c_preproc_warn_flag
5919 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5926 if test -z "$ac_cpp_err"; then
5927 # Broken: success on invalid input.
5930 echo "$as_me: failed program was:" >&5
5931 sed 's/^/| /' conftest.
$ac_ext >&5
5933 # Passes both tests.
5937 rm -f conftest.err conftest.
$ac_ext
5940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5941 rm -f conftest.err conftest.
$ac_ext
5942 if $ac_preproc_ok; then
5954 echo "$as_me:$LINENO: result: $CPP" >&5
5955 echo "${ECHO_T}$CPP" >&6
5957 for ac_c_preproc_warn_flag
in '' yes
5959 # Use a header file that comes with gcc, so configuring glibc
5960 # with a fresh cross-compiler works.
5961 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5962 # <limits.h> exists even on freestanding compilers.
5963 # On the NeXT, cc -E runs the code through the compiler's parser,
5964 # not just through cpp. "Syntax error" is here to catch this case.
5965 cat >conftest.
$ac_ext <<_ACEOF
5968 cat confdefs.h
>>conftest.
$ac_ext
5969 cat >>conftest.
$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5972 # include <limits.h>
5974 # include <assert.h>
5978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5981 grep -v '^ *+' conftest.er1
>conftest.err
5983 cat conftest.err
>&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); } >/dev
/null
; then
5986 if test -s conftest.err
; then
5987 ac_cpp_err
=$ac_c_preproc_warn_flag
5988 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5995 if test -z "$ac_cpp_err"; then
5998 echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.
$ac_ext >&5
6001 # Broken: fails on valid input.
6004 rm -f conftest.err conftest.
$ac_ext
6006 # OK, works on sane cases. Now check whether non-existent headers
6007 # can be detected and how.
6008 cat >conftest.
$ac_ext <<_ACEOF
6011 cat confdefs.h
>>conftest.
$ac_ext
6012 cat >>conftest.
$ac_ext <<_ACEOF
6013 /* end confdefs.h. */
6014 #include <ac_nonexistent.h>
6016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6017 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
6024 if test -s conftest.err
; then
6025 ac_cpp_err
=$ac_c_preproc_warn_flag
6026 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6033 if test -z "$ac_cpp_err"; then
6034 # Broken: success on invalid input.
6037 echo "$as_me: failed program was:" >&5
6038 sed 's/^/| /' conftest.
$ac_ext >&5
6040 # Passes both tests.
6044 rm -f conftest.err conftest.
$ac_ext
6047 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6048 rm -f conftest.err conftest.
$ac_ext
6049 if $ac_preproc_ok; then
6052 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6053 See \`config.log' for more details." >&5
6054 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6055 See \`config.log' for more details." >&2;}
6056 { (exit 1); exit 1; }; }
6060 ac_cpp
='$CPP $CPPFLAGS'
6061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6066 echo "$as_me:$LINENO: checking for egrep" >&5
6067 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6068 if test "${ac_cv_prog_egrep+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6072 then ac_cv_prog_egrep
='grep -E'
6073 else ac_cv_prog_egrep
='egrep'
6076 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6077 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6078 EGREP
=$ac_cv_prog_egrep
6081 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6082 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6083 if test "${ac_cv_header_stdc+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 cat >conftest.
$ac_ext <<_ACEOF
6089 cat confdefs.h
>>conftest.
$ac_ext
6090 cat >>conftest.
$ac_ext <<_ACEOF
6091 /* end confdefs.h. */
6105 rm -f conftest.
$ac_objext
6106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6107 (eval $ac_compile) 2>conftest.er1
6109 grep -v '^ *+' conftest.er1
>conftest.err
6111 cat conftest.err
>&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } &&
6114 { ac_try
='test -z "$ac_c_werror_flag"
6115 || test ! -s conftest.err'
6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; } &&
6121 { ac_try
='test -s conftest.$ac_objext'
6122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; }; then
6127 ac_cv_header_stdc
=yes
6129 echo "$as_me: failed program was:" >&5
6130 sed 's/^/| /' conftest.
$ac_ext >&5
6132 ac_cv_header_stdc
=no
6134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6136 if test $ac_cv_header_stdc = yes; then
6137 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6138 cat >conftest.
$ac_ext <<_ACEOF
6141 cat confdefs.h
>>conftest.
$ac_ext
6142 cat >>conftest.
$ac_ext <<_ACEOF
6143 /* end confdefs.h. */
6147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6148 $EGREP "memchr" >/dev
/null
2>&1; then
6151 ac_cv_header_stdc
=no
6157 if test $ac_cv_header_stdc = yes; then
6158 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6159 cat >conftest.
$ac_ext <<_ACEOF
6162 cat confdefs.h
>>conftest.
$ac_ext
6163 cat >>conftest.
$ac_ext <<_ACEOF
6164 /* end confdefs.h. */
6168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6169 $EGREP "free" >/dev
/null
2>&1; then
6172 ac_cv_header_stdc
=no
6178 if test $ac_cv_header_stdc = yes; then
6179 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6180 if test "$cross_compiling" = yes; then
6183 cat >conftest.
$ac_ext <<_ACEOF
6186 cat confdefs.h
>>conftest.
$ac_ext
6187 cat >>conftest.
$ac_ext <<_ACEOF
6188 /* end confdefs.h. */
6190 #if ((' ' & 0x0FF) == 0x020)
6191 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6192 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6194 # define ISLOWER(c) \
6195 (('a' <= (c) && (c) <= 'i') \
6196 || ('j' <= (c) && (c) <= 'r') \
6197 || ('s' <= (c) && (c) <= 'z'))
6198 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6201 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6206 for (i = 0; i < 256; i++)
6207 if (XOR (islower (i), ISLOWER (i))
6208 || toupper (i) != TOUPPER (i))
6213 rm -f conftest
$ac_exeext
6214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6215 (eval $ac_link) 2>&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); }; }; then
6226 echo "$as_me: program exited with status $ac_status" >&5
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.
$ac_ext >&5
6231 ac_cv_header_stdc
=no
6233 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6237 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6238 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6239 if test $ac_cv_header_stdc = yes; then
6241 cat >>confdefs.h
<<\_ACEOF
6242 #define STDC_HEADERS 1
6247 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6257 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6258 inttypes.h stdint.h unistd.h
6260 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6261 echo "$as_me:$LINENO: checking for $ac_header" >&5
6262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6264 echo $ECHO_N "(cached) $ECHO_C" >&6
6266 cat >conftest.
$ac_ext <<_ACEOF
6269 cat confdefs.h
>>conftest.
$ac_ext
6270 cat >>conftest.
$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6272 $ac_includes_default
6274 #include <$ac_header>
6276 rm -f conftest.
$ac_objext
6277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6278 (eval $ac_compile) 2>conftest.er1
6280 grep -v '^ *+' conftest.er1
>conftest.err
6282 cat conftest.err
>&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } &&
6285 { ac_try
='test -z "$ac_c_werror_flag"
6286 || test ! -s conftest.err'
6287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); }; } &&
6292 { ac_try
='test -s conftest.$ac_objext'
6293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); }; }; then
6298 eval "$as_ac_Header=yes"
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.
$ac_ext >&5
6303 eval "$as_ac_Header=no"
6305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6309 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6310 cat >>confdefs.h
<<_ACEOF
6311 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6319 echo "$as_me:$LINENO: checking for long long" >&5
6320 echo $ECHO_N "checking for long long... $ECHO_C" >&6
6321 if test "${ac_cv_type_long_long+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 cat >conftest.
$ac_ext <<_ACEOF
6327 cat confdefs.h
>>conftest.
$ac_ext
6328 cat >>conftest.
$ac_ext <<_ACEOF
6329 /* end confdefs.h. */
6330 $ac_includes_default
6334 if ((long long *) 0)
6336 if (sizeof (long long))
6342 rm -f conftest.
$ac_objext
6343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6344 (eval $ac_compile) 2>conftest.er1
6346 grep -v '^ *+' conftest.er1
>conftest.err
6348 cat conftest.err
>&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); } &&
6351 { ac_try
='test -z "$ac_c_werror_flag"
6352 || test ! -s conftest.err'
6353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); }; } &&
6358 { ac_try
='test -s conftest.$ac_objext'
6359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); }; }; then
6364 ac_cv_type_long_long
=yes
6366 echo "$as_me: failed program was:" >&5
6367 sed 's/^/| /' conftest.
$ac_ext >&5
6369 ac_cv_type_long_long
=no
6371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6373 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6374 echo "${ECHO_T}$ac_cv_type_long_long" >&6
6376 echo "$as_me:$LINENO: checking size of long long" >&5
6377 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
6378 if test "${ac_cv_sizeof_long_long+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 if test "$ac_cv_type_long_long" = yes; then
6382 # The cast to unsigned long works around a bug in the HP C Compiler
6383 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6384 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6385 # This bug is HP SR number 8606223364.
6386 if test "$cross_compiling" = yes; then
6387 # Depending upon the size, compute the lo and hi bounds.
6388 cat >conftest.
$ac_ext <<_ACEOF
6391 cat confdefs.h
>>conftest.
$ac_ext
6392 cat >>conftest.
$ac_ext <<_ACEOF
6393 /* end confdefs.h. */
6394 $ac_includes_default
6398 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
6405 rm -f conftest.
$ac_objext
6406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6407 (eval $ac_compile) 2>conftest.er1
6409 grep -v '^ *+' conftest.er1
>conftest.err
6411 cat conftest.err
>&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); } &&
6414 { ac_try
='test -z "$ac_c_werror_flag"
6415 || test ! -s conftest.err'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; } &&
6421 { ac_try
='test -s conftest.$ac_objext'
6422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 (exit $ac_status); }; }; then
6429 cat >conftest.
$ac_ext <<_ACEOF
6432 cat confdefs.h
>>conftest.
$ac_ext
6433 cat >>conftest.
$ac_ext <<_ACEOF
6434 /* end confdefs.h. */
6435 $ac_includes_default
6439 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6446 rm -f conftest.
$ac_objext
6447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6448 (eval $ac_compile) 2>conftest.er1
6450 grep -v '^ *+' conftest.er1
>conftest.err
6452 cat conftest.err
>&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); } &&
6455 { ac_try
='test -z "$ac_c_werror_flag"
6456 || test ! -s conftest.err'
6457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); }; } &&
6462 { ac_try
='test -s conftest.$ac_objext'
6463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); }; }; then
6468 ac_hi
=$ac_mid; break
6470 echo "$as_me: failed program was:" >&5
6471 sed 's/^/| /' conftest.
$ac_ext >&5
6473 ac_lo
=`expr $ac_mid + 1`
6474 if test $ac_lo -le $ac_mid; then
6478 ac_mid
=`expr 2 '*' $ac_mid + 1`
6480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.
$ac_ext >&5
6486 cat >conftest.
$ac_ext <<_ACEOF
6489 cat confdefs.h
>>conftest.
$ac_ext
6490 cat >>conftest.
$ac_ext <<_ACEOF
6491 /* end confdefs.h. */
6492 $ac_includes_default
6496 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
6503 rm -f conftest.
$ac_objext
6504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6505 (eval $ac_compile) 2>conftest.er1
6507 grep -v '^ *+' conftest.er1
>conftest.err
6509 cat conftest.err
>&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } &&
6512 { ac_try
='test -z "$ac_c_werror_flag"
6513 || test ! -s conftest.err'
6514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); }; } &&
6519 { ac_try
='test -s conftest.$ac_objext'
6520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); }; }; then
6527 cat >conftest.
$ac_ext <<_ACEOF
6530 cat confdefs.h
>>conftest.
$ac_ext
6531 cat >>conftest.
$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6533 $ac_includes_default
6537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
6544 rm -f conftest.
$ac_objext
6545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546 (eval $ac_compile) 2>conftest.er1
6548 grep -v '^ *+' conftest.er1
>conftest.err
6550 cat conftest.err
>&5
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); } &&
6553 { ac_try
='test -z "$ac_c_werror_flag"
6554 || test ! -s conftest.err'
6555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); }; } &&
6560 { ac_try
='test -s conftest.$ac_objext'
6561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565 (exit $ac_status); }; }; then
6566 ac_lo
=$ac_mid; break
6568 echo "$as_me: failed program was:" >&5
6569 sed 's/^/| /' conftest.
$ac_ext >&5
6571 ac_hi
=`expr '(' $ac_mid ')' - 1`
6572 if test $ac_mid -le $ac_hi; then
6576 ac_mid
=`expr 2 '*' $ac_mid`
6578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6581 echo "$as_me: failed program was:" >&5
6582 sed 's/^/| /' conftest.
$ac_ext >&5
6586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6589 # Binary search between lo and hi bounds.
6590 while test "x$ac_lo" != "x$ac_hi"; do
6591 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6592 cat >conftest.
$ac_ext <<_ACEOF
6595 cat confdefs.h
>>conftest.
$ac_ext
6596 cat >>conftest.
$ac_ext <<_ACEOF
6597 /* end confdefs.h. */
6598 $ac_includes_default
6602 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6609 rm -f conftest.
$ac_objext
6610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6611 (eval $ac_compile) 2>conftest.er1
6613 grep -v '^ *+' conftest.er1
>conftest.err
6615 cat conftest.err
>&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } &&
6618 { ac_try
='test -z "$ac_c_werror_flag"
6619 || test ! -s conftest.err'
6620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); }; } &&
6625 { ac_try
='test -s conftest.$ac_objext'
6626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); }; }; then
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.
$ac_ext >&5
6636 ac_lo
=`expr '(' $ac_mid ')' + 1`
6638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6641 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
6642 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6643 See \`config.log' for more details." >&5
6644 echo "$as_me: error: cannot compute sizeof (long long), 77
6645 See \`config.log' for more details." >&2;}
6646 { (exit 1); exit 1; }; } ;;
6649 if test "$cross_compiling" = yes; then
6650 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6651 See \`config.log' for more details." >&5
6652 echo "$as_me: error: cannot run test program while cross compiling
6653 See \`config.log' for more details." >&2;}
6654 { (exit 1); exit 1; }; }
6656 cat >conftest.
$ac_ext <<_ACEOF
6659 cat confdefs.h
>>conftest.
$ac_ext
6660 cat >>conftest.
$ac_ext <<_ACEOF
6661 /* end confdefs.h. */
6662 $ac_includes_default
6663 long longval () { return (long) (sizeof (long long)); }
6664 unsigned long ulongval () { return (long) (sizeof (long long)); }
6671 FILE *f = fopen ("conftest.val", "w");
6674 if (((long) (sizeof (long long))) < 0)
6676 long i = longval ();
6677 if (i != ((long) (sizeof (long long))))
6679 fprintf (f, "%ld\n", i);
6683 unsigned long i = ulongval ();
6684 if (i != ((long) (sizeof (long long))))
6686 fprintf (f, "%lu\n", i);
6688 exit (ferror (f) || fclose (f) != 0);
6694 rm -f conftest
$ac_exeext
6695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6696 (eval $ac_link) 2>&5
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; }; then
6705 ac_cv_sizeof_long_long
=`cat conftest.val`
6707 echo "$as_me: program exited with status $ac_status" >&5
6708 echo "$as_me: failed program was:" >&5
6709 sed 's/^/| /' conftest.
$ac_ext >&5
6712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6713 See \`config.log' for more details." >&5
6714 echo "$as_me: error: cannot compute sizeof (long long), 77
6715 See \`config.log' for more details." >&2;}
6716 { (exit 1); exit 1; }; }
6718 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6723 ac_cv_sizeof_long_long
=0
6726 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
6727 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
6728 cat >>confdefs.h
<<_ACEOF
6729 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
6735 echo "$as_me:$LINENO: checking for long" >&5
6736 echo $ECHO_N "checking for long... $ECHO_C" >&6
6737 if test "${ac_cv_type_long+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6740 cat >conftest.
$ac_ext <<_ACEOF
6743 cat confdefs.h
>>conftest.
$ac_ext
6744 cat >>conftest.
$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6746 $ac_includes_default
6758 rm -f conftest.
$ac_objext
6759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6760 (eval $ac_compile) 2>conftest.er1
6762 grep -v '^ *+' conftest.er1
>conftest.err
6764 cat conftest.err
>&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } &&
6767 { ac_try
='test -z "$ac_c_werror_flag"
6768 || test ! -s conftest.err'
6769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); }; } &&
6774 { ac_try
='test -s conftest.$ac_objext'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; }; then
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.
$ac_ext >&5
6787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6789 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6790 echo "${ECHO_T}$ac_cv_type_long" >&6
6792 echo "$as_me:$LINENO: checking size of long" >&5
6793 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6794 if test "${ac_cv_sizeof_long+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 if test "$ac_cv_type_long" = yes; then
6798 # The cast to unsigned long works around a bug in the HP C Compiler
6799 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6800 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6801 # This bug is HP SR number 8606223364.
6802 if test "$cross_compiling" = yes; then
6803 # Depending upon the size, compute the lo and hi bounds.
6804 cat >conftest.
$ac_ext <<_ACEOF
6807 cat confdefs.h
>>conftest.
$ac_ext
6808 cat >>conftest.
$ac_ext <<_ACEOF
6809 /* end confdefs.h. */
6810 $ac_includes_default
6814 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6821 rm -f conftest.
$ac_objext
6822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6823 (eval $ac_compile) 2>conftest.er1
6825 grep -v '^ *+' conftest.er1
>conftest.err
6827 cat conftest.err
>&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try
='test -z "$ac_c_werror_flag"
6831 || test ! -s conftest.err'
6832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; } &&
6837 { ac_try
='test -s conftest.$ac_objext'
6838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); }; }; then
6845 cat >conftest.
$ac_ext <<_ACEOF
6848 cat confdefs.h
>>conftest.
$ac_ext
6849 cat >>conftest.
$ac_ext <<_ACEOF
6850 /* end confdefs.h. */
6851 $ac_includes_default
6855 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6862 rm -f conftest.
$ac_objext
6863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6864 (eval $ac_compile) 2>conftest.er1
6866 grep -v '^ *+' conftest.er1
>conftest.err
6868 cat conftest.err
>&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); } &&
6871 { ac_try
='test -z "$ac_c_werror_flag"
6872 || test ! -s conftest.err'
6873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 (exit $ac_status); }; } &&
6878 { ac_try
='test -s conftest.$ac_objext'
6879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; }; then
6884 ac_hi
=$ac_mid; break
6886 echo "$as_me: failed program was:" >&5
6887 sed 's/^/| /' conftest.
$ac_ext >&5
6889 ac_lo
=`expr $ac_mid + 1`
6890 if test $ac_lo -le $ac_mid; then
6894 ac_mid
=`expr 2 '*' $ac_mid + 1`
6896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.
$ac_ext >&5
6902 cat >conftest.
$ac_ext <<_ACEOF
6905 cat confdefs.h
>>conftest.
$ac_ext
6906 cat >>conftest.
$ac_ext <<_ACEOF
6907 /* end confdefs.h. */
6908 $ac_includes_default
6912 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6919 rm -f conftest.
$ac_objext
6920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6921 (eval $ac_compile) 2>conftest.er1
6923 grep -v '^ *+' conftest.er1
>conftest.err
6925 cat conftest.err
>&5
6926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6927 (exit $ac_status); } &&
6928 { ac_try
='test -z "$ac_c_werror_flag"
6929 || test ! -s conftest.err'
6930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); }; } &&
6935 { ac_try
='test -s conftest.$ac_objext'
6936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); }; }; then
6943 cat >conftest.
$ac_ext <<_ACEOF
6946 cat confdefs.h
>>conftest.
$ac_ext
6947 cat >>conftest.
$ac_ext <<_ACEOF
6948 /* end confdefs.h. */
6949 $ac_includes_default
6953 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6960 rm -f conftest.
$ac_objext
6961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6962 (eval $ac_compile) 2>conftest.er1
6964 grep -v '^ *+' conftest.er1
>conftest.err
6966 cat conftest.err
>&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); } &&
6969 { ac_try
='test -z "$ac_c_werror_flag"
6970 || test ! -s conftest.err'
6971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); }; } &&
6976 { ac_try
='test -s conftest.$ac_objext'
6977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); }; }; then
6982 ac_lo
=$ac_mid; break
6984 echo "$as_me: failed program was:" >&5
6985 sed 's/^/| /' conftest.
$ac_ext >&5
6987 ac_hi
=`expr '(' $ac_mid ')' - 1`
6988 if test $ac_mid -le $ac_hi; then
6992 ac_mid
=`expr 2 '*' $ac_mid`
6994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6997 echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.
$ac_ext >&5
7002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7005 # Binary search between lo and hi bounds.
7006 while test "x$ac_lo" != "x$ac_hi"; do
7007 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7008 cat >conftest.
$ac_ext <<_ACEOF
7011 cat confdefs.h
>>conftest.
$ac_ext
7012 cat >>conftest.
$ac_ext <<_ACEOF
7013 /* end confdefs.h. */
7014 $ac_includes_default
7018 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7025 rm -f conftest.
$ac_objext
7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7027 (eval $ac_compile) 2>conftest.er1
7029 grep -v '^ *+' conftest.er1
>conftest.err
7031 cat conftest.err
>&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } &&
7034 { ac_try
='test -z "$ac_c_werror_flag"
7035 || test ! -s conftest.err'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; } &&
7041 { ac_try
='test -s conftest.$ac_objext'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; }; then
7049 echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.
$ac_ext >&5
7052 ac_lo
=`expr '(' $ac_mid ')' + 1`
7054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7057 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7058 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7059 See \`config.log' for more details." >&5
7060 echo "$as_me: error: cannot compute sizeof (long), 77
7061 See \`config.log' for more details." >&2;}
7062 { (exit 1); exit 1; }; } ;;
7065 if test "$cross_compiling" = yes; then
7066 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7067 See \`config.log' for more details." >&5
7068 echo "$as_me: error: cannot run test program while cross compiling
7069 See \`config.log' for more details." >&2;}
7070 { (exit 1); exit 1; }; }
7072 cat >conftest.
$ac_ext <<_ACEOF
7075 cat confdefs.h
>>conftest.
$ac_ext
7076 cat >>conftest.
$ac_ext <<_ACEOF
7077 /* end confdefs.h. */
7078 $ac_includes_default
7079 long longval () { return (long) (sizeof (long)); }
7080 unsigned long ulongval () { return (long) (sizeof (long)); }
7087 FILE *f = fopen ("conftest.val", "w");
7090 if (((long) (sizeof (long))) < 0)
7092 long i = longval ();
7093 if (i != ((long) (sizeof (long))))
7095 fprintf (f, "%ld\n", i);
7099 unsigned long i = ulongval ();
7100 if (i != ((long) (sizeof (long))))
7102 fprintf (f, "%lu\n", i);
7104 exit (ferror (f) || fclose (f) != 0);
7110 rm -f conftest
$ac_exeext
7111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7112 (eval $ac_link) 2>&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); }; }; then
7121 ac_cv_sizeof_long
=`cat conftest.val`
7123 echo "$as_me: program exited with status $ac_status" >&5
7124 echo "$as_me: failed program was:" >&5
7125 sed 's/^/| /' conftest.
$ac_ext >&5
7128 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7129 See \`config.log' for more details." >&5
7130 echo "$as_me: error: cannot compute sizeof (long), 77
7131 See \`config.log' for more details." >&2;}
7132 { (exit 1); exit 1; }; }
7134 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7142 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7143 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7144 cat >>confdefs.h
<<_ACEOF
7145 #define SIZEOF_LONG $ac_cv_sizeof_long
7149 if test "x${ac_cv_sizeof_long}" = "x8"; then
7151 BFD_HOST_64BIT_LONG
=1
7152 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
7153 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
7154 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
7155 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
7156 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
7159 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
7160 BFD_HOST_64_BIT_DEFINED
=1
7161 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
7162 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
7171 # Put a plausible default for CC_FOR_BUILD in Makefile.
7172 if test -z "$CC_FOR_BUILD"; then
7173 if test "x$cross_compiling" = "xno"; then
7174 CC_FOR_BUILD
='$(CC)'
7180 # Also set EXEEXT_FOR_BUILD.
7181 if test "x$cross_compiling" = "xno"; then
7182 EXEEXT_FOR_BUILD
='$(EXEEXT)'
7184 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
7185 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
7186 if test "${bfd_cv_build_exeext+set}" = set; then
7187 echo $ECHO_N "(cached) $ECHO_C" >&6
7190 echo 'int main () { return 0; }' > conftest.c
7191 bfd_cv_build_exeext
=
7192 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
7193 for file in conftest.
*; do
7195 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
7196 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
7200 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
7202 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
7203 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
7205 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
7215 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
7217 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7219 echo "$as_me:$LINENO: checking for $ac_header" >&5
7220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7222 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7227 # Is the header compilable?
7228 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7229 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7230 cat >conftest.
$ac_ext <<_ACEOF
7233 cat confdefs.h
>>conftest.
$ac_ext
7234 cat >>conftest.
$ac_ext <<_ACEOF
7235 /* end confdefs.h. */
7236 $ac_includes_default
7237 #include <$ac_header>
7239 rm -f conftest.
$ac_objext
7240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7241 (eval $ac_compile) 2>conftest.er1
7243 grep -v '^ *+' conftest.er1
>conftest.err
7245 cat conftest.err
>&5
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); } &&
7248 { ac_try
='test -z "$ac_c_werror_flag"
7249 || test ! -s conftest.err'
7250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); }; } &&
7255 { ac_try
='test -s conftest.$ac_objext'
7256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); }; }; then
7261 ac_header_compiler
=yes
7263 echo "$as_me: failed program was:" >&5
7264 sed 's/^/| /' conftest.
$ac_ext >&5
7266 ac_header_compiler
=no
7268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7269 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7270 echo "${ECHO_T}$ac_header_compiler" >&6
7272 # Is the header present?
7273 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7274 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
7283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7284 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7286 grep -v '^ *+' conftest.er1
>conftest.err
7288 cat conftest.err
>&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); } >/dev
/null
; then
7291 if test -s conftest.err
; then
7292 ac_cpp_err
=$ac_c_preproc_warn_flag
7293 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7300 if test -z "$ac_cpp_err"; then
7301 ac_header_preproc
=yes
7303 echo "$as_me: failed program was:" >&5
7304 sed 's/^/| /' conftest.
$ac_ext >&5
7306 ac_header_preproc
=no
7308 rm -f conftest.err conftest.
$ac_ext
7309 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7310 echo "${ECHO_T}$ac_header_preproc" >&6
7312 # So? What about this header?
7313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7315 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7316 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7318 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7319 ac_header_preproc
=yes
7322 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7323 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7324 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7325 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7326 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7327 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7328 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7329 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7332 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7333 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7336 ## ------------------------------------------ ##
7337 ## Report this to the AC_PACKAGE_NAME lists. ##
7338 ## ------------------------------------------ ##
7341 sed "s/^/$as_me: WARNING: /" >&2
7344 echo "$as_me:$LINENO: checking for $ac_header" >&5
7345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7349 eval "$as_ac_Header=\$ac_header_preproc"
7351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7356 cat >>confdefs.h
<<_ACEOF
7357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7367 for ac_header
in fcntl.h sys
/file.h sys
/time.h
7369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7371 echo "$as_me:$LINENO: checking for $ac_header" >&5
7372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7374 echo $ECHO_N "(cached) $ECHO_C" >&6
7376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7379 # Is the header compilable?
7380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7382 cat >conftest.
$ac_ext <<_ACEOF
7385 cat confdefs.h
>>conftest.
$ac_ext
7386 cat >>conftest.
$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7388 $ac_includes_default
7389 #include <$ac_header>
7391 rm -f conftest.
$ac_objext
7392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7393 (eval $ac_compile) 2>conftest.er1
7395 grep -v '^ *+' conftest.er1
>conftest.err
7397 cat conftest.err
>&5
7398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399 (exit $ac_status); } &&
7400 { ac_try
='test -z "$ac_c_werror_flag"
7401 || test ! -s conftest.err'
7402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406 (exit $ac_status); }; } &&
7407 { ac_try
='test -s conftest.$ac_objext'
7408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); }; }; then
7413 ac_header_compiler
=yes
7415 echo "$as_me: failed program was:" >&5
7416 sed 's/^/| /' conftest.
$ac_ext >&5
7418 ac_header_compiler
=no
7420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7422 echo "${ECHO_T}$ac_header_compiler" >&6
7424 # Is the header present?
7425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7427 cat >conftest.
$ac_ext <<_ACEOF
7430 cat confdefs.h
>>conftest.
$ac_ext
7431 cat >>conftest.
$ac_ext <<_ACEOF
7432 /* end confdefs.h. */
7433 #include <$ac_header>
7435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7438 grep -v '^ *+' conftest.er1
>conftest.err
7440 cat conftest.err
>&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } >/dev
/null
; then
7443 if test -s conftest.err
; then
7444 ac_cpp_err
=$ac_c_preproc_warn_flag
7445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7452 if test -z "$ac_cpp_err"; then
7453 ac_header_preproc
=yes
7455 echo "$as_me: failed program was:" >&5
7456 sed 's/^/| /' conftest.
$ac_ext >&5
7458 ac_header_preproc
=no
7460 rm -f conftest.err conftest.
$ac_ext
7461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7462 echo "${ECHO_T}$ac_header_preproc" >&6
7464 # So? What about this header?
7465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7471 ac_header_preproc
=yes
7474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7488 ## ------------------------------------------ ##
7489 ## Report this to the AC_PACKAGE_NAME lists. ##
7490 ## ------------------------------------------ ##
7493 sed "s/^/$as_me: WARNING: /" >&2
7496 echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 eval "$as_ac_Header=\$ac_header_preproc"
7503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7508 cat >>confdefs.h
<<_ACEOF
7509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7516 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7517 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7518 if test "${ac_cv_header_time+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 cat >conftest.
$ac_ext <<_ACEOF
7524 cat confdefs.h
>>conftest.
$ac_ext
7525 cat >>conftest.
$ac_ext <<_ACEOF
7526 /* end confdefs.h. */
7527 #include <sys/types.h>
7528 #include <sys/time.h>
7534 if ((struct tm *) 0)
7540 rm -f conftest.
$ac_objext
7541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7542 (eval $ac_compile) 2>conftest.er1
7544 grep -v '^ *+' conftest.er1
>conftest.err
7546 cat conftest.err
>&5
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); } &&
7549 { ac_try
='test -z "$ac_c_werror_flag"
7550 || test ! -s conftest.err'
7551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7555 (exit $ac_status); }; } &&
7556 { ac_try
='test -s conftest.$ac_objext'
7557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 (exit $ac_status); }; }; then
7562 ac_cv_header_time
=yes
7564 echo "$as_me: failed program was:" >&5
7565 sed 's/^/| /' conftest.
$ac_ext >&5
7567 ac_cv_header_time
=no
7569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7571 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7572 echo "${ECHO_T}$ac_cv_header_time" >&6
7573 if test $ac_cv_header_time = yes; then
7575 cat >>confdefs.h
<<\_ACEOF
7576 #define TIME_WITH_SYS_TIME 1
7587 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
7588 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
7589 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
7590 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
7591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6
7594 cat >conftest.
$ac_ext <<_ACEOF
7597 cat confdefs.h
>>conftest.
$ac_ext
7598 cat >>conftest.
$ac_ext <<_ACEOF
7599 /* end confdefs.h. */
7600 #include <sys/types.h>
7612 rm -f conftest.
$ac_objext
7613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7614 (eval $ac_compile) 2>conftest.er1
7616 grep -v '^ *+' conftest.er1
>conftest.err
7618 cat conftest.err
>&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } &&
7621 { ac_try
='test -z "$ac_c_werror_flag"
7622 || test ! -s conftest.err'
7623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); }; } &&
7628 { ac_try
='test -s conftest.$ac_objext'
7629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); }; }; then
7634 eval "$as_ac_Header=yes"
7636 echo "$as_me: failed program was:" >&5
7637 sed 's/^/| /' conftest.
$ac_ext >&5
7639 eval "$as_ac_Header=no"
7641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7646 cat >>confdefs.h
<<_ACEOF
7647 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
7650 ac_header_dirent
=$ac_hdr; break
7654 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7655 if test $ac_header_dirent = dirent.h
; then
7656 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7657 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7658 if test "${ac_cv_search_opendir+set}" = set; then
7659 echo $ECHO_N "(cached) $ECHO_C" >&6
7661 ac_func_search_save_LIBS
=$LIBS
7662 ac_cv_search_opendir
=no
7663 cat >conftest.
$ac_ext <<_ACEOF
7666 cat confdefs.h
>>conftest.
$ac_ext
7667 cat >>conftest.
$ac_ext <<_ACEOF
7668 /* end confdefs.h. */
7670 /* Override any gcc2 internal prototype to avoid an error. */
7674 /* We use char because int might match the return type of a gcc2
7675 builtin and then its argument prototype would still apply. */
7685 rm -f conftest.
$ac_objext conftest
$ac_exeext
7686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7687 (eval $ac_link) 2>conftest.er1
7689 grep -v '^ *+' conftest.er1
>conftest.err
7691 cat conftest.err
>&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); } &&
7694 { ac_try
='test -z "$ac_c_werror_flag"
7695 || test ! -s conftest.err'
7696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); }; } &&
7701 { ac_try
='test -s conftest$ac_exeext'
7702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7706 (exit $ac_status); }; }; then
7707 ac_cv_search_opendir
="none required"
7709 echo "$as_me: failed program was:" >&5
7710 sed 's/^/| /' conftest.
$ac_ext >&5
7713 rm -f conftest.err conftest.
$ac_objext \
7714 conftest
$ac_exeext conftest.
$ac_ext
7715 if test "$ac_cv_search_opendir" = no
; then
7716 for ac_lib
in dir
; do
7717 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7718 cat >conftest.
$ac_ext <<_ACEOF
7721 cat confdefs.h
>>conftest.
$ac_ext
7722 cat >>conftest.
$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7725 /* Override any gcc2 internal prototype to avoid an error. */
7729 /* We use char because int might match the return type of a gcc2
7730 builtin and then its argument prototype would still apply. */
7740 rm -f conftest.
$ac_objext conftest
$ac_exeext
7741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7742 (eval $ac_link) 2>conftest.er1
7744 grep -v '^ *+' conftest.er1
>conftest.err
7746 cat conftest.err
>&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); } &&
7749 { ac_try
='test -z "$ac_c_werror_flag"
7750 || test ! -s conftest.err'
7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); }; } &&
7756 { ac_try
='test -s conftest$ac_exeext'
7757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7761 (exit $ac_status); }; }; then
7762 ac_cv_search_opendir
="-l$ac_lib"
7765 echo "$as_me: failed program was:" >&5
7766 sed 's/^/| /' conftest.
$ac_ext >&5
7769 rm -f conftest.err conftest.
$ac_objext \
7770 conftest
$ac_exeext conftest.
$ac_ext
7773 LIBS
=$ac_func_search_save_LIBS
7775 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7776 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7777 if test "$ac_cv_search_opendir" != no
; then
7778 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
7783 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7784 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7785 if test "${ac_cv_search_opendir+set}" = set; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 ac_func_search_save_LIBS
=$LIBS
7789 ac_cv_search_opendir
=no
7790 cat >conftest.
$ac_ext <<_ACEOF
7793 cat confdefs.h
>>conftest.
$ac_ext
7794 cat >>conftest.
$ac_ext <<_ACEOF
7795 /* end confdefs.h. */
7797 /* Override any gcc2 internal prototype to avoid an error. */
7801 /* We use char because int might match the return type of a gcc2
7802 builtin and then its argument prototype would still apply. */
7812 rm -f conftest.
$ac_objext conftest
$ac_exeext
7813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7814 (eval $ac_link) 2>conftest.er1
7816 grep -v '^ *+' conftest.er1
>conftest.err
7818 cat conftest.err
>&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); } &&
7821 { ac_try
='test -z "$ac_c_werror_flag"
7822 || test ! -s conftest.err'
7823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); }; } &&
7828 { ac_try
='test -s conftest$ac_exeext'
7829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); }; }; then
7834 ac_cv_search_opendir
="none required"
7836 echo "$as_me: failed program was:" >&5
7837 sed 's/^/| /' conftest.
$ac_ext >&5
7840 rm -f conftest.err conftest.
$ac_objext \
7841 conftest
$ac_exeext conftest.
$ac_ext
7842 if test "$ac_cv_search_opendir" = no
; then
7844 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7845 cat >conftest.
$ac_ext <<_ACEOF
7848 cat confdefs.h
>>conftest.
$ac_ext
7849 cat >>conftest.
$ac_ext <<_ACEOF
7850 /* end confdefs.h. */
7852 /* Override any gcc2 internal prototype to avoid an error. */
7856 /* We use char because int might match the return type of a gcc2
7857 builtin and then its argument prototype would still apply. */
7867 rm -f conftest.
$ac_objext conftest
$ac_exeext
7868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7869 (eval $ac_link) 2>conftest.er1
7871 grep -v '^ *+' conftest.er1
>conftest.err
7873 cat conftest.err
>&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 (exit $ac_status); } &&
7876 { ac_try
='test -z "$ac_c_werror_flag"
7877 || test ! -s conftest.err'
7878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); }; } &&
7883 { ac_try
='test -s conftest$ac_exeext'
7884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); }; }; then
7889 ac_cv_search_opendir
="-l$ac_lib"
7892 echo "$as_me: failed program was:" >&5
7893 sed 's/^/| /' conftest.
$ac_ext >&5
7896 rm -f conftest.err conftest.
$ac_objext \
7897 conftest
$ac_exeext conftest.
$ac_ext
7900 LIBS
=$ac_func_search_save_LIBS
7902 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7903 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7904 if test "$ac_cv_search_opendir" != no
; then
7905 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
7911 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
7912 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
7913 if test "${gcc_cv_header_string+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7916 cat >conftest.
$ac_ext <<_ACEOF
7919 cat confdefs.h
>>conftest.
$ac_ext
7920 cat >>conftest.
$ac_ext <<_ACEOF
7921 /* end confdefs.h. */
7923 #include <strings.h>
7932 rm -f conftest.
$ac_objext
7933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7934 (eval $ac_compile) 2>conftest.er1
7936 grep -v '^ *+' conftest.er1
>conftest.err
7938 cat conftest.err
>&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); } &&
7941 { ac_try
='test -z "$ac_c_werror_flag"
7942 || test ! -s conftest.err'
7943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); }; } &&
7948 { ac_try
='test -s conftest.$ac_objext'
7949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); }; }; then
7954 gcc_cv_header_string
=yes
7956 echo "$as_me: failed program was:" >&5
7957 sed 's/^/| /' conftest.
$ac_ext >&5
7959 gcc_cv_header_string
=no
7961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7963 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
7964 echo "${ECHO_T}$gcc_cv_header_string" >&6
7965 if test $gcc_cv_header_string = yes; then
7967 cat >>confdefs.h
<<\_ACEOF
7968 #define STRING_WITH_STRINGS 1
7980 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
7982 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7983 echo "$as_me:$LINENO: checking for $ac_func" >&5
7984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7985 if eval "test \"\${$as_ac_var+set}\" = set"; then
7986 echo $ECHO_N "(cached) $ECHO_C" >&6
7988 cat >conftest.
$ac_ext <<_ACEOF
7991 cat confdefs.h
>>conftest.
$ac_ext
7992 cat >>conftest.
$ac_ext <<_ACEOF
7993 /* end confdefs.h. */
7994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7996 #define $ac_func innocuous_$ac_func
7998 /* System header to define __stub macros and hopefully few prototypes,
7999 which can conflict with char $ac_func (); below.
8000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8001 <limits.h> exists even on freestanding compilers. */
8004 # include <limits.h>
8006 # include <assert.h>
8011 /* Override any gcc2 internal prototype to avoid an error. */
8016 /* We use char because int might match the return type of a gcc2
8017 builtin and then its argument prototype would still apply. */
8019 /* The GNU C library defines this for functions which it implements
8020 to always fail with ENOSYS. Some functions are actually named
8021 something starting with __ and the normal name is an alias. */
8022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8025 char (*f) () = $ac_func;
8034 return f != $ac_func;
8039 rm -f conftest.
$ac_objext conftest
$ac_exeext
8040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8041 (eval $ac_link) 2>conftest.er1
8043 grep -v '^ *+' conftest.er1
>conftest.err
8045 cat conftest.err
>&5
8046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8047 (exit $ac_status); } &&
8048 { ac_try
='test -z "$ac_c_werror_flag"
8049 || test ! -s conftest.err'
8050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054 (exit $ac_status); }; } &&
8055 { ac_try
='test -s conftest$ac_exeext'
8056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); }; }; then
8061 eval "$as_ac_var=yes"
8063 echo "$as_me: failed program was:" >&5
8064 sed 's/^/| /' conftest.
$ac_ext >&5
8066 eval "$as_ac_var=no"
8068 rm -f conftest.err conftest.
$ac_objext \
8069 conftest
$ac_exeext conftest.
$ac_ext
8071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8073 if test `eval echo '${'$as_ac_var'}'` = yes; then
8074 cat >>confdefs.h
<<_ACEOF
8075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8082 for ac_func
in strtoull
8084 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8085 echo "$as_me:$LINENO: checking for $ac_func" >&5
8086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8087 if eval "test \"\${$as_ac_var+set}\" = set"; then
8088 echo $ECHO_N "(cached) $ECHO_C" >&6
8090 cat >conftest.
$ac_ext <<_ACEOF
8093 cat confdefs.h
>>conftest.
$ac_ext
8094 cat >>conftest.
$ac_ext <<_ACEOF
8095 /* end confdefs.h. */
8096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8098 #define $ac_func innocuous_$ac_func
8100 /* System header to define __stub macros and hopefully few prototypes,
8101 which can conflict with char $ac_func (); below.
8102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8103 <limits.h> exists even on freestanding compilers. */
8106 # include <limits.h>
8108 # include <assert.h>
8113 /* Override any gcc2 internal prototype to avoid an error. */
8118 /* We use char because int might match the return type of a gcc2
8119 builtin and then its argument prototype would still apply. */
8121 /* The GNU C library defines this for functions which it implements
8122 to always fail with ENOSYS. Some functions are actually named
8123 something starting with __ and the normal name is an alias. */
8124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8127 char (*f) () = $ac_func;
8136 return f != $ac_func;
8141 rm -f conftest.
$ac_objext conftest
$ac_exeext
8142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8143 (eval $ac_link) 2>conftest.er1
8145 grep -v '^ *+' conftest.er1
>conftest.err
8147 cat conftest.err
>&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); } &&
8150 { ac_try
='test -z "$ac_c_werror_flag"
8151 || test ! -s conftest.err'
8152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); }; } &&
8157 { ac_try
='test -s conftest$ac_exeext'
8158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); }; }; then
8163 eval "$as_ac_var=yes"
8165 echo "$as_me: failed program was:" >&5
8166 sed 's/^/| /' conftest.
$ac_ext >&5
8168 eval "$as_ac_var=no"
8170 rm -f conftest.err conftest.
$ac_objext \
8171 conftest
$ac_exeext conftest.
$ac_ext
8173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8175 if test `eval echo '${'$as_ac_var'}'` = yes; then
8176 cat >>confdefs.h
<<_ACEOF
8177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8184 echo "$as_me:$LINENO: checking whether basename is declared" >&5
8185 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
8186 if test "${ac_cv_have_decl_basename+set}" = set; then
8187 echo $ECHO_N "(cached) $ECHO_C" >&6
8189 cat >conftest.
$ac_ext <<_ACEOF
8192 cat confdefs.h
>>conftest.
$ac_ext
8193 cat >>conftest.
$ac_ext <<_ACEOF
8194 /* end confdefs.h. */
8195 $ac_includes_default
8200 char *p = (char *) basename;
8207 rm -f conftest.
$ac_objext
8208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8209 (eval $ac_compile) 2>conftest.er1
8211 grep -v '^ *+' conftest.er1
>conftest.err
8213 cat conftest.err
>&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } &&
8216 { ac_try
='test -z "$ac_c_werror_flag"
8217 || test ! -s conftest.err'
8218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); }; } &&
8223 { ac_try
='test -s conftest.$ac_objext'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; }; then
8229 ac_cv_have_decl_basename
=yes
8231 echo "$as_me: failed program was:" >&5
8232 sed 's/^/| /' conftest.
$ac_ext >&5
8234 ac_cv_have_decl_basename
=no
8236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8238 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
8239 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
8240 if test $ac_cv_have_decl_basename = yes; then
8242 cat >>confdefs.h
<<_ACEOF
8243 #define HAVE_DECL_BASENAME 1
8248 cat >>confdefs.h
<<_ACEOF
8249 #define HAVE_DECL_BASENAME 0
8256 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
8257 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
8258 if test "${ac_cv_have_decl_ftello+set}" = set; then
8259 echo $ECHO_N "(cached) $ECHO_C" >&6
8261 cat >conftest.
$ac_ext <<_ACEOF
8264 cat confdefs.h
>>conftest.
$ac_ext
8265 cat >>conftest.
$ac_ext <<_ACEOF
8266 /* end confdefs.h. */
8267 $ac_includes_default
8272 char *p = (char *) ftello;
8279 rm -f conftest.
$ac_objext
8280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8281 (eval $ac_compile) 2>conftest.er1
8283 grep -v '^ *+' conftest.er1
>conftest.err
8285 cat conftest.err
>&5
8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287 (exit $ac_status); } &&
8288 { ac_try
='test -z "$ac_c_werror_flag"
8289 || test ! -s conftest.err'
8290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); }; } &&
8295 { ac_try
='test -s conftest.$ac_objext'
8296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; }; then
8301 ac_cv_have_decl_ftello
=yes
8303 echo "$as_me: failed program was:" >&5
8304 sed 's/^/| /' conftest.
$ac_ext >&5
8306 ac_cv_have_decl_ftello
=no
8308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8310 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
8311 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
8312 if test $ac_cv_have_decl_ftello = yes; then
8314 cat >>confdefs.h
<<_ACEOF
8315 #define HAVE_DECL_FTELLO 1
8320 cat >>confdefs.h
<<_ACEOF
8321 #define HAVE_DECL_FTELLO 0
8328 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
8329 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
8330 if test "${ac_cv_have_decl_ftello64+set}" = set; then
8331 echo $ECHO_N "(cached) $ECHO_C" >&6
8333 cat >conftest.
$ac_ext <<_ACEOF
8336 cat confdefs.h
>>conftest.
$ac_ext
8337 cat >>conftest.
$ac_ext <<_ACEOF
8338 /* end confdefs.h. */
8339 $ac_includes_default
8344 char *p = (char *) ftello64;
8351 rm -f conftest.
$ac_objext
8352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8353 (eval $ac_compile) 2>conftest.er1
8355 grep -v '^ *+' conftest.er1
>conftest.err
8357 cat conftest.err
>&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); } &&
8360 { ac_try
='test -z "$ac_c_werror_flag"
8361 || test ! -s conftest.err'
8362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); }; } &&
8367 { ac_try
='test -s conftest.$ac_objext'
8368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); }; }; then
8373 ac_cv_have_decl_ftello64
=yes
8375 echo "$as_me: failed program was:" >&5
8376 sed 's/^/| /' conftest.
$ac_ext >&5
8378 ac_cv_have_decl_ftello64
=no
8380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8382 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
8383 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
8384 if test $ac_cv_have_decl_ftello64 = yes; then
8386 cat >>confdefs.h
<<_ACEOF
8387 #define HAVE_DECL_FTELLO64 1
8392 cat >>confdefs.h
<<_ACEOF
8393 #define HAVE_DECL_FTELLO64 0
8400 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
8401 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
8402 if test "${ac_cv_have_decl_fseeko+set}" = set; then
8403 echo $ECHO_N "(cached) $ECHO_C" >&6
8405 cat >conftest.
$ac_ext <<_ACEOF
8408 cat confdefs.h
>>conftest.
$ac_ext
8409 cat >>conftest.
$ac_ext <<_ACEOF
8410 /* end confdefs.h. */
8411 $ac_includes_default
8416 char *p = (char *) fseeko;
8423 rm -f conftest.
$ac_objext
8424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8425 (eval $ac_compile) 2>conftest.er1
8427 grep -v '^ *+' conftest.er1
>conftest.err
8429 cat conftest.err
>&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); } &&
8432 { ac_try
='test -z "$ac_c_werror_flag"
8433 || test ! -s conftest.err'
8434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438 (exit $ac_status); }; } &&
8439 { ac_try
='test -s conftest.$ac_objext'
8440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); }; }; then
8445 ac_cv_have_decl_fseeko
=yes
8447 echo "$as_me: failed program was:" >&5
8448 sed 's/^/| /' conftest.
$ac_ext >&5
8450 ac_cv_have_decl_fseeko
=no
8452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8454 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
8455 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
8456 if test $ac_cv_have_decl_fseeko = yes; then
8458 cat >>confdefs.h
<<_ACEOF
8459 #define HAVE_DECL_FSEEKO 1
8464 cat >>confdefs.h
<<_ACEOF
8465 #define HAVE_DECL_FSEEKO 0
8472 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
8473 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
8474 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
8475 echo $ECHO_N "(cached) $ECHO_C" >&6
8477 cat >conftest.
$ac_ext <<_ACEOF
8480 cat confdefs.h
>>conftest.
$ac_ext
8481 cat >>conftest.
$ac_ext <<_ACEOF
8482 /* end confdefs.h. */
8483 $ac_includes_default
8488 char *p = (char *) fseeko64;
8495 rm -f conftest.
$ac_objext
8496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8497 (eval $ac_compile) 2>conftest.er1
8499 grep -v '^ *+' conftest.er1
>conftest.err
8501 cat conftest.err
>&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); } &&
8504 { ac_try
='test -z "$ac_c_werror_flag"
8505 || test ! -s conftest.err'
8506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); }; } &&
8511 { ac_try
='test -s conftest.$ac_objext'
8512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 (exit $ac_status); }; }; then
8517 ac_cv_have_decl_fseeko64
=yes
8519 echo "$as_me: failed program was:" >&5
8520 sed 's/^/| /' conftest.
$ac_ext >&5
8522 ac_cv_have_decl_fseeko64
=no
8524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8526 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
8527 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
8528 if test $ac_cv_have_decl_fseeko64 = yes; then
8530 cat >>confdefs.h
<<_ACEOF
8531 #define HAVE_DECL_FSEEKO64 1
8536 cat >>confdefs.h
<<_ACEOF
8537 #define HAVE_DECL_FSEEKO64 0
8547 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
8549 cat >>confdefs.h
<<\_ACEOF
8550 #define USE_BINARY_FOPEN 1
8555 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
8556 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
8557 if test "${ac_cv_have_decl_ffs+set}" = set; then
8558 echo $ECHO_N "(cached) $ECHO_C" >&6
8560 cat >conftest.
$ac_ext <<_ACEOF
8563 cat confdefs.h
>>conftest.
$ac_ext
8564 cat >>conftest.
$ac_ext <<_ACEOF
8565 /* end confdefs.h. */
8566 $ac_includes_default
8571 char *p = (char *) ffs;
8578 rm -f conftest.
$ac_objext
8579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8580 (eval $ac_compile) 2>conftest.er1
8582 grep -v '^ *+' conftest.er1
>conftest.err
8584 cat conftest.err
>&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } &&
8587 { ac_try
='test -z "$ac_c_werror_flag"
8588 || test ! -s conftest.err'
8589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); }; } &&
8594 { ac_try
='test -s conftest.$ac_objext'
8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); }; }; then
8600 ac_cv_have_decl_ffs
=yes
8602 echo "$as_me: failed program was:" >&5
8603 sed 's/^/| /' conftest.
$ac_ext >&5
8605 ac_cv_have_decl_ffs
=no
8607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8609 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
8610 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
8611 if test $ac_cv_have_decl_ffs = yes; then
8613 cat >>confdefs.h
<<_ACEOF
8614 #define HAVE_DECL_FFS 1
8619 cat >>confdefs.h
<<_ACEOF
8620 #define HAVE_DECL_FFS 0
8627 echo "$as_me:$LINENO: checking whether free is declared" >&5
8628 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
8629 if test "${ac_cv_have_decl_free+set}" = set; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 cat >conftest.
$ac_ext <<_ACEOF
8635 cat confdefs.h
>>conftest.
$ac_ext
8636 cat >>conftest.
$ac_ext <<_ACEOF
8637 /* end confdefs.h. */
8638 $ac_includes_default
8643 char *p = (char *) free;
8650 rm -f conftest.
$ac_objext
8651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8652 (eval $ac_compile) 2>conftest.er1
8654 grep -v '^ *+' conftest.er1
>conftest.err
8656 cat conftest.err
>&5
8657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8658 (exit $ac_status); } &&
8659 { ac_try
='test -z "$ac_c_werror_flag"
8660 || test ! -s conftest.err'
8661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 (exit $ac_status); }; } &&
8666 { ac_try
='test -s conftest.$ac_objext'
8667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); }; }; then
8672 ac_cv_have_decl_free
=yes
8674 echo "$as_me: failed program was:" >&5
8675 sed 's/^/| /' conftest.
$ac_ext >&5
8677 ac_cv_have_decl_free
=no
8679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8681 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
8682 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
8683 if test $ac_cv_have_decl_free = yes; then
8685 cat >>confdefs.h
<<_ACEOF
8686 #define HAVE_DECL_FREE 1
8691 cat >>confdefs.h
<<_ACEOF
8692 #define HAVE_DECL_FREE 0
8699 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
8700 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
8701 if test "${ac_cv_have_decl_getenv+set}" = set; then
8702 echo $ECHO_N "(cached) $ECHO_C" >&6
8704 cat >conftest.
$ac_ext <<_ACEOF
8707 cat confdefs.h
>>conftest.
$ac_ext
8708 cat >>conftest.
$ac_ext <<_ACEOF
8709 /* end confdefs.h. */
8710 $ac_includes_default
8715 char *p = (char *) getenv;
8722 rm -f conftest.
$ac_objext
8723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8724 (eval $ac_compile) 2>conftest.er1
8726 grep -v '^ *+' conftest.er1
>conftest.err
8728 cat conftest.err
>&5
8729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730 (exit $ac_status); } &&
8731 { ac_try
='test -z "$ac_c_werror_flag"
8732 || test ! -s conftest.err'
8733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 (exit $ac_status); }; } &&
8738 { ac_try
='test -s conftest.$ac_objext'
8739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); }; }; then
8744 ac_cv_have_decl_getenv
=yes
8746 echo "$as_me: failed program was:" >&5
8747 sed 's/^/| /' conftest.
$ac_ext >&5
8749 ac_cv_have_decl_getenv
=no
8751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8753 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
8754 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
8755 if test $ac_cv_have_decl_getenv = yes; then
8757 cat >>confdefs.h
<<_ACEOF
8758 #define HAVE_DECL_GETENV 1
8763 cat >>confdefs.h
<<_ACEOF
8764 #define HAVE_DECL_GETENV 0
8771 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
8772 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
8773 if test "${ac_cv_have_decl_malloc+set}" = set; then
8774 echo $ECHO_N "(cached) $ECHO_C" >&6
8776 cat >conftest.
$ac_ext <<_ACEOF
8779 cat confdefs.h
>>conftest.
$ac_ext
8780 cat >>conftest.
$ac_ext <<_ACEOF
8781 /* end confdefs.h. */
8782 $ac_includes_default
8787 char *p = (char *) malloc;
8794 rm -f conftest.
$ac_objext
8795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8796 (eval $ac_compile) 2>conftest.er1
8798 grep -v '^ *+' conftest.er1
>conftest.err
8800 cat conftest.err
>&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } &&
8803 { ac_try
='test -z "$ac_c_werror_flag"
8804 || test ! -s conftest.err'
8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); }; } &&
8810 { ac_try
='test -s conftest.$ac_objext'
8811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); }; }; then
8816 ac_cv_have_decl_malloc
=yes
8818 echo "$as_me: failed program was:" >&5
8819 sed 's/^/| /' conftest.
$ac_ext >&5
8821 ac_cv_have_decl_malloc
=no
8823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8825 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
8826 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
8827 if test $ac_cv_have_decl_malloc = yes; then
8829 cat >>confdefs.h
<<_ACEOF
8830 #define HAVE_DECL_MALLOC 1
8835 cat >>confdefs.h
<<_ACEOF
8836 #define HAVE_DECL_MALLOC 0
8843 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
8844 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
8845 if test "${ac_cv_have_decl_realloc+set}" = set; then
8846 echo $ECHO_N "(cached) $ECHO_C" >&6
8848 cat >conftest.
$ac_ext <<_ACEOF
8851 cat confdefs.h
>>conftest.
$ac_ext
8852 cat >>conftest.
$ac_ext <<_ACEOF
8853 /* end confdefs.h. */
8854 $ac_includes_default
8859 char *p = (char *) realloc;
8866 rm -f conftest.
$ac_objext
8867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8868 (eval $ac_compile) 2>conftest.er1
8870 grep -v '^ *+' conftest.er1
>conftest.err
8872 cat conftest.err
>&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); } &&
8875 { ac_try
='test -z "$ac_c_werror_flag"
8876 || test ! -s conftest.err'
8877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 (exit $ac_status); }; } &&
8882 { ac_try
='test -s conftest.$ac_objext'
8883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); }; }; then
8888 ac_cv_have_decl_realloc
=yes
8890 echo "$as_me: failed program was:" >&5
8891 sed 's/^/| /' conftest.
$ac_ext >&5
8893 ac_cv_have_decl_realloc
=no
8895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8897 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
8898 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
8899 if test $ac_cv_have_decl_realloc = yes; then
8901 cat >>confdefs.h
<<_ACEOF
8902 #define HAVE_DECL_REALLOC 1
8907 cat >>confdefs.h
<<_ACEOF
8908 #define HAVE_DECL_REALLOC 0
8915 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
8916 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
8917 if test "${ac_cv_have_decl_stpcpy+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 $ac_includes_default
8931 char *p = (char *) stpcpy;
8938 rm -f conftest.
$ac_objext
8939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8940 (eval $ac_compile) 2>conftest.er1
8942 grep -v '^ *+' conftest.er1
>conftest.err
8944 cat conftest.err
>&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); } &&
8947 { ac_try
='test -z "$ac_c_werror_flag"
8948 || test ! -s conftest.err'
8949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 (exit $ac_status); }; } &&
8954 { ac_try
='test -s conftest.$ac_objext'
8955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; }; then
8960 ac_cv_have_decl_stpcpy
=yes
8962 echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.
$ac_ext >&5
8965 ac_cv_have_decl_stpcpy
=no
8967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8969 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
8970 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
8971 if test $ac_cv_have_decl_stpcpy = yes; then
8973 cat >>confdefs.h
<<_ACEOF
8974 #define HAVE_DECL_STPCPY 1
8979 cat >>confdefs.h
<<_ACEOF
8980 #define HAVE_DECL_STPCPY 0
8987 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
8988 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
8989 if test "${ac_cv_have_decl_strstr+set}" = set; then
8990 echo $ECHO_N "(cached) $ECHO_C" >&6
8992 cat >conftest.
$ac_ext <<_ACEOF
8995 cat confdefs.h
>>conftest.
$ac_ext
8996 cat >>conftest.
$ac_ext <<_ACEOF
8997 /* end confdefs.h. */
8998 $ac_includes_default
9003 char *p = (char *) strstr;
9010 rm -f conftest.
$ac_objext
9011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9012 (eval $ac_compile) 2>conftest.er1
9014 grep -v '^ *+' conftest.er1
>conftest.err
9016 cat conftest.err
>&5
9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 (exit $ac_status); } &&
9019 { ac_try
='test -z "$ac_c_werror_flag"
9020 || test ! -s conftest.err'
9021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); }; } &&
9026 { ac_try
='test -s conftest.$ac_objext'
9027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); }; }; then
9032 ac_cv_have_decl_strstr
=yes
9034 echo "$as_me: failed program was:" >&5
9035 sed 's/^/| /' conftest.
$ac_ext >&5
9037 ac_cv_have_decl_strstr
=no
9039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9041 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
9042 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
9043 if test $ac_cv_have_decl_strstr = yes; then
9045 cat >>confdefs.h
<<_ACEOF
9046 #define HAVE_DECL_STRSTR 1
9051 cat >>confdefs.h
<<_ACEOF
9052 #define HAVE_DECL_STRSTR 0
9059 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
9060 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
9061 if test "${ac_cv_have_decl_snprintf+set}" = set; then
9062 echo $ECHO_N "(cached) $ECHO_C" >&6
9064 cat >conftest.
$ac_ext <<_ACEOF
9067 cat confdefs.h
>>conftest.
$ac_ext
9068 cat >>conftest.
$ac_ext <<_ACEOF
9069 /* end confdefs.h. */
9070 $ac_includes_default
9075 char *p = (char *) snprintf;
9082 rm -f conftest.
$ac_objext
9083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9084 (eval $ac_compile) 2>conftest.er1
9086 grep -v '^ *+' conftest.er1
>conftest.err
9088 cat conftest.err
>&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 (exit $ac_status); } &&
9091 { ac_try
='test -z "$ac_c_werror_flag"
9092 || test ! -s conftest.err'
9093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9097 (exit $ac_status); }; } &&
9098 { ac_try
='test -s conftest.$ac_objext'
9099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); }; }; then
9104 ac_cv_have_decl_snprintf
=yes
9106 echo "$as_me: failed program was:" >&5
9107 sed 's/^/| /' conftest.
$ac_ext >&5
9109 ac_cv_have_decl_snprintf
=no
9111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9113 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
9114 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
9115 if test $ac_cv_have_decl_snprintf = yes; then
9117 cat >>confdefs.h
<<_ACEOF
9118 #define HAVE_DECL_SNPRINTF 1
9123 cat >>confdefs.h
<<_ACEOF
9124 #define HAVE_DECL_SNPRINTF 0
9131 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
9132 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
9133 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
9134 echo $ECHO_N "(cached) $ECHO_C" >&6
9136 cat >conftest.
$ac_ext <<_ACEOF
9139 cat confdefs.h
>>conftest.
$ac_ext
9140 cat >>conftest.
$ac_ext <<_ACEOF
9141 /* end confdefs.h. */
9142 $ac_includes_default
9147 char *p = (char *) vsnprintf;
9154 rm -f conftest.
$ac_objext
9155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9156 (eval $ac_compile) 2>conftest.er1
9158 grep -v '^ *+' conftest.er1
>conftest.err
9160 cat conftest.err
>&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); } &&
9163 { ac_try
='test -z "$ac_c_werror_flag"
9164 || test ! -s conftest.err'
9165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); }; } &&
9170 { ac_try
='test -s conftest.$ac_objext'
9171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9175 (exit $ac_status); }; }; then
9176 ac_cv_have_decl_vsnprintf
=yes
9178 echo "$as_me: failed program was:" >&5
9179 sed 's/^/| /' conftest.
$ac_ext >&5
9181 ac_cv_have_decl_vsnprintf
=no
9183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9185 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
9186 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
9187 if test $ac_cv_have_decl_vsnprintf = yes; then
9189 cat >>confdefs.h
<<_ACEOF
9190 #define HAVE_DECL_VSNPRINTF 1
9195 cat >>confdefs.h
<<_ACEOF
9196 #define HAVE_DECL_VSNPRINTF 0
9204 # If we are configured native, pick a core file support file.
9208 if test "${target}" = "${host}"; then
9210 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
9214 COREFILE
=trad-core.lo
9215 TRAD_HEADER
='"hosts/alphalinux.h"'
9217 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
9218 COREFILE
=netbsd-core.lo
9220 alpha
*-*-*) COREFILE
=osf-core.lo
;;
9221 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
9223 arm-
*-netbsd* | arm-
*-openbsd*)
9224 COREFILE
=netbsd-core.lo
9226 arm-
*-riscix) COREFILE
=trad-core.lo
;;
9227 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
9228 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
9229 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
9230 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
9231 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
9232 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
9233 COREFILE
=netbsd-core.lo
9237 COREFILE
=trad-core.lo
9238 TRAD_HEADER
='"hosts/i370linux.h"'
9241 i
[3-7]86-sequent-bsd*)
9242 COREFILE
=trad-core.lo
9243 TRAD_HEADER
='"hosts/symmetry.h"'
9245 i
[3-7]86-sequent-sysv4*) ;;
9246 i
[3-7]86-sequent-sysv*)
9247 COREFILE
=trad-core.lo
9248 TRAD_HEADER
='"hosts/symmetry.h"'
9253 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
*)
9254 COREFILE
=trad-core.lo
9255 TRAD_HEADER
='"hosts/i386bsd.h"'
9257 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
9259 TRAD_HEADER
='"hosts/i386bsd.h"'
9261 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
9262 COREFILE
=netbsd-core.lo
9264 i
[3-7]86-esix-sysv3*)
9265 COREFILE
=trad-core.lo
9266 TRAD_HEADER
='"hosts/esix.h"'
9268 i
[3-7]86-*-sco3.2v5
*)
9269 COREFILE
=sco5-core.lo
9271 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
9272 COREFILE
=trad-core.lo
9273 TRAD_HEADER
='"hosts/i386sco.h"'
9276 COREFILE
=trad-core.lo
9277 TRAD_HEADER
='"hosts/i386mach3.h"'
9280 COREFILE
=trad-core.lo
9281 TRAD_HEADER
='"hosts/i386linux.h"'
9283 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
9284 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
9285 i860-
*-mach3* | i860-
*-osf1*)
9286 COREFILE
=trad-core.lo
9287 TRAD_HEADER
='"hosts/i860mach3.h"'
9289 mips-
*-netbsd* | mips
*-*-openbsd*)
9290 COREFILE
=netbsd-core.lo
9293 COREFILE
=trad-core.lo
9294 TRAD_HEADER
='"hosts/decstation.h"'
9296 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
9297 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
9298 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
9300 mips-
*-sysv* | mips-
*-riscos*)
9301 COREFILE
=trad-core.lo
9302 TRAD_HEADER
='"hosts/riscos.h"'
9305 COREFILE
=trad-core.lo
9306 TRAD_HEADER
='"hosts/news-mips.h"'
9309 COREFILE
=trad-core.lo
9310 TRAD_HEADER
='"hosts/dpx2.h"'
9312 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
9314 COREFILE
=trad-core.lo
9315 TRAD_HEADER
='"hosts/hp300bsd.h"'
9318 COREFILE
=trad-core.lo
9319 TRAD_HEADER
='"hosts/m68klinux.h"'
9321 m68
*-motorola-sysv*)
9322 COREFILE
=trad-core.lo
9323 TRAD_HEADER
='"hosts/delta68.h"'
9326 COREFILE
=trad-core.lo
9327 TRAD_HEADER
='"hosts/news.h"'
9329 m68
*-*-netbsd* | m68
*-*-openbsd*)
9330 COREFILE
=netbsd-core.lo
9333 COREFILE
=trad-core.lo
9334 TRAD_HEADER
='"hosts/m68kaux.h"'
9338 m88
*-motorola-sysv*)
9339 COREFILE
=ptrace-core.lo
9342 COREFILE
=trad-core.lo
9343 TRAD_HEADER
='"hosts/m88kmach3.h"'
9346 COREFILE
=netbsd-core.lo
9349 COREFILE
=trad-core.lo
9350 TRAD_HEADER
='"hosts/pc532mach.h"'
9352 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
9353 COREFILE
=netbsd-core.lo
9356 COREFILE
=lynx-core.lo
9358 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
9359 COREFILE
=rs6000-core.lo
9360 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
9362 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
9363 COREFILE
=rs6000-core.lo
9364 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
9365 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
9366 # have c_impl as a member of struct core_dumpx
9367 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
9368 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
9369 cat >conftest.
$ac_ext <<_ACEOF
9372 cat confdefs.h
>>conftest.
$ac_ext
9373 cat >>conftest.
$ac_ext <<_ACEOF
9374 /* end confdefs.h. */
9379 struct core_dumpx c; c.c_impl = 0;
9384 rm -f conftest.
$ac_objext
9385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9386 (eval $ac_compile) 2>conftest.er1
9388 grep -v '^ *+' conftest.er1
>conftest.err
9390 cat conftest.err
>&5
9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392 (exit $ac_status); } &&
9393 { ac_try
='test -z "$ac_c_werror_flag"
9394 || test ! -s conftest.err'
9395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); }; } &&
9400 { ac_try
='test -s conftest.$ac_objext'
9401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 (exit $ac_status); }; }; then
9407 cat >>confdefs.h
<<\_ACEOF
9408 #define HAVE_ST_C_IMPL 1
9411 echo "$as_me:$LINENO: result: yes" >&5
9412 echo "${ECHO_T}yes" >&6
9414 echo "$as_me: failed program was:" >&5
9415 sed 's/^/| /' conftest.
$ac_ext >&5
9417 echo "$as_me:$LINENO: result: no" >&5
9418 echo "${ECHO_T}no" >&6
9420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9422 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
9423 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
9424 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
9425 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
9427 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
9429 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
9430 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
9431 s390
*-*-*) COREFILE
=trad-core.lo
;;
9432 sh
*-*-netbsd* | sh
*-*-openbsd*)
9433 COREFILE
=netbsd-core.lo
9435 sparc-
*-netbsd* | sparc
*-*-openbsd*)
9436 COREFILE
=netbsd-core.lo
9439 COREFILE
=trad-core.lo
9440 TRAD_HEADER
='"hosts/tahoe.h"'
9442 vax-
*-netbsd* | vax-
*-openbsd*)
9443 COREFILE
=netbsd-core.lo
9446 COREFILE
=trad-core.lo
9447 TRAD_HEADER
='"hosts/vaxult2.h"'
9450 COREFILE
=trad-core.lo
9451 TRAD_HEADER
='"hosts/vaxult2.h"'
9454 COREFILE
=trad-core.lo
9455 TRAD_HEADER
='"hosts/vaxlinux.h"'
9458 COREFILE
=trad-core.lo
9459 TRAD_HEADER
='"hosts/vaxbsd.h"'
9461 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
9462 COREFILE
=netbsd-core.lo
9467 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
9468 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
9469 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
9470 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
9471 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
9472 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
9473 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
9474 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
9475 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
9476 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
9477 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
9480 # ELF corefile support has several flavors, but all of
9481 # them use something called <sys/procfs.h>
9483 for ac_header
in sys
/procfs.h
9485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9487 echo "$as_me:$LINENO: checking for $ac_header" >&5
9488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9490 echo $ECHO_N "(cached) $ECHO_C" >&6
9492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9495 # Is the header compilable?
9496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9498 cat >conftest.
$ac_ext <<_ACEOF
9501 cat confdefs.h
>>conftest.
$ac_ext
9502 cat >>conftest.
$ac_ext <<_ACEOF
9503 /* end confdefs.h. */
9504 $ac_includes_default
9505 #include <$ac_header>
9507 rm -f conftest.
$ac_objext
9508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9509 (eval $ac_compile) 2>conftest.er1
9511 grep -v '^ *+' conftest.er1
>conftest.err
9513 cat conftest.err
>&5
9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 (exit $ac_status); } &&
9516 { ac_try
='test -z "$ac_c_werror_flag"
9517 || test ! -s conftest.err'
9518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522 (exit $ac_status); }; } &&
9523 { ac_try
='test -s conftest.$ac_objext'
9524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); }; }; then
9529 ac_header_compiler
=yes
9531 echo "$as_me: failed program was:" >&5
9532 sed 's/^/| /' conftest.
$ac_ext >&5
9534 ac_header_compiler
=no
9536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9538 echo "${ECHO_T}$ac_header_compiler" >&6
9540 # Is the header present?
9541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9543 cat >conftest.
$ac_ext <<_ACEOF
9546 cat confdefs.h
>>conftest.
$ac_ext
9547 cat >>conftest.
$ac_ext <<_ACEOF
9548 /* end confdefs.h. */
9549 #include <$ac_header>
9551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9554 grep -v '^ *+' conftest.er1
>conftest.err
9556 cat conftest.err
>&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); } >/dev
/null
; then
9559 if test -s conftest.err
; then
9560 ac_cpp_err
=$ac_c_preproc_warn_flag
9561 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9568 if test -z "$ac_cpp_err"; then
9569 ac_header_preproc
=yes
9571 echo "$as_me: failed program was:" >&5
9572 sed 's/^/| /' conftest.
$ac_ext >&5
9574 ac_header_preproc
=no
9576 rm -f conftest.err conftest.
$ac_ext
9577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9578 echo "${ECHO_T}$ac_header_preproc" >&6
9580 # So? What about this header?
9581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9586 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9587 ac_header_preproc
=yes
9590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9595 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9597 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9601 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9604 ## ------------------------------------------ ##
9605 ## Report this to the AC_PACKAGE_NAME lists. ##
9606 ## ------------------------------------------ ##
9609 sed "s/^/$as_me: WARNING: /" >&2
9612 echo "$as_me:$LINENO: checking for $ac_header" >&5
9613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9615 echo $ECHO_N "(cached) $ECHO_C" >&6
9617 eval "$as_ac_Header=\$ac_header_preproc"
9619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9624 cat >>confdefs.h
<<_ACEOF
9625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9632 if test "$ac_cv_header_sys_procfs_h" = yes; then
9633 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
9634 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
9635 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
9636 echo $ECHO_N "(cached) $ECHO_C" >&6
9638 cat >conftest.
$ac_ext <<_ACEOF
9641 cat confdefs.h
>>conftest.
$ac_ext
9642 cat >>conftest.
$ac_ext <<_ACEOF
9643 /* end confdefs.h. */
9646 #include <sys/procfs.h>
9655 rm -f conftest.
$ac_objext
9656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9657 (eval $ac_compile) 2>conftest.er1
9659 grep -v '^ *+' conftest.er1
>conftest.err
9661 cat conftest.err
>&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); } &&
9664 { ac_try
='test -z "$ac_c_werror_flag"
9665 || test ! -s conftest.err'
9666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); }; } &&
9671 { ac_try
='test -s conftest.$ac_objext'
9672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; }; then
9677 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
9679 echo "$as_me: failed program was:" >&5
9680 sed 's/^/| /' conftest.
$ac_ext >&5
9682 bfd_cv_have_sys_procfs_type_prstatus_t
=no
9685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9688 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
9690 cat >>confdefs.h
<<\_ACEOF
9691 #define HAVE_PRSTATUS_T 1
9695 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
9696 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
9698 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
9699 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
9700 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
9701 echo $ECHO_N "(cached) $ECHO_C" >&6
9703 cat >conftest.
$ac_ext <<_ACEOF
9706 cat confdefs.h
>>conftest.
$ac_ext
9707 cat >>conftest.
$ac_ext <<_ACEOF
9708 /* end confdefs.h. */
9711 #include <sys/procfs.h>
9720 rm -f conftest.
$ac_objext
9721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9722 (eval $ac_compile) 2>conftest.er1
9724 grep -v '^ *+' conftest.er1
>conftest.err
9726 cat conftest.err
>&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); } &&
9729 { ac_try
='test -z "$ac_c_werror_flag"
9730 || test ! -s conftest.err'
9731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); }; } &&
9736 { ac_try
='test -s conftest.$ac_objext'
9737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); }; }; then
9742 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
9744 echo "$as_me: failed program was:" >&5
9745 sed 's/^/| /' conftest.
$ac_ext >&5
9747 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
9750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9753 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
9755 cat >>confdefs.h
<<\_ACEOF
9756 #define HAVE_PRSTATUS32_T 1
9760 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
9761 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
9763 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
9764 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
9765 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9768 cat >conftest.
$ac_ext <<_ACEOF
9771 cat confdefs.h
>>conftest.
$ac_ext
9772 cat >>conftest.
$ac_ext <<_ACEOF
9773 /* end confdefs.h. */
9776 #include <sys/procfs.h>
9780 prstatus_t avar; void* aref = (void*) &avar.pr_who
9785 rm -f conftest.
$ac_objext
9786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9787 (eval $ac_compile) 2>conftest.er1
9789 grep -v '^ *+' conftest.er1
>conftest.err
9791 cat conftest.err
>&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); } &&
9794 { ac_try
='test -z "$ac_c_werror_flag"
9795 || test ! -s conftest.err'
9796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9800 (exit $ac_status); }; } &&
9801 { ac_try
='test -s conftest.$ac_objext'
9802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806 (exit $ac_status); }; }; then
9807 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
9809 echo "$as_me: failed program was:" >&5
9810 sed 's/^/| /' conftest.
$ac_ext >&5
9812 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
9815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9818 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
9820 cat >>confdefs.h
<<\_ACEOF
9821 #define HAVE_PRSTATUS_T_PR_WHO 1
9825 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
9826 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
9828 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
9829 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
9830 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
9831 echo $ECHO_N "(cached) $ECHO_C" >&6
9833 cat >conftest.
$ac_ext <<_ACEOF
9836 cat confdefs.h
>>conftest.
$ac_ext
9837 cat >>conftest.
$ac_ext <<_ACEOF
9838 /* end confdefs.h. */
9841 #include <sys/procfs.h>
9845 prstatus32_t avar; void* aref = (void*) &avar.pr_who
9850 rm -f conftest.
$ac_objext
9851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9852 (eval $ac_compile) 2>conftest.er1
9854 grep -v '^ *+' conftest.er1
>conftest.err
9856 cat conftest.err
>&5
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); } &&
9859 { ac_try
='test -z "$ac_c_werror_flag"
9860 || test ! -s conftest.err'
9861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); }; } &&
9866 { ac_try
='test -s conftest.$ac_objext'
9867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9871 (exit $ac_status); }; }; then
9872 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
9874 echo "$as_me: failed program was:" >&5
9875 sed 's/^/| /' conftest.
$ac_ext >&5
9877 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
9880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9883 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
9885 cat >>confdefs.h
<<\_ACEOF
9886 #define HAVE_PRSTATUS32_T_PR_WHO 1
9890 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
9891 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
9893 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
9894 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
9895 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 cat >conftest.
$ac_ext <<_ACEOF
9901 cat confdefs.h
>>conftest.
$ac_ext
9902 cat >>conftest.
$ac_ext <<_ACEOF
9903 /* end confdefs.h. */
9906 #include <sys/procfs.h>
9915 rm -f conftest.
$ac_objext
9916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9917 (eval $ac_compile) 2>conftest.er1
9919 grep -v '^ *+' conftest.er1
>conftest.err
9921 cat conftest.err
>&5
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); } &&
9924 { ac_try
='test -z "$ac_c_werror_flag"
9925 || test ! -s conftest.err'
9926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); }; } &&
9931 { ac_try
='test -s conftest.$ac_objext'
9932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; }; then
9937 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
9939 echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.
$ac_ext >&5
9942 bfd_cv_have_sys_procfs_type_pstatus_t
=no
9945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9948 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
9950 cat >>confdefs.h
<<\_ACEOF
9951 #define HAVE_PSTATUS_T 1
9955 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
9956 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
9958 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
9959 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
9960 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
9961 echo $ECHO_N "(cached) $ECHO_C" >&6
9963 cat >conftest.
$ac_ext <<_ACEOF
9966 cat confdefs.h
>>conftest.
$ac_ext
9967 cat >>conftest.
$ac_ext <<_ACEOF
9968 /* end confdefs.h. */
9971 #include <sys/procfs.h>
9980 rm -f conftest.
$ac_objext
9981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9982 (eval $ac_compile) 2>conftest.er1
9984 grep -v '^ *+' conftest.er1
>conftest.err
9986 cat conftest.err
>&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); } &&
9989 { ac_try
='test -z "$ac_c_werror_flag"
9990 || test ! -s conftest.err'
9991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); }; } &&
9996 { ac_try
='test -s conftest.$ac_objext'
9997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); }; }; then
10002 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
10004 echo "$as_me: failed program was:" >&5
10005 sed 's/^/| /' conftest.
$ac_ext >&5
10007 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
10010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10013 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
10015 cat >>confdefs.h
<<\_ACEOF
10016 #define HAVE_PXSTATUS_T 1
10020 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
10021 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
10023 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
10024 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
10025 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
10026 echo $ECHO_N "(cached) $ECHO_C" >&6
10028 cat >conftest.
$ac_ext <<_ACEOF
10031 cat confdefs.h
>>conftest.
$ac_ext
10032 cat >>conftest.
$ac_ext <<_ACEOF
10033 /* end confdefs.h. */
10036 #include <sys/procfs.h>
10045 rm -f conftest.
$ac_objext
10046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10047 (eval $ac_compile) 2>conftest.er1
10049 grep -v '^ *+' conftest.er1
>conftest.err
10051 cat conftest.err
>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); } &&
10054 { ac_try
='test -z "$ac_c_werror_flag"
10055 || test ! -s conftest.err'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; } &&
10061 { ac_try
='test -s conftest.$ac_objext'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; }; then
10067 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.
$ac_ext >&5
10072 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
10075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10078 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
10080 cat >>confdefs.h
<<\_ACEOF
10081 #define HAVE_PSTATUS32_T 1
10085 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
10086 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
10088 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
10089 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
10090 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
10091 echo $ECHO_N "(cached) $ECHO_C" >&6
10093 cat >conftest.
$ac_ext <<_ACEOF
10096 cat confdefs.h
>>conftest.
$ac_ext
10097 cat >>conftest.
$ac_ext <<_ACEOF
10098 /* end confdefs.h. */
10101 #include <sys/procfs.h>
10110 rm -f conftest.
$ac_objext
10111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10112 (eval $ac_compile) 2>conftest.er1
10114 grep -v '^ *+' conftest.er1
>conftest.err
10116 cat conftest.err
>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } &&
10119 { ac_try
='test -z "$ac_c_werror_flag"
10120 || test ! -s conftest.err'
10121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10122 (eval $ac_try) 2>&5
10124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10125 (exit $ac_status); }; } &&
10126 { ac_try
='test -s conftest.$ac_objext'
10127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10128 (eval $ac_try) 2>&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); }; }; then
10132 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
10134 echo "$as_me: failed program was:" >&5
10135 sed 's/^/| /' conftest.
$ac_ext >&5
10137 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
10140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10143 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
10145 cat >>confdefs.h
<<\_ACEOF
10146 #define HAVE_PRPSINFO_T 1
10150 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
10151 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
10153 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
10154 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
10155 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 cat >conftest.
$ac_ext <<_ACEOF
10161 cat confdefs.h
>>conftest.
$ac_ext
10162 cat >>conftest.
$ac_ext <<_ACEOF
10163 /* end confdefs.h. */
10166 #include <sys/procfs.h>
10175 rm -f conftest.
$ac_objext
10176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10177 (eval $ac_compile) 2>conftest.er1
10179 grep -v '^ *+' conftest.er1
>conftest.err
10181 cat conftest.err
>&5
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); } &&
10184 { ac_try
='test -z "$ac_c_werror_flag"
10185 || test ! -s conftest.err'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; } &&
10191 { ac_try
='test -s conftest.$ac_objext'
10192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10193 (eval $ac_try) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; }; then
10197 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
10199 echo "$as_me: failed program was:" >&5
10200 sed 's/^/| /' conftest.
$ac_ext >&5
10202 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
10205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10208 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
10210 cat >>confdefs.h
<<\_ACEOF
10211 #define HAVE_PRPSINFO32_T 1
10215 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
10216 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
10218 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
10219 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
10220 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 cat >conftest.
$ac_ext <<_ACEOF
10226 cat confdefs.h
>>conftest.
$ac_ext
10227 cat >>conftest.
$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10231 #include <sys/procfs.h>
10240 rm -f conftest.
$ac_objext
10241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10242 (eval $ac_compile) 2>conftest.er1
10244 grep -v '^ *+' conftest.er1
>conftest.err
10246 cat conftest.err
>&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); } &&
10249 { ac_try
='test -z "$ac_c_werror_flag"
10250 || test ! -s conftest.err'
10251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10252 (eval $ac_try) 2>&5
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); }; } &&
10256 { ac_try
='test -s conftest.$ac_objext'
10257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10258 (eval $ac_try) 2>&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }; }; then
10262 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.
$ac_ext >&5
10267 bfd_cv_have_sys_procfs_type_psinfo_t
=no
10270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10273 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
10275 cat >>confdefs.h
<<\_ACEOF
10276 #define HAVE_PSINFO_T 1
10280 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
10281 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
10283 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
10284 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
10285 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10288 cat >conftest.
$ac_ext <<_ACEOF
10291 cat confdefs.h
>>conftest.
$ac_ext
10292 cat >>conftest.
$ac_ext <<_ACEOF
10293 /* end confdefs.h. */
10296 #include <sys/procfs.h>
10305 rm -f conftest.
$ac_objext
10306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10307 (eval $ac_compile) 2>conftest.er1
10309 grep -v '^ *+' conftest.er1
>conftest.err
10311 cat conftest.err
>&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); } &&
10314 { ac_try
='test -z "$ac_c_werror_flag"
10315 || test ! -s conftest.err'
10316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10317 (eval $ac_try) 2>&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); }; } &&
10321 { ac_try
='test -s conftest.$ac_objext'
10322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10323 (eval $ac_try) 2>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); }; }; then
10327 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
10329 echo "$as_me: failed program was:" >&5
10330 sed 's/^/| /' conftest.
$ac_ext >&5
10332 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
10335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10338 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
10340 cat >>confdefs.h
<<\_ACEOF
10341 #define HAVE_PSINFO32_T 1
10345 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
10346 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
10348 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
10349 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
10350 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
10351 echo $ECHO_N "(cached) $ECHO_C" >&6
10353 cat >conftest.
$ac_ext <<_ACEOF
10356 cat confdefs.h
>>conftest.
$ac_ext
10357 cat >>conftest.
$ac_ext <<_ACEOF
10358 /* end confdefs.h. */
10361 #include <sys/procfs.h>
10370 rm -f conftest.
$ac_objext
10371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10372 (eval $ac_compile) 2>conftest.er1
10374 grep -v '^ *+' conftest.er1
>conftest.err
10376 cat conftest.err
>&5
10377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378 (exit $ac_status); } &&
10379 { ac_try
='test -z "$ac_c_werror_flag"
10380 || test ! -s conftest.err'
10381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10382 (eval $ac_try) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); }; } &&
10386 { ac_try
='test -s conftest.$ac_objext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10392 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
10394 echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.
$ac_ext >&5
10397 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
10400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10403 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
10405 cat >>confdefs.h
<<\_ACEOF
10406 #define HAVE_LWPSTATUS_T 1
10410 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
10411 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
10413 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
10414 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
10415 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
10416 echo $ECHO_N "(cached) $ECHO_C" >&6
10418 cat >conftest.
$ac_ext <<_ACEOF
10421 cat confdefs.h
>>conftest.
$ac_ext
10422 cat >>conftest.
$ac_ext <<_ACEOF
10423 /* end confdefs.h. */
10426 #include <sys/procfs.h>
10435 rm -f conftest.
$ac_objext
10436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10437 (eval $ac_compile) 2>conftest.er1
10439 grep -v '^ *+' conftest.er1
>conftest.err
10441 cat conftest.err
>&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); } &&
10444 { ac_try
='test -z "$ac_c_werror_flag"
10445 || test ! -s conftest.err'
10446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10447 (eval $ac_try) 2>&5
10449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 (exit $ac_status); }; } &&
10451 { ac_try
='test -s conftest.$ac_objext'
10452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10453 (eval $ac_try) 2>&5
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); }; }; then
10457 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
10459 echo "$as_me: failed program was:" >&5
10460 sed 's/^/| /' conftest.
$ac_ext >&5
10462 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
10465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10468 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
10470 cat >>confdefs.h
<<\_ACEOF
10471 #define HAVE_LWPXSTATUS_T 1
10475 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
10476 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
10478 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
10479 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
10480 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
10481 echo $ECHO_N "(cached) $ECHO_C" >&6
10483 cat >conftest.
$ac_ext <<_ACEOF
10486 cat confdefs.h
>>conftest.
$ac_ext
10487 cat >>conftest.
$ac_ext <<_ACEOF
10488 /* end confdefs.h. */
10491 #include <sys/procfs.h>
10495 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
10500 rm -f conftest.
$ac_objext
10501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10502 (eval $ac_compile) 2>conftest.er1
10504 grep -v '^ *+' conftest.er1
>conftest.err
10506 cat conftest.err
>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); } &&
10509 { ac_try
='test -z "$ac_c_werror_flag"
10510 || test ! -s conftest.err'
10511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; } &&
10516 { ac_try
='test -s conftest.$ac_objext'
10517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10518 (eval $ac_try) 2>&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); }; }; then
10522 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
10524 echo "$as_me: failed program was:" >&5
10525 sed 's/^/| /' conftest.
$ac_ext >&5
10527 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
10530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10533 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
10535 cat >>confdefs.h
<<\_ACEOF
10536 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
10540 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
10541 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
10543 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
10544 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
10545 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
10546 echo $ECHO_N "(cached) $ECHO_C" >&6
10548 cat >conftest.
$ac_ext <<_ACEOF
10551 cat confdefs.h
>>conftest.
$ac_ext
10552 cat >>conftest.
$ac_ext <<_ACEOF
10553 /* end confdefs.h. */
10556 #include <sys/procfs.h>
10560 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
10565 rm -f conftest.
$ac_objext
10566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10567 (eval $ac_compile) 2>conftest.er1
10569 grep -v '^ *+' conftest.er1
>conftest.err
10571 cat conftest.err
>&5
10572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573 (exit $ac_status); } &&
10574 { ac_try
='test -z "$ac_c_werror_flag"
10575 || test ! -s conftest.err'
10576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10577 (eval $ac_try) 2>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); }; } &&
10581 { ac_try
='test -s conftest.$ac_objext'
10582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10583 (eval $ac_try) 2>&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); }; }; then
10587 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
10589 echo "$as_me: failed program was:" >&5
10590 sed 's/^/| /' conftest.
$ac_ext >&5
10592 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
10595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10598 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
10600 cat >>confdefs.h
<<\_ACEOF
10601 #define HAVE_LWPSTATUS_T_PR_REG 1
10605 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
10606 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
10608 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
10609 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
10610 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
10611 echo $ECHO_N "(cached) $ECHO_C" >&6
10613 cat >conftest.
$ac_ext <<_ACEOF
10616 cat confdefs.h
>>conftest.
$ac_ext
10617 cat >>conftest.
$ac_ext <<_ACEOF
10618 /* end confdefs.h. */
10621 #include <sys/procfs.h>
10625 win32_pstatus_t avar
10630 rm -f conftest.
$ac_objext
10631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10632 (eval $ac_compile) 2>conftest.er1
10634 grep -v '^ *+' conftest.er1
>conftest.err
10636 cat conftest.err
>&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } &&
10639 { ac_try
='test -z "$ac_c_werror_flag"
10640 || test ! -s conftest.err'
10641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10642 (eval $ac_try) 2>&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); }; } &&
10646 { ac_try
='test -s conftest.$ac_objext'
10647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10648 (eval $ac_try) 2>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); }; }; then
10652 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
10654 echo "$as_me: failed program was:" >&5
10655 sed 's/^/| /' conftest.
$ac_ext >&5
10657 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
10660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10663 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
10665 cat >>confdefs.h
<<\_ACEOF
10666 #define HAVE_WIN32_PSTATUS_T 1
10670 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
10671 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
10677 if test -n "$TRAD_HEADER"; then
10679 cat >>confdefs.h
<<_ACEOF
10680 #define TRAD_HEADER $TRAD_HEADER
10685 # Horrible hacks to build DLLs on Windows.
10690 if test "$enable_shared" = "yes"; then
10691 WIN32LDFLAGS
="-no-undefined"
10692 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
10696 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
10700 # Linux/MIPS uses PIC by default.
10701 if test "$enable_shared" = "yes"; then
10702 WIN32LIBADD
="-L../libiberty -liberty"
10706 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
10707 if test -n "$x"; then
10708 WIN32LIBADD
="-L../libiberty/pic -liberty"
10719 # Canonicalize the secondary target names.
10720 if test -n "$enable_targets" ; then
10721 for targ
in `echo $enable_targets | sed 's/,/ /g'`
10723 result
=`$ac_config_sub $targ 2>/dev/null`
10724 if test -n "$result" ; then
10725 canon_targets
="$canon_targets $result"
10727 # Allow targets that config.sub doesn't recognize, like "all".
10728 canon_targets
="$canon_targets $targ"
10739 for targ
in $target $canon_targets
10741 if test "x$targ" = "xall"; then
10743 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
10745 .
$srcdir/config.bfd
10746 if test "x$targ" = "x$target"; then
10747 defvec
=$targ_defvec
10749 selvecs
="$selvecs $targ_defvec $targ_selvecs"
10750 selarchs
="$selarchs $targ_archs"
10751 TDEFINES
="$TDEFINES $targ_cflags"
10756 # This processing still needs to be done if we're to decide properly whether
10757 # 64-bit support needs to be compiled in. Currently, it will be included if
10758 # the default or any other explicitly requested target requires it; it
10759 # will not be included on a 32-bit host if no 64-bit target is requested, and
10760 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
10763 # uniq the default and selected vectors in all the configured targets.
10765 for i
in $selvecs ; do
10774 # uniq the associated vectors in all the configured targets.
10776 for i
in $assocvecs ; do
10785 # uniq the architectures in all the configured targets.
10787 for i
in $selarchs ; do
10795 # Target backend .o files.
10798 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
10800 for vec
in $selvecs
10804 # This list is alphabetized to make it easy to compare
10805 # with the two vector lists in targets.c. For the same reason,
10806 # use one entry per line, even though this leads to long lines.
10807 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
10808 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
10809 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
10810 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
10811 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
10812 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
10813 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
10814 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
10815 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
10816 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
10817 arm_wince_pe_big_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
10818 arm_wince_pe_little_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
10819 arm_wince_pei_big_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
10820 arm_wince_pei_little_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
10821 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
10822 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
10823 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
10824 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
10825 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
10826 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
10827 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
10828 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
10829 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
10830 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
10831 bfd_efi_app_x86_64_vec
) tb
="$tb efi-app-x86_64.lo pex64igen.lo cofflink.lo" ;target_size
=64;;
10832 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
10833 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
10834 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
10835 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
10836 bfd_elf32_bfinfdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
10837 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
10838 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
10839 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10840 bfd_elf32_bigarm_symbian_vec
)
10841 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10842 bfd_elf32_bigarm_vxworks_vec
)
10843 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10844 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10845 bfd_elf32_bigmips_vxworks_vec
)
10846 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10847 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
10848 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
10849 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
10850 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
10851 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
10852 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
10853 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
10854 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
10855 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
10856 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
10857 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
10858 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
10859 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
10860 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
10861 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10862 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10863 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10864 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
10865 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
10866 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
10867 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
10868 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
10869 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
10870 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
10871 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
10872 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
10873 bfd_elf32_littlearm_symbian_vec
)
10874 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10875 bfd_elf32_littlearm_vxworks_vec
)
10876 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10877 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10878 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10879 bfd_elf32_littlemips_vxworks_vec
)
10880 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10881 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
10882 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
10883 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
10884 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
10885 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
10886 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
10887 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
10888 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
10889 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
10890 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
10891 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
10892 bfd_elf32_mep_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
10893 bfd_elf32_mep_little_vec
) tb
="$tb elf32-mep.lo elf32.lo $elf" ;;
10894 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
10895 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
10896 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
10897 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
10898 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10899 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10900 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10901 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10902 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
10903 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
10904 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
10905 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
10906 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10907 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10908 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10909 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
10910 bfd_elf32_bigscore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
10911 bfd_elf32_littlescore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
10912 # FIXME: We include cofflink.lo not because it's needed for
10913 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
10914 # which needs it but does not list it. Should be fixed in right place.
10915 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
10916 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
10917 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
10918 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
10919 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
10920 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
10921 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10922 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10923 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10924 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10925 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10926 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10927 bfd_elf32_shlvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10928 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10929 bfd_elf32_shvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10930 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
10931 bfd_elf32_sparc_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
10932 bfd_elf32_spu_vec
) tb
="$tb elf32-spu.lo elf32.lo $elf" ;;
10933 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10934 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10935 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
10936 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
10937 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
10938 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
10939 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
10940 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
10941 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
10942 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
10943 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
10944 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
10945 bfd_elf64_bigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10946 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
10947 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
10948 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
10949 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
10950 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
10951 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
10952 bfd_elf64_littlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10953 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
10954 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
10955 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
10956 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
10957 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10958 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10959 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10960 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10961 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10962 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10963 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
10964 bfd_elf64_sparc_freebsd_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
10965 bfd_elf64_tradbigmips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10966 bfd_elf64_tradlittlemips_vec
) tb
="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10967 bfd_elf64_x86_64_freebsd_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
10968 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
10969 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
10970 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
10971 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
10972 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
10973 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
10974 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
10975 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
10976 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
10977 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
10978 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
10979 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
10980 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
10981 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
10982 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
10983 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
10984 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
10985 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
10986 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
10987 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
10988 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
10989 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
10990 x86_64coff_vec
) tb
="$tb coff-x86_64.lo cofflink.lo"; target_size
=64 ;;
10991 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
10992 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
10993 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
10994 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
10995 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
10996 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
10997 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
10998 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
10999 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
11000 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
11001 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
11002 x86_64pe_vec
) tb
="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
11003 x86_64pei_vec
) tb
="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
11004 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
11005 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
11006 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
11007 ieee_vec
) tb
="$tb ieee.lo" ;;
11008 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
11009 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
11010 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
11011 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
11012 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
11013 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
11014 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
11015 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
11016 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
11017 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
11018 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
11019 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
11020 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
11021 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
11022 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11023 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11024 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11025 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11026 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
11027 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
11028 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
11029 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
11030 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
11031 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
11032 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
11033 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
11034 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
11035 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
11036 pef_vec
) tb
="$tb pef.lo" ;;
11037 pef_xlib_vec
) tb
="$tb pef.lo" ;;
11038 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
11039 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11040 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
11041 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
11042 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11043 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11044 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11045 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11046 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11047 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11048 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11049 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11050 som_vec
) tb
="$tb som.lo" ;;
11051 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
11052 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
11053 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
11054 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
11055 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
11056 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
11057 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
11058 sym_vec
) tb
="$tb xsym.lo" ;;
11059 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
11060 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
11061 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
11062 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11063 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
11064 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11065 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
11066 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11067 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11068 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
11069 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11070 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
11071 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11072 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
11073 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
11074 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
11075 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
11076 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
11077 versados_vec
) tb
="$tb versados.lo" ;;
11078 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
11079 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
11080 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
11081 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
11082 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
11083 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
11085 # These appear out of order in targets.c
11086 srec_vec
) tb
="$tb srec.lo" ;;
11087 symbolsrec_vec
) tb
="$tb srec.lo" ;;
11088 tekhex_vec
) tb
="$tb tekhex.lo" ;;
11089 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
11090 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
11093 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
11094 echo "$as_me: error: *** unknown target vector $vec" >&2;}
11095 { (exit 1); exit 1; }; } ;;
11098 if test ${target_size} = 64; then
11101 if test x
"${vec}" = x
"${defvec}"; then
11102 bfd_default_target_size
=${target_size}
11106 # Target architecture .o files.
11107 # A couple of CPUs use shorter file names to avoid problems on DOS
11109 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
11111 # Weed out duplicate .o files.
11133 if test x
${all_targets} = xtrue
; then
11134 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
11135 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
11139 test -n "$assocvecs" &&
11140 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11141 else # all_targets is true
11142 # Only set these if they will be nonempty, for the clever echo.
11145 test -n "$selvecs" &&
11146 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
11147 test -n "$selvecs" &&
11148 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11149 test -n "$selarchs" &&
11150 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11151 fi # all_targets is true
11153 case ${host64}-${target64}-${want64} in
11156 bfd64_libs
='$(BFD64_LIBS)'
11157 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
11158 if test $BFD_HOST_64_BIT_DEFINED = 0; then
11159 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
11160 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
11161 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
11162 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
11164 if test -n "$GCC" ; then
11166 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
11167 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
11168 # Add more tests for gcc versions with non-working 64-bit support here.
11169 cat >conftest.
$ac_ext <<_ACEOF
11172 cat confdefs.h
>>conftest.
$ac_ext
11173 cat >>conftest.
$ac_ext <<_ACEOF
11174 /* end confdefs.h. */
11175 :__GNUC__:__GNUC_MINOR__:__i386__:
11177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11178 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
11180 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
11181 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
11183 echo "$as_me:$LINENO: result: no" >&5
11184 echo "${ECHO_T}no" >&6
11188 if test $bad_64bit_gcc = yes ; then
11189 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
11190 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
11191 { (exit 1); exit 1; }; }
11197 all_backends
='$(BFD32_BACKENDS)'
11208 # Determine the host dependant file_ptr a.k.a. off_t type. In order
11209 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
11210 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
11211 # Hopefully a reasonable assumption since fseeko et.al. should be
11212 # upward compatible.
11218 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
11220 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11221 echo "$as_me:$LINENO: checking for $ac_func" >&5
11222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11223 if eval "test \"\${$as_ac_var+set}\" = set"; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 cat >conftest.
$ac_ext <<_ACEOF
11229 cat confdefs.h
>>conftest.
$ac_ext
11230 cat >>conftest.
$ac_ext <<_ACEOF
11231 /* end confdefs.h. */
11232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11234 #define $ac_func innocuous_$ac_func
11236 /* System header to define __stub macros and hopefully few prototypes,
11237 which can conflict with char $ac_func (); below.
11238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11239 <limits.h> exists even on freestanding compilers. */
11242 # include <limits.h>
11244 # include <assert.h>
11249 /* Override any gcc2 internal prototype to avoid an error. */
11254 /* We use char because int might match the return type of a gcc2
11255 builtin and then its argument prototype would still apply. */
11257 /* The GNU C library defines this for functions which it implements
11258 to always fail with ENOSYS. Some functions are actually named
11259 something starting with __ and the normal name is an alias. */
11260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11263 char (*f) () = $ac_func;
11272 return f != $ac_func;
11277 rm -f conftest.
$ac_objext conftest
$ac_exeext
11278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11279 (eval $ac_link) 2>conftest.er1
11281 grep -v '^ *+' conftest.er1
>conftest.err
11283 cat conftest.err
>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); } &&
11286 { ac_try
='test -z "$ac_c_werror_flag"
11287 || test ! -s conftest.err'
11288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11289 (eval $ac_try) 2>&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); }; } &&
11293 { ac_try
='test -s conftest$ac_exeext'
11294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11295 (eval $ac_try) 2>&5
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); }; }; then
11299 eval "$as_ac_var=yes"
11301 echo "$as_me: failed program was:" >&5
11302 sed 's/^/| /' conftest.
$ac_ext >&5
11304 eval "$as_ac_var=no"
11306 rm -f conftest.err conftest.
$ac_objext \
11307 conftest
$ac_exeext conftest.
$ac_ext
11309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11311 if test `eval echo '${'$as_ac_var'}'` = yes; then
11312 cat >>confdefs.h
<<_ACEOF
11313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11319 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
11320 echo "$as_me:$LINENO: checking for off_t" >&5
11321 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
11322 if test "${ac_cv_type_off_t+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 cat >conftest.
$ac_ext <<_ACEOF
11328 cat confdefs.h
>>conftest.
$ac_ext
11329 cat >>conftest.
$ac_ext <<_ACEOF
11330 /* end confdefs.h. */
11331 $ac_includes_default
11337 if (sizeof (off_t))
11343 rm -f conftest.
$ac_objext
11344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11345 (eval $ac_compile) 2>conftest.er1
11347 grep -v '^ *+' conftest.er1
>conftest.err
11349 cat conftest.err
>&5
11350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351 (exit $ac_status); } &&
11352 { ac_try
='test -z "$ac_c_werror_flag"
11353 || test ! -s conftest.err'
11354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11355 (eval $ac_try) 2>&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); }; } &&
11359 { ac_try
='test -s conftest.$ac_objext'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; }; then
11365 ac_cv_type_off_t
=yes
11367 echo "$as_me: failed program was:" >&5
11368 sed 's/^/| /' conftest.
$ac_ext >&5
11370 ac_cv_type_off_t
=no
11372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11374 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11375 echo "${ECHO_T}$ac_cv_type_off_t" >&6
11377 echo "$as_me:$LINENO: checking size of off_t" >&5
11378 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
11379 if test "${ac_cv_sizeof_off_t+set}" = set; then
11380 echo $ECHO_N "(cached) $ECHO_C" >&6
11382 if test "$ac_cv_type_off_t" = yes; then
11383 # The cast to unsigned long works around a bug in the HP C Compiler
11384 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11385 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11386 # This bug is HP SR number 8606223364.
11387 if test "$cross_compiling" = yes; then
11388 # Depending upon the size, compute the lo and hi bounds.
11389 cat >conftest.
$ac_ext <<_ACEOF
11392 cat confdefs.h
>>conftest.
$ac_ext
11393 cat >>conftest.
$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11395 $ac_includes_default
11399 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
11406 rm -f conftest.
$ac_objext
11407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11408 (eval $ac_compile) 2>conftest.er1
11410 grep -v '^ *+' conftest.er1
>conftest.err
11412 cat conftest.err
>&5
11413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414 (exit $ac_status); } &&
11415 { ac_try
='test -z "$ac_c_werror_flag"
11416 || test ! -s conftest.err'
11417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11418 (eval $ac_try) 2>&5
11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421 (exit $ac_status); }; } &&
11422 { ac_try
='test -s conftest.$ac_objext'
11423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11424 (eval $ac_try) 2>&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); }; }; then
11430 cat >conftest.
$ac_ext <<_ACEOF
11433 cat confdefs.h
>>conftest.
$ac_ext
11434 cat >>conftest.
$ac_ext <<_ACEOF
11435 /* end confdefs.h. */
11436 $ac_includes_default
11440 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
11447 rm -f conftest.
$ac_objext
11448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11449 (eval $ac_compile) 2>conftest.er1
11451 grep -v '^ *+' conftest.er1
>conftest.err
11453 cat conftest.err
>&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); } &&
11456 { ac_try
='test -z "$ac_c_werror_flag"
11457 || test ! -s conftest.err'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; } &&
11463 { ac_try
='test -s conftest.$ac_objext'
11464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11465 (eval $ac_try) 2>&5
11467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }; }; then
11469 ac_hi
=$ac_mid; break
11471 echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.
$ac_ext >&5
11474 ac_lo
=`expr $ac_mid + 1`
11475 if test $ac_lo -le $ac_mid; then
11479 ac_mid
=`expr 2 '*' $ac_mid + 1`
11481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11484 echo "$as_me: failed program was:" >&5
11485 sed 's/^/| /' conftest.
$ac_ext >&5
11487 cat >conftest.
$ac_ext <<_ACEOF
11490 cat confdefs.h
>>conftest.
$ac_ext
11491 cat >>conftest.
$ac_ext <<_ACEOF
11492 /* end confdefs.h. */
11493 $ac_includes_default
11497 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
11504 rm -f conftest.
$ac_objext
11505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11506 (eval $ac_compile) 2>conftest.er1
11508 grep -v '^ *+' conftest.er1
>conftest.err
11510 cat conftest.err
>&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } &&
11513 { ac_try
='test -z "$ac_c_werror_flag"
11514 || test ! -s conftest.err'
11515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11516 (eval $ac_try) 2>&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); }; } &&
11520 { ac_try
='test -s conftest.$ac_objext'
11521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11522 (eval $ac_try) 2>&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); }; }; then
11528 cat >conftest.
$ac_ext <<_ACEOF
11531 cat confdefs.h
>>conftest.
$ac_ext
11532 cat >>conftest.
$ac_ext <<_ACEOF
11533 /* end confdefs.h. */
11534 $ac_includes_default
11538 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
11545 rm -f conftest.
$ac_objext
11546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11547 (eval $ac_compile) 2>conftest.er1
11549 grep -v '^ *+' conftest.er1
>conftest.err
11551 cat conftest.err
>&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); } &&
11554 { ac_try
='test -z "$ac_c_werror_flag"
11555 || test ! -s conftest.err'
11556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11557 (eval $ac_try) 2>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); }; } &&
11561 { ac_try
='test -s conftest.$ac_objext'
11562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11563 (eval $ac_try) 2>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); }; }; then
11567 ac_lo
=$ac_mid; break
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.
$ac_ext >&5
11572 ac_hi
=`expr '(' $ac_mid ')' - 1`
11573 if test $ac_mid -le $ac_hi; then
11577 ac_mid
=`expr 2 '*' $ac_mid`
11579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11582 echo "$as_me: failed program was:" >&5
11583 sed 's/^/| /' conftest.
$ac_ext >&5
11587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11590 # Binary search between lo and hi bounds.
11591 while test "x$ac_lo" != "x$ac_hi"; do
11592 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11593 cat >conftest.
$ac_ext <<_ACEOF
11596 cat confdefs.h
>>conftest.
$ac_ext
11597 cat >>conftest.
$ac_ext <<_ACEOF
11598 /* end confdefs.h. */
11599 $ac_includes_default
11603 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
11610 rm -f conftest.
$ac_objext
11611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11612 (eval $ac_compile) 2>conftest.er1
11614 grep -v '^ *+' conftest.er1
>conftest.err
11616 cat conftest.err
>&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } &&
11619 { ac_try
='test -z "$ac_c_werror_flag"
11620 || test ! -s conftest.err'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; } &&
11626 { ac_try
='test -s conftest.$ac_objext'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; }; then
11634 echo "$as_me: failed program was:" >&5
11635 sed 's/^/| /' conftest.
$ac_ext >&5
11637 ac_lo
=`expr '(' $ac_mid ')' + 1`
11639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11642 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
11643 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
11644 See \`config.log' for more details." >&5
11645 echo "$as_me: error: cannot compute sizeof (off_t), 77
11646 See \`config.log' for more details." >&2;}
11647 { (exit 1); exit 1; }; } ;;
11650 if test "$cross_compiling" = yes; then
11651 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11652 See \`config.log' for more details." >&5
11653 echo "$as_me: error: cannot run test program while cross compiling
11654 See \`config.log' for more details." >&2;}
11655 { (exit 1); exit 1; }; }
11657 cat >conftest.
$ac_ext <<_ACEOF
11660 cat confdefs.h
>>conftest.
$ac_ext
11661 cat >>conftest.
$ac_ext <<_ACEOF
11662 /* end confdefs.h. */
11663 $ac_includes_default
11664 long longval () { return (long) (sizeof (off_t)); }
11665 unsigned long ulongval () { return (long) (sizeof (off_t)); }
11667 #include <stdlib.h>
11672 FILE *f = fopen ("conftest.val", "w");
11675 if (((long) (sizeof (off_t))) < 0)
11677 long i = longval ();
11678 if (i != ((long) (sizeof (off_t))))
11680 fprintf (f, "%ld\n", i);
11684 unsigned long i = ulongval ();
11685 if (i != ((long) (sizeof (off_t))))
11687 fprintf (f, "%lu\n", i);
11689 exit (ferror (f) || fclose (f) != 0);
11695 rm -f conftest
$ac_exeext
11696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11697 (eval $ac_link) 2>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11702 (eval $ac_try) 2>&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); }; }; then
11706 ac_cv_sizeof_off_t
=`cat conftest.val`
11708 echo "$as_me: program exited with status $ac_status" >&5
11709 echo "$as_me: failed program was:" >&5
11710 sed 's/^/| /' conftest.
$ac_ext >&5
11712 ( exit $ac_status )
11713 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
11714 See \`config.log' for more details." >&5
11715 echo "$as_me: error: cannot compute sizeof (off_t), 77
11716 See \`config.log' for more details." >&2;}
11717 { (exit 1); exit 1; }; }
11719 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11724 ac_cv_sizeof_off_t
=0
11727 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
11728 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
11729 cat >>confdefs.h
<<_ACEOF
11730 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
11735 echo "$as_me:$LINENO: checking file_ptr type" >&5
11736 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
11737 bfd_file_ptr
="long"
11738 bfd_ufile_ptr
="unsigned long"
11739 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
11740 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
11741 bfd_file_ptr
=BFD_HOST_64_BIT
11742 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
11744 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
11745 echo "${ECHO_T}$bfd_file_ptr" >&6
11751 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
11752 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
11753 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
11754 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
11755 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
11760 for ac_header
in stdlib.h unistd.h
11762 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11764 echo "$as_me:$LINENO: checking for $ac_header" >&5
11765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11767 echo $ECHO_N "(cached) $ECHO_C" >&6
11769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11772 # Is the header compilable?
11773 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11775 cat >conftest.
$ac_ext <<_ACEOF
11778 cat confdefs.h
>>conftest.
$ac_ext
11779 cat >>conftest.
$ac_ext <<_ACEOF
11780 /* end confdefs.h. */
11781 $ac_includes_default
11782 #include <$ac_header>
11784 rm -f conftest.
$ac_objext
11785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11786 (eval $ac_compile) 2>conftest.er1
11788 grep -v '^ *+' conftest.er1
>conftest.err
11790 cat conftest.err
>&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); } &&
11793 { ac_try
='test -z "$ac_c_werror_flag"
11794 || test ! -s conftest.err'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; } &&
11800 { ac_try
='test -s conftest.$ac_objext'
11801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11802 (eval $ac_try) 2>&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); }; }; then
11806 ac_header_compiler
=yes
11808 echo "$as_me: failed program was:" >&5
11809 sed 's/^/| /' conftest.
$ac_ext >&5
11811 ac_header_compiler
=no
11813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11815 echo "${ECHO_T}$ac_header_compiler" >&6
11817 # Is the header present?
11818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11820 cat >conftest.
$ac_ext <<_ACEOF
11823 cat confdefs.h
>>conftest.
$ac_ext
11824 cat >>conftest.
$ac_ext <<_ACEOF
11825 /* end confdefs.h. */
11826 #include <$ac_header>
11828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11831 grep -v '^ *+' conftest.er1
>conftest.err
11833 cat conftest.err
>&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } >/dev
/null
; then
11836 if test -s conftest.err
; then
11837 ac_cpp_err
=$ac_c_preproc_warn_flag
11838 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11845 if test -z "$ac_cpp_err"; then
11846 ac_header_preproc
=yes
11848 echo "$as_me: failed program was:" >&5
11849 sed 's/^/| /' conftest.
$ac_ext >&5
11851 ac_header_preproc
=no
11853 rm -f conftest.err conftest.
$ac_ext
11854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11855 echo "${ECHO_T}$ac_header_preproc" >&6
11857 # So? What about this header?
11858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11860 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11863 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11864 ac_header_preproc
=yes
11867 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11868 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11869 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11870 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11871 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11872 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11873 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11874 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11877 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11878 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11881 ## ------------------------------------------ ##
11882 ## Report this to the AC_PACKAGE_NAME lists. ##
11883 ## ------------------------------------------ ##
11886 sed "s/^/$as_me: WARNING: /" >&2
11889 echo "$as_me:$LINENO: checking for $ac_header" >&5
11890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11892 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 eval "$as_ac_Header=\$ac_header_preproc"
11896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11900 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11901 cat >>confdefs.h
<<_ACEOF
11902 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11910 for ac_func
in getpagesize
11912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11913 echo "$as_me:$LINENO: checking for $ac_func" >&5
11914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11915 if eval "test \"\${$as_ac_var+set}\" = set"; then
11916 echo $ECHO_N "(cached) $ECHO_C" >&6
11918 cat >conftest.
$ac_ext <<_ACEOF
11921 cat confdefs.h
>>conftest.
$ac_ext
11922 cat >>conftest.
$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11926 #define $ac_func innocuous_$ac_func
11928 /* System header to define __stub macros and hopefully few prototypes,
11929 which can conflict with char $ac_func (); below.
11930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11931 <limits.h> exists even on freestanding compilers. */
11934 # include <limits.h>
11936 # include <assert.h>
11941 /* Override any gcc2 internal prototype to avoid an error. */
11946 /* We use char because int might match the return type of a gcc2
11947 builtin and then its argument prototype would still apply. */
11949 /* The GNU C library defines this for functions which it implements
11950 to always fail with ENOSYS. Some functions are actually named
11951 something starting with __ and the normal name is an alias. */
11952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11955 char (*f) () = $ac_func;
11964 return f != $ac_func;
11969 rm -f conftest.
$ac_objext conftest
$ac_exeext
11970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11971 (eval $ac_link) 2>conftest.er1
11973 grep -v '^ *+' conftest.er1
>conftest.err
11975 cat conftest.err
>&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } &&
11978 { ac_try
='test -z "$ac_c_werror_flag"
11979 || test ! -s conftest.err'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; } &&
11985 { ac_try
='test -s conftest$ac_exeext'
11986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11987 (eval $ac_try) 2>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; }; then
11991 eval "$as_ac_var=yes"
11993 echo "$as_me: failed program was:" >&5
11994 sed 's/^/| /' conftest.
$ac_ext >&5
11996 eval "$as_ac_var=no"
11998 rm -f conftest.err conftest.
$ac_objext \
11999 conftest
$ac_exeext conftest.
$ac_ext
12001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12003 if test `eval echo '${'$as_ac_var'}'` = yes; then
12004 cat >>confdefs.h
<<_ACEOF
12005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12011 echo "$as_me:$LINENO: checking for working mmap" >&5
12012 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
12013 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 if test "$cross_compiling" = yes; then
12017 ac_cv_func_mmap_fixed_mapped
=no
12019 cat >conftest.
$ac_ext <<_ACEOF
12022 cat confdefs.h
>>conftest.
$ac_ext
12023 cat >>conftest.
$ac_ext <<_ACEOF
12024 /* end confdefs.h. */
12025 $ac_includes_default
12026 /* malloc might have been renamed as rpl_malloc. */
12029 /* Thanks to Mike Haertel and Jim Avera for this test.
12030 Here is a matrix of mmap possibilities:
12031 mmap private not fixed
12032 mmap private fixed at somewhere currently unmapped
12033 mmap private fixed at somewhere already mapped
12034 mmap shared not fixed
12035 mmap shared fixed at somewhere currently unmapped
12036 mmap shared fixed at somewhere already mapped
12037 For private mappings, we should verify that changes cannot be read()
12038 back from the file, nor mmap's back from the file at a different
12039 address. (There have been systems where private was not correctly
12040 implemented like the infamous i386 svr4.0, and systems where the
12041 VM page cache was not coherent with the file system buffer cache
12042 like early versions of FreeBSD and possibly contemporary NetBSD.)
12043 For shared mappings, we should conversely verify that changes get
12044 propagated back to all the places they're supposed to be.
12046 Grep wants private fixed already mapped.
12047 The main things grep needs to know about mmap are:
12048 * does it exist and is it safe to write into the mmap'd area
12049 * how to use it (BSD variants) */
12052 #include <sys/mman.h>
12054 #if !STDC_HEADERS && !HAVE_STDLIB_H
12058 /* This mess was copied from the GNU getpagesize.h. */
12059 #if !HAVE_GETPAGESIZE
12060 /* Assume that all systems that can run configure have sys/param.h. */
12061 # if !HAVE_SYS_PARAM_H
12062 # define HAVE_SYS_PARAM_H 1
12065 # ifdef _SC_PAGESIZE
12066 # define getpagesize() sysconf(_SC_PAGESIZE)
12067 # else /* no _SC_PAGESIZE */
12068 # if HAVE_SYS_PARAM_H
12069 # include <sys/param.h>
12070 # ifdef EXEC_PAGESIZE
12071 # define getpagesize() EXEC_PAGESIZE
12072 # else /* no EXEC_PAGESIZE */
12074 # define getpagesize() NBPG * CLSIZE
12077 # endif /* no CLSIZE */
12078 # else /* no NBPG */
12080 # define getpagesize() NBPC
12081 # else /* no NBPC */
12083 # define getpagesize() PAGESIZE
12084 # endif /* PAGESIZE */
12085 # endif /* no NBPC */
12086 # endif /* no NBPG */
12087 # endif /* no EXEC_PAGESIZE */
12088 # else /* no HAVE_SYS_PARAM_H */
12089 # define getpagesize() 8192 /* punt totally */
12090 # endif /* no HAVE_SYS_PARAM_H */
12091 # endif /* no _SC_PAGESIZE */
12093 #endif /* no HAVE_GETPAGESIZE */
12098 char *data, *data2, *data3;
12102 pagesize = getpagesize ();
12104 /* First, make a file with some known garbage in it. */
12105 data = (char *) malloc (pagesize);
12108 for (i = 0; i < pagesize; ++i)
12109 *(data + i) = rand ();
12111 fd = creat ("conftest.mmap", 0600);
12114 if (write (fd, data, pagesize) != pagesize)
12118 /* Next, try to mmap the file at a fixed address which already has
12119 something else allocated at it. If we can, also make sure that
12120 we see the same garbage. */
12121 fd = open ("conftest.mmap", O_RDWR);
12124 data2 = (char *) malloc (2 * pagesize);
12127 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
12128 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12129 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12131 for (i = 0; i < pagesize; ++i)
12132 if (*(data + i) != *(data2 + i))
12135 /* Finally, make sure that changes to the mapped area do not
12136 percolate back to the file as seen by read(). (This is a bug on
12137 some variants of i386 svr4.0.) */
12138 for (i = 0; i < pagesize; ++i)
12139 *(data2 + i) = *(data2 + i) + 1;
12140 data3 = (char *) malloc (pagesize);
12143 if (read (fd, data3, pagesize) != pagesize)
12145 for (i = 0; i < pagesize; ++i)
12146 if (*(data + i) != *(data3 + i))
12152 rm -f conftest
$ac_exeext
12153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12154 (eval $ac_link) 2>&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12159 (eval $ac_try) 2>&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); }; }; then
12163 ac_cv_func_mmap_fixed_mapped
=yes
12165 echo "$as_me: program exited with status $ac_status" >&5
12166 echo "$as_me: failed program was:" >&5
12167 sed 's/^/| /' conftest.
$ac_ext >&5
12169 ( exit $ac_status )
12170 ac_cv_func_mmap_fixed_mapped
=no
12172 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12175 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12176 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12177 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12179 cat >>confdefs.h
<<\_ACEOF
12180 #define HAVE_MMAP 1
12184 rm -f conftest.mmap
12188 for ac_func
in madvise mprotect
12190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12191 echo "$as_me:$LINENO: checking for $ac_func" >&5
12192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12193 if eval "test \"\${$as_ac_var+set}\" = set"; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 cat >conftest.
$ac_ext <<_ACEOF
12199 cat confdefs.h
>>conftest.
$ac_ext
12200 cat >>conftest.
$ac_ext <<_ACEOF
12201 /* end confdefs.h. */
12202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12204 #define $ac_func innocuous_$ac_func
12206 /* System header to define __stub macros and hopefully few prototypes,
12207 which can conflict with char $ac_func (); below.
12208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12209 <limits.h> exists even on freestanding compilers. */
12212 # include <limits.h>
12214 # include <assert.h>
12219 /* Override any gcc2 internal prototype to avoid an error. */
12224 /* We use char because int might match the return type of a gcc2
12225 builtin and then its argument prototype would still apply. */
12227 /* The GNU C library defines this for functions which it implements
12228 to always fail with ENOSYS. Some functions are actually named
12229 something starting with __ and the normal name is an alias. */
12230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12233 char (*f) () = $ac_func;
12242 return f != $ac_func;
12247 rm -f conftest.
$ac_objext conftest
$ac_exeext
12248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12249 (eval $ac_link) 2>conftest.er1
12251 grep -v '^ *+' conftest.er1
>conftest.err
12253 cat conftest.err
>&5
12254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255 (exit $ac_status); } &&
12256 { ac_try
='test -z "$ac_c_werror_flag"
12257 || test ! -s conftest.err'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; } &&
12263 { ac_try
='test -s conftest$ac_exeext'
12264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12265 (eval $ac_try) 2>&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); }; }; then
12269 eval "$as_ac_var=yes"
12271 echo "$as_me: failed program was:" >&5
12272 sed 's/^/| /' conftest.
$ac_ext >&5
12274 eval "$as_ac_var=no"
12276 rm -f conftest.err conftest.
$ac_objext \
12277 conftest
$ac_exeext conftest.
$ac_ext
12279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12281 if test `eval echo '${'$as_ac_var'}'` = yes; then
12282 cat >>confdefs.h
<<_ACEOF
12283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12289 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
12291 cat >>confdefs.h
<<\_ACEOF
12297 rm -f doc
/config.status
12298 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
12301 ac_config_commands
="$ac_config_commands default"
12308 cat >confcache
<<\_ACEOF
12309 # This file is a shell script that caches the results of configure
12310 # tests run on this system so they can be shared between configure
12311 # scripts and configure runs, see configure's option --config-cache.
12312 # It is not useful on other systems. If it contains results you don't
12313 # want to keep, you may remove or edit it.
12315 # config.status only pays attention to the cache file if you give it
12316 # the --recheck option to rerun configure.
12318 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12319 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12320 # following values.
12324 # The following way of writing the cache mishandles newlines in values,
12325 # but we know of no workaround that is simple, portable, and efficient.
12326 # So, don't put newlines in cache variables' values.
12327 # Ultrix sh set writes to stderr and can't be redirected directly,
12328 # and sets the high bit in the cache file unless we assign to the vars.
12331 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12333 # `set' does not quote correctly, so add quotes (double-quote
12334 # substitution turns \\\\ into \\, and sed turns \\ into \).
12337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12340 # `set' quotes correctly as required by POSIX, so do not add quotes.
12342 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12349 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12351 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12353 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12354 if test -w $cache_file; then
12355 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12356 cat confcache
>$cache_file
12358 echo "not updating unwritable cache $cache_file"
12363 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12364 # Let make expand exec_prefix.
12365 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12367 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12368 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12369 # trailing colons and then remove the whole line if VPATH becomes empty
12370 # (actually we leave an empty line to preserve line numbers).
12371 if test "x$srcdir" = x.
; then
12372 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12373 s/:*\$(srcdir):*/:/;
12374 s/:*\${srcdir}:*/:/;
12376 s/^\([^=]*=[ ]*\):*/\1/;
12382 DEFS
=-DHAVE_CONFIG_H
12386 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12387 # 1. Remove the extension, and $U if already installed.
12388 ac_i
=`echo "$ac_i" |
12389 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12391 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12392 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12394 LIBOBJS
=$ac_libobjs
12396 LTLIBOBJS
=$ac_ltlibobjs
12399 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12400 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12401 Usually this means the macro was only invoked conditionally." >&5
12402 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12403 Usually this means the macro was only invoked conditionally." >&2;}
12404 { (exit 1); exit 1; }; }
12406 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12407 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12408 Usually this means the macro was only invoked conditionally." >&5
12409 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12410 Usually this means the macro was only invoked conditionally." >&2;}
12411 { (exit 1); exit 1; }; }
12413 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12414 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12415 Usually this means the macro was only invoked conditionally." >&5
12416 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12417 Usually this means the macro was only invoked conditionally." >&2;}
12418 { (exit 1); exit 1; }; }
12420 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12421 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
12422 Usually this means the macro was only invoked conditionally." >&5
12423 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
12424 Usually this means the macro was only invoked conditionally." >&2;}
12425 { (exit 1); exit 1; }; }
12427 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12428 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
12429 Usually this means the macro was only invoked conditionally." >&5
12430 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
12431 Usually this means the macro was only invoked conditionally." >&2;}
12432 { (exit 1); exit 1; }; }
12435 : ${CONFIG_STATUS=./config.status}
12436 ac_clean_files_save
=$ac_clean_files
12437 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12438 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12439 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12440 cat >$CONFIG_STATUS <<_ACEOF
12442 # Generated by $as_me.
12443 # Run this file to recreate the current configuration.
12444 # Compiler output produced by configure, useful for debugging
12445 # configure, is in config.log if it exists.
12448 ac_cs_recheck=false
12450 SHELL=\${CONFIG_SHELL-$SHELL}
12453 cat >>$CONFIG_STATUS <<\_ACEOF
12454 ## --------------------- ##
12455 ## M4sh Initialization. ##
12456 ## --------------------- ##
12458 # Be Bourne compatible
12459 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12462 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12463 # is contrary to our usage. Disable this feature.
12464 alias -g '${1+"$@"}'='"$@"'
12465 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12468 DUALCASE
=1; export DUALCASE
# for MKS sh
12470 # Support unset when possible.
12471 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12478 # Work around bugs in pre-3.0 UWIN ksh.
12479 $as_unset ENV MAIL MAILPATH
12486 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12487 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12488 LC_TELEPHONE LC_TIME
12490 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12491 eval $as_var=C
; export $as_var
12497 # Required to use basename.
12498 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12504 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12505 as_basename
=basename
12511 # Name of the executable.
12512 as_me
=`$as_basename "$0" ||
12513 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12514 X"$0" : 'X\(//\)$' \| \
12515 X"$0" : 'X\(/\)$' \| \
12516 . : '\(.\)' 2>/dev/null ||
12518 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12519 /^X\/\(\/\/\)$/{ s//\1/; q; }
12520 /^X\/\(\/\).*/{ s//\1/; q; }
12524 # PATH needs CR, and LINENO needs CR and PATH.
12525 # Avoid depending upon Character Ranges.
12526 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12527 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12528 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12529 as_cr_digits
='0123456789'
12530 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12532 # The user is always right.
12533 if test "${PATH_SEPARATOR+set}" != set; then
12534 echo "#! /bin/sh" >conf$$.sh
12535 echo "exit 0" >>conf$$.sh
12537 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12546 as_lineno_1
=$LINENO
12547 as_lineno_2
=$LINENO
12548 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12549 test "x$as_lineno_1" != "x$as_lineno_2" &&
12550 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12551 # Find who we are. Look in the path if we contain no path at all
12554 *[\\/]* ) as_myself
=$0 ;;
12555 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12556 for as_dir
in $PATH
12559 test -z "$as_dir" && as_dir
=.
12560 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12565 # We did not find ourselves, most probably we were run as `sh COMMAND'
12566 # in which case we are not to be found in the path.
12567 if test "x$as_myself" = x
; then
12570 if test ! -f "$as_myself"; then
12571 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12572 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12573 { (exit 1); exit 1; }; }
12575 case $CONFIG_SHELL in
12577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12578 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12581 test -z "$as_dir" && as_dir
=.
12582 for as_base
in sh bash ksh sh5
; do
12585 if ("$as_dir/$as_base" -c '
12586 as_lineno_1=$LINENO
12587 as_lineno_2=$LINENO
12588 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12589 test "x$as_lineno_1" != "x$as_lineno_2" &&
12590 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12591 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12592 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12593 CONFIG_SHELL
=$as_dir/$as_base
12594 export CONFIG_SHELL
12595 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12603 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12604 # uniformly replaced by the line number. The first 'sed' inserts a
12605 # line-number line before each line; the second 'sed' does the real
12606 # work. The second script uses 'N' to pair each line-number line
12607 # with the numbered line, and appends trailing '-' during
12608 # substitution so that $LINENO is not a special case at line end.
12609 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12610 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12611 sed '=' <$as_myself |
12616 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12619 s,^['$as_cr_digits']*\n,,
12620 ' >$as_me.lineno
&&
12621 chmod +x
$as_me.lineno ||
12622 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12623 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12624 { (exit 1); exit 1; }; }
12626 # Don't try to exec as it changes $[0], causing all sort of problems
12627 # (the dirname of $[0] is not the place where we might find the
12628 # original and so on. Autoconf is especially sensible to this).
12630 # Exit status is that of the last command.
12635 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12636 *c
*,-n*) ECHO_N
= ECHO_C
='
12638 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12639 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12642 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12648 rm -f conf$$ conf$$.exe conf$$.
file
12650 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12651 # We could just check for DJGPP; but this test a) works b) is more generic
12652 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12653 if test -f conf$$.exe
; then
12654 # Don't use ln at all; we don't have any links
12659 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12664 rm -f conf$$ conf$$.exe conf$$.
file
12666 if mkdir
-p .
2>/dev
/null
; then
12669 test -d .
/-p && rmdir .
/-p
12673 as_executable_p
="test -f"
12675 # Sed expression to map a string onto a valid CPP name.
12676 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12678 # Sed expression to map a string onto a valid variable name.
12679 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12683 # We need space, tab and new line, in precisely that order.
12693 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12694 # report actual input values of CONFIG_FILES etc. instead of their
12695 # values after options handling. Logging --version etc. is OK.
12699 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12700 ## Running $as_me. ##
12705 This file was extended by $as_me, which was
12706 generated by GNU Autoconf 2.59. Invocation command line was
12708 CONFIG_FILES = $CONFIG_FILES
12709 CONFIG_HEADERS = $CONFIG_HEADERS
12710 CONFIG_LINKS = $CONFIG_LINKS
12711 CONFIG_COMMANDS = $CONFIG_COMMANDS
12715 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12719 # Files that config.status was made for.
12720 if test -n "$ac_config_files"; then
12721 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12724 if test -n "$ac_config_headers"; then
12725 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12728 if test -n "$ac_config_links"; then
12729 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12732 if test -n "$ac_config_commands"; then
12733 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12736 cat >>$CONFIG_STATUS <<\_ACEOF
12739 \`$as_me' instantiates files from templates according to the
12740 current configuration.
12742 Usage: $0 [OPTIONS] [FILE]...
12744 -h, --help print this help, then exit
12745 -V, --version print version number, then exit
12746 -q, --quiet do not print progress messages
12747 -d, --debug don't remove temporary files
12748 --recheck update $as_me by reconfiguring in the same conditions
12749 --file=FILE[:TEMPLATE]
12750 instantiate the configuration file FILE
12751 --header=FILE[:TEMPLATE]
12752 instantiate the configuration header FILE
12754 Configuration files:
12757 Configuration headers:
12760 Configuration commands:
12763 Report bugs to <bug-autoconf@gnu.org>."
12766 cat >>$CONFIG_STATUS <<_ACEOF
12769 configured by $0, generated by GNU Autoconf 2.59,
12770 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12772 Copyright (C) 2003 Free Software Foundation, Inc.
12773 This config.status script is free software; the Free Software Foundation
12774 gives unlimited permission to copy, distribute and modify it."
12779 cat >>$CONFIG_STATUS <<\_ACEOF
12780 # If no file are specified by the user, then we need to provide default
12781 # value. By we need to know if files were specified by the user.
12787 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12788 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12796 *) # This is not an option, so the user has probably given explicit
12799 ac_need_defaults
=false
;;
12803 # Handling of the options.
12805 cat >>$CONFIG_STATUS <<\_ACEOF
12806 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12808 --version |
--vers* |
-V )
12809 echo "$ac_cs_version"; exit 0 ;;
12811 # Conflict between --help and --header
12812 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12813 Try \`$0 --help' for more information." >&5
12814 echo "$as_me: error: ambiguous option: $1
12815 Try \`$0 --help' for more information." >&2;}
12816 { (exit 1); exit 1; }; };;
12817 --help |
--hel |
-h )
12818 echo "$ac_cs_usage"; exit 0 ;;
12819 --debug |
--d* |
-d )
12821 --file |
--fil |
--fi |
--f )
12823 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12824 ac_need_defaults
=false
;;
12825 --header |
--heade |
--head |
--hea )
12827 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12828 ac_need_defaults
=false
;;
12829 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12830 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12833 # This is an error.
12834 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12835 Try \`$0 --help' for more information." >&5
12836 echo "$as_me: error: unrecognized option: $1
12837 Try \`$0 --help' for more information." >&2;}
12838 { (exit 1); exit 1; }; } ;;
12840 *) ac_config_targets
="$ac_config_targets $1" ;;
12846 ac_configure_extra_args
=
12848 if $ac_cs_silent; then
12850 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12854 cat >>$CONFIG_STATUS <<_ACEOF
12855 if \$ac_cs_recheck; then
12856 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12857 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12862 cat >>$CONFIG_STATUS <<_ACEOF
12864 # INIT-COMMANDS section.
12867 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12868 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12869 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12871 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12872 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12873 LINGUAS="${LINGUAS-%UNSET%}"
12881 cat >>$CONFIG_STATUS <<\_ACEOF
12882 for ac_config_target
in $ac_config_targets
12884 case "$ac_config_target" in
12885 # Handling of arguments.
12886 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12887 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12888 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
12889 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12890 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12891 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12892 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
12893 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
12894 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12895 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12896 { (exit 1); exit 1; }; };;
12900 # If the user did not use the arguments to specify the items to instantiate,
12901 # then the envvar interface is used. Set only those that are not.
12902 # We use the long form for the default assignment because of an extremely
12903 # bizarre bug on SunOS 4.1.3.
12904 if $ac_need_defaults; then
12905 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12906 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12907 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12910 # Have a temporary directory for convenience. Make it in the build tree
12911 # simply because there is no reason to put it here, and in addition,
12912 # creating and moving files from /tmp can sometimes cause problems.
12913 # Create a temporary directory, and hook for its removal unless debugging.
12916 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12917 trap '{ (exit 1); exit 1; }' 1 2 13 15
12920 # Create a (secure) tmp directory for tmp files.
12923 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12924 test -n "$tmp" && test -d "$tmp"
12927 tmp
=.
/confstat$$
-$RANDOM
12928 (umask 077 && mkdir
$tmp)
12931 echo "$me: cannot create a temporary directory in ." >&2
12932 { (exit 1); exit 1; }
12937 cat >>$CONFIG_STATUS <<_ACEOF
12940 # CONFIG_FILES section.
12943 # No need to generate the scripts if there are no CONFIG_FILES.
12944 # This happens for instance when ./config.status config.h
12945 if test -n "\$CONFIG_FILES"; then
12946 # Protect against being on the right side of a sed subst in config.status.
12947 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12948 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12949 s,@SHELL@,$SHELL,;t t
12950 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12951 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12952 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12953 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12954 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12955 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12956 s,@exec_prefix@,$exec_prefix,;t t
12957 s,@prefix@,$prefix,;t t
12958 s,@program_transform_name@,$program_transform_name,;t t
12959 s,@bindir@,$bindir,;t t
12960 s,@sbindir@,$sbindir,;t t
12961 s,@libexecdir@,$libexecdir,;t t
12962 s,@datadir@,$datadir,;t t
12963 s,@sysconfdir@,$sysconfdir,;t t
12964 s,@sharedstatedir@,$sharedstatedir,;t t
12965 s,@localstatedir@,$localstatedir,;t t
12966 s,@libdir@,$libdir,;t t
12967 s,@includedir@,$includedir,;t t
12968 s,@oldincludedir@,$oldincludedir,;t t
12969 s,@infodir@,$infodir,;t t
12970 s,@mandir@,$mandir,;t t
12971 s,@build_alias@,$build_alias,;t t
12972 s,@host_alias@,$host_alias,;t t
12973 s,@target_alias@,$target_alias,;t t
12974 s,@DEFS@,$DEFS,;t t
12975 s,@ECHO_C@,$ECHO_C,;t t
12976 s,@ECHO_N@,$ECHO_N,;t t
12977 s,@ECHO_T@,$ECHO_T,;t t
12978 s,@LIBS@,$LIBS,;t t
12979 s,@build@,$build,;t t
12980 s,@build_cpu@,$build_cpu,;t t
12981 s,@build_vendor@,$build_vendor,;t t
12982 s,@build_os@,$build_os,;t t
12983 s,@host@,$host,;t t
12984 s,@host_cpu@,$host_cpu,;t t
12985 s,@host_vendor@,$host_vendor,;t t
12986 s,@host_os@,$host_os,;t t
12987 s,@target@,$target,;t t
12988 s,@target_cpu@,$target_cpu,;t t
12989 s,@target_vendor@,$target_vendor,;t t
12990 s,@target_os@,$target_os,;t t
12992 s,@CFLAGS@,$CFLAGS,;t t
12993 s,@LDFLAGS@,$LDFLAGS,;t t
12994 s,@CPPFLAGS@,$CPPFLAGS,;t t
12995 s,@ac_ct_CC@,$ac_ct_CC,;t t
12996 s,@EXEEXT@,$EXEEXT,;t t
12997 s,@OBJEXT@,$OBJEXT,;t t
12998 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12999 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13000 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13001 s,@CYGPATH_W@,$CYGPATH_W,;t t
13002 s,@PACKAGE@,$PACKAGE,;t t
13003 s,@VERSION@,$VERSION,;t t
13004 s,@ACLOCAL@,$ACLOCAL,;t t
13005 s,@AUTOCONF@,$AUTOCONF,;t t
13006 s,@AUTOMAKE@,$AUTOMAKE,;t t
13007 s,@AUTOHEADER@,$AUTOHEADER,;t t
13008 s,@MAKEINFO@,$MAKEINFO,;t t
13009 s,@install_sh@,$install_sh,;t t
13010 s,@STRIP@,$STRIP,;t t
13011 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13012 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13013 s,@mkdir_p@,$mkdir_p,;t t
13015 s,@SET_MAKE@,$SET_MAKE,;t t
13016 s,@am__leading_dot@,$am__leading_dot,;t t
13017 s,@AMTAR@,$AMTAR,;t t
13018 s,@am__tar@,$am__tar,;t t
13019 s,@am__untar@,$am__untar,;t t
13020 s,@DEPDIR@,$DEPDIR,;t t
13021 s,@am__include@,$am__include,;t t
13022 s,@am__quote@,$am__quote,;t t
13023 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13024 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13025 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13026 s,@CCDEPMODE@,$CCDEPMODE,;t t
13027 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13028 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13030 s,@ac_ct_AR@,$ac_ct_AR,;t t
13031 s,@RANLIB@,$RANLIB,;t t
13032 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13033 s,@LN_S@,$LN_S,;t t
13034 s,@LIBTOOL@,$LIBTOOL,;t t
13035 s,@PKGVERSION@,$PKGVERSION,;t t
13036 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
13037 s,@NO_WERROR@,$NO_WERROR,;t t
13038 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13039 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13040 s,@MAINT@,$MAINT,;t t
13041 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
13042 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
13043 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
13044 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
13045 s,@host_noncanonical@,$host_noncanonical,;t t
13046 s,@target_noncanonical@,$target_noncanonical,;t t
13047 s,@bfdlibdir@,$bfdlibdir,;t t
13048 s,@bfdincludedir@,$bfdincludedir,;t t
13049 s,@USE_NLS@,$USE_NLS,;t t
13050 s,@LIBINTL@,$LIBINTL,;t t
13051 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
13052 s,@INCINTL@,$INCINTL,;t t
13053 s,@XGETTEXT@,$XGETTEXT,;t t
13054 s,@GMSGFMT@,$GMSGFMT,;t t
13055 s,@POSUB@,$POSUB,;t t
13056 s,@CATALOGS@,$CATALOGS,;t t
13057 s,@DATADIRNAME@,$DATADIRNAME,;t t
13058 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13059 s,@GENCAT@,$GENCAT,;t t
13060 s,@CATOBJEXT@,$CATOBJEXT,;t t
13061 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13062 s,@MSGFMT@,$MSGFMT,;t t
13063 s,@MSGMERGE@,$MSGMERGE,;t t
13064 s,@HDEFINES@,$HDEFINES,;t t
13066 s,@EGREP@,$EGREP,;t t
13067 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
13068 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
13069 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
13070 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
13071 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
13072 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13073 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
13074 s,@COREFILE@,$COREFILE,;t t
13075 s,@COREFLAG@,$COREFLAG,;t t
13076 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
13077 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
13078 s,@TDEFINES@,$TDEFINES,;t t
13079 s,@wordsize@,$wordsize,;t t
13080 s,@bfd64_libs@,$bfd64_libs,;t t
13081 s,@all_backends@,$all_backends,;t t
13082 s,@bfd_backends@,$bfd_backends,;t t
13083 s,@bfd_machines@,$bfd_machines,;t t
13084 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
13085 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
13086 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
13087 s,@tdefaults@,$tdefaults,;t t
13088 s,@datarootdir@,$datarootdir,;t t
13089 s,@docdir@,$docdir,;t t
13090 s,@htmldir@,$htmldir,;t t
13091 s,@LIBOBJS@,$LIBOBJS,;t t
13092 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13097 cat >>$CONFIG_STATUS <<\_ACEOF
13098 # Split the substitutions into bite-sized pieces for seds with
13099 # small command number limits, like on Digital OSF/1 and HP-UX.
13100 ac_max_sed_lines
=48
13101 ac_sed_frag
=1 # Number of current file.
13102 ac_beg
=1 # First line for current file.
13103 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13106 while $ac_more_lines; do
13107 if test $ac_beg -gt 1; then
13108 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13110 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13112 if test ! -s $tmp/subs.frag
; then
13113 ac_more_lines
=false
13115 # The purpose of the label and of the branching condition is to
13116 # speed up the sed processing (if there are no `@' at all, there
13117 # is no need to browse any of the substitutions).
13118 # These are the two extra sed commands mentioned above.
13120 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13121 if test -z "$ac_sed_cmds"; then
13122 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13124 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13126 ac_sed_frag
=`expr $ac_sed_frag + 1`
13128 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13131 if test -z "$ac_sed_cmds"; then
13134 fi # test -n "$CONFIG_FILES"
13137 cat >>$CONFIG_STATUS <<\_ACEOF
13138 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13139 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13141 - |
*:- |
*:-:* ) # input from stdin
13143 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13144 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13145 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13146 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13147 * ) ac_file_in
=$ac_file.
in ;;
13150 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13151 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13152 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13153 X"$ac_file" : 'X\(//\)[^/]' \| \
13154 X"$ac_file" : 'X\(//\)$' \| \
13155 X"$ac_file" : 'X\(/\)' \| \
13156 . : '\(.\)' 2>/dev/null ||
13158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13159 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13160 /^X\(\/\/\)$/{ s//\1/; q; }
13161 /^X\(\/\).*/{ s//\1/; q; }
13163 { if $as_mkdir_p; then
13168 while test ! -d "$as_dir"; do
13169 as_dirs
="$as_dir $as_dirs"
13170 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13171 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13172 X"$as_dir" : 'X\(//\)[^/]' \| \
13173 X"$as_dir" : 'X\(//\)$' \| \
13174 X"$as_dir" : 'X\(/\)' \| \
13175 . : '\(.\)' 2>/dev/null ||
13177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13178 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13179 /^X\(\/\/\)$/{ s//\1/; q; }
13180 /^X\(\/\).*/{ s//\1/; q; }
13183 test ! -n "$as_dirs" || mkdir
$as_dirs
13184 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13185 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13186 { (exit 1); exit 1; }; }; }
13190 if test "$ac_dir" != .
; then
13191 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13192 # A "../" for each directory in $ac_dir_suffix.
13193 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13195 ac_dir_suffix
= ac_top_builddir
=
13199 .
) # No --srcdir option. We are building in place.
13201 if test -z "$ac_top_builddir"; then
13204 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13206 [\\/]* | ?
:[\\/]* ) # Absolute path.
13207 ac_srcdir
=$srcdir$ac_dir_suffix;
13208 ac_top_srcdir
=$srcdir ;;
13209 *) # Relative path.
13210 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13211 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13214 # Do not use `cd foo && pwd` to compute absolute paths, because
13215 # the directories may not exist.
13217 .
) ac_abs_builddir
="$ac_dir";;
13220 .
) ac_abs_builddir
=`pwd`;;
13221 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13222 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13225 case $ac_abs_builddir in
13226 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13228 case ${ac_top_builddir}.
in
13229 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13230 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13231 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13234 case $ac_abs_builddir in
13235 .
) ac_abs_srcdir
=$ac_srcdir;;
13238 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13239 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13240 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13243 case $ac_abs_builddir in
13244 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13246 case $ac_top_srcdir in
13247 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13248 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13249 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13255 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13256 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13259 if test x
"$ac_file" != x-
; then
13260 { echo "$as_me:$LINENO: creating $ac_file" >&5
13261 echo "$as_me: creating $ac_file" >&6;}
13264 # Let's still pretend it is `configure' which instantiates (i.e., don't
13265 # use $as_me), people would be surprised to read:
13266 # /* config.h. Generated by config.status. */
13267 if test x
"$ac_file" = x-
; then
13270 configure_input
="$ac_file. "
13272 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13273 sed 's,.*/,,'` by configure."
13275 # First look for the input files in the build tree, otherwise in the
13277 ac_file_inputs
=`IFS=:
13278 for f in $ac_file_in; do
13280 -) echo $tmp/stdin ;;
13282 # Absolute (can't be DOS-style, as IFS=:)
13283 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13284 echo "$as_me: error: cannot find input file: $f" >&2;}
13285 { (exit 1); exit 1; }; }
13288 if test -f "$f"; then
13291 elif test -f "$srcdir/$f"; then
13296 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13297 echo "$as_me: error: cannot find input file: $f" >&2;}
13298 { (exit 1); exit 1; }; }
13301 done` ||
{ (exit 1); exit 1; }
13303 cat >>$CONFIG_STATUS <<_ACEOF
13307 cat >>$CONFIG_STATUS <<\_ACEOF
13309 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13310 s
,@configure_input@
,$configure_input,;t t
13311 s
,@srcdir@
,$ac_srcdir,;t t
13312 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13313 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13314 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13315 s
,@builddir@
,$ac_builddir,;t t
13316 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13317 s
,@top_builddir@
,$ac_top_builddir,;t t
13318 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13319 s
,@INSTALL@
,$ac_INSTALL,;t t
13320 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13322 if test x"$ac_file" != x-; then
13323 mv $tmp/out $ac_file
13331 cat >>$CONFIG_STATUS <<\_ACEOF
13334 # CONFIG_HEADER section.
13337 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13338 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13340 # ac_d sets the value in "#define NAME VALUE" lines.
13341 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13342 ac_dB
='[ ].*$,\1#\2'
13345 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13346 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13347 ac_uB
='$,\1#\2define\3'
13351 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13352 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13354 - |
*:- |
*:-:* ) # input from stdin
13356 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13357 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13358 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13359 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13360 * ) ac_file_in
=$ac_file.
in ;;
13363 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13364 echo "$as_me: creating $ac_file" >&6;}
13366 # First look for the input files in the build tree, otherwise in the
13368 ac_file_inputs
=`IFS=:
13369 for f in $ac_file_in; do
13371 -) echo $tmp/stdin ;;
13373 # Absolute (can't be DOS-style, as IFS=:)
13374 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13375 echo "$as_me: error: cannot find input file: $f" >&2;}
13376 { (exit 1); exit 1; }; }
13377 # Do quote $f, to prevent DOS paths from being IFS'd.
13380 if test -f "$f"; then
13383 elif test -f "$srcdir/$f"; then
13388 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13389 echo "$as_me: error: cannot find input file: $f" >&2;}
13390 { (exit 1); exit 1; }; }
13393 done` ||
{ (exit 1); exit 1; }
13394 # Remove the trailing spaces.
13395 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13399 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13400 # `conftest.undefs', that substitutes the proper values into
13401 # config.h.in to produce config.h. The first handles `#define'
13402 # templates, and the second `#undef' templates.
13403 # And first: Protect against being on the right side of a sed subst in
13404 # config.status. Protect against being in an unquoted here document
13405 # in config.status.
13406 rm -f conftest.defines conftest.undefs
13407 # Using a here document instead of a string reduces the quoting nightmare.
13408 # Putting comments in sed scripts is not portable.
13410 # `end' is used to avoid that the second main sed command (meant for
13411 # 0-ary CPP macros) applies to n-ary macro definitions.
13412 # See the Autoconf documentation for `clear'.
13413 cat >confdef2sed.
sed <<\_ACEOF
13418 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13420 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13423 # If some macros were called several times there might be several times
13424 # the same #defines, which is useless. Nevertheless, we may not want to
13425 # sort them, since we want the *last* AC-DEFINE to be honored.
13426 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13427 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13428 rm -f confdef2sed.sed
13430 # This sed command replaces #undef with comments. This is necessary, for
13431 # example, in the case of _POSIX_SOURCE, which is predefined and required
13432 # on some systems where configure will not decide to define it.
13433 cat >>conftest.undefs <<\_ACEOF
13434 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13437 # Break up conftest.defines because some shells have a limit on the size
13438 # of here documents, and old seds have small limits too (100 cmds).
13439 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13440 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13441 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13442 echo ' :' >>$CONFIG_STATUS
13443 rm -f conftest.tail
13444 while grep . conftest.defines >/dev/null
13446 # Write a limited-size here document to $tmp/defines.sed.
13447 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13448 # Speed up: don't consider the non `#define' lines.
13449 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13450 # Work around the forget-to-reset-the-flag bug.
13451 echo 't clr' >>$CONFIG_STATUS
13452 echo ': clr' >>$CONFIG_STATUS
13453 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13455 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13457 mv $tmp/out $tmp/in
13459 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13460 rm -f conftest.defines
13461 mv conftest.
tail conftest.defines
13463 rm -f conftest.defines
13464 echo ' fi # grep' >>$CONFIG_STATUS
13465 echo >>$CONFIG_STATUS
13467 # Break up conftest.undefs because some shells have a limit on the size
13468 # of here documents, and old seds have small limits too (100 cmds).
13469 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13470 rm -f conftest.
tail
13471 while grep . conftest.undefs
>/dev
/null
13473 # Write a limited-size here document to $tmp/undefs.sed.
13474 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13475 # Speed up: don't consider the non
`#undef'
13476 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13477 # Work around the forget-to-reset-the-flag bug.
13478 echo 't clr' >>$CONFIG_STATUS
13479 echo ': clr' >>$CONFIG_STATUS
13480 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13482 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13484 mv $tmp/out $tmp/in
13486 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13487 rm -f conftest.undefs
13488 mv conftest.tail conftest.undefs
13490 rm -f conftest.undefs
13492 cat >>$CONFIG_STATUS <<\_ACEOF
13493 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13494 # use $as_me), people would be surprised to read:
13495 # /* config.h. Generated by config.status. */
13496 if test x
"$ac_file" = x-
; then
13497 echo "/* Generated by configure. */" >$tmp/config.h
13499 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13501 cat $tmp/in >>$tmp/config.h
13503 if test x
"$ac_file" != x-
; then
13504 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13505 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13506 echo "$as_me: $ac_file is unchanged" >&6;}
13508 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13509 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13510 X"$ac_file" : 'X\(//\)[^/]' \| \
13511 X"$ac_file" : 'X\(//\)$' \| \
13512 X"$ac_file" : 'X\(/\)' \| \
13513 . : '\(.\)' 2>/dev/null ||
13515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13516 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13517 /^X\(\/\/\)$/{ s//\1/; q; }
13518 /^X\(\/\).*/{ s//\1/; q; }
13520 { if $as_mkdir_p; then
13525 while test ! -d "$as_dir"; do
13526 as_dirs
="$as_dir $as_dirs"
13527 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13528 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13529 X"$as_dir" : 'X\(//\)[^/]' \| \
13530 X"$as_dir" : 'X\(//\)$' \| \
13531 X"$as_dir" : 'X\(/\)' \| \
13532 . : '\(.\)' 2>/dev/null ||
13534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13535 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13536 /^X\(\/\/\)$/{ s//\1/; q; }
13537 /^X\(\/\).*/{ s//\1/; q; }
13540 test ! -n "$as_dirs" || mkdir
$as_dirs
13541 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13542 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13543 { (exit 1); exit 1; }; }; }
13546 mv $tmp/config.h
$ac_file
13550 rm -f $tmp/config.h
13552 # Compute $ac_file's index in $config_headers.
13554 for _am_header
in $config_headers :; do
13555 case $_am_header in
13556 $ac_file |
$ac_file:* )
13559 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13562 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13563 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13564 X$ac_file : 'X\(//\)[^/]' \| \
13565 X$ac_file : 'X\(//\)$' \| \
13566 X$ac_file : 'X\(/\)' \| \
13567 . : '\(.\)' 2>/dev/null ||
13569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13570 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13571 /^X\(\/\/\)$/{ s//\1/; q; }
13572 /^X\(\/\).*/{ s//\1/; q; }
13573 s/.*/./; q'`/stamp-h
$_am_stamp_count
13576 cat >>$CONFIG_STATUS <<\_ACEOF
13579 # CONFIG_COMMANDS section.
13581 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13582 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13583 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13584 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13585 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13586 X"$ac_dest" : 'X\(//\)[^/]' \| \
13587 X"$ac_dest" : 'X\(//\)$' \| \
13588 X"$ac_dest" : 'X\(/\)' \| \
13589 . : '\(.\)' 2>/dev/null ||
13591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13593 /^X\(\/\/\)$/{ s//\1/; q; }
13594 /^X\(\/\).*/{ s//\1/; q; }
13596 { if $as_mkdir_p; then
13601 while test ! -d "$as_dir"; do
13602 as_dirs
="$as_dir $as_dirs"
13603 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13604 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13605 X"$as_dir" : 'X\(//\)[^/]' \| \
13606 X"$as_dir" : 'X\(//\)$' \| \
13607 X"$as_dir" : 'X\(/\)' \| \
13608 . : '\(.\)' 2>/dev/null ||
13610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13611 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13612 /^X\(\/\/\)$/{ s//\1/; q; }
13613 /^X\(\/\).*/{ s//\1/; q; }
13616 test ! -n "$as_dirs" || mkdir
$as_dirs
13617 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13618 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13619 { (exit 1); exit 1; }; }; }
13623 if test "$ac_dir" != .
; then
13624 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13625 # A "../" for each directory in $ac_dir_suffix.
13626 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13628 ac_dir_suffix
= ac_top_builddir
=
13632 .
) # No --srcdir option. We are building in place.
13634 if test -z "$ac_top_builddir"; then
13637 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13639 [\\/]* | ?
:[\\/]* ) # Absolute path.
13640 ac_srcdir
=$srcdir$ac_dir_suffix;
13641 ac_top_srcdir
=$srcdir ;;
13642 *) # Relative path.
13643 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13644 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13647 # Do not use `cd foo && pwd` to compute absolute paths, because
13648 # the directories may not exist.
13650 .
) ac_abs_builddir
="$ac_dir";;
13653 .
) ac_abs_builddir
=`pwd`;;
13654 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13655 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13658 case $ac_abs_builddir in
13659 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13661 case ${ac_top_builddir}.
in
13662 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13663 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13664 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13667 case $ac_abs_builddir in
13668 .
) ac_abs_srcdir
=$ac_srcdir;;
13671 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13672 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13673 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13676 case $ac_abs_builddir in
13677 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13679 case $ac_top_srcdir in
13680 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13681 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13682 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13687 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13688 echo "$as_me: executing $ac_dest commands" >&6;}
13690 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
13691 # Strip MF so we end up with the name of the file.
13692 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13693 # Check whether this is an Automake generated Makefile or not.
13694 # We used to match only the files named `Makefile.in', but
13695 # some people rename them; so instead we look at the file content.
13696 # Grep'ing the first line is not enough: some people post-process
13697 # each Makefile.in and add a new line on top of each file to say so.
13698 # So let's grep whole file.
13699 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
13700 dirpart
=`(dirname "$mf") 2>/dev/null ||
13701 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13702 X"$mf" : 'X\(//\)[^/]' \| \
13703 X"$mf" : 'X\(//\)$' \| \
13704 X"$mf" : 'X\(/\)' \| \
13705 . : '\(.\)' 2>/dev/null ||
13707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13708 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13709 /^X\(\/\/\)$/{ s//\1/; q; }
13710 /^X\(\/\).*/{ s//\1/; q; }
13715 # Extract the definition of DEPDIR, am__include, and am__quote
13716 # from the Makefile without running `make'.
13717 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13718 test -z "$DEPDIR" && continue
13719 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13720 test -z "am__include" && continue
13721 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13722 # When using ansi2knr, U may be empty or an underscore; expand it
13723 U
=`sed -n 's/^U = //p' < "$mf"`
13724 # Find all dependency output files, they are included files with
13725 # $(DEPDIR) in their names. We invoke sed twice because it is the
13726 # simplest approach to changing $(DEPDIR) to its actual value in the
13728 for file in `sed -n "
13729 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13730 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13731 # Make sure the directory exists.
13732 test -f "$dirpart/$file" && continue
13733 fdir
=`(dirname "$file") 2>/dev/null ||
13734 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13735 X"$file" : 'X\(//\)[^/]' \| \
13736 X"$file" : 'X\(//\)$' \| \
13737 X"$file" : 'X\(/\)' \| \
13738 . : '\(.\)' 2>/dev/null ||
13740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13741 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13742 /^X\(\/\/\)$/{ s//\1/; q; }
13743 /^X\(\/\).*/{ s//\1/; q; }
13745 { if $as_mkdir_p; then
13746 mkdir
-p $dirpart/$fdir
13748 as_dir
=$dirpart/$fdir
13750 while test ! -d "$as_dir"; do
13751 as_dirs
="$as_dir $as_dirs"
13752 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13753 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13754 X"$as_dir" : 'X\(//\)[^/]' \| \
13755 X"$as_dir" : 'X\(//\)$' \| \
13756 X"$as_dir" : 'X\(/\)' \| \
13757 . : '\(.\)' 2>/dev/null ||
13759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13760 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13761 /^X\(\/\/\)$/{ s//\1/; q; }
13762 /^X\(\/\).*/{ s//\1/; q; }
13765 test ! -n "$as_dirs" || mkdir
$as_dirs
13766 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13767 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13768 { (exit 1); exit 1; }; }; }
13770 # echo "creating $dirpart/$file"
13771 echo '# dummy' > "$dirpart/$file"
13776 for ac_file
in $CONFIG_FILES; do
13777 # Support "outfile[:infile[:infile...]]"
13779 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13781 # PO directories have a Makefile.in generated from Makefile.in.in.
13782 case "$ac_file" in */Makefile.
in)
13783 # Adjust a relative srcdir.
13784 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13785 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
13786 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13787 # In autoconf-2.13 it is called $ac_given_srcdir.
13788 # In autoconf-2.50 it is called $srcdir.
13789 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
13790 case "$ac_given_srcdir" in
13791 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
13792 /*) top_srcdir
="$ac_given_srcdir" ;;
13793 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13795 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13796 rm -f "$ac_dir/POTFILES"
13797 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
13798 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13799 POMAKEFILEDEPS
="POTFILES.in"
13800 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13801 # on $ac_dir but don't depend on user-specified configuration
13803 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13804 # The LINGUAS file contains the set of available languages.
13805 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13806 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
13808 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13809 # Hide the ALL_LINGUAS assigment from automake.
13810 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13811 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
13813 # The set of available languages was given in configure.in.
13814 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13816 case "$ac_given_srcdir" in
13818 *) srcdirpre
='$(srcdir)/' ;;
13824 for lang
in $ALL_LINGUAS; do
13825 POFILES
="$POFILES $srcdirpre$lang.po"
13826 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13827 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
13828 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
13830 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13831 # environment variable.
13833 if test -n "$ALL_LINGUAS"; then
13834 for presentlang
in $ALL_LINGUAS; do
13836 if test "%UNSET%" != "$LINGUAS"; then
13837 desiredlanguages
="$LINGUAS"
13839 desiredlanguages
="$ALL_LINGUAS"
13841 for desiredlang
in $desiredlanguages; do
13842 # Use the presentlang catalog if desiredlang is
13843 # a. equal to presentlang, or
13844 # b. a variant of presentlang (because in this case,
13845 # presentlang can be used as a fallback for messages
13846 # which are not translated in the desiredlang catalog).
13847 case "$desiredlang" in
13848 "$presentlang"*) useit
=yes;;
13851 if test $useit = yes; then
13852 INST_LINGUAS
="$INST_LINGUAS $presentlang"
13857 if test -n "$INST_LINGUAS"; then
13858 for lang
in $INST_LINGUAS; do
13859 CATALOGS
="$CATALOGS $lang.gmo"
13862 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
13863 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
13864 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
13865 if test -f "$f"; then
13867 *.orig |
*.bak |
*~
) ;;
13868 *) cat "$f" >> "$ac_dir/Makefile" ;;
13879 *) srcdirpre
='$(srcdir)/' ;;
13883 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
13884 if test $lang != dummy
; then
13885 POFILES
="$POFILES $srcdirpre$lang.po"
13886 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13889 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
13890 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
13891 -e "s,@POFILES@,$POFILES," \
13892 -e "s,@GMOFILES@,$GMOFILES," \
13893 po
/Makefile.
in > po
/Makefile
;;
13898 cat >>$CONFIG_STATUS <<\_ACEOF
13900 { (exit 0); exit 0; }
13902 chmod +x
$CONFIG_STATUS
13903 ac_clean_files
=$ac_clean_files_save
13906 # configure is writing to config.log, and then calls config.status.
13907 # config.status does its own redirection, appending to config.log.
13908 # Unfortunately, on DOS this fails, as config.log is still kept open
13909 # by configure, so config.status won't be able to write to it; its
13910 # output is simply discarded. So we exec the FD to /dev/null,
13911 # effectively closing config.log, so it can be properly (re)opened and
13912 # appended to by config.status. When coming back to configure, we
13913 # need to make the FD available again.
13914 if test "$no_create" != yes; then
13916 ac_config_status_args
=
13917 test "$silent" = yes &&
13918 ac_config_status_args
="$ac_config_status_args --quiet"
13920 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13922 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13923 # would make configure fail if this is the last instruction.
13924 $ac_cs_success ||
{ (exit 1); exit 1; }