2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="libbfd.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 bfd_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default
=no
856 --enable-static=PKGS build static libraries default
=yes
857 --enable-fast-install=PKGS optimize
for fast installation default
=yes
858 --disable-libtool-lock avoid locking
(might
break parallel builds
)
859 --enable-64-bit-bfd 64-bit support
(on hosts with narrower word sizes
)
860 --enable-targets alternative target configurations
861 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
862 --enable-secureplt Default to creating read-only plt entries
863 --enable-werror treat compile warnings as errors
864 --enable-build-warnings enable build-time compiler warnings
865 --enable-maintainer-mode enable make rules and dependencies not useful
866 (and sometimes confusing
) to the casual installer
867 --enable-install-libbfd controls installation of libbfd and related headers
868 --disable-nls do not use Native Language Support
871 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
872 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
873 --with-gnu-ld assume the C compiler uses GNU ld default
=no
874 --with-pic try to use only PIC
/non-PIC objects default
=use both
875 --with-mmap try using mmap
for BFD input files
if available
877 Some influential environment variables
:
878 CC C compiler
command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
881 nonstandard directory
<lib dir
>
882 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
883 headers
in a nonstandard directory
<include dir
>
886 Use these variables to override the choices made by
`configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
892 if test "$ac_init_help" = "recursive"; then
893 # If there are subdirs, report their specific --help.
895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
896 test -d $ac_dir || continue
899 if test "$ac_dir" != .; then
900 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
901 # A "../" for each directory in $ac_dir_suffix.
902 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
904 ac_dir_suffix= ac_top_builddir=
908 .) # No --srcdir option. We are building in place.
910 if test -z "$ac_top_builddir"; then
913 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
915 [\\/]* | ?:[\\/]* ) # Absolute path.
916 ac_srcdir=$srcdir$ac_dir_suffix;
917 ac_top_srcdir=$srcdir ;;
919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
920 ac_top_srcdir=$ac_top_builddir$srcdir ;;
923 # Do not use `cd foo
&& pwd` to compute absolute paths, because
924 # the directories may not exist.
926 .) ac_abs_builddir="$ac_dir";;
929 .) ac_abs_builddir=`pwd`;;
930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
931 *) ac_abs_builddir=`pwd`/"$ac_dir";;
934 case $ac_abs_builddir in
935 .) ac_abs_top_builddir=${ac_top_builddir}.;;
937 case ${ac_top_builddir}. in
938 .) ac_abs_top_builddir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
943 case $ac_abs_builddir in
944 .) ac_abs_srcdir=$ac_srcdir;;
947 .) ac_abs_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
952 case $ac_abs_builddir in
953 .) ac_abs_top_srcdir=$ac_top_srcdir;;
955 case $ac_top_srcdir in
956 .) ac_abs_top_srcdir=$ac_abs_builddir;;
957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
963 # Check for guested configure; otherwise get Cygnus style configure.
964 if test -f $ac_srcdir/configure.gnu; then
966 $SHELL $ac_srcdir/configure.gnu --help=recursive
967 elif test -f $ac_srcdir/configure; then
969 $SHELL $ac_srcdir/configure --help=recursive
970 elif test -f $ac_srcdir/configure.ac ||
971 test -f $ac_srcdir/configure.in; then
975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
981 test -n "$ac_init_help" && exit 0
982 if $ac_init_version; then
985 Copyright (C) 2003 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
996 It was created by $as_me, which was
997 generated by GNU Autoconf 2.59. Invocation command line was
1008 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1009 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1010 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1011 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1012 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1015 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1017 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1019 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1020 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1021 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1023 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1056 ac_must_keep_next=false
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1085 -* ) ac_must_keep_next=true ;;
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log. We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close
' the trap.
1103 trap 'exit_status
=$?
1104 # Save into config.log some information that might help in debugging.
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1114 # The following way of writing the cache mishandles newlines in values,
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1137 for ac_var
in $ac_subst_vars
1139 eval ac_val
=$
`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -n "$ac_subst_files"; then
1151 for ac_var
in $ac_subst_files
1153 eval ac_val
=$
`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1159 if test -s confdefs.h
; then
1166 sed "/^$/d" confdefs.h |
sort
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1173 rm -f core
*.core
&&
1174 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1177 for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1187 # Predefined preprocessor variables.
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1223 for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's
/^
/|
/' "$ac_site_file" >&5
1232 if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1249 # Check that the precious variables saved in the cache have kept the same
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1262 ac_cache_corrupted=: ;;
1264 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1271 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273 echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275 echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1296 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1303 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1327 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1328 if test -f $ac_dir/install-sh; then
1330 ac_install_sh="$ac_aux_dir/install-sh -c"
1332 elif test -f $ac_dir/install.sh; then
1334 ac_install_sh="$ac_aux_dir/install.sh -c"
1336 elif test -f $ac_dir/shtool; then
1338 ac_install_sh="$ac_aux_dir/shtool install -c"
1342 if test -z "$ac_aux_dir"; then
1343 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1344 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1345 { (exit 1); exit 1; }; }
1347 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1348 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1349 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1351 # Make sure we can run config.sub.
1352 $ac_config_sub sun4 >/dev/null 2>&1 ||
1353 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1354 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1355 { (exit 1); exit 1; }; }
1357 echo "$as_me:$LINENO: checking build system type" >&5
1358 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1359 if test "${ac_cv_build+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1362 ac_cv_build_alias=$build_alias
1363 test -z "$ac_cv_build_alias" &&
1364 ac_cv_build_alias=`$ac_config_guess`
1365 test -z "$ac_cv_build_alias" &&
1366 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1367 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1368 { (exit 1); exit 1; }; }
1369 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1370 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1371 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1372 { (exit 1); exit 1; }; }
1375 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1376 echo "${ECHO_T}$ac_cv_build" >&6
1378 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1379 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1380 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1383 echo "$as_me:$LINENO: checking host system type" >&5
1384 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1385 if test "${ac_cv_host+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1388 ac_cv_host_alias=$host_alias
1389 test -z "$ac_cv_host_alias" &&
1390 ac_cv_host_alias=$ac_cv_build_alias
1391 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1392 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1393 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1394 { (exit 1); exit 1; }; }
1397 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1398 echo "${ECHO_T}$ac_cv_host" >&6
1400 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1401 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1402 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1405 echo "$as_me:$LINENO: checking target system type" >&5
1406 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1407 if test "${ac_cv_target+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 ac_cv_target_alias=$target_alias
1411 test "x$ac_cv_target_alias" = "x" &&
1412 ac_cv_target_alias=$ac_cv_host_alias
1413 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1420 echo "${ECHO_T}$ac_cv_target" >&6
1421 target=$ac_cv_target
1422 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1423 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1424 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1427 # The aliases save the names the user supplied, while $host etc.
1428 # will get canonicalized.
1429 test -n "$target_alias" &&
1430 test "$program_prefix$program_suffix$program_transform_name" = \
1432 program_prefix=${target_alias}-
1434 ac_cpp='$CPP $CPPFLAGS'
1435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1436 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1438 if test -n "$ac_tool_prefix"; then
1439 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1440 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1441 echo "$as_me:$LINENO: checking for $ac_word" >&5
1442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1443 if test "${ac_cv_prog_CC+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 if test -n "$CC"; then
1447 ac_cv_prog_CC="$CC" # Let the user override the test.
1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1453 test -z "$as_dir" && as_dir=.
1454 for ac_exec_ext in '' $ac_executable_extensions; do
1455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1456 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1466 if test -n "$CC"; then
1467 echo "$as_me:$LINENO: result: $CC" >&5
1468 echo "${ECHO_T}$CC" >&6
1470 echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1475 if test -z "$ac_cv_prog_CC"; then
1477 # Extract the first word of "gcc", so it can be a program name with args.
1478 set dummy gcc; ac_word=$2
1479 echo "$as_me:$LINENO: checking for $ac_word" >&5
1480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1484 if test -n "$ac_ct_CC"; then
1485 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491 test -z "$as_dir" && as_dir=.
1492 for ac_exec_ext in '' $ac_executable_extensions; do
1493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1494 ac_cv_prog_ac_ct_CC="gcc"
1495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1504 if test -n "$ac_ct_CC"; then
1505 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1506 echo "${ECHO_T}$ac_ct_CC" >&6
1508 echo "$as_me:$LINENO: result: no" >&5
1509 echo "${ECHO_T}no" >&6
1517 if test -z "$CC"; then
1518 if test -n "$ac_tool_prefix"; then
1519 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1520 set dummy ${ac_tool_prefix}cc; ac_word=$2
1521 echo "$as_me:$LINENO: checking for $ac_word" >&5
1522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1523 if test "${ac_cv_prog_CC+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1526 if test -n "$CC"; then
1527 ac_cv_prog_CC="$CC" # Let the user override the test.
1529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1533 test -z "$as_dir" && as_dir=.
1534 for ac_exec_ext in '' $ac_executable_extensions; do
1535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1536 ac_cv_prog_CC="${ac_tool_prefix}cc"
1537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1546 if test -n "$CC"; then
1547 echo "$as_me:$LINENO: result: $CC" >&5
1548 echo "${ECHO_T}$CC" >&6
1550 echo "$as_me:$LINENO: result: no" >&5
1551 echo "${ECHO_T}no" >&6
1555 if test -z "$ac_cv_prog_CC"; then
1557 # Extract the first word of "cc", so it can be a program name with args.
1558 set dummy cc; ac_word=$2
1559 echo "$as_me:$LINENO: checking for $ac_word" >&5
1560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 if test -n "$ac_ct_CC"; then
1565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1571 test -z "$as_dir" && as_dir=.
1572 for ac_exec_ext in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1574 ac_cv_prog_ac_ct_CC="cc"
1575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1584 if test -n "$ac_ct_CC"; then
1585 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1586 echo "${ECHO_T}$ac_ct_CC" >&6
1588 echo "$as_me:$LINENO: result: no" >&5
1589 echo "${ECHO_T}no" >&6
1598 if test -z "$CC"; then
1599 # Extract the first word of "cc", so it can be a program name with args.
1600 set dummy cc; ac_word=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_CC+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 if test -n "$CC"; then
1607 ac_cv_prog_CC="$CC" # Let the user override the test.
1610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1614 test -z "$as_dir" && as_dir=.
1615 for ac_exec_ext in '' $ac_executable_extensions; do
1616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1617 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1618 ac_prog_rejected=yes
1622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1628 if test $ac_prog_rejected = yes; then
1629 # We found a bogon in the path, so make sure we never use it.
1630 set dummy $ac_cv_prog_CC
1632 if test $# != 0; then
1633 # We chose a different compiler from the bogus one.
1634 # However, it has the same basename, so the bogon will be chosen
1635 # first if we set CC to just the basename; use the full file name.
1637 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1643 if test -n "$CC"; then
1644 echo "$as_me:$LINENO: result: $CC" >&5
1645 echo "${ECHO_T}$CC" >&6
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1652 if test -z "$CC"; then
1653 if test -n "$ac_tool_prefix"; then
1656 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1657 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1658 echo "$as_me:$LINENO: checking for $ac_word" >&5
1659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1660 if test "${ac_cv_prog_CC+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 if test -n "$CC"; then
1664 ac_cv_prog_CC="$CC" # Let the user override the test.
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670 test -z "$as_dir" && as_dir=.
1671 for ac_exec_ext in '' $ac_executable_extensions; do
1672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1673 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 if test -n "$CC"; then
1684 echo "$as_me:$LINENO: result: $CC" >&5
1685 echo "${ECHO_T}$CC" >&6
1687 echo "$as_me:$LINENO: result: no" >&5
1688 echo "${ECHO_T}no" >&6
1691 test -n "$CC" && break
1694 if test -z "$CC"; then
1698 # Extract the first word of "$ac_prog", so it can be a program name with args.
1699 set dummy $ac_prog; ac_word=$2
1700 echo "$as_me:$LINENO: checking for $ac_word" >&5
1701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1702 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 if test -n "$ac_ct_CC"; then
1706 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712 test -z "$as_dir" && as_dir=.
1713 for ac_exec_ext in '' $ac_executable_extensions; do
1714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1715 ac_cv_prog_ac_ct_CC="$ac_prog"
1716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1725 if test -n "$ac_ct_CC"; then
1726 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1727 echo "${ECHO_T}$ac_ct_CC" >&6
1729 echo "$as_me:$LINENO: result: no" >&5
1730 echo "${ECHO_T}no" >&6
1733 test -n "$ac_ct_CC" && break
1742 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1743 See \`config.log' for more details.
" >&5
1744 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1745 See \
`config.log' for more details." >&2;}
1746 { (exit 1); exit 1; }; }
1748 # Provide some information about the compiler.
1749 echo "$as_me:$LINENO:" \
1750 "checking for C compiler version" >&5
1751 ac_compiler=`set X
$ac_compile; echo $2`
1752 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1753 (eval $ac_compiler --version </dev/null >&5) 2>&5
1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 (exit $ac_status); }
1757 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1758 (eval $ac_compiler -v </dev/null >&5) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }
1762 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1763 (eval $ac_compiler -V </dev/null >&5) 2>&5
1765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1766 (exit $ac_status); }
1768 cat >conftest.$ac_ext <<_ACEOF
1771 cat confdefs.h >>conftest.$ac_ext
1772 cat >>conftest.$ac_ext <<_ACEOF
1773 /* end confdefs.h. */
1783 ac_clean_files_save=$ac_clean_files
1784 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1785 # Try to create an executable without -o first, disregard a.out.
1786 # It will help us diagnose broken compilers, and finding out an intuition
1788 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1789 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1790 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1791 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1792 (eval $ac_link_default) 2>&5
1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1795 (exit $ac_status); }; then
1796 # Find the output, starting from the most likely. This scheme is
1797 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1800 # Be careful to initialize this variable, since it used to be cached.
1801 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1803 # b.out is created by i960 compilers.
1804 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1806 test -f "$ac_file" || continue
1808 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1811 # This is the source file.
1814 # We found the default executable, but exeext='' is most
1818 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1819 # FIXME: I believe we export ac_cv_exeext for Libtool,
1820 # but it would be cool to find out if it's true. Does anybody
1821 # maintain Libtool? --akim.
1829 echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1833 See \`config.log
' for more details." >&5
1834 echo "$as_me: error: C compiler cannot create executables
1835 See \`config.log' for more details.
" >&2;}
1836 { (exit 77); exit 77; }; }
1839 ac_exeext=$ac_cv_exeext
1840 echo "$as_me:$LINENO: result
: $ac_file" >&5
1841 echo "${ECHO_T}$ac_file" >&6
1843 # Check the compiler produces executables we can run. If not, either
1844 # the compiler is broken, or we cross compile.
1845 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1846 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1847 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1848 # If not cross compiling, check that we can run a simple program.
1849 if test "$cross_compiling" != yes; then
1850 if { ac_try='./$ac_file'
1851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1854 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1855 (exit $ac_status); }; }; then
1858 if test "$cross_compiling" = maybe; then
1861 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1862 If you meant to cross compile
, use \
`--host'.
1863 See \`config.log
' for more details." >&5
1864 echo "$as_me: error: cannot run C compiled programs.
1865 If you meant to cross compile, use \`--host'.
1866 See \
`config.log' for more details." >&2;}
1867 { (exit 1); exit 1; }; }
1871 echo "$as_me:$LINENO: result: yes" >&5
1872 echo "${ECHO_T}yes" >&6
1874 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1875 ac_clean_files=$ac_clean_files_save
1876 # Check the compiler produces executables we can run. If not, either
1877 # the compiler is broken, or we cross compile.
1878 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1879 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1880 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1881 echo "${ECHO_T}$cross_compiling" >&6
1883 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1884 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1886 (eval $ac_link) 2>&5
1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889 (exit $ac_status); }; then
1890 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1891 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1892 # work properly (i.e., refer to `conftest.exe'), while it won't with
1894 for ac_file
in conftest.exe conftest conftest.
*; do
1895 test -f "$ac_file" ||
continue
1897 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1898 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1905 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1906 See \`config.log' for more details." >&5
1907 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1908 See \`config.log' for more details." >&2;}
1909 { (exit 1); exit 1; }; }
1912 rm -f conftest
$ac_cv_exeext
1913 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1914 echo "${ECHO_T}$ac_cv_exeext" >&6
1916 rm -f conftest.
$ac_ext
1917 EXEEXT
=$ac_cv_exeext
1919 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1920 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1921 if test "${ac_cv_objext+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 cat >conftest.
$ac_ext <<_ACEOF
1927 cat confdefs.h
>>conftest.
$ac_ext
1928 cat >>conftest.
$ac_ext <<_ACEOF
1929 /* end confdefs.h. */
1939 rm -f conftest.o conftest.obj
1940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1941 (eval $ac_compile) 2>&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; then
1945 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1947 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1948 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1953 echo "$as_me: failed program was:" >&5
1954 sed 's/^/| /' conftest.
$ac_ext >&5
1956 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1957 See \`config.log' for more details." >&5
1958 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1959 See \`config.log' for more details." >&2;}
1960 { (exit 1); exit 1; }; }
1963 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1965 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1966 echo "${ECHO_T}$ac_cv_objext" >&6
1967 OBJEXT
=$ac_cv_objext
1969 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1970 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1971 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 cat >conftest.
$ac_ext <<_ACEOF
1977 cat confdefs.h
>>conftest.
$ac_ext
1978 cat >>conftest.
$ac_ext <<_ACEOF
1979 /* end confdefs.h. */
1992 rm -f conftest.
$ac_objext
1993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1994 (eval $ac_compile) 2>conftest.er1
1996 grep -v '^ *+' conftest.er1
>conftest.err
1998 cat conftest.err
>&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); } &&
2001 { ac_try
='test -z "$ac_c_werror_flag"
2002 || test ! -s conftest.err'
2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; } &&
2008 { ac_try
='test -s conftest.$ac_objext'
2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }; }; then
2016 echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.
$ac_ext >&5
2021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2022 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2025 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2026 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2027 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2028 ac_test_CFLAGS
=${CFLAGS+set}
2029 ac_save_CFLAGS
=$CFLAGS
2031 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2032 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2033 if test "${ac_cv_prog_cc_g+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 cat >conftest.
$ac_ext <<_ACEOF
2039 cat confdefs.h
>>conftest.
$ac_ext
2040 cat >>conftest.
$ac_ext <<_ACEOF
2041 /* end confdefs.h. */
2051 rm -f conftest.
$ac_objext
2052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2053 (eval $ac_compile) 2>conftest.er1
2055 grep -v '^ *+' conftest.er1
>conftest.err
2057 cat conftest.err
>&5
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); } &&
2060 { ac_try
='test -z "$ac_c_werror_flag"
2061 || test ! -s conftest.err'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; } &&
2067 { ac_try
='test -s conftest.$ac_objext'
2068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072 (exit $ac_status); }; }; then
2075 echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.
$ac_ext >&5
2080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2082 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2083 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2084 if test "$ac_test_CFLAGS" = set; then
2085 CFLAGS
=$ac_save_CFLAGS
2086 elif test $ac_cv_prog_cc_g = yes; then
2087 if test "$GCC" = yes; then
2093 if test "$GCC" = yes; then
2099 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2100 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2101 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2104 ac_cv_prog_cc_stdc
=no
2106 cat >conftest.
$ac_ext <<_ACEOF
2109 cat confdefs.h
>>conftest.
$ac_ext
2110 cat >>conftest.
$ac_ext <<_ACEOF
2111 /* end confdefs.h. */
2114 #include <sys/types.h>
2115 #include <sys/stat.h>
2116 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2117 struct buf { int x; };
2118 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2119 static char *e (p, i)
2125 static char *f (char * (*g) (char **, int), char **p, ...)
2130 s = g (p, va_arg (v,int));
2135 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2136 function prototypes and stuff, but not '\xHH' hex character constants.
2137 These don't provoke an error unfortunately, instead are silently treated
2138 as 'x'. The following induces an error, until -std1 is added to get
2139 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2140 array size at least. It's necessary to write '\x00'==0 to get something
2141 that's true only with -std1. */
2142 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2144 int test (int i, double x);
2145 struct s1 {int (*f) (int a);};
2146 struct s2 {int (*f) (double a);};
2147 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2153 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2158 # Don't try gcc -ansi; that turns off useful extensions and
2159 # breaks some systems' header files.
2160 # AIX -qlanglvl=ansi
2161 # Ultrix and OSF/1 -std1
2162 # HP-UX 10.20 and later -Ae
2163 # HP-UX older versions -Aa -D_HPUX_SOURCE
2164 # SVR4 -Xc -D__EXTENSIONS__
2165 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2167 CC
="$ac_save_CC $ac_arg"
2168 rm -f conftest.
$ac_objext
2169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2170 (eval $ac_compile) 2>conftest.er1
2172 grep -v '^ *+' conftest.er1
>conftest.err
2174 cat conftest.err
>&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); } &&
2177 { ac_try
='test -z "$ac_c_werror_flag"
2178 || test ! -s conftest.err'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; } &&
2184 { ac_try
='test -s conftest.$ac_objext'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2190 ac_cv_prog_cc_stdc
=$ac_arg
2193 echo "$as_me: failed program was:" >&5
2194 sed 's/^/| /' conftest.
$ac_ext >&5
2197 rm -f conftest.err conftest.
$ac_objext
2199 rm -f conftest.
$ac_ext conftest.
$ac_objext
2204 case "x$ac_cv_prog_cc_stdc" in
2206 echo "$as_me:$LINENO: result: none needed" >&5
2207 echo "${ECHO_T}none needed" >&6 ;;
2209 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2210 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2211 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2214 # Some people use a C++ compiler to compile C. Since we use `exit',
2215 # in C++ we need to declare it. In case someone uses the same compiler
2216 # for both compiling C and C++ we need to have the C++ compiler decide
2217 # the declaration of exit, since it's the most demanding environment.
2218 cat >conftest.
$ac_ext <<_ACEOF
2223 rm -f conftest.
$ac_objext
2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225 (eval $ac_compile) 2>conftest.er1
2227 grep -v '^ *+' conftest.er1
>conftest.err
2229 cat conftest.err
>&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); } &&
2232 { ac_try
='test -z "$ac_c_werror_flag"
2233 || test ! -s conftest.err'
2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }; } &&
2239 { ac_try
='test -s conftest.$ac_objext'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; }; then
2245 for ac_declaration
in \
2247 'extern "C" void std::exit (int) throw (); using std::exit;' \
2248 'extern "C" void std::exit (int); using std::exit;' \
2249 'extern "C" void exit (int) throw ();' \
2250 'extern "C" void exit (int);' \
2253 cat >conftest.
$ac_ext <<_ACEOF
2256 cat confdefs.h
>>conftest.
$ac_ext
2257 cat >>conftest.
$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2269 rm -f conftest.
$ac_objext
2270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271 (eval $ac_compile) 2>conftest.er1
2273 grep -v '^ *+' conftest.er1
>conftest.err
2275 cat conftest.err
>&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); } &&
2278 { ac_try
='test -z "$ac_c_werror_flag"
2279 || test ! -s conftest.err'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; } &&
2285 { ac_try
='test -s conftest.$ac_objext'
2286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); }; }; then
2293 echo "$as_me: failed program was:" >&5
2294 sed 's/^/| /' conftest.
$ac_ext >&5
2298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2299 cat >conftest.
$ac_ext <<_ACEOF
2302 cat confdefs.h
>>conftest.
$ac_ext
2303 cat >>conftest.
$ac_ext <<_ACEOF
2304 /* end confdefs.h. */
2314 rm -f conftest.
$ac_objext
2315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2316 (eval $ac_compile) 2>conftest.er1
2318 grep -v '^ *+' conftest.er1
>conftest.err
2320 cat conftest.err
>&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); } &&
2323 { ac_try
='test -z "$ac_c_werror_flag"
2324 || test ! -s conftest.err'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; } &&
2330 { ac_try
='test -s conftest.$ac_objext'
2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }; }; then
2338 echo "$as_me: failed program was:" >&5
2339 sed 's/^/| /' conftest.
$ac_ext >&5
2342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2345 if test -n "$ac_declaration"; then
2346 echo '#ifdef __cplusplus' >>confdefs.h
2347 echo $ac_declaration >>confdefs.h
2348 echo '#endif' >>confdefs.h
2352 echo "$as_me: failed program was:" >&5
2353 sed 's/^/| /' conftest.
$ac_ext >&5
2356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2358 ac_cpp
='$CPP $CPPFLAGS'
2359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2364 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2365 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2366 if test "${ac_cv_search_strerror+set}" = set; then
2367 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 ac_func_search_save_LIBS
=$LIBS
2370 ac_cv_search_strerror
=no
2371 cat >conftest.
$ac_ext <<_ACEOF
2374 cat confdefs.h
>>conftest.
$ac_ext
2375 cat >>conftest.
$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2378 /* Override any gcc2 internal prototype to avoid an error. */
2382 /* We use char because int might match the return type of a gcc2
2383 builtin and then its argument prototype would still apply. */
2393 rm -f conftest.
$ac_objext conftest
$ac_exeext
2394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2395 (eval $ac_link) 2>conftest.er1
2397 grep -v '^ *+' conftest.er1
>conftest.err
2399 cat conftest.err
>&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); } &&
2402 { ac_try
='test -z "$ac_c_werror_flag"
2403 || test ! -s conftest.err'
2404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; } &&
2409 { ac_try
='test -s conftest$ac_exeext'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; }; then
2415 ac_cv_search_strerror
="none required"
2417 echo "$as_me: failed program was:" >&5
2418 sed 's/^/| /' conftest.
$ac_ext >&5
2421 rm -f conftest.err conftest.
$ac_objext \
2422 conftest
$ac_exeext conftest.
$ac_ext
2423 if test "$ac_cv_search_strerror" = no
; then
2424 for ac_lib
in cposix
; do
2425 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2426 cat >conftest.
$ac_ext <<_ACEOF
2429 cat confdefs.h
>>conftest.
$ac_ext
2430 cat >>conftest.
$ac_ext <<_ACEOF
2431 /* end confdefs.h. */
2433 /* Override any gcc2 internal prototype to avoid an error. */
2437 /* We use char because int might match the return type of a gcc2
2438 builtin and then its argument prototype would still apply. */
2448 rm -f conftest.
$ac_objext conftest
$ac_exeext
2449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2450 (eval $ac_link) 2>conftest.er1
2452 grep -v '^ *+' conftest.er1
>conftest.err
2454 cat conftest.err
>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); } &&
2457 { ac_try
='test -z "$ac_c_werror_flag"
2458 || test ! -s conftest.err'
2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; } &&
2464 { ac_try
='test -s conftest$ac_exeext'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; }; then
2470 ac_cv_search_strerror
="-l$ac_lib"
2473 echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.
$ac_ext >&5
2477 rm -f conftest.err conftest.
$ac_objext \
2478 conftest
$ac_exeext conftest.
$ac_ext
2481 LIBS
=$ac_func_search_save_LIBS
2483 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2484 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2485 if test "$ac_cv_search_strerror" != no
; then
2486 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2491 am__api_version
="1.9"
2492 # Find a good install program. We prefer a C program (faster),
2493 # so one script is as good as another. But avoid the broken or
2494 # incompatible versions:
2495 # SysV /etc/install, /usr/sbin/install
2496 # SunOS /usr/etc/install
2497 # IRIX /sbin/install
2499 # AmigaOS /C/install, which installs bootblocks on floppy discs
2500 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2501 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2502 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2503 # OS/2's system install, which has a completely different semantic
2504 # ./install, which can be erroneously created by make from ./install.sh.
2505 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2506 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2507 if test -z "$INSTALL"; then
2508 if test "${ac_cv_path_install+set}" = set; then
2509 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir
=.
2516 # Account for people who put trailing slashes in PATH elements.
2518 .
/ | .
// |
/cC
/* | \
2519 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2520 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2523 # OSF1 and SCO ODT 3.0 have their own names for install.
2524 # Don't use installbsd from OSF since it installs stuff as root
2526 for ac_prog
in ginstall scoinst
install; do
2527 for ac_exec_ext
in '' $ac_executable_extensions; do
2528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2529 if test $ac_prog = install &&
2530 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2531 # AIX install. It has an incompatible calling convention.
2533 elif test $ac_prog = install &&
2534 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2535 # program-specific install script used by HP pwplus--don't use.
2538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2550 if test "${ac_cv_path_install+set}" = set; then
2551 INSTALL
=$ac_cv_path_install
2553 # As a last resort, use the slow shell script. We don't cache a
2554 # path for INSTALL within a source directory, because that will
2555 # break other packages using the cache if that directory is
2556 # removed, or if the path is relative.
2557 INSTALL
=$ac_install_sh
2560 echo "$as_me:$LINENO: result: $INSTALL" >&5
2561 echo "${ECHO_T}$INSTALL" >&6
2563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2564 # It thinks the first close brace ends the variable substitution.
2565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2569 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2571 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2572 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2575 echo timestamp
> conftest.
file
2576 # Do `set' in a subshell so we don't clobber the current shell's
2577 # arguments. Must try -L first in case configure is actually a
2578 # symlink; some systems play weird games with the mod time of symlinks
2579 # (eg FreeBSD returns the mod time of the symlink's containing
2582 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2583 if test "$*" = "X"; then
2585 set X
`ls -t $srcdir/configure conftest.file`
2588 if test "$*" != "X $srcdir/configure conftest.file" \
2589 && test "$*" != "X conftest.file $srcdir/configure"; then
2591 # If neither matched, then we have a broken ls. This can happen
2592 # if, for instance, CONFIG_SHELL is bash and it inherits a
2593 # broken ls alias from the environment. This has actually
2594 # happened. Such a system could not be considered "sane".
2595 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2596 alias in your environment" >&5
2597 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2598 alias in your environment" >&2;}
2599 { (exit 1); exit 1; }; }
2602 test "$2" = conftest.
file
2608 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2609 Check your system clock" >&5
2610 echo "$as_me: error: newly created file is older than distributed files!
2611 Check your system clock" >&2;}
2612 { (exit 1); exit 1; }; }
2614 echo "$as_me:$LINENO: result: yes" >&5
2615 echo "${ECHO_T}yes" >&6
2616 test "$program_prefix" != NONE
&&
2617 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2618 # Use a double $ so make ignores it.
2619 test "$program_suffix" != NONE
&&
2620 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2621 # Double any \ or $. echo might interpret backslashes.
2622 # By default was `s,x,x', remove it if useless.
2623 cat <<\_ACEOF
>conftest.
sed
2624 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2626 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2629 # expand $ac_aux_dir to an absolute path
2630 am_aux_dir
=`cd $ac_aux_dir && pwd`
2632 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2633 # Use eval to expand $SHELL
2634 if eval "$MISSING --run true"; then
2635 am_missing_run
="$MISSING --run "
2638 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2639 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2642 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2643 # We used to keeping the `.' as first argument, in order to
2644 # allow $(mkdir_p) to be used without argument. As in
2645 # $(mkdir_p) $(somedir)
2646 # where $(somedir) is conditionally defined. However this is wrong
2648 # 1. if the package is installed by a user who cannot write `.'
2649 # make install will fail,
2650 # 2. the above comment should most certainly read
2651 # $(mkdir_p) $(DESTDIR)$(somedir)
2652 # so it does not work when $(somedir) is undefined and
2653 # $(DESTDIR) is not.
2654 # To support the latter case, we have to write
2655 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2656 # so the `.' trick is pointless.
2657 mkdir_p
='mkdir -p --'
2659 # On NextStep and OpenStep, the `mkdir' command does not
2660 # recognize any option. It will interpret all options as
2661 # directories to create, and then abort because `.' already
2663 for d
in .
/-p .
/--version;
2665 test -d $d && rmdir $d
2667 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2668 if test -f "$ac_aux_dir/mkinstalldirs"; then
2669 mkdir_p
='$(mkinstalldirs)'
2671 mkdir_p
='$(install_sh) -d'
2675 for ac_prog
in gawk mawk nawk
awk
2677 # Extract the first word of "$ac_prog", so it can be a program name with args.
2678 set dummy
$ac_prog; ac_word
=$2
2679 echo "$as_me:$LINENO: checking for $ac_word" >&5
2680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2681 if test "${ac_cv_prog_AWK+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2684 if test -n "$AWK"; then
2685 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir
=.
2692 for ac_exec_ext
in '' $ac_executable_extensions; do
2693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2694 ac_cv_prog_AWK
="$ac_prog"
2695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 if test -n "$AWK"; then
2705 echo "$as_me:$LINENO: result: $AWK" >&5
2706 echo "${ECHO_T}$AWK" >&6
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2712 test -n "$AWK" && break
2715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2717 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 cat >conftest.
make <<\_ACEOF
2723 @
echo 'ac_maketemp="$(MAKE)"'
2725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2727 if test -n "$ac_maketemp"; then
2728 eval ac_cv_prog_make_
${ac_make}_set
=yes
2730 eval ac_cv_prog_make_
${ac_make}_set
=no
2734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2739 echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2741 SET_MAKE
="MAKE=${MAKE-make}"
2744 rm -rf .tst
2>/dev
/null
2745 mkdir .tst
2>/dev
/null
2746 if test -d .tst
; then
2751 rmdir .tst
2>/dev
/null
2753 DEPDIR
="${am__leading_dot}deps"
2755 ac_config_commands
="$ac_config_commands depfiles"
2758 am_make
=${MAKE-make}
2759 cat > confinc
<< 'END'
2764 # If we don't find an include directive, just comment out the code.
2765 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2766 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2770 # First try GNU make style include.
2771 echo "include confinc" > confmf
2772 # We grep out `Entering directory' and `Leaving directory'
2773 # messages which can occur if `w' ends up in MAKEFLAGS.
2774 # In particular we don't look at `^make:' because GNU make might
2775 # be invoked under some other name (usually "gmake"), in which
2776 # case it prints its new name instead of `make'.
2777 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2782 # Now try BSD make style include.
2783 if test "$am__include" = "#"; then
2784 echo '.include "confinc"' > confmf
2785 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2786 am__include
=.include
2793 echo "$as_me:$LINENO: result: $_am_result" >&5
2794 echo "${ECHO_T}$_am_result" >&6
2795 rm -f confinc confmf
2797 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2798 if test "${enable_dependency_tracking+set}" = set; then
2799 enableval
="$enable_dependency_tracking"
2802 if test "x$enable_dependency_tracking" != xno
; then
2803 am_depcomp
="$ac_aux_dir/depcomp"
2808 if test "x$enable_dependency_tracking" != xno; then
2818 # test to see if srcdir already configured
2819 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2820 test -f $srcdir/config.status
; then
2821 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2822 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2823 { (exit 1); exit 1; }; }
2826 # test whether we have cygpath
2827 if test -z "$CYGPATH_W"; then
2828 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2829 CYGPATH_W
='cygpath -w'
2836 # Define the identity of the package.
2841 cat >>confdefs.h
<<_ACEOF
2842 #define PACKAGE "$PACKAGE"
2846 cat >>confdefs.h
<<_ACEOF
2847 #define VERSION "$VERSION"
2850 # Some tools Automake needs.
2852 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2855 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2858 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2861 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2864 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2866 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2868 # Installed binaries are usually stripped using `strip' when the user
2869 # run `make install-strip'. However `strip' might not be the right
2870 # tool to use in cross-compilation environments, therefore Automake
2871 # will honor the `STRIP' environment variable to overrule this program.
2872 if test "$cross_compiling" != no
; then
2873 if test -n "$ac_tool_prefix"; then
2874 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2875 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2876 echo "$as_me:$LINENO: checking for $ac_word" >&5
2877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2878 if test "${ac_cv_prog_STRIP+set}" = set; then
2879 echo $ECHO_N "(cached) $ECHO_C" >&6
2881 if test -n "$STRIP"; then
2882 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2888 test -z "$as_dir" && as_dir
=.
2889 for ac_exec_ext
in '' $ac_executable_extensions; do
2890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2891 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 STRIP
=$ac_cv_prog_STRIP
2901 if test -n "$STRIP"; then
2902 echo "$as_me:$LINENO: result: $STRIP" >&5
2903 echo "${ECHO_T}$STRIP" >&6
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2910 if test -z "$ac_cv_prog_STRIP"; then
2912 # Extract the first word of "strip", so it can be a program name with args.
2913 set dummy strip
; ac_word
=$2
2914 echo "$as_me:$LINENO: checking for $ac_word" >&5
2915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2916 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 if test -n "$ac_ct_STRIP"; then
2920 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir
=.
2927 for ac_exec_ext
in '' $ac_executable_extensions; do
2928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929 ac_cv_prog_ac_ct_STRIP
="strip"
2930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2939 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2940 if test -n "$ac_ct_STRIP"; then
2941 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2942 echo "${ECHO_T}$ac_ct_STRIP" >&6
2944 echo "$as_me:$LINENO: result: no" >&5
2945 echo "${ECHO_T}no" >&6
2950 STRIP
="$ac_cv_prog_STRIP"
2954 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2956 # We need awk for the "check" target. The system "awk" is bad on
2958 # Always define AMTAR for backward compatibility.
2960 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2962 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2967 depcc
="$CC" am_compiler_list
=
2969 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2970 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2971 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2975 # We make a subdir and do the tests there. Otherwise we can end up
2976 # making bogus files that we don't know about and never remove. For
2977 # instance it was reported that on HP-UX the gcc test will end up
2978 # making a dummy file named `D' -- because `-MD' means `put the output
2981 # Copy depcomp to subdir because otherwise we won't find it if we're
2982 # using a relative directory.
2983 cp "$am_depcomp" conftest.dir
2985 # We will build objects and dependencies in a subdirectory because
2986 # it helps to detect inapplicable dependency modes. For instance
2987 # both Tru64's cc and ICC support -MD to output dependencies as a
2988 # side effect of compilation, but ICC will put the dependencies in
2989 # the current directory while Tru64 will put them in the object
2993 am_cv_CC_dependencies_compiler_type
=none
2994 if test "$am_compiler_list" = ""; then
2995 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2997 for depmode
in $am_compiler_list; do
2998 # Setup a source with many dependencies, because some compilers
2999 # like to wrap large dependency lists on column 80 (with \), and
3000 # we should not choose a depcomp mode which is confused by this.
3002 # We need to recreate these files for each test, as the compiler may
3003 # overwrite some of them when testing with obscure command lines.
3004 # This happens at least with the AIX C compiler.
3006 for i
in 1 2 3 4 5 6; do
3007 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3008 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3009 # Solaris 8's {/usr,}/bin/sh.
3010 touch sub
/conftst
$i.h
3012 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3016 # after this tag, mechanisms are not by side-effect, so they'll
3017 # only be used when explicitly requested
3018 if test "x$enable_dependency_tracking" = xyes
; then
3026 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3027 # mode. It turns out that the SunPro C++ compiler does not properly
3028 # handle `-M -o', and we need to detect this.
3029 if depmode
=$depmode \
3030 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3031 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3032 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3033 >/dev
/null
2>conftest.err
&&
3034 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3035 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3036 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3037 # icc doesn't choke on unknown options, it will just issue warnings
3038 # or remarks (even with -Werror). So we grep stderr for any message
3039 # that says an option was ignored or not supported.
3040 # When given -MP, icc 7.0 and 7.1 complain thusly:
3041 # icc: Command line warning: ignoring option '-M'; no argument required
3042 # The diagnosis changed in icc 8.0:
3043 # icc: Command line remark: option '-MP' not supported
3044 if (grep 'ignoring option' conftest.err ||
3045 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3046 am_cv_CC_dependencies_compiler_type
=$depmode
3055 am_cv_CC_dependencies_compiler_type
=none
3059 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3060 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3061 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3066 test "x$enable_dependency_tracking" != xno \
3067 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3069 am__fastdepCC_FALSE
='#'
3071 am__fastdepCC_TRUE
='#'
3072 am__fastdepCC_FALSE
=
3078 if test -n "$ac_tool_prefix"; then
3079 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3080 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3081 echo "$as_me:$LINENO: checking for $ac_word" >&5
3082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3083 if test "${ac_cv_prog_AR+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 if test -n "$AR"; then
3087 ac_cv_prog_AR
="$AR" # Let the user override the test.
3089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir
=.
3094 for ac_exec_ext
in '' $ac_executable_extensions; do
3095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3096 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 if test -n "$AR"; then
3107 echo "$as_me:$LINENO: result: $AR" >&5
3108 echo "${ECHO_T}$AR" >&6
3110 echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6
3115 if test -z "$ac_cv_prog_AR"; then
3117 # Extract the first word of "ar", so it can be a program name with args.
3118 set dummy
ar; ac_word
=$2
3119 echo "$as_me:$LINENO: checking for $ac_word" >&5
3120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3121 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3122 echo $ECHO_N "(cached) $ECHO_C" >&6
3124 if test -n "$ac_ct_AR"; then
3125 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir
=.
3132 for ac_exec_ext
in '' $ac_executable_extensions; do
3133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3134 ac_cv_prog_ac_ct_AR
="ar"
3135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3143 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3144 if test -n "$ac_ct_AR"; then
3145 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3146 echo "${ECHO_T}$ac_ct_AR" >&6
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3157 if test -n "$ac_tool_prefix"; then
3158 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3159 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3160 echo "$as_me:$LINENO: checking for $ac_word" >&5
3161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3162 if test "${ac_cv_prog_RANLIB+set}" = set; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 if test -n "$RANLIB"; then
3166 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir
=.
3173 for ac_exec_ext
in '' $ac_executable_extensions; do
3174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3175 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3184 RANLIB
=$ac_cv_prog_RANLIB
3185 if test -n "$RANLIB"; then
3186 echo "$as_me:$LINENO: result: $RANLIB" >&5
3187 echo "${ECHO_T}$RANLIB" >&6
3189 echo "$as_me:$LINENO: result: no" >&5
3190 echo "${ECHO_T}no" >&6
3194 if test -z "$ac_cv_prog_RANLIB"; then
3195 ac_ct_RANLIB
=$RANLIB
3196 # Extract the first word of "ranlib", so it can be a program name with args.
3197 set dummy ranlib
; ac_word
=$2
3198 echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3200 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 if test -n "$ac_ct_RANLIB"; then
3204 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir
=.
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3213 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3220 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3223 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3224 if test -n "$ac_ct_RANLIB"; then
3225 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3226 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3228 echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6
3232 RANLIB
=$ac_ct_RANLIB
3234 RANLIB
="$ac_cv_prog_RANLIB"
3238 # Check whether --enable-shared or --disable-shared was given.
3239 if test "${enable_shared+set}" = set; then
3240 enableval
="$enable_shared"
3241 p
=${PACKAGE-default}
3243 yes) enable_shared
=yes ;;
3244 no
) enable_shared
=no
;;
3247 # Look at the argument we got. We use all the common list separators.
3248 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3249 for pkg
in $enableval; do
3250 if test "X$pkg" = "X$p"; then
3261 # Check whether --enable-static or --disable-static was given.
3262 if test "${enable_static+set}" = set; then
3263 enableval
="$enable_static"
3264 p
=${PACKAGE-default}
3266 yes) enable_static
=yes ;;
3267 no
) enable_static
=no
;;
3270 # Look at the argument we got. We use all the common list separators.
3271 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3272 for pkg
in $enableval; do
3273 if test "X$pkg" = "X$p"; then
3283 # Check whether --enable-fast-install or --disable-fast-install was given.
3284 if test "${enable_fast_install+set}" = set; then
3285 enableval
="$enable_fast_install"
3286 p
=${PACKAGE-default}
3288 yes) enable_fast_install
=yes ;;
3289 no
) enable_fast_install
=no
;;
3291 enable_fast_install
=no
3292 # Look at the argument we got. We use all the common list separators.
3293 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3294 for pkg
in $enableval; do
3295 if test "X$pkg" = "X$p"; then
3296 enable_fast_install
=yes
3303 enable_fast_install
=yes
3306 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3307 if test "${with_gnu_ld+set}" = set; then
3308 withval
="$with_gnu_ld"
3309 test "$withval" = no || with_gnu_ld
=yes
3314 if test "$GCC" = yes; then
3315 # Check if gcc -print-prog-name=ld gives a path.
3316 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3317 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3320 # gcc leaves a trailing carriage return which upsets mingw
3321 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3323 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3326 # Accept absolute paths.
3327 [\\/]* |
[A-Za-z
]:[\\/]*)
3328 re_direlt
='/[^/][^/]*/\.\./'
3329 # Canonicalize the path of ld
3330 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3331 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3332 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3334 test -z "$LD" && LD
="$ac_prog"
3337 # If it fails, then pretend we aren't using GCC.
3341 # If it is relative, then search for the first ld in PATH.
3345 elif test "$with_gnu_ld" = yes; then
3346 echo "$as_me:$LINENO: checking for GNU ld" >&5
3347 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3349 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3350 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3352 if test "${lt_cv_path_LD+set}" = set; then
3353 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 if test -z "$LD"; then
3356 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3357 for ac_dir
in $PATH; do
3358 test -z "$ac_dir" && ac_dir
=.
3359 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3360 lt_cv_path_LD
="$ac_dir/$ac_prog"
3361 # Check to see if the program is GNU ld. I'd rather use --version,
3362 # but apparently some GNU ld's only accept -v.
3363 # Break only if it was the GNU/non-GNU ld that we prefer.
3364 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3365 test "$with_gnu_ld" != no
&& break
3367 test "$with_gnu_ld" != yes && break
3373 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3378 if test -n "$LD"; then
3379 echo "$as_me:$LINENO: result: $LD" >&5
3380 echo "${ECHO_T}$LD" >&6
3382 echo "$as_me:$LINENO: result: no" >&5
3383 echo "${ECHO_T}no" >&6
3385 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3386 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3387 { (exit 1); exit 1; }; }
3388 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3389 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3390 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3391 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3394 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3395 lt_cv_prog_gnu_ld
=yes
3397 lt_cv_prog_gnu_ld
=no
3400 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3401 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3402 with_gnu_ld
=$lt_cv_prog_gnu_ld
3405 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3406 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3407 if test "${lt_cv_ld_reload_flag+set}" = set; then
3408 echo $ECHO_N "(cached) $ECHO_C" >&6
3410 lt_cv_ld_reload_flag
='-r'
3412 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3413 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3414 reload_flag
=$lt_cv_ld_reload_flag
3415 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3417 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3418 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3419 if test "${lt_cv_path_NM+set}" = set; then
3420 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 if test -n "$NM"; then
3423 # Let the user override the test.
3426 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3427 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3428 test -z "$ac_dir" && ac_dir
=.
3429 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3430 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3431 # Check to see if the nm accepts a BSD-compat flag.
3432 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3433 # nm: unknown option "B" ignored
3434 # Tru64's nm complains that /dev/null is an invalid object file
3435 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3436 lt_cv_path_NM
="$tmp_nm -B"
3438 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3439 lt_cv_path_NM
="$tmp_nm -p"
3442 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3443 continue # so that we can try to find one that supports BSD flags
3448 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3453 echo "$as_me:$LINENO: result: $NM" >&5
3454 echo "${ECHO_T}$NM" >&6
3456 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3457 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3459 if test "$LN_S" = "ln -s"; then
3460 echo "$as_me:$LINENO: result: yes" >&5
3461 echo "${ECHO_T}yes" >&6
3463 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3464 echo "${ECHO_T}no, using $LN_S" >&6
3467 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3468 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3469 if test "${lt_cv_deplibs_check_method+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3473 lt_cv_file_magic_test_file
=
3474 lt_cv_deplibs_check_method
='unknown'
3475 # Need to set the preceding variable on all platforms that support
3476 # interlibrary dependencies.
3477 # 'none' -- dependencies not supported.
3478 # `unknown' -- same as none, but documents that we really don't know.
3479 # 'pass_all' -- all dependencies passed with no checks.
3480 # 'test_compile' -- check by making test program.
3481 # 'file_magic [regex]' -- check by looking for files in library path
3482 # which responds to the $file_magic_cmd with a given egrep regex.
3483 # If you have `file' or equivalent on your system and you're not sure
3484 # whether `pass_all' will *always* work, you probably want this one.
3488 lt_cv_deplibs_check_method
=pass_all
3492 lt_cv_deplibs_check_method
=pass_all
3496 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3497 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3498 lt_cv_file_magic_test_file
=/shlib
/libc.so
3501 cygwin
* | mingw
* |pw32
*)
3502 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3503 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3506 darwin
* | rhapsody
*)
3507 # this will be overwritten by pass_all, but leave it in just in case
3508 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3509 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3511 rhapsody
* | darwin1.012
)
3512 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3515 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3518 lt_cv_deplibs_check_method
=pass_all
3521 freebsd
* | kfreebsd
*-gnu)
3522 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3525 # Not sure whether the presence of OpenBSD here was a mistake.
3526 # Let's accept both of them until this is cleared up.
3527 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3528 lt_cv_file_magic_cmd
=/usr
/bin
/file
3529 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3533 lt_cv_deplibs_check_method
=pass_all
3538 lt_cv_deplibs_check_method
=pass_all
3544 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3545 lt_cv_file_magic_cmd
=/usr
/bin
/file
3546 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3549 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3550 lt_cv_file_magic_cmd
=/usr
/bin
/file
3551 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3559 # this will be overridden with pass_all, but let us keep it just in case
3560 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3564 *-32|
*"-32 ") libmagic
=32-bit;;
3565 *-n32|
*"-n32 ") libmagic
=N32
;;
3566 *-64|
*"-64 ") libmagic
=64-bit;;
3567 *) libmagic
=never-match
;;
3569 # this will be overridden with pass_all, but let us keep it just in case
3570 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3573 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3574 lt_cv_deplibs_check_method
=pass_all
3577 # This must be Linux ELF.
3579 lt_cv_deplibs_check_method
=pass_all
3582 netbsd
* | knetbsd
*-gnu)
3583 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3584 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3586 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3591 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3592 lt_cv_file_magic_cmd
=/usr
/bin
/file
3593 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3596 osf3
* | osf4
* | osf5
*)
3597 # this will be overridden with pass_all, but let us keep it just in case
3598 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3599 lt_cv_file_magic_test_file
=/shlib
/libc.so
3600 lt_cv_deplibs_check_method
=pass_all
3604 lt_cv_deplibs_check_method
=pass_all
3608 lt_cv_deplibs_check_method
=pass_all
3609 lt_cv_file_magic_test_file
=/lib
/libc.so
3612 sysv5uw
[78]* | sysv4
*uw2
*)
3613 lt_cv_deplibs_check_method
=pass_all
3616 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3617 case $host_vendor in
3619 lt_cv_deplibs_check_method
=pass_all
3622 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]'
3623 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3630 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3631 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3632 file_magic_cmd
=$lt_cv_file_magic_cmd
3633 deplibs_check_method
=$lt_cv_deplibs_check_method
3638 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3640 # find the maximum length of command line arguments
3641 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3642 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3643 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3644 echo $ECHO_N "(cached) $ECHO_C" >&6
3651 # On DJGPP, this test can blow up pretty badly due to problems in libc
3652 # (any single argument exceeding 2000 bytes causes a buffer overrun
3653 # during glob expansion). Even if it were fixed, the result of this
3654 # check would be larger than it should be.
3655 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3659 # On Win9x/ME, this test blows up -- it succeeds, but takes
3660 # about 5 minutes as the teststring grows exponentially.
3661 # Worse, since 9x/ME are not pre-emptively multitasking,
3662 # you end up with a "frozen" computer, even though with patience
3663 # the test eventually succeeds (with a max line length of 256k).
3664 # Instead, let's just punt: use the minimum linelength reported by
3665 # all of the supported platforms: 8192 (on NT/2K/XP).
3666 lt_cv_sys_max_cmd_len
=8192;
3670 # On AmigaOS with pdksh, this test takes hours, literally.
3671 # So we just punt and use a minimum line length of 8192.
3672 lt_cv_sys_max_cmd_len
=8192;
3675 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3676 # This has been around since 386BSD, at least. Likely further.
3677 if test -x /sbin
/sysctl
; then
3678 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3679 elif test -x /usr
/sbin
/sysctl
; then
3680 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3682 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3684 # And add a safety zone
3685 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3686 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3692 if test -n "$lt_cv_sys_max_cmd_len" ; then
3693 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3694 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3696 echo "$as_me:$LINENO: result: none" >&5
3697 echo "${ECHO_T}none" >&6
3701 # Only perform the check for file, if the check method requires it
3702 case $deplibs_check_method in
3704 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3705 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3706 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3707 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3715 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3718 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3719 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3720 ac_dummy
="/usr/bin:$PATH"
3721 for ac_dir
in $ac_dummy; do
3722 test -z "$ac_dir" && ac_dir
=.
3723 if test -f $ac_dir/${ac_tool_prefix}file; then
3724 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3725 if test -n "$file_magic_test_file"; then
3726 case $deplibs_check_method in
3728 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3729 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3730 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3731 egrep "$file_magic_regex" > /dev
/null
; then
3736 *** Warning: the command libtool uses to detect shared libraries,
3737 *** $file_magic_cmd, produces output that libtool cannot recognize.
3738 *** The result is that libtool may fail to recognize shared libraries
3739 *** as such. This will affect the creation of libtool libraries that
3740 *** depend on shared libraries, but programs linked with such libtool
3741 *** libraries will work regardless of this problem. Nevertheless, you
3742 *** may want to report the problem to your system manager and/or to
3743 *** bug-libtool@gnu.org
3753 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3758 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3759 if test -n "$MAGIC_CMD"; then
3760 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3761 echo "${ECHO_T}$MAGIC_CMD" >&6
3763 echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3767 if test -z "$lt_cv_path_MAGIC_CMD"; then
3768 if test -n "$ac_tool_prefix"; then
3769 echo "$as_me:$LINENO: checking for file" >&5
3770 echo $ECHO_N "checking for file... $ECHO_C" >&6
3771 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3776 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3779 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3782 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3783 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3784 ac_dummy
="/usr/bin:$PATH"
3785 for ac_dir
in $ac_dummy; do
3786 test -z "$ac_dir" && ac_dir
=.
3787 if test -f $ac_dir/file; then
3788 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3789 if test -n "$file_magic_test_file"; then
3790 case $deplibs_check_method in
3792 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3793 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3794 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3795 egrep "$file_magic_regex" > /dev
/null
; then
3800 *** Warning: the command libtool uses to detect shared libraries,
3801 *** $file_magic_cmd, produces output that libtool cannot recognize.
3802 *** The result is that libtool may fail to recognize shared libraries
3803 *** as such. This will affect the creation of libtool libraries that
3804 *** depend on shared libraries, but programs linked with such libtool
3805 *** libraries will work regardless of this problem. Nevertheless, you
3806 *** may want to report the problem to your system manager and/or to
3807 *** bug-libtool@gnu.org
3817 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3822 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3823 if test -n "$MAGIC_CMD"; then
3824 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3825 echo "${ECHO_T}$MAGIC_CMD" >&6
3827 echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6
3840 if test -n "$ac_tool_prefix"; then
3841 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3842 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3843 echo "$as_me:$LINENO: checking for $ac_word" >&5
3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3845 if test "${ac_cv_prog_RANLIB+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 if test -n "$RANLIB"; then
3849 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir
=.
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 RANLIB
=$ac_cv_prog_RANLIB
3868 if test -n "$RANLIB"; then
3869 echo "$as_me:$LINENO: result: $RANLIB" >&5
3870 echo "${ECHO_T}$RANLIB" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3877 if test -z "$ac_cv_prog_RANLIB"; then
3878 ac_ct_RANLIB
=$RANLIB
3879 # Extract the first word of "ranlib", so it can be a program name with args.
3880 set dummy ranlib
; ac_word
=$2
3881 echo "$as_me:$LINENO: checking for $ac_word" >&5
3882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3883 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3884 echo $ECHO_N "(cached) $ECHO_C" >&6
3886 if test -n "$ac_ct_RANLIB"; then
3887 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3893 test -z "$as_dir" && as_dir
=.
3894 for ac_exec_ext
in '' $ac_executable_extensions; do
3895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3896 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3906 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3907 if test -n "$ac_ct_RANLIB"; then
3908 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3909 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3911 echo "$as_me:$LINENO: result: no" >&5
3912 echo "${ECHO_T}no" >&6
3915 RANLIB
=$ac_ct_RANLIB
3917 RANLIB
="$ac_cv_prog_RANLIB"
3920 if test -n "$ac_tool_prefix"; then
3921 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3922 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3923 echo "$as_me:$LINENO: checking for $ac_word" >&5
3924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3925 if test "${ac_cv_prog_STRIP+set}" = set; then
3926 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 if test -n "$STRIP"; then
3929 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3935 test -z "$as_dir" && as_dir
=.
3936 for ac_exec_ext
in '' $ac_executable_extensions; do
3937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3938 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 STRIP
=$ac_cv_prog_STRIP
3948 if test -n "$STRIP"; then
3949 echo "$as_me:$LINENO: result: $STRIP" >&5
3950 echo "${ECHO_T}$STRIP" >&6
3952 echo "$as_me:$LINENO: result: no" >&5
3953 echo "${ECHO_T}no" >&6
3957 if test -z "$ac_cv_prog_STRIP"; then
3959 # Extract the first word of "strip", so it can be a program name with args.
3960 set dummy strip
; ac_word
=$2
3961 echo "$as_me:$LINENO: checking for $ac_word" >&5
3962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3963 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 if test -n "$ac_ct_STRIP"; then
3967 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3973 test -z "$as_dir" && as_dir
=.
3974 for ac_exec_ext
in '' $ac_executable_extensions; do
3975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_ac_ct_STRIP
="strip"
3977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3986 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3987 if test -n "$ac_ct_STRIP"; then
3988 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3989 echo "${ECHO_T}$ac_ct_STRIP" >&6
3991 echo "$as_me:$LINENO: result: no" >&5
3992 echo "${ECHO_T}no" >&6
3997 STRIP
="$ac_cv_prog_STRIP"
4001 # Check for any special flags to pass to ltconfig.
4002 libtool_flags
="--cache-file=$cache_file"
4003 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4004 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4005 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4006 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4007 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4010 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4011 if test "${enable_libtool_lock+set}" = set; then
4012 enableval
="$enable_libtool_lock"
4015 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4016 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4019 # Check whether --with-pic or --without-pic was given.
4020 if test "${with_pic+set}" = set; then
4026 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4027 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4029 # Some flags need to be propagated to the compiler or linker for good
4033 # Find out which ABI we are using.
4034 echo '#line 4034 "configure"' > conftest.
$ac_ext
4035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4036 (eval $ac_compile) 2>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; then
4040 if test "$lt_cv_prog_gnu_ld" = yes; then
4041 case `/usr/bin/file conftest.$ac_objext` in
4043 LD
="${LD-ld} -melf32bsmip"
4046 LD
="${LD-ld} -melf32bmipn32"
4049 LD
="${LD-ld} -melf64bmip"
4053 case `/usr/bin/file conftest.$ac_objext` in
4070 # Find out which ABI we are using.
4071 echo 'int i;' > conftest.
$ac_ext
4072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4073 (eval $ac_compile) 2>&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); }; then
4077 case "`/usr/bin/file conftest.o`" in
4089 x86_64-
*linux
*|x86_64-
*mingw64
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4090 # Find out which ABI we are using.
4091 echo 'int i;' > conftest.
$ac_ext
4092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4093 (eval $ac_compile) 2>&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); }; then
4097 case "`/usr/bin/file conftest.o`" in
4100 x86_64-
*linux
*|x86_64-
*mingw64
*)
4101 LD
="${LD-ld} -m elf_i386"
4103 ppc64-
*linux
*|powerpc64-
*linux
*)
4104 LD
="${LD-ld} -m elf32ppclinux"
4107 LD
="${LD-ld} -m elf_s390"
4110 LD
="${LD-ld} -m elf32_sparc"
4116 x86_64-
*linux
*|x86_64-
*mingw64
*)
4117 LD
="${LD-ld} -m elf_x86_64"
4119 ppc
*-*linux
*|powerpc
*-*linux
*)
4120 LD
="${LD-ld} -m elf64ppc"
4123 LD
="${LD-ld} -m elf64_s390"
4126 LD
="${LD-ld} -m elf64_sparc"
4136 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4137 SAVE_CFLAGS
="$CFLAGS"
4138 CFLAGS
="$CFLAGS -belf"
4139 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4140 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4141 if test "${lt_cv_cc_needs_belf+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4147 ac_cpp
='$CPP $CPPFLAGS'
4148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4152 cat >conftest.
$ac_ext <<_ACEOF
4155 cat confdefs.h
>>conftest.
$ac_ext
4156 cat >>conftest.
$ac_ext <<_ACEOF
4157 /* end confdefs.h. */
4167 rm -f conftest.
$ac_objext conftest
$ac_exeext
4168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4169 (eval $ac_link) 2>conftest.er1
4171 grep -v '^ *+' conftest.er1
>conftest.err
4173 cat conftest.err
>&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); } &&
4176 { ac_try
='test -z "$ac_c_werror_flag"
4177 || test ! -s conftest.err'
4178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; } &&
4183 { ac_try
='test -s conftest$ac_exeext'
4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; }; then
4189 lt_cv_cc_needs_belf
=yes
4191 echo "$as_me: failed program was:" >&5
4192 sed 's/^/| /' conftest.
$ac_ext >&5
4194 lt_cv_cc_needs_belf
=no
4196 rm -f conftest.err conftest.
$ac_objext \
4197 conftest
$ac_exeext conftest.
$ac_ext
4199 ac_cpp
='$CPP $CPPFLAGS'
4200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4205 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4206 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4207 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4208 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4209 CFLAGS
="$SAVE_CFLAGS"
4217 # Save cache, so that ltconfig can load it
4218 cat >confcache
<<\_ACEOF
4219 # This file is a shell script that caches the results of configure
4220 # tests run on this system so they can be shared between configure
4221 # scripts and configure runs, see configure's option --config-cache.
4222 # It is not useful on other systems. If it contains results you don't
4223 # want to keep, you may remove or edit it.
4225 # config.status only pays attention to the cache file if you give it
4226 # the --recheck option to rerun configure.
4228 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4229 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4234 # The following way of writing the cache mishandles newlines in values,
4235 # but we know of no workaround that is simple, portable, and efficient.
4236 # So, don't put newlines in cache variables' values.
4237 # Ultrix sh set writes to stderr and can't be redirected directly,
4238 # and sets the high bit in the cache file unless we assign to the vars.
4241 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4243 # `set' does not quote correctly, so add quotes (double-quote
4244 # substitution turns \\\\ into \\, and sed turns \\ into \).
4247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4250 # `set' quotes correctly as required by POSIX, so do not add quotes.
4252 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4259 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4261 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4263 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4264 if test -w $cache_file; then
4265 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4266 cat confcache
>$cache_file
4268 echo "not updating unwritable cache $cache_file"
4273 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4274 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4275 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4276 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4277 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4278 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4279 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4280 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4281 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4282 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4283 echo "$as_me: error: libtool configure failed" >&2;}
4284 { (exit 1); exit 1; }; }
4286 # Reload cache, that may have been modified by ltconfig
4287 if test -r "$cache_file"; then
4288 # Some versions of bash will fail to source /dev/null (special
4289 # files actually), so we avoid doing that.
4290 if test -f "$cache_file"; then
4291 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4292 echo "$as_me: loading cache $cache_file" >&6;}
4294 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4295 *) . .
/$cache_file;;
4299 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4300 echo "$as_me: creating cache $cache_file" >&6;}
4305 # This can be used to rebuild libtool when needed
4306 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4308 # Always use our own libtool.
4309 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4311 # Redirect the config.log output again, so that the ltconfig log is not
4312 # clobbered by the next message.
4313 exec 5>>.
/config.log
4321 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4322 if test "${enable_64_bit_bfd+set}" = set; then
4323 enableval
="$enable_64_bit_bfd"
4324 case "${enableval}" in
4327 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4328 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4329 { (exit 1); exit 1; }; } ;;
4333 fi; # Check whether --enable-targets or --disable-targets was given.
4334 if test "${enable_targets+set}" = set; then
4335 enableval
="$enable_targets"
4336 case "${enableval}" in
4337 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4338 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4339 { (exit 1); exit 1; }; }
4341 no
) enable_targets
= ;;
4342 *) enable_targets
=$enableval ;;
4344 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4345 if test "${enable_commonbfdlib+set}" = set; then
4346 enableval
="$enable_commonbfdlib"
4347 case "${enableval}" in
4348 yes) commonbfdlib
=true
;;
4349 no
) commonbfdlib
=false
;;
4350 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4351 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4352 { (exit 1); exit 1; }; } ;;
4355 # Check whether --with-mmap or --without-mmap was given.
4356 if test "${with_mmap+set}" = set; then
4357 withval
="$with_mmap"
4358 case "${withval}" in
4359 yes) want_mmap
=true
;;
4360 no
) want_mmap
=false
;;
4361 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4362 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
4363 { (exit 1); exit 1; }; } ;;
4368 # Check whether --enable-secureplt or --disable-secureplt was given.
4369 if test "${enable_secureplt+set}" = set; then
4370 enableval
="$enable_secureplt"
4371 case "${enableval}" in
4372 yes) use_secureplt
=true
;;
4373 no
) use_secureplt
=false
;;
4374 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4375 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
4376 { (exit 1); exit 1; }; } ;;
4380 fi; if test $use_secureplt = true
; then
4382 cat >>confdefs.h
<<\_ACEOF
4383 #define USE_SECUREPLT 1
4389 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4391 # Check whether --enable-werror or --disable-werror was given.
4392 if test "${enable_werror+set}" = set; then
4393 enableval
="$enable_werror"
4394 case "${enableval}" in
4395 yes | y
) ERROR_ON_WARNING
="yes" ;;
4396 no | n
) ERROR_ON_WARNING
="no" ;;
4397 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4398 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4399 { (exit 1); exit 1; }; } ;;
4403 # Enable -Werror by default when using gcc
4404 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4405 ERROR_ON_WARNING
=yes
4409 if test "${ERROR_ON_WARNING}" = yes ; then
4410 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
4411 NO_WERROR
="-Wno-error"
4414 if test "${GCC}" = yes ; then
4415 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
4418 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4419 if test "${enable_build_warnings+set}" = set; then
4420 enableval
="$enable_build_warnings"
4421 case "${enableval}" in
4422 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
4423 no
) if test "${GCC}" = yes ; then
4426 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4427 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
4428 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
4429 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
4430 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4434 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
4435 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4442 ac_config_headers
="$ac_config_headers config.h:config.in"
4445 if test -z "$target" ; then
4446 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4447 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4448 { (exit 1); exit 1; }; }
4451 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4452 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4453 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4454 if test "${enable_maintainer_mode+set}" = set; then
4455 enableval
="$enable_maintainer_mode"
4456 USE_MAINTAINER_MODE
=$enableval
4458 USE_MAINTAINER_MODE
=no
4460 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4461 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4464 if test $USE_MAINTAINER_MODE = yes; then
4465 MAINTAINER_MODE_TRUE
=
4466 MAINTAINER_MODE_FALSE
='#'
4468 MAINTAINER_MODE_TRUE
='#'
4469 MAINTAINER_MODE_FALSE
=
4472 MAINT
=$MAINTAINER_MODE_TRUE
4475 case ${build_alias} in
4476 "") build_noncanonical
=${build} ;;
4477 *) build_noncanonical
=${build_alias} ;;
4480 case ${host_alias} in
4481 "") host_noncanonical
=${build_noncanonical} ;;
4482 *) host_noncanonical
=${host_alias} ;;
4485 case ${target_alias} in
4486 "") target_noncanonical
=${host_noncanonical} ;;
4487 *) target_noncanonical
=${target_alias} ;;
4490 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4491 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4492 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4493 if test "${enable_install_libbfd+set}" = set; then
4494 enableval
="$enable_install_libbfd"
4495 install_libbfd_p
=$enableval
4497 if test "${host}" = "${target}" ||
test "$enable_shared" = "yes"; then
4498 install_libbfd_p
=yes
4503 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4504 echo "${ECHO_T}$install_libbfd_p" >&6
4507 if test $install_libbfd_p = yes; then
4508 INSTALL_LIBBFD_TRUE
=
4509 INSTALL_LIBBFD_FALSE
='#'
4511 INSTALL_LIBBFD_TRUE
='#'
4512 INSTALL_LIBBFD_FALSE
=
4515 # Need _noncanonical variables for this.
4520 # libbfd.a is a host library containing target dependent code
4521 bfdlibdir
='$(libdir)'
4522 bfdincludedir
='$(includedir)'
4523 if test "${host}" != "${target}"; then
4524 bfdlibdir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4525 bfdincludedir
='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4535 bfd_default_target_size
=32
4540 ac_cpp
='$CPP $CPPFLAGS'
4541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4544 if test -n "$ac_tool_prefix"; then
4545 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4546 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4547 echo "$as_me:$LINENO: checking for $ac_word" >&5
4548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4549 if test "${ac_cv_prog_CC+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 if test -n "$CC"; then
4553 ac_cv_prog_CC
="$CC" # Let the user override the test.
4555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4559 test -z "$as_dir" && as_dir
=.
4560 for ac_exec_ext
in '' $ac_executable_extensions; do
4561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 if test -n "$CC"; then
4573 echo "$as_me:$LINENO: result: $CC" >&5
4574 echo "${ECHO_T}$CC" >&6
4576 echo "$as_me:$LINENO: result: no" >&5
4577 echo "${ECHO_T}no" >&6
4581 if test -z "$ac_cv_prog_CC"; then
4583 # Extract the first word of "gcc", so it can be a program name with args.
4584 set dummy gcc
; ac_word
=$2
4585 echo "$as_me:$LINENO: checking for $ac_word" >&5
4586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4590 if test -n "$ac_ct_CC"; then
4591 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4597 test -z "$as_dir" && as_dir
=.
4598 for ac_exec_ext
in '' $ac_executable_extensions; do
4599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4600 ac_cv_prog_ac_ct_CC
="gcc"
4601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4610 if test -n "$ac_ct_CC"; then
4611 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4612 echo "${ECHO_T}$ac_ct_CC" >&6
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4623 if test -z "$CC"; then
4624 if test -n "$ac_tool_prefix"; then
4625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4626 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4627 echo "$as_me:$LINENO: checking for $ac_word" >&5
4628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4629 if test "${ac_cv_prog_CC+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 if test -n "$CC"; then
4633 ac_cv_prog_CC
="$CC" # Let the user override the test.
4635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4639 test -z "$as_dir" && as_dir
=.
4640 for ac_exec_ext
in '' $ac_executable_extensions; do
4641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4642 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 if test -n "$CC"; then
4653 echo "$as_me:$LINENO: result: $CC" >&5
4654 echo "${ECHO_T}$CC" >&6
4656 echo "$as_me:$LINENO: result: no" >&5
4657 echo "${ECHO_T}no" >&6
4661 if test -z "$ac_cv_prog_CC"; then
4663 # Extract the first word of "cc", so it can be a program name with args.
4664 set dummy cc
; ac_word
=$2
4665 echo "$as_me:$LINENO: checking for $ac_word" >&5
4666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 if test -n "$ac_ct_CC"; then
4671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir
=.
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4680 ac_cv_prog_ac_ct_CC
="cc"
4681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4690 if test -n "$ac_ct_CC"; then
4691 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4692 echo "${ECHO_T}$ac_ct_CC" >&6
4694 echo "$as_me:$LINENO: result: no" >&5
4695 echo "${ECHO_T}no" >&6
4704 if test -z "$CC"; then
4705 # Extract the first word of "cc", so it can be a program name with args.
4706 set dummy cc
; ac_word
=$2
4707 echo "$as_me:$LINENO: checking for $ac_word" >&5
4708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4709 if test "${ac_cv_prog_CC+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 if test -n "$CC"; then
4713 ac_cv_prog_CC
="$CC" # Let the user override the test.
4716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4720 test -z "$as_dir" && as_dir
=.
4721 for ac_exec_ext
in '' $ac_executable_extensions; do
4722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4723 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4724 ac_prog_rejected
=yes
4728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 if test $ac_prog_rejected = yes; then
4735 # We found a bogon in the path, so make sure we never use it.
4736 set dummy
$ac_cv_prog_CC
4738 if test $# != 0; then
4739 # We chose a different compiler from the bogus one.
4740 # However, it has the same basename, so the bogon will be chosen
4741 # first if we set CC to just the basename; use the full file name.
4743 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4749 if test -n "$CC"; then
4750 echo "$as_me:$LINENO: result: $CC" >&5
4751 echo "${ECHO_T}$CC" >&6
4753 echo "$as_me:$LINENO: result: no" >&5
4754 echo "${ECHO_T}no" >&6
4758 if test -z "$CC"; then
4759 if test -n "$ac_tool_prefix"; then
4762 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4763 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4764 echo "$as_me:$LINENO: checking for $ac_word" >&5
4765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4766 if test "${ac_cv_prog_CC+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 if test -n "$CC"; then
4770 ac_cv_prog_CC
="$CC" # Let the user override the test.
4772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4776 test -z "$as_dir" && as_dir
=.
4777 for ac_exec_ext
in '' $ac_executable_extensions; do
4778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4779 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 if test -n "$CC"; then
4790 echo "$as_me:$LINENO: result: $CC" >&5
4791 echo "${ECHO_T}$CC" >&6
4793 echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6
4797 test -n "$CC" && break
4800 if test -z "$CC"; then
4804 # Extract the first word of "$ac_prog", so it can be a program name with args.
4805 set dummy
$ac_prog; ac_word
=$2
4806 echo "$as_me:$LINENO: checking for $ac_word" >&5
4807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4808 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4809 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 if test -n "$ac_ct_CC"; then
4812 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4818 test -z "$as_dir" && as_dir
=.
4819 for ac_exec_ext
in '' $ac_executable_extensions; do
4820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4821 ac_cv_prog_ac_ct_CC
="$ac_prog"
4822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4830 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4831 if test -n "$ac_ct_CC"; then
4832 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4833 echo "${ECHO_T}$ac_ct_CC" >&6
4835 echo "$as_me:$LINENO: result: no" >&5
4836 echo "${ECHO_T}no" >&6
4839 test -n "$ac_ct_CC" && break
4848 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4849 See \`config.log' for more details." >&5
4850 echo "$as_me: error: no acceptable C compiler found in \$PATH
4851 See \`config.log' for more details." >&2;}
4852 { (exit 1); exit 1; }; }
4854 # Provide some information about the compiler.
4855 echo "$as_me:$LINENO:" \
4856 "checking for C compiler version" >&5
4857 ac_compiler
=`set X $ac_compile; echo $2`
4858 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4859 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }
4863 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4864 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); }
4868 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4869 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); }
4874 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4875 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4876 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 cat >conftest.
$ac_ext <<_ACEOF
4882 cat confdefs.h
>>conftest.
$ac_ext
4883 cat >>conftest.
$ac_ext <<_ACEOF
4884 /* end confdefs.h. */
4897 rm -f conftest.
$ac_objext
4898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4899 (eval $ac_compile) 2>conftest.er1
4901 grep -v '^ *+' conftest.er1
>conftest.err
4903 cat conftest.err
>&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); } &&
4906 { ac_try
='test -z "$ac_c_werror_flag"
4907 || test ! -s conftest.err'
4908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); }; } &&
4913 { ac_try
='test -s conftest.$ac_objext'
4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); }; }; then
4921 echo "$as_me: failed program was:" >&5
4922 sed 's/^/| /' conftest.
$ac_ext >&5
4926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4927 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4930 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4931 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4932 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4933 ac_test_CFLAGS
=${CFLAGS+set}
4934 ac_save_CFLAGS
=$CFLAGS
4936 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4937 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4938 if test "${ac_cv_prog_cc_g+set}" = set; then
4939 echo $ECHO_N "(cached) $ECHO_C" >&6
4941 cat >conftest.
$ac_ext <<_ACEOF
4944 cat confdefs.h
>>conftest.
$ac_ext
4945 cat >>conftest.
$ac_ext <<_ACEOF
4946 /* end confdefs.h. */
4956 rm -f conftest.
$ac_objext
4957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4958 (eval $ac_compile) 2>conftest.er1
4960 grep -v '^ *+' conftest.er1
>conftest.err
4962 cat conftest.err
>&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); } &&
4965 { ac_try
='test -z "$ac_c_werror_flag"
4966 || test ! -s conftest.err'
4967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971 (exit $ac_status); }; } &&
4972 { ac_try
='test -s conftest.$ac_objext'
4973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); }; }; then
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.
$ac_ext >&5
4985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4987 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4988 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4989 if test "$ac_test_CFLAGS" = set; then
4990 CFLAGS
=$ac_save_CFLAGS
4991 elif test $ac_cv_prog_cc_g = yes; then
4992 if test "$GCC" = yes; then
4998 if test "$GCC" = yes; then
5004 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5005 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5006 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 ac_cv_prog_cc_stdc
=no
5011 cat >conftest.
$ac_ext <<_ACEOF
5014 cat confdefs.h
>>conftest.
$ac_ext
5015 cat >>conftest.
$ac_ext <<_ACEOF
5016 /* end confdefs.h. */
5019 #include <sys/types.h>
5020 #include <sys/stat.h>
5021 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5022 struct buf { int x; };
5023 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5024 static char *e (p, i)
5030 static char *f (char * (*g) (char **, int), char **p, ...)
5035 s = g (p, va_arg (v,int));
5040 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5041 function prototypes and stuff, but not '\xHH' hex character constants.
5042 These don't provoke an error unfortunately, instead are silently treated
5043 as 'x'. The following induces an error, until -std1 is added to get
5044 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5045 array size at least. It's necessary to write '\x00'==0 to get something
5046 that's true only with -std1. */
5047 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5049 int test (int i, double x);
5050 struct s1 {int (*f) (int a);};
5051 struct s2 {int (*f) (double a);};
5052 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5058 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5063 # Don't try gcc -ansi; that turns off useful extensions and
5064 # breaks some systems' header files.
5065 # AIX -qlanglvl=ansi
5066 # Ultrix and OSF/1 -std1
5067 # HP-UX 10.20 and later -Ae
5068 # HP-UX older versions -Aa -D_HPUX_SOURCE
5069 # SVR4 -Xc -D__EXTENSIONS__
5070 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5072 CC
="$ac_save_CC $ac_arg"
5073 rm -f conftest.
$ac_objext
5074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5075 (eval $ac_compile) 2>conftest.er1
5077 grep -v '^ *+' conftest.er1
>conftest.err
5079 cat conftest.err
>&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } &&
5082 { ac_try
='test -z "$ac_c_werror_flag"
5083 || test ! -s conftest.err'
5084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); }; } &&
5089 { ac_try
='test -s conftest.$ac_objext'
5090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); }; }; then
5095 ac_cv_prog_cc_stdc
=$ac_arg
5098 echo "$as_me: failed program was:" >&5
5099 sed 's/^/| /' conftest.
$ac_ext >&5
5102 rm -f conftest.err conftest.
$ac_objext
5104 rm -f conftest.
$ac_ext conftest.
$ac_objext
5109 case "x$ac_cv_prog_cc_stdc" in
5111 echo "$as_me:$LINENO: result: none needed" >&5
5112 echo "${ECHO_T}none needed" >&6 ;;
5114 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5115 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5116 CC
="$CC $ac_cv_prog_cc_stdc" ;;
5119 # Some people use a C++ compiler to compile C. Since we use `exit',
5120 # in C++ we need to declare it. In case someone uses the same compiler
5121 # for both compiling C and C++ we need to have the C++ compiler decide
5122 # the declaration of exit, since it's the most demanding environment.
5123 cat >conftest.
$ac_ext <<_ACEOF
5128 rm -f conftest.
$ac_objext
5129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5130 (eval $ac_compile) 2>conftest.er1
5132 grep -v '^ *+' conftest.er1
>conftest.err
5134 cat conftest.err
>&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } &&
5137 { ac_try
='test -z "$ac_c_werror_flag"
5138 || test ! -s conftest.err'
5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); }; } &&
5144 { ac_try
='test -s conftest.$ac_objext'
5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); }; }; then
5150 for ac_declaration
in \
5152 'extern "C" void std::exit (int) throw (); using std::exit;' \
5153 'extern "C" void std::exit (int); using std::exit;' \
5154 'extern "C" void exit (int) throw ();' \
5155 'extern "C" void exit (int);' \
5158 cat >conftest.
$ac_ext <<_ACEOF
5161 cat confdefs.h
>>conftest.
$ac_ext
5162 cat >>conftest.
$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5174 rm -f conftest.
$ac_objext
5175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5176 (eval $ac_compile) 2>conftest.er1
5178 grep -v '^ *+' conftest.er1
>conftest.err
5180 cat conftest.err
>&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); } &&
5183 { ac_try
='test -z "$ac_c_werror_flag"
5184 || test ! -s conftest.err'
5185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); }; } &&
5190 { ac_try
='test -s conftest.$ac_objext'
5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); }; }; then
5198 echo "$as_me: failed program was:" >&5
5199 sed 's/^/| /' conftest.
$ac_ext >&5
5203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5204 cat >conftest.
$ac_ext <<_ACEOF
5207 cat confdefs.h
>>conftest.
$ac_ext
5208 cat >>conftest.
$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5219 rm -f conftest.
$ac_objext
5220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5221 (eval $ac_compile) 2>conftest.er1
5223 grep -v '^ *+' conftest.er1
>conftest.err
5225 cat conftest.err
>&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } &&
5228 { ac_try
='test -z "$ac_c_werror_flag"
5229 || test ! -s conftest.err'
5230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }; } &&
5235 { ac_try
='test -s conftest.$ac_objext'
5236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; }; then
5243 echo "$as_me: failed program was:" >&5
5244 sed 's/^/| /' conftest.
$ac_ext >&5
5247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5250 if test -n "$ac_declaration"; then
5251 echo '#ifdef __cplusplus' >>confdefs.h
5252 echo $ac_declaration >>confdefs.h
5253 echo '#endif' >>confdefs.h
5257 echo "$as_me: failed program was:" >&5
5258 sed 's/^/| /' conftest.
$ac_ext >&5
5261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5263 ac_cpp
='$CPP $CPPFLAGS'
5264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5269 cat >>confdefs.h
<<\_ACEOF
5270 #define _GNU_SOURCE 1
5275 ALL_LINGUAS
="fr tr ja es sv da zh_CN ro rw vi"
5276 # If we haven't got the data from the intl directory,
5277 # assume NLS is disabled.
5286 if test -f ..
/intl
/config.intl
; then
5287 . ..
/intl
/config.intl
5289 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5290 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5291 if test x
"$USE_NLS" != xyes
; then
5292 echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6
5295 echo "$as_me:$LINENO: result: yes" >&5
5296 echo "${ECHO_T}yes" >&6
5298 cat >>confdefs.h
<<\_ACEOF
5299 #define ENABLE_NLS 1
5303 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5304 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5305 # Look for .po and .gmo files in the source directory.
5308 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5309 # If there aren't any .gmo files the shell will give us the
5310 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5312 case "$cat" in *\
**)
5315 # The quadruple backslash is collapsed to a double backslash
5316 # by the backticks, then collapsed again by the double quotes,
5317 # leaving us with one backslash in the sed expression (right
5318 # before the dot that mustn't act as a wildcard).
5319 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5320 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5321 # The user is allowed to set LINGUAS to a list of languages to
5322 # install catalogs for. If it's empty that means "all of them."
5323 if test "x$LINGUAS" = x
; then
5324 CATALOGS
="$CATALOGS $cat"
5325 XLINGUAS
="$XLINGUAS $lang"
5327 case "$LINGUAS" in *$lang*)
5328 CATALOGS
="$CATALOGS $cat"
5329 XLINGUAS
="$XLINGUAS $lang"
5335 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5336 echo "${ECHO_T}$LINGUAS" >&6
5350 if test -n "$ac_aux_dir"; then
5351 case "$ac_aux_dir" in
5352 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5353 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5356 if test -z "$MKINSTALLDIRS"; then
5357 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5362 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5363 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5364 # Check whether --enable-nls or --disable-nls was given.
5365 if test "${enable_nls+set}" = set; then
5366 enableval
="$enable_nls"
5371 echo "$as_me:$LINENO: result: $USE_NLS" >&5
5372 echo "${ECHO_T}$USE_NLS" >&6
5379 # Prepare PATH_SEPARATOR.
5380 # The user is always right.
5381 if test "${PATH_SEPARATOR+set}" != set; then
5382 echo "#! /bin/sh" >conf$$.sh
5383 echo "exit 0" >>conf$$.sh
5385 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5393 # Find out how to test for executable files. Don't use a zero-byte file,
5394 # as systems may use methods other than mode bits to determine executability.
5395 cat >conf$$.
file <<_ASEOF
5399 chmod +x conf$$.
file
5400 if test -x conf$$.
file >/dev
/null
2>&1; then
5401 ac_executable_p
="test -x"
5403 ac_executable_p
="test -f"
5407 # Extract the first word of "msgfmt", so it can be a program name with args.
5408 set dummy msgfmt
; ac_word
=$2
5409 echo "$as_me:$LINENO: checking for $ac_word" >&5
5410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5411 if test "${ac_cv_path_MSGFMT+set}" = set; then
5412 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5419 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5420 for ac_dir
in $PATH; do
5422 test -z "$ac_dir" && ac_dir
=.
5423 for ac_exec_ext
in '' $ac_executable_extensions; do
5424 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5425 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5426 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5427 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5434 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5438 MSGFMT
="$ac_cv_path_MSGFMT"
5439 if test "$MSGFMT" != ":"; then
5440 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5441 echo "${ECHO_T}$MSGFMT" >&6
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5447 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5448 set dummy gmsgfmt
; ac_word
=$2
5449 echo "$as_me:$LINENO: checking for $ac_word" >&5
5450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5451 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5456 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5463 test -z "$as_dir" && as_dir
=.
5464 for ac_exec_ext
in '' $ac_executable_extensions; do
5465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5466 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5477 GMSGFMT
=$ac_cv_path_GMSGFMT
5479 if test -n "$GMSGFMT"; then
5480 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5481 echo "${ECHO_T}$GMSGFMT" >&6
5483 echo "$as_me:$LINENO: result: no" >&5
5484 echo "${ECHO_T}no" >&6
5489 # Prepare PATH_SEPARATOR.
5490 # The user is always right.
5491 if test "${PATH_SEPARATOR+set}" != set; then
5492 echo "#! /bin/sh" >conf$$.sh
5493 echo "exit 0" >>conf$$.sh
5495 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5503 # Find out how to test for executable files. Don't use a zero-byte file,
5504 # as systems may use methods other than mode bits to determine executability.
5505 cat >conf$$.
file <<_ASEOF
5509 chmod +x conf$$.
file
5510 if test -x conf$$.
file >/dev
/null
2>&1; then
5511 ac_executable_p
="test -x"
5513 ac_executable_p
="test -f"
5517 # Extract the first word of "xgettext", so it can be a program name with args.
5518 set dummy xgettext
; ac_word
=$2
5519 echo "$as_me:$LINENO: checking for $ac_word" >&5
5520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5521 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5522 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5529 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5530 for ac_dir
in $PATH; do
5532 test -z "$ac_dir" && ac_dir
=.
5533 for ac_exec_ext
in '' $ac_executable_extensions; do
5534 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5535 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5536 (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
5537 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5544 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5548 XGETTEXT
="$ac_cv_path_XGETTEXT"
5549 if test "$XGETTEXT" != ":"; then
5550 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5551 echo "${ECHO_T}$XGETTEXT" >&6
5553 echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6
5560 # Prepare PATH_SEPARATOR.
5561 # The user is always right.
5562 if test "${PATH_SEPARATOR+set}" != set; then
5563 echo "#! /bin/sh" >conf$$.sh
5564 echo "exit 0" >>conf$$.sh
5566 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5574 # Find out how to test for executable files. Don't use a zero-byte file,
5575 # as systems may use methods other than mode bits to determine executability.
5576 cat >conf$$.
file <<_ASEOF
5580 chmod +x conf$$.
file
5581 if test -x conf$$.
file >/dev
/null
2>&1; then
5582 ac_executable_p
="test -x"
5584 ac_executable_p
="test -f"
5588 # Extract the first word of "msgmerge", so it can be a program name with args.
5589 set dummy msgmerge
; ac_word
=$2
5590 echo "$as_me:$LINENO: checking for $ac_word" >&5
5591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5592 if test "${ac_cv_path_MSGMERGE+set}" = set; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6
5597 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5600 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5601 for ac_dir
in $PATH; do
5603 test -z "$ac_dir" && ac_dir
=.
5604 for ac_exec_ext
in '' $ac_executable_extensions; do
5605 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5606 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5607 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5614 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5618 MSGMERGE
="$ac_cv_path_MSGMERGE"
5619 if test "$MSGMERGE" != ":"; then
5620 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5621 echo "${ECHO_T}$MSGMERGE" >&6
5623 echo "$as_me:$LINENO: result: no" >&5
5624 echo "${ECHO_T}no" >&6
5628 if test "$GMSGFMT" != ":"; then
5629 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5630 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5633 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5634 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5635 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
5640 if test "$XGETTEXT" != ":"; then
5641 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5642 (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
5645 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5646 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5652 ac_config_commands
="$ac_config_commands default-1"
5656 # Permit host specific settings.
5657 .
${srcdir}/configure.
host
5660 # Find a good install program. We prefer a C program (faster),
5661 # so one script is as good as another. But avoid the broken or
5662 # incompatible versions:
5663 # SysV /etc/install, /usr/sbin/install
5664 # SunOS /usr/etc/install
5665 # IRIX /sbin/install
5667 # AmigaOS /C/install, which installs bootblocks on floppy discs
5668 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5669 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5670 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5671 # OS/2's system install, which has a completely different semantic
5672 # ./install, which can be erroneously created by make from ./install.sh.
5673 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5674 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5675 if test -z "$INSTALL"; then
5676 if test "${ac_cv_path_install+set}" = set; then
5677 echo $ECHO_N "(cached) $ECHO_C" >&6
5679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5683 test -z "$as_dir" && as_dir
=.
5684 # Account for people who put trailing slashes in PATH elements.
5686 .
/ | .
// |
/cC
/* | \
5687 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5688 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5691 # OSF1 and SCO ODT 3.0 have their own names for install.
5692 # Don't use installbsd from OSF since it installs stuff as root
5694 for ac_prog
in ginstall scoinst
install; do
5695 for ac_exec_ext
in '' $ac_executable_extensions; do
5696 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5697 if test $ac_prog = install &&
5698 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5699 # AIX install. It has an incompatible calling convention.
5701 elif test $ac_prog = install &&
5702 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5703 # program-specific install script used by HP pwplus--don't use.
5706 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5718 if test "${ac_cv_path_install+set}" = set; then
5719 INSTALL
=$ac_cv_path_install
5721 # As a last resort, use the slow shell script. We don't cache a
5722 # path for INSTALL within a source directory, because that will
5723 # break other packages using the cache if that directory is
5724 # removed, or if the path is relative.
5725 INSTALL
=$ac_install_sh
5728 echo "$as_me:$LINENO: result: $INSTALL" >&5
5729 echo "${ECHO_T}$INSTALL" >&6
5731 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5732 # It thinks the first close brace ends the variable substitution.
5733 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5735 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5737 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5740 BFD_HOST_64BIT_LONG
=0
5741 BFD_HOST_LONG_LONG
=0
5742 BFD_HOST_64_BIT_DEFINED
=0
5746 echo "$as_me:$LINENO: checking for long long" >&5
5747 echo $ECHO_N "checking for long long... $ECHO_C" >&6
5748 if test "${bfd_cv_has_long_long+set}" = set; then
5749 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 cat >conftest.
$ac_ext <<_ACEOF
5754 cat confdefs.h
>>conftest.
$ac_ext
5755 cat >>conftest.
$ac_ext <<_ACEOF
5756 /* end confdefs.h. */
5761 unsigned long long ll = 18446744073709551615ULL;
5766 rm -f conftest.
$ac_objext
5767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5768 (eval $ac_compile) 2>conftest.er1
5770 grep -v '^ *+' conftest.er1
>conftest.err
5772 cat conftest.err
>&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); } &&
5775 { ac_try
='test -z "$ac_c_werror_flag"
5776 || test ! -s conftest.err'
5777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); }; } &&
5782 { ac_try
='test -s conftest.$ac_objext'
5783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); }; }; then
5788 bfd_cv_has_long_long
=yes
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.
$ac_ext >&5
5793 bfd_cv_has_long_long
=no
5795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5798 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
5799 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
5800 if test $bfd_cv_has_long_long = yes; then
5801 BFD_HOST_LONG_LONG
=1
5803 ac_cpp
='$CPP $CPPFLAGS'
5804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5807 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5808 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5809 # On Suns, sometimes $CPP names a directory.
5810 if test -n "$CPP" && test -d "$CPP"; then
5813 if test -z "$CPP"; then
5814 if test "${ac_cv_prog_CPP+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 # Double quotes because CPP needs to be expanded
5818 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5821 for ac_c_preproc_warn_flag
in '' yes
5823 # Use a header file that comes with gcc, so configuring glibc
5824 # with a fresh cross-compiler works.
5825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5826 # <limits.h> exists even on freestanding compilers.
5827 # On the NeXT, cc -E runs the code through the compiler's parser,
5828 # not just through cpp. "Syntax error" is here to catch this case.
5829 cat >conftest.
$ac_ext <<_ACEOF
5832 cat confdefs.h
>>conftest.
$ac_ext
5833 cat >>conftest.
$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5836 # include <limits.h>
5838 # include <assert.h>
5842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5843 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5845 grep -v '^ *+' conftest.er1
>conftest.err
5847 cat conftest.err
>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } >/dev
/null
; then
5850 if test -s conftest.err
; then
5851 ac_cpp_err
=$ac_c_preproc_warn_flag
5852 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5859 if test -z "$ac_cpp_err"; then
5862 echo "$as_me: failed program was:" >&5
5863 sed 's/^/| /' conftest.
$ac_ext >&5
5865 # Broken: fails on valid input.
5868 rm -f conftest.err conftest.
$ac_ext
5870 # OK, works on sane cases. Now check whether non-existent headers
5871 # can be detected and how.
5872 cat >conftest.
$ac_ext <<_ACEOF
5875 cat confdefs.h
>>conftest.
$ac_ext
5876 cat >>conftest.
$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5878 #include <ac_nonexistent.h>
5880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5881 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5883 grep -v '^ *+' conftest.er1
>conftest.err
5885 cat conftest.err
>&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } >/dev
/null
; then
5888 if test -s conftest.err
; then
5889 ac_cpp_err
=$ac_c_preproc_warn_flag
5890 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5897 if test -z "$ac_cpp_err"; then
5898 # Broken: success on invalid input.
5901 echo "$as_me: failed program was:" >&5
5902 sed 's/^/| /' conftest.
$ac_ext >&5
5904 # Passes both tests.
5908 rm -f conftest.err conftest.
$ac_ext
5911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5912 rm -f conftest.err conftest.
$ac_ext
5913 if $ac_preproc_ok; then
5925 echo "$as_me:$LINENO: result: $CPP" >&5
5926 echo "${ECHO_T}$CPP" >&6
5928 for ac_c_preproc_warn_flag
in '' yes
5930 # Use a header file that comes with gcc, so configuring glibc
5931 # with a fresh cross-compiler works.
5932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5933 # <limits.h> exists even on freestanding compilers.
5934 # On the NeXT, cc -E runs the code through the compiler's parser,
5935 # not just through cpp. "Syntax error" is here to catch this case.
5936 cat >conftest.
$ac_ext <<_ACEOF
5939 cat confdefs.h
>>conftest.
$ac_ext
5940 cat >>conftest.
$ac_ext <<_ACEOF
5941 /* end confdefs.h. */
5943 # include <limits.h>
5945 # include <assert.h>
5949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5950 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5952 grep -v '^ *+' conftest.er1
>conftest.err
5954 cat conftest.err
>&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } >/dev
/null
; then
5957 if test -s conftest.err
; then
5958 ac_cpp_err
=$ac_c_preproc_warn_flag
5959 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5966 if test -z "$ac_cpp_err"; then
5969 echo "$as_me: failed program was:" >&5
5970 sed 's/^/| /' conftest.
$ac_ext >&5
5972 # Broken: fails on valid input.
5975 rm -f conftest.err conftest.
$ac_ext
5977 # OK, works on sane cases. Now check whether non-existent headers
5978 # can be detected and how.
5979 cat >conftest.
$ac_ext <<_ACEOF
5982 cat confdefs.h
>>conftest.
$ac_ext
5983 cat >>conftest.
$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5985 #include <ac_nonexistent.h>
5987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5990 grep -v '^ *+' conftest.er1
>conftest.err
5992 cat conftest.err
>&5
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); } >/dev
/null
; then
5995 if test -s conftest.err
; then
5996 ac_cpp_err
=$ac_c_preproc_warn_flag
5997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6004 if test -z "$ac_cpp_err"; then
6005 # Broken: success on invalid input.
6008 echo "$as_me: failed program was:" >&5
6009 sed 's/^/| /' conftest.
$ac_ext >&5
6011 # Passes both tests.
6015 rm -f conftest.err conftest.
$ac_ext
6018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6019 rm -f conftest.err conftest.
$ac_ext
6020 if $ac_preproc_ok; then
6023 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6024 See \`config.log' for more details." >&5
6025 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6026 See \`config.log' for more details." >&2;}
6027 { (exit 1); exit 1; }; }
6031 ac_cpp
='$CPP $CPPFLAGS'
6032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6037 echo "$as_me:$LINENO: checking for egrep" >&5
6038 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6039 if test "${ac_cv_prog_egrep+set}" = set; then
6040 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6043 then ac_cv_prog_egrep
='grep -E'
6044 else ac_cv_prog_egrep
='egrep'
6047 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6048 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6049 EGREP
=$ac_cv_prog_egrep
6052 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6053 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6054 if test "${ac_cv_header_stdc+set}" = set; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6057 cat >conftest.
$ac_ext <<_ACEOF
6060 cat confdefs.h
>>conftest.
$ac_ext
6061 cat >>conftest.
$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6076 rm -f conftest.
$ac_objext
6077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6078 (eval $ac_compile) 2>conftest.er1
6080 grep -v '^ *+' conftest.er1
>conftest.err
6082 cat conftest.err
>&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); } &&
6085 { ac_try
='test -z "$ac_c_werror_flag"
6086 || test ! -s conftest.err'
6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; } &&
6092 { ac_try
='test -s conftest.$ac_objext'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; }; then
6098 ac_cv_header_stdc
=yes
6100 echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.
$ac_ext >&5
6103 ac_cv_header_stdc
=no
6105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6107 if test $ac_cv_header_stdc = yes; then
6108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6109 cat >conftest.
$ac_ext <<_ACEOF
6112 cat confdefs.h
>>conftest.
$ac_ext
6113 cat >>conftest.
$ac_ext <<_ACEOF
6114 /* end confdefs.h. */
6118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6119 $EGREP "memchr" >/dev
/null
2>&1; then
6122 ac_cv_header_stdc
=no
6128 if test $ac_cv_header_stdc = yes; then
6129 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6130 cat >conftest.
$ac_ext <<_ACEOF
6133 cat confdefs.h
>>conftest.
$ac_ext
6134 cat >>conftest.
$ac_ext <<_ACEOF
6135 /* end confdefs.h. */
6139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6140 $EGREP "free" >/dev
/null
2>&1; then
6143 ac_cv_header_stdc
=no
6149 if test $ac_cv_header_stdc = yes; then
6150 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6151 if test "$cross_compiling" = yes; then
6154 cat >conftest.
$ac_ext <<_ACEOF
6157 cat confdefs.h
>>conftest.
$ac_ext
6158 cat >>conftest.
$ac_ext <<_ACEOF
6159 /* end confdefs.h. */
6161 #if ((' ' & 0x0FF) == 0x020)
6162 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6163 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6165 # define ISLOWER(c) \
6166 (('a' <= (c) && (c) <= 'i') \
6167 || ('j' <= (c) && (c) <= 'r') \
6168 || ('s' <= (c) && (c) <= 'z'))
6169 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6172 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6177 for (i = 0; i < 256; i++)
6178 if (XOR (islower (i), ISLOWER (i))
6179 || toupper (i) != TOUPPER (i))
6184 rm -f conftest
$ac_exeext
6185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6186 (eval $ac_link) 2>&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); }; }; then
6197 echo "$as_me: program exited with status $ac_status" >&5
6198 echo "$as_me: failed program was:" >&5
6199 sed 's/^/| /' conftest.
$ac_ext >&5
6202 ac_cv_header_stdc
=no
6204 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6208 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6209 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6210 if test $ac_cv_header_stdc = yes; then
6212 cat >>confdefs.h
<<\_ACEOF
6213 #define STDC_HEADERS 1
6218 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6228 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6229 inttypes.h stdint.h unistd.h
6231 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6232 echo "$as_me:$LINENO: checking for $ac_header" >&5
6233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6235 echo $ECHO_N "(cached) $ECHO_C" >&6
6237 cat >conftest.
$ac_ext <<_ACEOF
6240 cat confdefs.h
>>conftest.
$ac_ext
6241 cat >>conftest.
$ac_ext <<_ACEOF
6242 /* end confdefs.h. */
6243 $ac_includes_default
6245 #include <$ac_header>
6247 rm -f conftest.
$ac_objext
6248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6249 (eval $ac_compile) 2>conftest.er1
6251 grep -v '^ *+' conftest.er1
>conftest.err
6253 cat conftest.err
>&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); } &&
6256 { ac_try
='test -z "$ac_c_werror_flag"
6257 || test ! -s conftest.err'
6258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; } &&
6263 { ac_try
='test -s conftest.$ac_objext'
6264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; }; then
6269 eval "$as_ac_Header=yes"
6271 echo "$as_me: failed program was:" >&5
6272 sed 's/^/| /' conftest.
$ac_ext >&5
6274 eval "$as_ac_Header=no"
6276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6281 cat >>confdefs.h
<<_ACEOF
6282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6290 echo "$as_me:$LINENO: checking for long long" >&5
6291 echo $ECHO_N "checking for long long... $ECHO_C" >&6
6292 if test "${ac_cv_type_long_long+set}" = set; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6
6295 cat >conftest.
$ac_ext <<_ACEOF
6298 cat confdefs.h
>>conftest.
$ac_ext
6299 cat >>conftest.
$ac_ext <<_ACEOF
6300 /* end confdefs.h. */
6301 $ac_includes_default
6305 if ((long long *) 0)
6307 if (sizeof (long long))
6313 rm -f conftest.
$ac_objext
6314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6315 (eval $ac_compile) 2>conftest.er1
6317 grep -v '^ *+' conftest.er1
>conftest.err
6319 cat conftest.err
>&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); } &&
6322 { ac_try
='test -z "$ac_c_werror_flag"
6323 || test ! -s conftest.err'
6324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); }; } &&
6329 { ac_try
='test -s conftest.$ac_objext'
6330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); }; }; then
6335 ac_cv_type_long_long
=yes
6337 echo "$as_me: failed program was:" >&5
6338 sed 's/^/| /' conftest.
$ac_ext >&5
6340 ac_cv_type_long_long
=no
6342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6344 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6345 echo "${ECHO_T}$ac_cv_type_long_long" >&6
6347 echo "$as_me:$LINENO: checking size of long long" >&5
6348 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
6349 if test "${ac_cv_sizeof_long_long+set}" = set; then
6350 echo $ECHO_N "(cached) $ECHO_C" >&6
6352 if test "$ac_cv_type_long_long" = yes; then
6353 # The cast to unsigned long works around a bug in the HP C Compiler
6354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6356 # This bug is HP SR number 8606223364.
6357 if test "$cross_compiling" = yes; then
6358 # Depending upon the size, compute the lo and hi bounds.
6359 cat >conftest.
$ac_ext <<_ACEOF
6362 cat confdefs.h
>>conftest.
$ac_ext
6363 cat >>conftest.
$ac_ext <<_ACEOF
6364 /* end confdefs.h. */
6365 $ac_includes_default
6369 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
6376 rm -f conftest.
$ac_objext
6377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6378 (eval $ac_compile) 2>conftest.er1
6380 grep -v '^ *+' conftest.er1
>conftest.err
6382 cat conftest.err
>&5
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); } &&
6385 { ac_try
='test -z "$ac_c_werror_flag"
6386 || test ! -s conftest.err'
6387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); }; } &&
6392 { ac_try
='test -s conftest.$ac_objext'
6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; }; then
6400 cat >conftest.
$ac_ext <<_ACEOF
6403 cat confdefs.h
>>conftest.
$ac_ext
6404 cat >>conftest.
$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6406 $ac_includes_default
6410 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6417 rm -f conftest.
$ac_objext
6418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6419 (eval $ac_compile) 2>conftest.er1
6421 grep -v '^ *+' conftest.er1
>conftest.err
6423 cat conftest.err
>&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); } &&
6426 { ac_try
='test -z "$ac_c_werror_flag"
6427 || test ! -s conftest.err'
6428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); }; } &&
6433 { ac_try
='test -s conftest.$ac_objext'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; }; then
6439 ac_hi
=$ac_mid; break
6441 echo "$as_me: failed program was:" >&5
6442 sed 's/^/| /' conftest.
$ac_ext >&5
6444 ac_lo
=`expr $ac_mid + 1`
6445 if test $ac_lo -le $ac_mid; then
6449 ac_mid
=`expr 2 '*' $ac_mid + 1`
6451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6454 echo "$as_me: failed program was:" >&5
6455 sed 's/^/| /' conftest.
$ac_ext >&5
6457 cat >conftest.
$ac_ext <<_ACEOF
6460 cat confdefs.h
>>conftest.
$ac_ext
6461 cat >>conftest.
$ac_ext <<_ACEOF
6462 /* end confdefs.h. */
6463 $ac_includes_default
6467 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
6474 rm -f conftest.
$ac_objext
6475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6476 (eval $ac_compile) 2>conftest.er1
6478 grep -v '^ *+' conftest.er1
>conftest.err
6480 cat conftest.err
>&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); } &&
6483 { ac_try
='test -z "$ac_c_werror_flag"
6484 || test ! -s conftest.err'
6485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); }; } &&
6490 { ac_try
='test -s conftest.$ac_objext'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; }; then
6498 cat >conftest.
$ac_ext <<_ACEOF
6501 cat confdefs.h
>>conftest.
$ac_ext
6502 cat >>conftest.
$ac_ext <<_ACEOF
6503 /* end confdefs.h. */
6504 $ac_includes_default
6508 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
6515 rm -f conftest.
$ac_objext
6516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6517 (eval $ac_compile) 2>conftest.er1
6519 grep -v '^ *+' conftest.er1
>conftest.err
6521 cat conftest.err
>&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); } &&
6524 { ac_try
='test -z "$ac_c_werror_flag"
6525 || test ! -s conftest.err'
6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); }; } &&
6531 { ac_try
='test -s conftest.$ac_objext'
6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }; }; then
6537 ac_lo
=$ac_mid; break
6539 echo "$as_me: failed program was:" >&5
6540 sed 's/^/| /' conftest.
$ac_ext >&5
6542 ac_hi
=`expr '(' $ac_mid ')' - 1`
6543 if test $ac_mid -le $ac_hi; then
6547 ac_mid
=`expr 2 '*' $ac_mid`
6549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.
$ac_ext >&5
6557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6560 # Binary search between lo and hi bounds.
6561 while test "x$ac_lo" != "x$ac_hi"; do
6562 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6563 cat >conftest.
$ac_ext <<_ACEOF
6566 cat confdefs.h
>>conftest.
$ac_ext
6567 cat >>conftest.
$ac_ext <<_ACEOF
6568 /* end confdefs.h. */
6569 $ac_includes_default
6573 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6580 rm -f conftest.
$ac_objext
6581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6582 (eval $ac_compile) 2>conftest.er1
6584 grep -v '^ *+' conftest.er1
>conftest.err
6586 cat conftest.err
>&5
6587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 (exit $ac_status); } &&
6589 { ac_try
='test -z "$ac_c_werror_flag"
6590 || test ! -s conftest.err'
6591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595 (exit $ac_status); }; } &&
6596 { ac_try
='test -s conftest.$ac_objext'
6597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); }; }; then
6604 echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.
$ac_ext >&5
6607 ac_lo
=`expr '(' $ac_mid ')' + 1`
6609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6612 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
6613 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6614 See \`config.log' for more details." >&5
6615 echo "$as_me: error: cannot compute sizeof (long long), 77
6616 See \`config.log' for more details." >&2;}
6617 { (exit 1); exit 1; }; } ;;
6620 if test "$cross_compiling" = yes; then
6621 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6622 See \`config.log' for more details." >&5
6623 echo "$as_me: error: cannot run test program while cross compiling
6624 See \`config.log' for more details." >&2;}
6625 { (exit 1); exit 1; }; }
6627 cat >conftest.
$ac_ext <<_ACEOF
6630 cat confdefs.h
>>conftest.
$ac_ext
6631 cat >>conftest.
$ac_ext <<_ACEOF
6632 /* end confdefs.h. */
6633 $ac_includes_default
6634 long longval () { return (long) (sizeof (long long)); }
6635 unsigned long ulongval () { return (long) (sizeof (long long)); }
6642 FILE *f = fopen ("conftest.val", "w");
6645 if (((long) (sizeof (long long))) < 0)
6647 long i = longval ();
6648 if (i != ((long) (sizeof (long long))))
6650 fprintf (f, "%ld\n", i);
6654 unsigned long i = ulongval ();
6655 if (i != ((long) (sizeof (long long))))
6657 fprintf (f, "%lu\n", i);
6659 exit (ferror (f) || fclose (f) != 0);
6665 rm -f conftest
$ac_exeext
6666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6667 (eval $ac_link) 2>&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); }; }; then
6676 ac_cv_sizeof_long_long
=`cat conftest.val`
6678 echo "$as_me: program exited with status $ac_status" >&5
6679 echo "$as_me: failed program was:" >&5
6680 sed 's/^/| /' conftest.
$ac_ext >&5
6683 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6684 See \`config.log' for more details." >&5
6685 echo "$as_me: error: cannot compute sizeof (long long), 77
6686 See \`config.log' for more details." >&2;}
6687 { (exit 1); exit 1; }; }
6689 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6694 ac_cv_sizeof_long_long
=0
6697 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
6698 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
6699 cat >>confdefs.h
<<_ACEOF
6700 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
6706 echo "$as_me:$LINENO: checking for long" >&5
6707 echo $ECHO_N "checking for long... $ECHO_C" >&6
6708 if test "${ac_cv_type_long+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 cat >conftest.
$ac_ext <<_ACEOF
6714 cat confdefs.h
>>conftest.
$ac_ext
6715 cat >>conftest.
$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6717 $ac_includes_default
6729 rm -f conftest.
$ac_objext
6730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6731 (eval $ac_compile) 2>conftest.er1
6733 grep -v '^ *+' conftest.er1
>conftest.err
6735 cat conftest.err
>&5
6736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); } &&
6738 { ac_try
='test -z "$ac_c_werror_flag"
6739 || test ! -s conftest.err'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; } &&
6745 { ac_try
='test -s conftest.$ac_objext'
6746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); }; }; then
6753 echo "$as_me: failed program was:" >&5
6754 sed 's/^/| /' conftest.
$ac_ext >&5
6758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6760 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6761 echo "${ECHO_T}$ac_cv_type_long" >&6
6763 echo "$as_me:$LINENO: checking size of long" >&5
6764 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6765 if test "${ac_cv_sizeof_long+set}" = set; then
6766 echo $ECHO_N "(cached) $ECHO_C" >&6
6768 if test "$ac_cv_type_long" = yes; then
6769 # The cast to unsigned long works around a bug in the HP C Compiler
6770 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6771 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6772 # This bug is HP SR number 8606223364.
6773 if test "$cross_compiling" = yes; then
6774 # Depending upon the size, compute the lo and hi bounds.
6775 cat >conftest.
$ac_ext <<_ACEOF
6778 cat confdefs.h
>>conftest.
$ac_ext
6779 cat >>conftest.
$ac_ext <<_ACEOF
6780 /* end confdefs.h. */
6781 $ac_includes_default
6785 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6792 rm -f conftest.
$ac_objext
6793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6794 (eval $ac_compile) 2>conftest.er1
6796 grep -v '^ *+' conftest.er1
>conftest.err
6798 cat conftest.err
>&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } &&
6801 { ac_try
='test -z "$ac_c_werror_flag"
6802 || test ! -s conftest.err'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; } &&
6808 { ac_try
='test -s conftest.$ac_objext'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; }; then
6816 cat >conftest.
$ac_ext <<_ACEOF
6819 cat confdefs.h
>>conftest.
$ac_ext
6820 cat >>conftest.
$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6822 $ac_includes_default
6826 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6833 rm -f conftest.
$ac_objext
6834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6835 (eval $ac_compile) 2>conftest.er1
6837 grep -v '^ *+' conftest.er1
>conftest.err
6839 cat conftest.err
>&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } &&
6842 { ac_try
='test -z "$ac_c_werror_flag"
6843 || test ! -s conftest.err'
6844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); }; } &&
6849 { ac_try
='test -s conftest.$ac_objext'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6855 ac_hi
=$ac_mid; break
6857 echo "$as_me: failed program was:" >&5
6858 sed 's/^/| /' conftest.
$ac_ext >&5
6860 ac_lo
=`expr $ac_mid + 1`
6861 if test $ac_lo -le $ac_mid; then
6865 ac_mid
=`expr 2 '*' $ac_mid + 1`
6867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6870 echo "$as_me: failed program was:" >&5
6871 sed 's/^/| /' conftest.
$ac_ext >&5
6873 cat >conftest.
$ac_ext <<_ACEOF
6876 cat confdefs.h
>>conftest.
$ac_ext
6877 cat >>conftest.
$ac_ext <<_ACEOF
6878 /* end confdefs.h. */
6879 $ac_includes_default
6883 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6890 rm -f conftest.
$ac_objext
6891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6892 (eval $ac_compile) 2>conftest.er1
6894 grep -v '^ *+' conftest.er1
>conftest.err
6896 cat conftest.err
>&5
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); } &&
6899 { ac_try
='test -z "$ac_c_werror_flag"
6900 || test ! -s conftest.err'
6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); }; } &&
6906 { ac_try
='test -s conftest.$ac_objext'
6907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); }; }; then
6914 cat >conftest.
$ac_ext <<_ACEOF
6917 cat confdefs.h
>>conftest.
$ac_ext
6918 cat >>conftest.
$ac_ext <<_ACEOF
6919 /* end confdefs.h. */
6920 $ac_includes_default
6924 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6931 rm -f conftest.
$ac_objext
6932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6933 (eval $ac_compile) 2>conftest.er1
6935 grep -v '^ *+' conftest.er1
>conftest.err
6937 cat conftest.err
>&5
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); } &&
6940 { ac_try
='test -z "$ac_c_werror_flag"
6941 || test ! -s conftest.err'
6942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); }; } &&
6947 { ac_try
='test -s conftest.$ac_objext'
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; }; then
6953 ac_lo
=$ac_mid; break
6955 echo "$as_me: failed program was:" >&5
6956 sed 's/^/| /' conftest.
$ac_ext >&5
6958 ac_hi
=`expr '(' $ac_mid ')' - 1`
6959 if test $ac_mid -le $ac_hi; then
6963 ac_mid
=`expr 2 '*' $ac_mid`
6965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.
$ac_ext >&5
6973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6976 # Binary search between lo and hi bounds.
6977 while test "x$ac_lo" != "x$ac_hi"; do
6978 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6979 cat >conftest.
$ac_ext <<_ACEOF
6982 cat confdefs.h
>>conftest.
$ac_ext
6983 cat >>conftest.
$ac_ext <<_ACEOF
6984 /* end confdefs.h. */
6985 $ac_includes_default
6989 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6996 rm -f conftest.
$ac_objext
6997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6998 (eval $ac_compile) 2>conftest.er1
7000 grep -v '^ *+' conftest.er1
>conftest.err
7002 cat conftest.err
>&5
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); } &&
7005 { ac_try
='test -z "$ac_c_werror_flag"
7006 || test ! -s conftest.err'
7007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); }; } &&
7012 { ac_try
='test -s conftest.$ac_objext'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; }; then
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.
$ac_ext >&5
7023 ac_lo
=`expr '(' $ac_mid ')' + 1`
7025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7028 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7029 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7030 See \`config.log' for more details." >&5
7031 echo "$as_me: error: cannot compute sizeof (long), 77
7032 See \`config.log' for more details." >&2;}
7033 { (exit 1); exit 1; }; } ;;
7036 if test "$cross_compiling" = yes; then
7037 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7038 See \`config.log' for more details." >&5
7039 echo "$as_me: error: cannot run test program while cross compiling
7040 See \`config.log' for more details." >&2;}
7041 { (exit 1); exit 1; }; }
7043 cat >conftest.
$ac_ext <<_ACEOF
7046 cat confdefs.h
>>conftest.
$ac_ext
7047 cat >>conftest.
$ac_ext <<_ACEOF
7048 /* end confdefs.h. */
7049 $ac_includes_default
7050 long longval () { return (long) (sizeof (long)); }
7051 unsigned long ulongval () { return (long) (sizeof (long)); }
7058 FILE *f = fopen ("conftest.val", "w");
7061 if (((long) (sizeof (long))) < 0)
7063 long i = longval ();
7064 if (i != ((long) (sizeof (long))))
7066 fprintf (f, "%ld\n", i);
7070 unsigned long i = ulongval ();
7071 if (i != ((long) (sizeof (long))))
7073 fprintf (f, "%lu\n", i);
7075 exit (ferror (f) || fclose (f) != 0);
7081 rm -f conftest
$ac_exeext
7082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7083 (eval $ac_link) 2>&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091 (exit $ac_status); }; }; then
7092 ac_cv_sizeof_long
=`cat conftest.val`
7094 echo "$as_me: program exited with status $ac_status" >&5
7095 echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.
$ac_ext >&5
7099 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7100 See \`config.log' for more details." >&5
7101 echo "$as_me: error: cannot compute sizeof (long), 77
7102 See \`config.log' for more details." >&2;}
7103 { (exit 1); exit 1; }; }
7105 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7113 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7114 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7115 cat >>confdefs.h
<<_ACEOF
7116 #define SIZEOF_LONG $ac_cv_sizeof_long
7120 if test "x${ac_cv_sizeof_long}" = "x8"; then
7122 BFD_HOST_64BIT_LONG
=1
7123 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long"
7124 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long"
7125 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
7126 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE
="long long"
7127 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE
="unsigned long long"
7130 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
7131 BFD_HOST_64_BIT_DEFINED
=1
7132 BFD_HOST_64_BIT
="${HOST_64BIT_TYPE}"
7133 BFD_HOST_U_64_BIT
="${HOST_U_64BIT_TYPE}"
7142 # Put a plausible default for CC_FOR_BUILD in Makefile.
7143 if test -z "$CC_FOR_BUILD"; then
7144 if test "x$cross_compiling" = "xno"; then
7145 CC_FOR_BUILD
='$(CC)'
7151 # Also set EXEEXT_FOR_BUILD.
7152 if test "x$cross_compiling" = "xno"; then
7153 EXEEXT_FOR_BUILD
='$(EXEEXT)'
7155 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
7156 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
7157 if test "${bfd_cv_build_exeext+set}" = set; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 echo 'int main () { return 0; }' > conftest.c
7162 bfd_cv_build_exeext
=
7163 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
7164 for file in conftest.
*; do
7166 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
7167 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
7171 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
7173 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
7174 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
7176 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
7186 for ac_header
in stddef.h string.h
strings.h stdlib.h
time.h unistd.h
7188 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7190 echo "$as_me:$LINENO: checking for $ac_header" >&5
7191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7198 # Is the header compilable?
7199 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7200 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7201 cat >conftest.
$ac_ext <<_ACEOF
7204 cat confdefs.h
>>conftest.
$ac_ext
7205 cat >>conftest.
$ac_ext <<_ACEOF
7206 /* end confdefs.h. */
7207 $ac_includes_default
7208 #include <$ac_header>
7210 rm -f conftest.
$ac_objext
7211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7212 (eval $ac_compile) 2>conftest.er1
7214 grep -v '^ *+' conftest.er1
>conftest.err
7216 cat conftest.err
>&5
7217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7218 (exit $ac_status); } &&
7219 { ac_try
='test -z "$ac_c_werror_flag"
7220 || test ! -s conftest.err'
7221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); }; } &&
7226 { ac_try
='test -s conftest.$ac_objext'
7227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); }; }; then
7232 ac_header_compiler
=yes
7234 echo "$as_me: failed program was:" >&5
7235 sed 's/^/| /' conftest.
$ac_ext >&5
7237 ac_header_compiler
=no
7239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7241 echo "${ECHO_T}$ac_header_compiler" >&6
7243 # Is the header present?
7244 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7245 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7246 cat >conftest.
$ac_ext <<_ACEOF
7249 cat confdefs.h
>>conftest.
$ac_ext
7250 cat >>conftest.
$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7252 #include <$ac_header>
7254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7255 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7257 grep -v '^ *+' conftest.er1
>conftest.err
7259 cat conftest.err
>&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); } >/dev
/null
; then
7262 if test -s conftest.err
; then
7263 ac_cpp_err
=$ac_c_preproc_warn_flag
7264 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7271 if test -z "$ac_cpp_err"; then
7272 ac_header_preproc
=yes
7274 echo "$as_me: failed program was:" >&5
7275 sed 's/^/| /' conftest.
$ac_ext >&5
7277 ac_header_preproc
=no
7279 rm -f conftest.err conftest.
$ac_ext
7280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7281 echo "${ECHO_T}$ac_header_preproc" >&6
7283 # So? What about this header?
7284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7286 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7287 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7289 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7290 ac_header_preproc
=yes
7293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7298 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7299 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7300 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7303 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7304 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7307 ## ------------------------------------------ ##
7308 ## Report this to the AC_PACKAGE_NAME lists. ##
7309 ## ------------------------------------------ ##
7312 sed "s/^/$as_me: WARNING: /" >&2
7315 echo "$as_me:$LINENO: checking for $ac_header" >&5
7316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7318 echo $ECHO_N "(cached) $ECHO_C" >&6
7320 eval "$as_ac_Header=\$ac_header_preproc"
7322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7327 cat >>confdefs.h
<<_ACEOF
7328 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7338 for ac_header
in fcntl.h sys
/file.h sys
/time.h
7340 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7342 echo "$as_me:$LINENO: checking for $ac_header" >&5
7343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7345 echo $ECHO_N "(cached) $ECHO_C" >&6
7347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7350 # Is the header compilable?
7351 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7353 cat >conftest.
$ac_ext <<_ACEOF
7356 cat confdefs.h
>>conftest.
$ac_ext
7357 cat >>conftest.
$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7359 $ac_includes_default
7360 #include <$ac_header>
7362 rm -f conftest.
$ac_objext
7363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7364 (eval $ac_compile) 2>conftest.er1
7366 grep -v '^ *+' conftest.er1
>conftest.err
7368 cat conftest.err
>&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); } &&
7371 { ac_try
='test -z "$ac_c_werror_flag"
7372 || test ! -s conftest.err'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; } &&
7378 { ac_try
='test -s conftest.$ac_objext'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; }; then
7384 ac_header_compiler
=yes
7386 echo "$as_me: failed program was:" >&5
7387 sed 's/^/| /' conftest.
$ac_ext >&5
7389 ac_header_compiler
=no
7391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7393 echo "${ECHO_T}$ac_header_compiler" >&6
7395 # Is the header present?
7396 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7398 cat >conftest.
$ac_ext <<_ACEOF
7401 cat confdefs.h
>>conftest.
$ac_ext
7402 cat >>conftest.
$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7404 #include <$ac_header>
7406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7409 grep -v '^ *+' conftest.er1
>conftest.err
7411 cat conftest.err
>&5
7412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413 (exit $ac_status); } >/dev
/null
; then
7414 if test -s conftest.err
; then
7415 ac_cpp_err
=$ac_c_preproc_warn_flag
7416 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7423 if test -z "$ac_cpp_err"; then
7424 ac_header_preproc
=yes
7426 echo "$as_me: failed program was:" >&5
7427 sed 's/^/| /' conftest.
$ac_ext >&5
7429 ac_header_preproc
=no
7431 rm -f conftest.err conftest.
$ac_ext
7432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7433 echo "${ECHO_T}$ac_header_preproc" >&6
7435 # So? What about this header?
7436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7439 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7441 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7442 ac_header_preproc
=yes
7445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7449 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7450 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7451 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7452 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7455 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7456 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7459 ## ------------------------------------------ ##
7460 ## Report this to the AC_PACKAGE_NAME lists. ##
7461 ## ------------------------------------------ ##
7464 sed "s/^/$as_me: WARNING: /" >&2
7467 echo "$as_me:$LINENO: checking for $ac_header" >&5
7468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7470 echo $ECHO_N "(cached) $ECHO_C" >&6
7472 eval "$as_ac_Header=\$ac_header_preproc"
7474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7479 cat >>confdefs.h
<<_ACEOF
7480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7487 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7488 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7489 if test "${ac_cv_header_time+set}" = set; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7492 cat >conftest.
$ac_ext <<_ACEOF
7495 cat confdefs.h
>>conftest.
$ac_ext
7496 cat >>conftest.
$ac_ext <<_ACEOF
7497 /* end confdefs.h. */
7498 #include <sys/types.h>
7499 #include <sys/time.h>
7505 if ((struct tm *) 0)
7511 rm -f conftest.
$ac_objext
7512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7513 (eval $ac_compile) 2>conftest.er1
7515 grep -v '^ *+' conftest.er1
>conftest.err
7517 cat conftest.err
>&5
7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519 (exit $ac_status); } &&
7520 { ac_try
='test -z "$ac_c_werror_flag"
7521 || test ! -s conftest.err'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; } &&
7527 { ac_try
='test -s conftest.$ac_objext'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7533 ac_cv_header_time
=yes
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.
$ac_ext >&5
7538 ac_cv_header_time
=no
7540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7542 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7543 echo "${ECHO_T}$ac_cv_header_time" >&6
7544 if test $ac_cv_header_time = yes; then
7546 cat >>confdefs.h
<<\_ACEOF
7547 #define TIME_WITH_SYS_TIME 1
7558 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
7559 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
7560 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
7561 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
7562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7563 echo $ECHO_N "(cached) $ECHO_C" >&6
7565 cat >conftest.
$ac_ext <<_ACEOF
7568 cat confdefs.h
>>conftest.
$ac_ext
7569 cat >>conftest.
$ac_ext <<_ACEOF
7570 /* end confdefs.h. */
7571 #include <sys/types.h>
7583 rm -f conftest.
$ac_objext
7584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7585 (eval $ac_compile) 2>conftest.er1
7587 grep -v '^ *+' conftest.er1
>conftest.err
7589 cat conftest.err
>&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); } &&
7592 { ac_try
='test -z "$ac_c_werror_flag"
7593 || test ! -s conftest.err'
7594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); }; } &&
7599 { ac_try
='test -s conftest.$ac_objext'
7600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); }; }; then
7605 eval "$as_ac_Header=yes"
7607 echo "$as_me: failed program was:" >&5
7608 sed 's/^/| /' conftest.
$ac_ext >&5
7610 eval "$as_ac_Header=no"
7612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7617 cat >>confdefs.h
<<_ACEOF
7618 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
7621 ac_header_dirent
=$ac_hdr; break
7625 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7626 if test $ac_header_dirent = dirent.h
; then
7627 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7628 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7629 if test "${ac_cv_search_opendir+set}" = set; then
7630 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 ac_func_search_save_LIBS
=$LIBS
7633 ac_cv_search_opendir
=no
7634 cat >conftest.
$ac_ext <<_ACEOF
7637 cat confdefs.h
>>conftest.
$ac_ext
7638 cat >>conftest.
$ac_ext <<_ACEOF
7639 /* end confdefs.h. */
7641 /* Override any gcc2 internal prototype to avoid an error. */
7645 /* We use char because int might match the return type of a gcc2
7646 builtin and then its argument prototype would still apply. */
7656 rm -f conftest.
$ac_objext conftest
$ac_exeext
7657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7658 (eval $ac_link) 2>conftest.er1
7660 grep -v '^ *+' conftest.er1
>conftest.err
7662 cat conftest.err
>&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); } &&
7665 { ac_try
='test -z "$ac_c_werror_flag"
7666 || test ! -s conftest.err'
7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); }; } &&
7672 { ac_try
='test -s conftest$ac_exeext'
7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); }; }; then
7678 ac_cv_search_opendir
="none required"
7680 echo "$as_me: failed program was:" >&5
7681 sed 's/^/| /' conftest.
$ac_ext >&5
7684 rm -f conftest.err conftest.
$ac_objext \
7685 conftest
$ac_exeext conftest.
$ac_ext
7686 if test "$ac_cv_search_opendir" = no
; then
7687 for ac_lib
in dir
; do
7688 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7689 cat >conftest.
$ac_ext <<_ACEOF
7692 cat confdefs.h
>>conftest.
$ac_ext
7693 cat >>conftest.
$ac_ext <<_ACEOF
7694 /* end confdefs.h. */
7696 /* Override any gcc2 internal prototype to avoid an error. */
7700 /* We use char because int might match the return type of a gcc2
7701 builtin and then its argument prototype would still apply. */
7711 rm -f conftest.
$ac_objext conftest
$ac_exeext
7712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7713 (eval $ac_link) 2>conftest.er1
7715 grep -v '^ *+' conftest.er1
>conftest.err
7717 cat conftest.err
>&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); } &&
7720 { ac_try
='test -z "$ac_c_werror_flag"
7721 || test ! -s conftest.err'
7722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); }; } &&
7727 { ac_try
='test -s conftest$ac_exeext'
7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); }; }; then
7733 ac_cv_search_opendir
="-l$ac_lib"
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.
$ac_ext >&5
7740 rm -f conftest.err conftest.
$ac_objext \
7741 conftest
$ac_exeext conftest.
$ac_ext
7744 LIBS
=$ac_func_search_save_LIBS
7746 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7747 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7748 if test "$ac_cv_search_opendir" != no
; then
7749 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
7754 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7755 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7756 if test "${ac_cv_search_opendir+set}" = set; then
7757 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 ac_func_search_save_LIBS
=$LIBS
7760 ac_cv_search_opendir
=no
7761 cat >conftest.
$ac_ext <<_ACEOF
7764 cat confdefs.h
>>conftest.
$ac_ext
7765 cat >>conftest.
$ac_ext <<_ACEOF
7766 /* end confdefs.h. */
7768 /* Override any gcc2 internal prototype to avoid an error. */
7772 /* We use char because int might match the return type of a gcc2
7773 builtin and then its argument prototype would still apply. */
7783 rm -f conftest.
$ac_objext conftest
$ac_exeext
7784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7785 (eval $ac_link) 2>conftest.er1
7787 grep -v '^ *+' conftest.er1
>conftest.err
7789 cat conftest.err
>&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } &&
7792 { ac_try
='test -z "$ac_c_werror_flag"
7793 || test ! -s conftest.err'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; } &&
7799 { ac_try
='test -s conftest$ac_exeext'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; }; then
7805 ac_cv_search_opendir
="none required"
7807 echo "$as_me: failed program was:" >&5
7808 sed 's/^/| /' conftest.
$ac_ext >&5
7811 rm -f conftest.err conftest.
$ac_objext \
7812 conftest
$ac_exeext conftest.
$ac_ext
7813 if test "$ac_cv_search_opendir" = no
; then
7815 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7816 cat >conftest.
$ac_ext <<_ACEOF
7819 cat confdefs.h
>>conftest.
$ac_ext
7820 cat >>conftest.
$ac_ext <<_ACEOF
7821 /* end confdefs.h. */
7823 /* Override any gcc2 internal prototype to avoid an error. */
7827 /* We use char because int might match the return type of a gcc2
7828 builtin and then its argument prototype would still apply. */
7838 rm -f conftest.
$ac_objext conftest
$ac_exeext
7839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7840 (eval $ac_link) 2>conftest.er1
7842 grep -v '^ *+' conftest.er1
>conftest.err
7844 cat conftest.err
>&5
7845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 (exit $ac_status); } &&
7847 { ac_try
='test -z "$ac_c_werror_flag"
7848 || test ! -s conftest.err'
7849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853 (exit $ac_status); }; } &&
7854 { ac_try
='test -s conftest$ac_exeext'
7855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); }; }; then
7860 ac_cv_search_opendir
="-l$ac_lib"
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.
$ac_ext >&5
7867 rm -f conftest.err conftest.
$ac_objext \
7868 conftest
$ac_exeext conftest.
$ac_ext
7871 LIBS
=$ac_func_search_save_LIBS
7873 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7874 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7875 if test "$ac_cv_search_opendir" != no
; then
7876 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
7882 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
7883 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
7884 if test "${gcc_cv_header_string+set}" = set; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7887 cat >conftest.
$ac_ext <<_ACEOF
7890 cat confdefs.h
>>conftest.
$ac_ext
7891 cat >>conftest.
$ac_ext <<_ACEOF
7892 /* end confdefs.h. */
7894 #include <strings.h>
7903 rm -f conftest.
$ac_objext
7904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7905 (eval $ac_compile) 2>conftest.er1
7907 grep -v '^ *+' conftest.er1
>conftest.err
7909 cat conftest.err
>&5
7910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7911 (exit $ac_status); } &&
7912 { ac_try
='test -z "$ac_c_werror_flag"
7913 || test ! -s conftest.err'
7914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); }; } &&
7919 { ac_try
='test -s conftest.$ac_objext'
7920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); }; }; then
7925 gcc_cv_header_string
=yes
7927 echo "$as_me: failed program was:" >&5
7928 sed 's/^/| /' conftest.
$ac_ext >&5
7930 gcc_cv_header_string
=no
7932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7934 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
7935 echo "${ECHO_T}$gcc_cv_header_string" >&6
7936 if test $gcc_cv_header_string = yes; then
7938 cat >>confdefs.h
<<\_ACEOF
7939 #define STRING_WITH_STRINGS 1
7951 for ac_func
in fcntl getpagesize setitimer sysconf fdopen getuid getgid
7953 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7954 echo "$as_me:$LINENO: checking for $ac_func" >&5
7955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7956 if eval "test \"\${$as_ac_var+set}\" = set"; then
7957 echo $ECHO_N "(cached) $ECHO_C" >&6
7959 cat >conftest.
$ac_ext <<_ACEOF
7962 cat confdefs.h
>>conftest.
$ac_ext
7963 cat >>conftest.
$ac_ext <<_ACEOF
7964 /* end confdefs.h. */
7965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7967 #define $ac_func innocuous_$ac_func
7969 /* System header to define __stub macros and hopefully few prototypes,
7970 which can conflict with char $ac_func (); below.
7971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7972 <limits.h> exists even on freestanding compilers. */
7975 # include <limits.h>
7977 # include <assert.h>
7982 /* Override any gcc2 internal prototype to avoid an error. */
7987 /* We use char because int might match the return type of a gcc2
7988 builtin and then its argument prototype would still apply. */
7990 /* The GNU C library defines this for functions which it implements
7991 to always fail with ENOSYS. Some functions are actually named
7992 something starting with __ and the normal name is an alias. */
7993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7996 char (*f) () = $ac_func;
8005 return f != $ac_func;
8010 rm -f conftest.
$ac_objext conftest
$ac_exeext
8011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8012 (eval $ac_link) 2>conftest.er1
8014 grep -v '^ *+' conftest.er1
>conftest.err
8016 cat conftest.err
>&5
8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 (exit $ac_status); } &&
8019 { ac_try
='test -z "$ac_c_werror_flag"
8020 || test ! -s conftest.err'
8021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025 (exit $ac_status); }; } &&
8026 { ac_try
='test -s conftest$ac_exeext'
8027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 (exit $ac_status); }; }; then
8032 eval "$as_ac_var=yes"
8034 echo "$as_me: failed program was:" >&5
8035 sed 's/^/| /' conftest.
$ac_ext >&5
8037 eval "$as_ac_var=no"
8039 rm -f conftest.err conftest.
$ac_objext \
8040 conftest
$ac_exeext conftest.
$ac_ext
8042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8044 if test `eval echo '${'$as_ac_var'}'` = yes; then
8045 cat >>confdefs.h
<<_ACEOF
8046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8053 for ac_func
in strtoull
8055 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8056 echo "$as_me:$LINENO: checking for $ac_func" >&5
8057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8058 if eval "test \"\${$as_ac_var+set}\" = set"; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8061 cat >conftest.
$ac_ext <<_ACEOF
8064 cat confdefs.h
>>conftest.
$ac_ext
8065 cat >>conftest.
$ac_ext <<_ACEOF
8066 /* end confdefs.h. */
8067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8069 #define $ac_func innocuous_$ac_func
8071 /* System header to define __stub macros and hopefully few prototypes,
8072 which can conflict with char $ac_func (); below.
8073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8074 <limits.h> exists even on freestanding compilers. */
8077 # include <limits.h>
8079 # include <assert.h>
8084 /* Override any gcc2 internal prototype to avoid an error. */
8089 /* We use char because int might match the return type of a gcc2
8090 builtin and then its argument prototype would still apply. */
8092 /* The GNU C library defines this for functions which it implements
8093 to always fail with ENOSYS. Some functions are actually named
8094 something starting with __ and the normal name is an alias. */
8095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8098 char (*f) () = $ac_func;
8107 return f != $ac_func;
8112 rm -f conftest.
$ac_objext conftest
$ac_exeext
8113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8114 (eval $ac_link) 2>conftest.er1
8116 grep -v '^ *+' conftest.er1
>conftest.err
8118 cat conftest.err
>&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } &&
8121 { ac_try
='test -z "$ac_c_werror_flag"
8122 || test ! -s conftest.err'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; } &&
8128 { ac_try
='test -s conftest$ac_exeext'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; }; then
8134 eval "$as_ac_var=yes"
8136 echo "$as_me: failed program was:" >&5
8137 sed 's/^/| /' conftest.
$ac_ext >&5
8139 eval "$as_ac_var=no"
8141 rm -f conftest.err conftest.
$ac_objext \
8142 conftest
$ac_exeext conftest.
$ac_ext
8144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8146 if test `eval echo '${'$as_ac_var'}'` = yes; then
8147 cat >>confdefs.h
<<_ACEOF
8148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8155 echo "$as_me:$LINENO: checking whether basename is declared" >&5
8156 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
8157 if test "${ac_cv_have_decl_basename+set}" = set; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 cat >conftest.
$ac_ext <<_ACEOF
8163 cat confdefs.h
>>conftest.
$ac_ext
8164 cat >>conftest.
$ac_ext <<_ACEOF
8165 /* end confdefs.h. */
8166 $ac_includes_default
8171 char *p = (char *) basename;
8178 rm -f conftest.
$ac_objext
8179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8180 (eval $ac_compile) 2>conftest.er1
8182 grep -v '^ *+' conftest.er1
>conftest.err
8184 cat conftest.err
>&5
8185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 (exit $ac_status); } &&
8187 { ac_try
='test -z "$ac_c_werror_flag"
8188 || test ! -s conftest.err'
8189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); }; } &&
8194 { ac_try
='test -s conftest.$ac_objext'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; }; then
8200 ac_cv_have_decl_basename
=yes
8202 echo "$as_me: failed program was:" >&5
8203 sed 's/^/| /' conftest.
$ac_ext >&5
8205 ac_cv_have_decl_basename
=no
8207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8209 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
8210 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
8211 if test $ac_cv_have_decl_basename = yes; then
8213 cat >>confdefs.h
<<_ACEOF
8214 #define HAVE_DECL_BASENAME 1
8219 cat >>confdefs.h
<<_ACEOF
8220 #define HAVE_DECL_BASENAME 0
8227 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
8228 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
8229 if test "${ac_cv_have_decl_ftello+set}" = set; then
8230 echo $ECHO_N "(cached) $ECHO_C" >&6
8232 cat >conftest.
$ac_ext <<_ACEOF
8235 cat confdefs.h
>>conftest.
$ac_ext
8236 cat >>conftest.
$ac_ext <<_ACEOF
8237 /* end confdefs.h. */
8238 $ac_includes_default
8243 char *p = (char *) ftello;
8250 rm -f conftest.
$ac_objext
8251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8252 (eval $ac_compile) 2>conftest.er1
8254 grep -v '^ *+' conftest.er1
>conftest.err
8256 cat conftest.err
>&5
8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258 (exit $ac_status); } &&
8259 { ac_try
='test -z "$ac_c_werror_flag"
8260 || test ! -s conftest.err'
8261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); }; } &&
8266 { ac_try
='test -s conftest.$ac_objext'
8267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); }; }; then
8272 ac_cv_have_decl_ftello
=yes
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.
$ac_ext >&5
8277 ac_cv_have_decl_ftello
=no
8279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8281 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
8282 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
8283 if test $ac_cv_have_decl_ftello = yes; then
8285 cat >>confdefs.h
<<_ACEOF
8286 #define HAVE_DECL_FTELLO 1
8291 cat >>confdefs.h
<<_ACEOF
8292 #define HAVE_DECL_FTELLO 0
8299 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
8300 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
8301 if test "${ac_cv_have_decl_ftello64+set}" = set; then
8302 echo $ECHO_N "(cached) $ECHO_C" >&6
8304 cat >conftest.
$ac_ext <<_ACEOF
8307 cat confdefs.h
>>conftest.
$ac_ext
8308 cat >>conftest.
$ac_ext <<_ACEOF
8309 /* end confdefs.h. */
8310 $ac_includes_default
8315 char *p = (char *) ftello64;
8322 rm -f conftest.
$ac_objext
8323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8324 (eval $ac_compile) 2>conftest.er1
8326 grep -v '^ *+' conftest.er1
>conftest.err
8328 cat conftest.err
>&5
8329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8330 (exit $ac_status); } &&
8331 { ac_try
='test -z "$ac_c_werror_flag"
8332 || test ! -s conftest.err'
8333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); }; } &&
8338 { ac_try
='test -s conftest.$ac_objext'
8339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); }; }; then
8344 ac_cv_have_decl_ftello64
=yes
8346 echo "$as_me: failed program was:" >&5
8347 sed 's/^/| /' conftest.
$ac_ext >&5
8349 ac_cv_have_decl_ftello64
=no
8351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8353 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
8354 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
8355 if test $ac_cv_have_decl_ftello64 = yes; then
8357 cat >>confdefs.h
<<_ACEOF
8358 #define HAVE_DECL_FTELLO64 1
8363 cat >>confdefs.h
<<_ACEOF
8364 #define HAVE_DECL_FTELLO64 0
8371 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
8372 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
8373 if test "${ac_cv_have_decl_fseeko+set}" = set; then
8374 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 cat >conftest.
$ac_ext <<_ACEOF
8379 cat confdefs.h
>>conftest.
$ac_ext
8380 cat >>conftest.
$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8382 $ac_includes_default
8387 char *p = (char *) fseeko;
8394 rm -f conftest.
$ac_objext
8395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8396 (eval $ac_compile) 2>conftest.er1
8398 grep -v '^ *+' conftest.er1
>conftest.err
8400 cat conftest.err
>&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); } &&
8403 { ac_try
='test -z "$ac_c_werror_flag"
8404 || test ! -s conftest.err'
8405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); }; } &&
8410 { ac_try
='test -s conftest.$ac_objext'
8411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); }; }; then
8416 ac_cv_have_decl_fseeko
=yes
8418 echo "$as_me: failed program was:" >&5
8419 sed 's/^/| /' conftest.
$ac_ext >&5
8421 ac_cv_have_decl_fseeko
=no
8423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8425 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
8426 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
8427 if test $ac_cv_have_decl_fseeko = yes; then
8429 cat >>confdefs.h
<<_ACEOF
8430 #define HAVE_DECL_FSEEKO 1
8435 cat >>confdefs.h
<<_ACEOF
8436 #define HAVE_DECL_FSEEKO 0
8443 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
8444 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
8445 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 cat >conftest.
$ac_ext <<_ACEOF
8451 cat confdefs.h
>>conftest.
$ac_ext
8452 cat >>conftest.
$ac_ext <<_ACEOF
8453 /* end confdefs.h. */
8454 $ac_includes_default
8459 char *p = (char *) fseeko64;
8466 rm -f conftest.
$ac_objext
8467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8468 (eval $ac_compile) 2>conftest.er1
8470 grep -v '^ *+' conftest.er1
>conftest.err
8472 cat conftest.err
>&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); } &&
8475 { ac_try
='test -z "$ac_c_werror_flag"
8476 || test ! -s conftest.err'
8477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); }; } &&
8482 { ac_try
='test -s conftest.$ac_objext'
8483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); }; }; then
8488 ac_cv_have_decl_fseeko64
=yes
8490 echo "$as_me: failed program was:" >&5
8491 sed 's/^/| /' conftest.
$ac_ext >&5
8493 ac_cv_have_decl_fseeko64
=no
8495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8497 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
8498 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
8499 if test $ac_cv_have_decl_fseeko64 = yes; then
8501 cat >>confdefs.h
<<_ACEOF
8502 #define HAVE_DECL_FSEEKO64 1
8507 cat >>confdefs.h
<<_ACEOF
8508 #define HAVE_DECL_FSEEKO64 0
8518 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
8520 cat >>confdefs.h
<<\_ACEOF
8521 #define USE_BINARY_FOPEN 1
8526 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
8527 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
8528 if test "${ac_cv_have_decl_ffs+set}" = set; then
8529 echo $ECHO_N "(cached) $ECHO_C" >&6
8531 cat >conftest.
$ac_ext <<_ACEOF
8534 cat confdefs.h
>>conftest.
$ac_ext
8535 cat >>conftest.
$ac_ext <<_ACEOF
8536 /* end confdefs.h. */
8537 $ac_includes_default
8542 char *p = (char *) ffs;
8549 rm -f conftest.
$ac_objext
8550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8551 (eval $ac_compile) 2>conftest.er1
8553 grep -v '^ *+' conftest.er1
>conftest.err
8555 cat conftest.err
>&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); } &&
8558 { ac_try
='test -z "$ac_c_werror_flag"
8559 || test ! -s conftest.err'
8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); }; } &&
8565 { ac_try
='test -s conftest.$ac_objext'
8566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); }; }; then
8571 ac_cv_have_decl_ffs
=yes
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.
$ac_ext >&5
8576 ac_cv_have_decl_ffs
=no
8578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8580 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
8581 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
8582 if test $ac_cv_have_decl_ffs = yes; then
8584 cat >>confdefs.h
<<_ACEOF
8585 #define HAVE_DECL_FFS 1
8590 cat >>confdefs.h
<<_ACEOF
8591 #define HAVE_DECL_FFS 0
8598 echo "$as_me:$LINENO: checking whether free is declared" >&5
8599 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
8600 if test "${ac_cv_have_decl_free+set}" = set; then
8601 echo $ECHO_N "(cached) $ECHO_C" >&6
8603 cat >conftest.
$ac_ext <<_ACEOF
8606 cat confdefs.h
>>conftest.
$ac_ext
8607 cat >>conftest.
$ac_ext <<_ACEOF
8608 /* end confdefs.h. */
8609 $ac_includes_default
8614 char *p = (char *) free;
8621 rm -f conftest.
$ac_objext
8622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8623 (eval $ac_compile) 2>conftest.er1
8625 grep -v '^ *+' conftest.er1
>conftest.err
8627 cat conftest.err
>&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); } &&
8630 { ac_try
='test -z "$ac_c_werror_flag"
8631 || test ! -s conftest.err'
8632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636 (exit $ac_status); }; } &&
8637 { ac_try
='test -s conftest.$ac_objext'
8638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642 (exit $ac_status); }; }; then
8643 ac_cv_have_decl_free
=yes
8645 echo "$as_me: failed program was:" >&5
8646 sed 's/^/| /' conftest.
$ac_ext >&5
8648 ac_cv_have_decl_free
=no
8650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8652 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
8653 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
8654 if test $ac_cv_have_decl_free = yes; then
8656 cat >>confdefs.h
<<_ACEOF
8657 #define HAVE_DECL_FREE 1
8662 cat >>confdefs.h
<<_ACEOF
8663 #define HAVE_DECL_FREE 0
8670 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
8671 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
8672 if test "${ac_cv_have_decl_getenv+set}" = set; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 cat >conftest.
$ac_ext <<_ACEOF
8678 cat confdefs.h
>>conftest.
$ac_ext
8679 cat >>conftest.
$ac_ext <<_ACEOF
8680 /* end confdefs.h. */
8681 $ac_includes_default
8686 char *p = (char *) getenv;
8693 rm -f conftest.
$ac_objext
8694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8695 (eval $ac_compile) 2>conftest.er1
8697 grep -v '^ *+' conftest.er1
>conftest.err
8699 cat conftest.err
>&5
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 (exit $ac_status); } &&
8702 { ac_try
='test -z "$ac_c_werror_flag"
8703 || test ! -s conftest.err'
8704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); }; } &&
8709 { ac_try
='test -s conftest.$ac_objext'
8710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); }; }; then
8715 ac_cv_have_decl_getenv
=yes
8717 echo "$as_me: failed program was:" >&5
8718 sed 's/^/| /' conftest.
$ac_ext >&5
8720 ac_cv_have_decl_getenv
=no
8722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8724 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
8725 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
8726 if test $ac_cv_have_decl_getenv = yes; then
8728 cat >>confdefs.h
<<_ACEOF
8729 #define HAVE_DECL_GETENV 1
8734 cat >>confdefs.h
<<_ACEOF
8735 #define HAVE_DECL_GETENV 0
8742 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
8743 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
8744 if test "${ac_cv_have_decl_malloc+set}" = set; then
8745 echo $ECHO_N "(cached) $ECHO_C" >&6
8747 cat >conftest.
$ac_ext <<_ACEOF
8750 cat confdefs.h
>>conftest.
$ac_ext
8751 cat >>conftest.
$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 $ac_includes_default
8758 char *p = (char *) malloc;
8765 rm -f conftest.
$ac_objext
8766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8767 (eval $ac_compile) 2>conftest.er1
8769 grep -v '^ *+' conftest.er1
>conftest.err
8771 cat conftest.err
>&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } &&
8774 { ac_try
='test -z "$ac_c_werror_flag"
8775 || test ! -s conftest.err'
8776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); }; } &&
8781 { ac_try
='test -s conftest.$ac_objext'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; }; then
8787 ac_cv_have_decl_malloc
=yes
8789 echo "$as_me: failed program was:" >&5
8790 sed 's/^/| /' conftest.
$ac_ext >&5
8792 ac_cv_have_decl_malloc
=no
8794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8796 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
8797 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
8798 if test $ac_cv_have_decl_malloc = yes; then
8800 cat >>confdefs.h
<<_ACEOF
8801 #define HAVE_DECL_MALLOC 1
8806 cat >>confdefs.h
<<_ACEOF
8807 #define HAVE_DECL_MALLOC 0
8814 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
8815 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
8816 if test "${ac_cv_have_decl_realloc+set}" = set; then
8817 echo $ECHO_N "(cached) $ECHO_C" >&6
8819 cat >conftest.
$ac_ext <<_ACEOF
8822 cat confdefs.h
>>conftest.
$ac_ext
8823 cat >>conftest.
$ac_ext <<_ACEOF
8824 /* end confdefs.h. */
8825 $ac_includes_default
8830 char *p = (char *) realloc;
8837 rm -f conftest.
$ac_objext
8838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8839 (eval $ac_compile) 2>conftest.er1
8841 grep -v '^ *+' conftest.er1
>conftest.err
8843 cat conftest.err
>&5
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); } &&
8846 { ac_try
='test -z "$ac_c_werror_flag"
8847 || test ! -s conftest.err'
8848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); }; } &&
8853 { ac_try
='test -s conftest.$ac_objext'
8854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }; }; then
8859 ac_cv_have_decl_realloc
=yes
8861 echo "$as_me: failed program was:" >&5
8862 sed 's/^/| /' conftest.
$ac_ext >&5
8864 ac_cv_have_decl_realloc
=no
8866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8868 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
8869 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
8870 if test $ac_cv_have_decl_realloc = yes; then
8872 cat >>confdefs.h
<<_ACEOF
8873 #define HAVE_DECL_REALLOC 1
8878 cat >>confdefs.h
<<_ACEOF
8879 #define HAVE_DECL_REALLOC 0
8886 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
8887 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
8888 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
8889 echo $ECHO_N "(cached) $ECHO_C" >&6
8891 cat >conftest.
$ac_ext <<_ACEOF
8894 cat confdefs.h
>>conftest.
$ac_ext
8895 cat >>conftest.
$ac_ext <<_ACEOF
8896 /* end confdefs.h. */
8897 $ac_includes_default
8902 char *p = (char *) stpcpy;
8909 rm -f conftest.
$ac_objext
8910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8911 (eval $ac_compile) 2>conftest.er1
8913 grep -v '^ *+' conftest.er1
>conftest.err
8915 cat conftest.err
>&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); } &&
8918 { ac_try
='test -z "$ac_c_werror_flag"
8919 || test ! -s conftest.err'
8920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 (exit $ac_status); }; } &&
8925 { ac_try
='test -s conftest.$ac_objext'
8926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 (exit $ac_status); }; }; then
8931 ac_cv_have_decl_stpcpy
=yes
8933 echo "$as_me: failed program was:" >&5
8934 sed 's/^/| /' conftest.
$ac_ext >&5
8936 ac_cv_have_decl_stpcpy
=no
8938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8940 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
8941 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
8942 if test $ac_cv_have_decl_stpcpy = yes; then
8944 cat >>confdefs.h
<<_ACEOF
8945 #define HAVE_DECL_STPCPY 1
8950 cat >>confdefs.h
<<_ACEOF
8951 #define HAVE_DECL_STPCPY 0
8958 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
8959 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
8960 if test "${ac_cv_have_decl_strstr+set}" = set; then
8961 echo $ECHO_N "(cached) $ECHO_C" >&6
8963 cat >conftest.
$ac_ext <<_ACEOF
8966 cat confdefs.h
>>conftest.
$ac_ext
8967 cat >>conftest.
$ac_ext <<_ACEOF
8968 /* end confdefs.h. */
8969 $ac_includes_default
8974 char *p = (char *) strstr;
8981 rm -f conftest.
$ac_objext
8982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8983 (eval $ac_compile) 2>conftest.er1
8985 grep -v '^ *+' conftest.er1
>conftest.err
8987 cat conftest.err
>&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); } &&
8990 { ac_try
='test -z "$ac_c_werror_flag"
8991 || test ! -s conftest.err'
8992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996 (exit $ac_status); }; } &&
8997 { ac_try
='test -s conftest.$ac_objext'
8998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9002 (exit $ac_status); }; }; then
9003 ac_cv_have_decl_strstr
=yes
9005 echo "$as_me: failed program was:" >&5
9006 sed 's/^/| /' conftest.
$ac_ext >&5
9008 ac_cv_have_decl_strstr
=no
9010 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9012 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
9013 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
9014 if test $ac_cv_have_decl_strstr = yes; then
9016 cat >>confdefs.h
<<_ACEOF
9017 #define HAVE_DECL_STRSTR 1
9022 cat >>confdefs.h
<<_ACEOF
9023 #define HAVE_DECL_STRSTR 0
9030 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
9031 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
9032 if test "${ac_cv_have_decl_snprintf+set}" = set; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9035 cat >conftest.
$ac_ext <<_ACEOF
9038 cat confdefs.h
>>conftest.
$ac_ext
9039 cat >>conftest.
$ac_ext <<_ACEOF
9040 /* end confdefs.h. */
9041 $ac_includes_default
9046 char *p = (char *) snprintf;
9053 rm -f conftest.
$ac_objext
9054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9055 (eval $ac_compile) 2>conftest.er1
9057 grep -v '^ *+' conftest.er1
>conftest.err
9059 cat conftest.err
>&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
9062 { ac_try
='test -z "$ac_c_werror_flag"
9063 || test ! -s conftest.err'
9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); }; } &&
9069 { ac_try
='test -s conftest.$ac_objext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9075 ac_cv_have_decl_snprintf
=yes
9077 echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.
$ac_ext >&5
9080 ac_cv_have_decl_snprintf
=no
9082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9084 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
9085 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
9086 if test $ac_cv_have_decl_snprintf = yes; then
9088 cat >>confdefs.h
<<_ACEOF
9089 #define HAVE_DECL_SNPRINTF 1
9094 cat >>confdefs.h
<<_ACEOF
9095 #define HAVE_DECL_SNPRINTF 0
9102 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
9103 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
9104 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9107 cat >conftest.
$ac_ext <<_ACEOF
9110 cat confdefs.h
>>conftest.
$ac_ext
9111 cat >>conftest.
$ac_ext <<_ACEOF
9112 /* end confdefs.h. */
9113 $ac_includes_default
9118 char *p = (char *) vsnprintf;
9125 rm -f conftest.
$ac_objext
9126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9127 (eval $ac_compile) 2>conftest.er1
9129 grep -v '^ *+' conftest.er1
>conftest.err
9131 cat conftest.err
>&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); } &&
9134 { ac_try
='test -z "$ac_c_werror_flag"
9135 || test ! -s conftest.err'
9136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; } &&
9141 { ac_try
='test -s conftest.$ac_objext'
9142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); }; }; then
9147 ac_cv_have_decl_vsnprintf
=yes
9149 echo "$as_me: failed program was:" >&5
9150 sed 's/^/| /' conftest.
$ac_ext >&5
9152 ac_cv_have_decl_vsnprintf
=no
9154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9156 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
9157 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
9158 if test $ac_cv_have_decl_vsnprintf = yes; then
9160 cat >>confdefs.h
<<_ACEOF
9161 #define HAVE_DECL_VSNPRINTF 1
9166 cat >>confdefs.h
<<_ACEOF
9167 #define HAVE_DECL_VSNPRINTF 0
9175 # If we are configured native, pick a core file support file.
9179 if test "${target}" = "${host}"; then
9181 alpha
*-*-freebsd* | alpha
*-*-kfreebsd*-gnu)
9185 COREFILE
=trad-core.lo
9186 TRAD_HEADER
='"hosts/alphalinux.h"'
9188 alpha
*-*-netbsd* | alpha
*-*-openbsd*)
9189 COREFILE
=netbsd-core.lo
9191 alpha
*-*-*) COREFILE
=osf-core.lo
;;
9192 arm-
*-freebsd* | arm-
*-kfreebsd*-gnu)
9194 arm-
*-netbsd* | arm-
*-openbsd*)
9195 COREFILE
=netbsd-core.lo
9197 arm-
*-riscix) COREFILE
=trad-core.lo
;;
9198 hppa
*-*-hpux*) COREFILE
=hpux-core.lo
;;
9199 hppa
*-*-hiux*) COREFILE
=hpux-core.lo
;;
9200 hppa
*-*-mpeix*) COREFILE
=hpux-core.lo
;;
9201 hppa
*-*-bsd*) COREFILE
="hpux-core.lo hppabsd-core.lo"
9202 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
9203 hppa
*-*-netbsd* | hppa
*-*-openbsd*)
9204 COREFILE
=netbsd-core.lo
9208 COREFILE
=trad-core.lo
9209 TRAD_HEADER
='"hosts/i370linux.h"'
9212 i
[3-7]86-sequent-bsd*)
9213 COREFILE
=trad-core.lo
9214 TRAD_HEADER
='"hosts/symmetry.h"'
9216 i
[3-7]86-sequent-sysv4*) ;;
9217 i
[3-7]86-sequent-sysv*)
9218 COREFILE
=trad-core.lo
9219 TRAD_HEADER
='"hosts/symmetry.h"'
9224 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
*)
9225 COREFILE
=trad-core.lo
9226 TRAD_HEADER
='"hosts/i386bsd.h"'
9228 i
[3-7]86-*-freebsd* | i
[3-7]86-*-kfreebsd*-gnu)
9230 TRAD_HEADER
='"hosts/i386bsd.h"'
9232 i
[3-7]86-*-netbsd* | i
[3-7]86-*-knetbsd*-gnu | i
[3-7]86-*-openbsd*)
9233 COREFILE
=netbsd-core.lo
9235 i
[3-7]86-esix-sysv3*)
9236 COREFILE
=trad-core.lo
9237 TRAD_HEADER
='"hosts/esix.h"'
9239 i
[3-7]86-*-sco3.2v5
*)
9240 COREFILE
=sco5-core.lo
9242 i
[3-7]86-*-sco* | i
[3-7]86-*-isc*)
9243 COREFILE
=trad-core.lo
9244 TRAD_HEADER
='"hosts/i386sco.h"'
9247 COREFILE
=trad-core.lo
9248 TRAD_HEADER
='"hosts/i386mach3.h"'
9251 COREFILE
=trad-core.lo
9252 TRAD_HEADER
='"hosts/i386linux.h"'
9254 i
[3-7]86-*-isc*) COREFILE
=trad-core.lo
;;
9255 i
[3-7]86-*-aix*) COREFILE
=aix386-core.lo
;;
9256 i860-
*-mach3* | i860-
*-osf1*)
9257 COREFILE
=trad-core.lo
9258 TRAD_HEADER
='"hosts/i860mach3.h"'
9260 mips-
*-netbsd* | mips
*-*-openbsd*)
9261 COREFILE
=netbsd-core.lo
9264 COREFILE
=trad-core.lo
9265 TRAD_HEADER
='"hosts/decstation.h"'
9267 mips-sgi-irix4
*) COREFILE
=irix-core.lo
;;
9268 mips-sgi-irix5
*) COREFILE
=irix-core.lo
;;
9269 mips-sgi-irix6
*) COREFILE
=irix-core.lo
;;
9271 mips-
*-sysv* | mips-
*-riscos*)
9272 COREFILE
=trad-core.lo
9273 TRAD_HEADER
='"hosts/riscos.h"'
9276 COREFILE
=trad-core.lo
9277 TRAD_HEADER
='"hosts/news-mips.h"'
9280 COREFILE
=trad-core.lo
9281 TRAD_HEADER
='"hosts/dpx2.h"'
9283 m68
*-hp-hpux*) COREFILE
=hpux-core.lo
;;
9285 COREFILE
=trad-core.lo
9286 TRAD_HEADER
='"hosts/hp300bsd.h"'
9289 COREFILE
=trad-core.lo
9290 TRAD_HEADER
='"hosts/m68klinux.h"'
9292 m68
*-motorola-sysv*)
9293 COREFILE
=trad-core.lo
9294 TRAD_HEADER
='"hosts/delta68.h"'
9297 COREFILE
=trad-core.lo
9298 TRAD_HEADER
='"hosts/news.h"'
9300 m68
*-*-netbsd* | m68
*-*-openbsd*)
9301 COREFILE
=netbsd-core.lo
9304 COREFILE
=trad-core.lo
9305 TRAD_HEADER
='"hosts/m68kaux.h"'
9309 m88
*-motorola-sysv*)
9310 COREFILE
=ptrace-core.lo
9313 COREFILE
=trad-core.lo
9314 TRAD_HEADER
='"hosts/m88kmach3.h"'
9317 COREFILE
=netbsd-core.lo
9320 COREFILE
=trad-core.lo
9321 TRAD_HEADER
='"hosts/pc532mach.h"'
9323 ns32k-
*-netbsd* | ns32k-
*-openbsd*)
9324 COREFILE
=netbsd-core.lo
9327 COREFILE
=lynx-core.lo
9329 rs6000-
*-aix5.
* | powerpc-
*-aix5.
*)
9330 COREFILE
=rs6000-core.lo
9331 COREFLAG
="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
9333 rs6000-
*-aix4.
[3-9]* | powerpc-
*-aix4.
[3-9]*)
9334 COREFILE
=rs6000-core.lo
9335 COREFLAG
="$COREFLAG -DAIX_CORE_DUMPX_CORE"
9336 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
9337 # have c_impl as a member of struct core_dumpx
9338 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
9339 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
9340 cat >conftest.
$ac_ext <<_ACEOF
9343 cat confdefs.h
>>conftest.
$ac_ext
9344 cat >>conftest.
$ac_ext <<_ACEOF
9345 /* end confdefs.h. */
9350 struct core_dumpx c; c.c_impl = 0;
9355 rm -f conftest.
$ac_objext
9356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9357 (eval $ac_compile) 2>conftest.er1
9359 grep -v '^ *+' conftest.er1
>conftest.err
9361 cat conftest.err
>&5
9362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 (exit $ac_status); } &&
9364 { ac_try
='test -z "$ac_c_werror_flag"
9365 || test ! -s conftest.err'
9366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370 (exit $ac_status); }; } &&
9371 { ac_try
='test -s conftest.$ac_objext'
9372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); }; }; then
9378 cat >>confdefs.h
<<\_ACEOF
9379 #define HAVE_ST_C_IMPL 1
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me: failed program was:" >&5
9386 sed 's/^/| /' conftest.
$ac_ext >&5
9388 echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6
9391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9393 rs6000-
*-aix4*) COREFILE
=rs6000-core.lo
;;
9394 rs6000-
*-*) COREFILE
=rs6000-core.lo
;;
9395 powerpc-
*-aix4*) COREFILE
=rs6000-core.lo
;;
9396 powerpc-
*-aix*) COREFILE
=rs6000-core.lo
;;
9398 powerpc-
*-freebsd* | powerpc-
*-kfreebsd*-gnu)
9400 powerpc-
*-netbsd*) COREFILE
=netbsd-core.lo
;;
9401 powerpc-
*-*bsd
*) COREFILE
=netbsd-core.lo
;;
9402 s390
*-*-*) COREFILE
=trad-core.lo
;;
9403 sh
*-*-netbsd*) COREFILE
=netbsd-core.lo
;;
9404 sparc-
*-netbsd* | sparc
*-*-openbsd*)
9405 COREFILE
=netbsd-core.lo
9408 COREFILE
=trad-core.lo
9409 TRAD_HEADER
='"hosts/tahoe.h"'
9411 vax-
*-netbsd* | vax-
*-openbsd*)
9412 COREFILE
=netbsd-core.lo
9415 COREFILE
=trad-core.lo
9416 TRAD_HEADER
='"hosts/vaxult2.h"'
9419 COREFILE
=trad-core.lo
9420 TRAD_HEADER
='"hosts/vaxult2.h"'
9423 COREFILE
=trad-core.lo
9424 TRAD_HEADER
='"hosts/vaxlinux.h"'
9427 COREFILE
=trad-core.lo
9428 TRAD_HEADER
='"hosts/vaxbsd.h"'
9430 x86_64-
*-netbsd* | x86_64-
*-openbsd*)
9431 COREFILE
=netbsd-core.lo
9436 aix386-core.lo
) COREFLAG
=-DAIX386_CORE ;;
9437 hppabsd-core.lo
) COREFLAG
=-DHPPABSD_CORE ;;
9438 hpux-core.lo
) COREFLAG
=-DHPUX_CORE ;;
9439 irix-core.lo
) COREFLAG
=-DIRIX_CORE ;;
9440 lynx-core.lo
) COREFLAG
=-DLYNX_CORE ;;
9441 netbsd-core.lo
) COREFLAG
=-DNETBSD_CORE ;;
9442 osf-core.lo
) COREFLAG
=-DOSF_CORE ;;
9443 ptrace-core.lo
) COREFLAG
=-DPTRACE_CORE ;;
9444 rs6000-core.lo
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
9445 sco5-core.lo
) COREFLAG
="$COREFLAG -DSCO5_CORE" ;;
9446 trad-core.lo
) COREFLAG
="$COREFLAG -DTRAD_CORE" ;;
9449 # ELF corefile support has several flavors, but all of
9450 # them use something called <sys/procfs.h>
9452 for ac_header
in sys
/procfs.h
9454 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9456 echo "$as_me:$LINENO: checking for $ac_header" >&5
9457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9459 echo $ECHO_N "(cached) $ECHO_C" >&6
9461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9464 # Is the header compilable?
9465 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9467 cat >conftest.
$ac_ext <<_ACEOF
9470 cat confdefs.h
>>conftest.
$ac_ext
9471 cat >>conftest.
$ac_ext <<_ACEOF
9472 /* end confdefs.h. */
9473 $ac_includes_default
9474 #include <$ac_header>
9476 rm -f conftest.
$ac_objext
9477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9478 (eval $ac_compile) 2>conftest.er1
9480 grep -v '^ *+' conftest.er1
>conftest.err
9482 cat conftest.err
>&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); } &&
9485 { ac_try
='test -z "$ac_c_werror_flag"
9486 || test ! -s conftest.err'
9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; } &&
9492 { ac_try
='test -s conftest.$ac_objext'
9493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); }; }; then
9498 ac_header_compiler
=yes
9500 echo "$as_me: failed program was:" >&5
9501 sed 's/^/| /' conftest.
$ac_ext >&5
9503 ac_header_compiler
=no
9505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9507 echo "${ECHO_T}$ac_header_compiler" >&6
9509 # Is the header present?
9510 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9512 cat >conftest.
$ac_ext <<_ACEOF
9515 cat confdefs.h
>>conftest.
$ac_ext
9516 cat >>conftest.
$ac_ext <<_ACEOF
9517 /* end confdefs.h. */
9518 #include <$ac_header>
9520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9521 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9523 grep -v '^ *+' conftest.er1
>conftest.err
9525 cat conftest.err
>&5
9526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527 (exit $ac_status); } >/dev
/null
; then
9528 if test -s conftest.err
; then
9529 ac_cpp_err
=$ac_c_preproc_warn_flag
9530 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9537 if test -z "$ac_cpp_err"; then
9538 ac_header_preproc
=yes
9540 echo "$as_me: failed program was:" >&5
9541 sed 's/^/| /' conftest.
$ac_ext >&5
9543 ac_header_preproc
=no
9545 rm -f conftest.err conftest.
$ac_ext
9546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9547 echo "${ECHO_T}$ac_header_preproc" >&6
9549 # So? What about this header?
9550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9552 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9553 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9555 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9556 ac_header_preproc
=yes
9559 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9560 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9561 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9562 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9563 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9564 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9565 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9566 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9568 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9569 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9570 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9573 ## ------------------------------------------ ##
9574 ## Report this to the AC_PACKAGE_NAME lists. ##
9575 ## ------------------------------------------ ##
9578 sed "s/^/$as_me: WARNING: /" >&2
9581 echo "$as_me:$LINENO: checking for $ac_header" >&5
9582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9584 echo $ECHO_N "(cached) $ECHO_C" >&6
9586 eval "$as_ac_Header=\$ac_header_preproc"
9588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9593 cat >>confdefs.h
<<_ACEOF
9594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9601 if test "$ac_cv_header_sys_procfs_h" = yes; then
9602 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
9603 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
9604 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
9605 echo $ECHO_N "(cached) $ECHO_C" >&6
9607 cat >conftest.
$ac_ext <<_ACEOF
9610 cat confdefs.h
>>conftest.
$ac_ext
9611 cat >>conftest.
$ac_ext <<_ACEOF
9612 /* end confdefs.h. */
9615 #include <sys/procfs.h>
9624 rm -f conftest.
$ac_objext
9625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9626 (eval $ac_compile) 2>conftest.er1
9628 grep -v '^ *+' conftest.er1
>conftest.err
9630 cat conftest.err
>&5
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); } &&
9633 { ac_try
='test -z "$ac_c_werror_flag"
9634 || test ! -s conftest.err'
9635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); }; } &&
9640 { ac_try
='test -s conftest.$ac_objext'
9641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); }; }; then
9646 bfd_cv_have_sys_procfs_type_prstatus_t
=yes
9648 echo "$as_me: failed program was:" >&5
9649 sed 's/^/| /' conftest.
$ac_ext >&5
9651 bfd_cv_have_sys_procfs_type_prstatus_t
=no
9654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9657 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
9659 cat >>confdefs.h
<<\_ACEOF
9660 #define HAVE_PRSTATUS_T 1
9664 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
9665 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
9667 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
9668 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
9669 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9672 cat >conftest.
$ac_ext <<_ACEOF
9675 cat confdefs.h
>>conftest.
$ac_ext
9676 cat >>conftest.
$ac_ext <<_ACEOF
9677 /* end confdefs.h. */
9680 #include <sys/procfs.h>
9689 rm -f conftest.
$ac_objext
9690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9691 (eval $ac_compile) 2>conftest.er1
9693 grep -v '^ *+' conftest.er1
>conftest.err
9695 cat conftest.err
>&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); } &&
9698 { ac_try
='test -z "$ac_c_werror_flag"
9699 || test ! -s conftest.err'
9700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); }; } &&
9705 { ac_try
='test -s conftest.$ac_objext'
9706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); }; }; then
9711 bfd_cv_have_sys_procfs_type_prstatus32_t
=yes
9713 echo "$as_me: failed program was:" >&5
9714 sed 's/^/| /' conftest.
$ac_ext >&5
9716 bfd_cv_have_sys_procfs_type_prstatus32_t
=no
9719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9722 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
9724 cat >>confdefs.h
<<\_ACEOF
9725 #define HAVE_PRSTATUS32_T 1
9729 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
9730 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
9732 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
9733 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
9734 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
9735 echo $ECHO_N "(cached) $ECHO_C" >&6
9737 cat >conftest.
$ac_ext <<_ACEOF
9740 cat confdefs.h
>>conftest.
$ac_ext
9741 cat >>conftest.
$ac_ext <<_ACEOF
9742 /* end confdefs.h. */
9745 #include <sys/procfs.h>
9749 prstatus_t avar; void* aref = (void*) &avar.pr_who
9754 rm -f conftest.
$ac_objext
9755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9756 (eval $ac_compile) 2>conftest.er1
9758 grep -v '^ *+' conftest.er1
>conftest.err
9760 cat conftest.err
>&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); } &&
9763 { ac_try
='test -z "$ac_c_werror_flag"
9764 || test ! -s conftest.err'
9765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); }; } &&
9770 { ac_try
='test -s conftest.$ac_objext'
9771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; }; then
9776 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=yes
9778 echo "$as_me: failed program was:" >&5
9779 sed 's/^/| /' conftest.
$ac_ext >&5
9781 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who
=no
9784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9787 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
9789 cat >>confdefs.h
<<\_ACEOF
9790 #define HAVE_PRSTATUS_T_PR_WHO 1
9794 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
9795 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
9797 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
9798 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
9799 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
9800 echo $ECHO_N "(cached) $ECHO_C" >&6
9802 cat >conftest.
$ac_ext <<_ACEOF
9805 cat confdefs.h
>>conftest.
$ac_ext
9806 cat >>conftest.
$ac_ext <<_ACEOF
9807 /* end confdefs.h. */
9810 #include <sys/procfs.h>
9814 prstatus32_t avar; void* aref = (void*) &avar.pr_who
9819 rm -f conftest.
$ac_objext
9820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9821 (eval $ac_compile) 2>conftest.er1
9823 grep -v '^ *+' conftest.er1
>conftest.err
9825 cat conftest.err
>&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); } &&
9828 { ac_try
='test -z "$ac_c_werror_flag"
9829 || test ! -s conftest.err'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; } &&
9835 { ac_try
='test -s conftest.$ac_objext'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; }; then
9841 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=yes
9843 echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.
$ac_ext >&5
9846 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who
=no
9849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9852 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
9854 cat >>confdefs.h
<<\_ACEOF
9855 #define HAVE_PRSTATUS32_T_PR_WHO 1
9859 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
9860 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
9862 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
9863 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
9864 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9867 cat >conftest.
$ac_ext <<_ACEOF
9870 cat confdefs.h
>>conftest.
$ac_ext
9871 cat >>conftest.
$ac_ext <<_ACEOF
9872 /* end confdefs.h. */
9875 #include <sys/procfs.h>
9884 rm -f conftest.
$ac_objext
9885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9886 (eval $ac_compile) 2>conftest.er1
9888 grep -v '^ *+' conftest.er1
>conftest.err
9890 cat conftest.err
>&5
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); } &&
9893 { ac_try
='test -z "$ac_c_werror_flag"
9894 || test ! -s conftest.err'
9895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; } &&
9900 { ac_try
='test -s conftest.$ac_objext'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; }; then
9906 bfd_cv_have_sys_procfs_type_pstatus_t
=yes
9908 echo "$as_me: failed program was:" >&5
9909 sed 's/^/| /' conftest.
$ac_ext >&5
9911 bfd_cv_have_sys_procfs_type_pstatus_t
=no
9914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9917 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
9919 cat >>confdefs.h
<<\_ACEOF
9920 #define HAVE_PSTATUS_T 1
9924 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
9925 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
9927 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
9928 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
9929 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 cat >conftest.
$ac_ext <<_ACEOF
9935 cat confdefs.h
>>conftest.
$ac_ext
9936 cat >>conftest.
$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9940 #include <sys/procfs.h>
9949 rm -f conftest.
$ac_objext
9950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9951 (eval $ac_compile) 2>conftest.er1
9953 grep -v '^ *+' conftest.er1
>conftest.err
9955 cat conftest.err
>&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); } &&
9958 { ac_try
='test -z "$ac_c_werror_flag"
9959 || test ! -s conftest.err'
9960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964 (exit $ac_status); }; } &&
9965 { ac_try
='test -s conftest.$ac_objext'
9966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); }; }; then
9971 bfd_cv_have_sys_procfs_type_pxstatus_t
=yes
9973 echo "$as_me: failed program was:" >&5
9974 sed 's/^/| /' conftest.
$ac_ext >&5
9976 bfd_cv_have_sys_procfs_type_pxstatus_t
=no
9979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9982 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
9984 cat >>confdefs.h
<<\_ACEOF
9985 #define HAVE_PXSTATUS_T 1
9989 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
9990 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
9992 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
9993 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
9994 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 cat >conftest.
$ac_ext <<_ACEOF
10000 cat confdefs.h
>>conftest.
$ac_ext
10001 cat >>conftest.
$ac_ext <<_ACEOF
10002 /* end confdefs.h. */
10005 #include <sys/procfs.h>
10014 rm -f conftest.
$ac_objext
10015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10016 (eval $ac_compile) 2>conftest.er1
10018 grep -v '^ *+' conftest.er1
>conftest.err
10020 cat conftest.err
>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } &&
10023 { ac_try
='test -z "$ac_c_werror_flag"
10024 || test ! -s conftest.err'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; } &&
10030 { ac_try
='test -s conftest.$ac_objext'
10031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032 (eval $ac_try) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }; }; then
10036 bfd_cv_have_sys_procfs_type_pstatus32_t
=yes
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.
$ac_ext >&5
10041 bfd_cv_have_sys_procfs_type_pstatus32_t
=no
10044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10047 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
10049 cat >>confdefs.h
<<\_ACEOF
10050 #define HAVE_PSTATUS32_T 1
10054 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
10055 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
10057 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
10058 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
10059 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 cat >conftest.
$ac_ext <<_ACEOF
10065 cat confdefs.h
>>conftest.
$ac_ext
10066 cat >>conftest.
$ac_ext <<_ACEOF
10067 /* end confdefs.h. */
10070 #include <sys/procfs.h>
10079 rm -f conftest.
$ac_objext
10080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10081 (eval $ac_compile) 2>conftest.er1
10083 grep -v '^ *+' conftest.er1
>conftest.err
10085 cat conftest.err
>&5
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); } &&
10088 { ac_try
='test -z "$ac_c_werror_flag"
10089 || test ! -s conftest.err'
10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091 (eval $ac_try) 2>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; } &&
10095 { ac_try
='test -s conftest.$ac_objext'
10096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097 (eval $ac_try) 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; }; then
10101 bfd_cv_have_sys_procfs_type_prpsinfo_t
=yes
10103 echo "$as_me: failed program was:" >&5
10104 sed 's/^/| /' conftest.
$ac_ext >&5
10106 bfd_cv_have_sys_procfs_type_prpsinfo_t
=no
10109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10112 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
10114 cat >>confdefs.h
<<\_ACEOF
10115 #define HAVE_PRPSINFO_T 1
10119 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
10120 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
10122 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
10123 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
10124 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
10125 echo $ECHO_N "(cached) $ECHO_C" >&6
10127 cat >conftest.
$ac_ext <<_ACEOF
10130 cat confdefs.h
>>conftest.
$ac_ext
10131 cat >>conftest.
$ac_ext <<_ACEOF
10132 /* end confdefs.h. */
10135 #include <sys/procfs.h>
10144 rm -f conftest.
$ac_objext
10145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10146 (eval $ac_compile) 2>conftest.er1
10148 grep -v '^ *+' conftest.er1
>conftest.err
10150 cat conftest.err
>&5
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); } &&
10153 { ac_try
='test -z "$ac_c_werror_flag"
10154 || test ! -s conftest.err'
10155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156 (eval $ac_try) 2>&5
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); }; } &&
10160 { ac_try
='test -s conftest.$ac_objext'
10161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10162 (eval $ac_try) 2>&5
10164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165 (exit $ac_status); }; }; then
10166 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=yes
10168 echo "$as_me: failed program was:" >&5
10169 sed 's/^/| /' conftest.
$ac_ext >&5
10171 bfd_cv_have_sys_procfs_type_prpsinfo32_t
=no
10174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10177 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
10179 cat >>confdefs.h
<<\_ACEOF
10180 #define HAVE_PRPSINFO32_T 1
10184 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
10185 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
10187 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
10188 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
10189 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
10190 echo $ECHO_N "(cached) $ECHO_C" >&6
10192 cat >conftest.
$ac_ext <<_ACEOF
10195 cat confdefs.h
>>conftest.
$ac_ext
10196 cat >>conftest.
$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10200 #include <sys/procfs.h>
10209 rm -f conftest.
$ac_objext
10210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10211 (eval $ac_compile) 2>conftest.er1
10213 grep -v '^ *+' conftest.er1
>conftest.err
10215 cat conftest.err
>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); } &&
10218 { ac_try
='test -z "$ac_c_werror_flag"
10219 || test ! -s conftest.err'
10220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221 (eval $ac_try) 2>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; } &&
10225 { ac_try
='test -s conftest.$ac_objext'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; }; then
10231 bfd_cv_have_sys_procfs_type_psinfo_t
=yes
10233 echo "$as_me: failed program was:" >&5
10234 sed 's/^/| /' conftest.
$ac_ext >&5
10236 bfd_cv_have_sys_procfs_type_psinfo_t
=no
10239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10242 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
10244 cat >>confdefs.h
<<\_ACEOF
10245 #define HAVE_PSINFO_T 1
10249 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
10250 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
10252 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
10253 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
10254 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
10255 echo $ECHO_N "(cached) $ECHO_C" >&6
10257 cat >conftest.
$ac_ext <<_ACEOF
10260 cat confdefs.h
>>conftest.
$ac_ext
10261 cat >>conftest.
$ac_ext <<_ACEOF
10262 /* end confdefs.h. */
10265 #include <sys/procfs.h>
10274 rm -f conftest.
$ac_objext
10275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10276 (eval $ac_compile) 2>conftest.er1
10278 grep -v '^ *+' conftest.er1
>conftest.err
10280 cat conftest.err
>&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); } &&
10283 { ac_try
='test -z "$ac_c_werror_flag"
10284 || test ! -s conftest.err'
10285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10286 (eval $ac_try) 2>&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); }; } &&
10290 { ac_try
='test -s conftest.$ac_objext'
10291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); }; }; then
10296 bfd_cv_have_sys_procfs_type_psinfo32_t
=yes
10298 echo "$as_me: failed program was:" >&5
10299 sed 's/^/| /' conftest.
$ac_ext >&5
10301 bfd_cv_have_sys_procfs_type_psinfo32_t
=no
10304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10307 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
10309 cat >>confdefs.h
<<\_ACEOF
10310 #define HAVE_PSINFO32_T 1
10314 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
10315 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
10317 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
10318 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
10319 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
10320 echo $ECHO_N "(cached) $ECHO_C" >&6
10322 cat >conftest.
$ac_ext <<_ACEOF
10325 cat confdefs.h
>>conftest.
$ac_ext
10326 cat >>conftest.
$ac_ext <<_ACEOF
10327 /* end confdefs.h. */
10330 #include <sys/procfs.h>
10339 rm -f conftest.
$ac_objext
10340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10341 (eval $ac_compile) 2>conftest.er1
10343 grep -v '^ *+' conftest.er1
>conftest.err
10345 cat conftest.err
>&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); } &&
10348 { ac_try
='test -z "$ac_c_werror_flag"
10349 || test ! -s conftest.err'
10350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10351 (eval $ac_try) 2>&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); }; } &&
10355 { ac_try
='test -s conftest.$ac_objext'
10356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10357 (eval $ac_try) 2>&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); }; }; then
10361 bfd_cv_have_sys_procfs_type_lwpstatus_t
=yes
10363 echo "$as_me: failed program was:" >&5
10364 sed 's/^/| /' conftest.
$ac_ext >&5
10366 bfd_cv_have_sys_procfs_type_lwpstatus_t
=no
10369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10372 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
10374 cat >>confdefs.h
<<\_ACEOF
10375 #define HAVE_LWPSTATUS_T 1
10379 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
10380 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
10382 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
10383 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
10384 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
10385 echo $ECHO_N "(cached) $ECHO_C" >&6
10387 cat >conftest.
$ac_ext <<_ACEOF
10390 cat confdefs.h
>>conftest.
$ac_ext
10391 cat >>conftest.
$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10395 #include <sys/procfs.h>
10404 rm -f conftest.
$ac_objext
10405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10406 (eval $ac_compile) 2>conftest.er1
10408 grep -v '^ *+' conftest.er1
>conftest.err
10410 cat conftest.err
>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); } &&
10413 { ac_try
='test -z "$ac_c_werror_flag"
10414 || test ! -s conftest.err'
10415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10416 (eval $ac_try) 2>&5
10418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10419 (exit $ac_status); }; } &&
10420 { ac_try
='test -s conftest.$ac_objext'
10421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10422 (eval $ac_try) 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; }; then
10426 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=yes
10428 echo "$as_me: failed program was:" >&5
10429 sed 's/^/| /' conftest.
$ac_ext >&5
10431 bfd_cv_have_sys_procfs_type_lwpxstatus_t
=no
10434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10437 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
10439 cat >>confdefs.h
<<\_ACEOF
10440 #define HAVE_LWPXSTATUS_T 1
10444 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
10445 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
10447 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
10448 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
10449 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
10450 echo $ECHO_N "(cached) $ECHO_C" >&6
10452 cat >conftest.
$ac_ext <<_ACEOF
10455 cat confdefs.h
>>conftest.
$ac_ext
10456 cat >>conftest.
$ac_ext <<_ACEOF
10457 /* end confdefs.h. */
10460 #include <sys/procfs.h>
10464 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
10469 rm -f conftest.
$ac_objext
10470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10471 (eval $ac_compile) 2>conftest.er1
10473 grep -v '^ *+' conftest.er1
>conftest.err
10475 cat conftest.err
>&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); } &&
10478 { ac_try
='test -z "$ac_c_werror_flag"
10479 || test ! -s conftest.err'
10480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10481 (eval $ac_try) 2>&5
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); }; } &&
10485 { ac_try
='test -s conftest.$ac_objext'
10486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10487 (eval $ac_try) 2>&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); }; }; then
10491 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=yes
10493 echo "$as_me: failed program was:" >&5
10494 sed 's/^/| /' conftest.
$ac_ext >&5
10496 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context
=no
10499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10502 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
10504 cat >>confdefs.h
<<\_ACEOF
10505 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
10509 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
10510 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
10512 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
10513 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
10514 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
10515 echo $ECHO_N "(cached) $ECHO_C" >&6
10517 cat >conftest.
$ac_ext <<_ACEOF
10520 cat confdefs.h
>>conftest.
$ac_ext
10521 cat >>conftest.
$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10525 #include <sys/procfs.h>
10529 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
10534 rm -f conftest.
$ac_objext
10535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10536 (eval $ac_compile) 2>conftest.er1
10538 grep -v '^ *+' conftest.er1
>conftest.err
10540 cat conftest.err
>&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); } &&
10543 { ac_try
='test -z "$ac_c_werror_flag"
10544 || test ! -s conftest.err'
10545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10546 (eval $ac_try) 2>&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); }; } &&
10550 { ac_try
='test -s conftest.$ac_objext'
10551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10552 (eval $ac_try) 2>&5
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); }; }; then
10556 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=yes
10558 echo "$as_me: failed program was:" >&5
10559 sed 's/^/| /' conftest.
$ac_ext >&5
10561 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg
=no
10564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10567 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
10569 cat >>confdefs.h
<<\_ACEOF
10570 #define HAVE_LWPSTATUS_T_PR_REG 1
10574 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
10575 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
10577 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
10578 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
10579 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
10580 echo $ECHO_N "(cached) $ECHO_C" >&6
10582 cat >conftest.
$ac_ext <<_ACEOF
10585 cat confdefs.h
>>conftest.
$ac_ext
10586 cat >>conftest.
$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10590 #include <sys/procfs.h>
10594 win32_pstatus_t avar
10599 rm -f conftest.
$ac_objext
10600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10601 (eval $ac_compile) 2>conftest.er1
10603 grep -v '^ *+' conftest.er1
>conftest.err
10605 cat conftest.err
>&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); } &&
10608 { ac_try
='test -z "$ac_c_werror_flag"
10609 || test ! -s conftest.err'
10610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10611 (eval $ac_try) 2>&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); }; } &&
10615 { ac_try
='test -s conftest.$ac_objext'
10616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10617 (eval $ac_try) 2>&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); }; }; then
10621 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=yes
10623 echo "$as_me: failed program was:" >&5
10624 sed 's/^/| /' conftest.
$ac_ext >&5
10626 bfd_cv_have_sys_procfs_type_win32_pstatus_t
=no
10629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10632 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
10634 cat >>confdefs.h
<<\_ACEOF
10635 #define HAVE_WIN32_PSTATUS_T 1
10639 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
10640 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
10646 if test -n "$TRAD_HEADER"; then
10648 cat >>confdefs.h
<<_ACEOF
10649 #define TRAD_HEADER $TRAD_HEADER
10654 # Horrible hacks to build DLLs on Windows.
10659 if test "$enable_shared" = "yes"; then
10660 WIN32LDFLAGS
="-no-undefined"
10661 WIN32LIBADD
="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
10665 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
10669 # Linux/MIPS uses PIC by default.
10670 if test "$enable_shared" = "yes"; then
10671 WIN32LIBADD
="-L../libiberty -liberty"
10675 x
=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
10676 if test -n "$x"; then
10677 WIN32LIBADD
="-L../libiberty/pic -liberty"
10688 # Canonicalize the secondary target names.
10689 if test -n "$enable_targets" ; then
10690 for targ
in `echo $enable_targets | sed 's/,/ /g'`
10692 result
=`$ac_config_sub $targ 2>/dev/null`
10693 if test -n "$result" ; then
10694 canon_targets
="$canon_targets $result"
10696 # Allow targets that config.sub doesn't recognize, like "all".
10697 canon_targets
="$canon_targets $targ"
10708 for targ
in $target $canon_targets
10710 if test "x$targ" = "xall"; then
10712 assocvecs
="$assocvecs $targ_defvec $targ_selvecs"
10714 .
$srcdir/config.bfd
10715 if test "x$targ" = "x$target"; then
10716 defvec
=$targ_defvec
10718 selvecs
="$selvecs $targ_defvec $targ_selvecs"
10719 selarchs
="$selarchs $targ_archs"
10720 TDEFINES
="$TDEFINES $targ_cflags"
10725 # This processing still needs to be done if we're to decide properly whether
10726 # 64-bit support needs to be compiled in. Currently, it will be included if
10727 # the default or any other explicitly requested target requires it; it
10728 # will not be included on a 32-bit host if no 64-bit target is requested, and
10729 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
10732 # uniq the default and selected vectors in all the configured targets.
10734 for i
in $selvecs ; do
10743 # uniq the associated vectors in all the configured targets.
10745 for i
in $assocvecs ; do
10754 # uniq the architectures in all the configured targets.
10756 for i
in $selarchs ; do
10764 # Target backend .o files.
10767 elf
="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
10769 for vec
in $selvecs
10773 # This list is alphabetized to make it easy to compare
10774 # with the two vector lists in targets.c. For the same reason,
10775 # use one entry per line, even though this leads to long lines.
10776 a_out_adobe_vec
) tb
="$tb aout-adobe.lo aout32.lo" ;;
10777 aix5coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
10778 aout0_big_vec
) tb
="$tb aout0.lo aout32.lo" ;;
10779 aout_arm_big_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
10780 aout_arm_little_vec
) tb
="$tb aout-arm.lo aout32.lo" ;;
10781 apollocoff_vec
) tb
="$tb coff-apollo.lo" ;;
10782 arm_epoc_pe_big_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
10783 arm_epoc_pe_little_vec
) tb
="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
10784 arm_epoc_pei_big_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
10785 arm_epoc_pei_little_vec
) tb
="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
10786 arm_wince_pe_big_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
10787 arm_wince_pe_little_vec
) tb
="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
10788 arm_wince_pei_big_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
10789 arm_wince_pei_little_vec
) tb
="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
10790 armcoff_big_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
10791 armcoff_little_vec
) tb
="$tb coff-arm.lo cofflink.lo " ;;
10792 armnetbsd_vec
) tb
="$tb armnetbsd.lo aout32.lo" ;;
10793 armpe_big_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
10794 armpe_little_vec
) tb
="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
10795 armpei_big_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
10796 armpei_little_vec
) tb
="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
10797 b_out_vec_big_host
) tb
="$tb bout.lo aout32.lo" ;;
10798 b_out_vec_little_host
) tb
="$tb bout.lo aout32.lo" ;;
10799 bfd_efi_app_ia32_vec
) tb
="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
10800 bfd_efi_app_ia64_vec
) tb
="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size
=64 ;;
10801 bfd_elf32_am33lin_vec
) tb
="$tb elf32-am33lin.lo elf32.lo $elf" ;;
10802 bfd_elf32_avr_vec
) tb
="$tb elf32-avr.lo elf32.lo $elf" ;;
10803 bfd_elf32_bfin_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
10804 bfd_elf32_bfinfdpic_vec
) tb
="$tb elf32-bfin.lo elf32.lo $elf" ;;
10805 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
10806 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
10807 bfd_elf32_bigarm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10808 bfd_elf32_bigarm_symbian_vec
)
10809 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10810 bfd_elf32_bigarm_vxworks_vec
)
10811 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10812 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10813 bfd_elf32_bigmips_vxworks_vec
)
10814 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10815 bfd_elf32_cr16c_vec
) tb
="$tb elf32-cr16c.lo elf32.lo $elf" ;;
10816 bfd_elf32_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
10817 bfd_elf32_crx_vec
) tb
="$tb elf32-crx.lo elf32.lo $elf" ;;
10818 bfd_elf32_d10v_vec
) tb
="$tb elf32-d10v.lo elf32.lo $elf" ;;
10819 bfd_elf32_d30v_vec
) tb
="$tb elf32-d30v.lo elf32.lo $elf" ;;
10820 bfd_elf32_dlx_big_vec
) tb
="$tb elf32-dlx.lo elf32.lo $elf" ;;
10821 bfd_elf32_fr30_vec
) tb
="$tb elf32-fr30.lo elf32.lo $elf" ;;
10822 bfd_elf32_frv_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
10823 bfd_elf32_frvfdpic_vec
) tb
="$tb elf32-frv.lo elf32.lo $elf" ;;
10824 bfd_elf32_h8300_vec
) tb
="$tb elf32-h8300.lo elf32.lo $elf" ;;
10825 bfd_elf32_hppa_linux_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
10826 bfd_elf32_hppa_nbsd_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
10827 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.lo elf32.lo $elf" ;;
10828 bfd_elf32_i370_vec
) tb
="$tb elf32-i370.lo elf32.lo $elf" ;;
10829 bfd_elf32_i386_freebsd_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10830 bfd_elf32_i386_vxworks_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10831 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10832 bfd_elf32_i860_little_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
10833 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.lo elf32.lo $elf" ;;
10834 bfd_elf32_i960_vec
) tb
="$tb elf32-i960.lo elf32.lo $elf" ;;
10835 bfd_elf32_ia64_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf" ;;
10836 bfd_elf32_ia64_hpux_big_vec
) tb
="$tb elf32-ia64.lo elf32.lo $elf";;
10837 bfd_elf32_ip2k_vec
) tb
="$tb elf32-ip2k.lo elf32.lo $elf" ;;
10838 bfd_elf32_iq2000_vec
) tb
="$tb elf32-iq2000.lo elf32.lo $elf" ;;
10839 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.lo elf32.lo $elf" ;;
10840 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.lo elf32.lo $elf" ;;
10841 bfd_elf32_littlearm_symbian_vec
)
10842 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10843 bfd_elf32_littlearm_vxworks_vec
)
10844 tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10845 bfd_elf32_littlearm_vec
) tb
="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10846 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10847 bfd_elf32_littlemips_vxworks_vec
)
10848 tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10849 bfd_elf32_m32c_vec
) tb
="$tb elf32-m32c.lo elf32.lo $elf" ;;
10850 bfd_elf32_m32r_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
10851 bfd_elf32_m32rle_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
10852 bfd_elf32_m32rlin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
10853 bfd_elf32_m32rlelin_vec
) tb
="$tb elf32-m32r.lo elf32.lo $elf" ;;
10854 bfd_elf32_m68hc11_vec
) tb
="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
10855 bfd_elf32_m68hc12_vec
) tb
="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
10856 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.lo elf32.lo $elf" ;;
10857 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.lo elf32.lo $elf" ;;
10858 bfd_elf32_mcore_big_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
10859 bfd_elf32_mcore_little_vec
) tb
="$tb elf32-mcore.lo elf32.lo $elf" ;;
10860 bfd_elf32_mn10200_vec
) tb
="$tb elf-m10200.lo elf32.lo $elf" ;;
10861 bfd_elf32_mn10300_vec
) tb
="$tb elf-m10300.lo elf32.lo $elf" ;;
10862 bfd_elf32_mt_vec
) tb
="$tb elf32-mt.lo elf32.lo $elf" ;;
10863 bfd_elf32_msp430_vec
) tb
="$tb elf32-msp430.lo elf32.lo $elf" ;;
10864 bfd_elf32_nbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10865 bfd_elf32_nlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10866 bfd_elf32_ntradbigmips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10867 bfd_elf32_ntradlittlemips_vec
) tb
="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size
=64 ;;
10868 bfd_elf32_openrisc_vec
) tb
="$tb elf32-openrisc.lo elf32.lo $elf" ;;
10869 bfd_elf32_or32_big_vec
) tb
="$tb elf32-or32.lo elf32.lo $elf" ;;
10870 bfd_elf32_pj_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
10871 bfd_elf32_pjl_vec
) tb
="$tb elf32-pj.lo elf32.lo $elf";;
10872 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10873 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10874 bfd_elf32_powerpc_vxworks_vec
) tb
="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10875 bfd_elf32_s390_vec
) tb
="$tb elf32-s390.lo elf32.lo $elf" ;;
10876 bfd_elf32_bigscore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
10877 bfd_elf32_littlescore_vec
) tb
="$tb elf32-score.lo elf32.lo $elf" ;;
10878 # FIXME: We include cofflink.lo not because it's needed for
10879 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
10880 # which needs it but does not list it. Should be fixed in right place.
10881 bfd_elf32_sh64_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
10882 bfd_elf32_sh64l_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
10883 bfd_elf32_sh64lin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
10884 bfd_elf32_sh64blin_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size
=64 ;;
10885 bfd_elf32_sh64lnbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
10886 bfd_elf32_sh64nbsd_vec
) tb
="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
10887 bfd_elf32_sh_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10888 bfd_elf32_shblin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10889 bfd_elf32_shl_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10890 bfd_elf32_shl_symbian_vec
) tb
="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10891 bfd_elf32_shlin_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10892 bfd_elf32_shlnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10893 bfd_elf32_shlvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10894 bfd_elf32_shnbsd_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10895 bfd_elf32_shvxworks_vec
) tb
="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10896 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
10897 bfd_elf32_sparc_vxworks_vec
) tb
="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
10898 bfd_elf32_tradbigmips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10899 bfd_elf32_tradlittlemips_vec
) tb
="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10900 bfd_elf32_us_cris_vec
) tb
="$tb elf32-cris.lo elf32.lo $elf" ;;
10901 bfd_elf32_v850_vec
) tb
="$tb elf32-v850.lo elf32.lo $elf" ;;
10902 bfd_elf32_vax_vec
) tb
="$tb elf32-vax.lo elf32.lo $elf" ;;
10903 bfd_elf32_xstormy16_vec
) tb
="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
10904 bfd_elf32_xc16x_vec
) tb
="$tb elf32-xc16x.lo elf32.lo $elf" ;;
10905 bfd_elf32_xtensa_le_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
10906 bfd_elf32_xtensa_be_vec
) tb
="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
10907 bfd_elf64_alpha_freebsd_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
10908 bfd_elf64_alpha_vec
) tb
="$tb elf64-alpha.lo elf64.lo $elf"; target_size
=64 ;;
10909 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
10910 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 ;;
10911 bfd_elf64_hppa_linux_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
10912 bfd_elf64_hppa_vec
) tb
="$tb elf64-hppa.lo elf64.lo $elf"; target_size
=64 ;;
10913 bfd_elf64_ia64_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
10914 bfd_elf64_ia64_hpux_big_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
10915 bfd_elf64_ia64_little_vec
) tb
="$tb elf64-ia64.lo elf64.lo $elf"; target_size
=64 ;;
10916 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
10917 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 ;;
10918 bfd_elf64_mmix_vec
) tb
="$tb elf64-mmix.lo elf64.lo $elf" target_size
=64 ;;
10919 bfd_elf64_powerpc_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size
=64 ;;
10920 bfd_elf64_powerpcle_vec
) tb
="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size
=64 ;;
10921 bfd_elf64_s390_vec
) tb
="$tb elf64-s390.lo elf64.lo $elf"; target_size
=64 ;;
10922 bfd_elf64_sh64_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10923 bfd_elf64_sh64l_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10924 bfd_elf64_sh64lin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10925 bfd_elf64_sh64blin_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10926 bfd_elf64_sh64lnbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10927 bfd_elf64_sh64nbsd_vec
) tb
="$tb elf64-sh64.lo elf64.lo $elf" target_size
=64 ;;
10928 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size
=64 ;;
10929 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 ;;
10930 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 ;;
10931 bfd_elf64_x86_64_freebsd_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
10932 bfd_elf64_x86_64_vec
) tb
="$tb elf64-x86-64.lo elf64.lo $elf"; target_size
=64 ;;
10933 bfd_mmo_vec
) tb
="$tb mmo.lo" target_size
=64 ;;
10934 bfd_powerpc_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
10935 bfd_powerpc_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
10936 bfd_powerpcle_pe_vec
) tb
="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
10937 bfd_powerpcle_pei_vec
) tb
="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
10938 cris_aout_vec
) tb
="$tb aout-cris.lo" ;;
10939 demo_64_vec
) tb
="$tb demo64.lo aout64.lo"; target_size
=64 ;;
10940 ecoff_big_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
10941 ecoff_biglittle_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
10942 ecoff_little_vec
) tb
="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
10943 ecoffalpha_little_vec
) tb
="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size
=64 ;;
10944 go32coff_vec
) tb
="$tb coff-go32.lo cofflink.lo" ;;
10945 go32stubbedcoff_vec
) tb
="$tb coff-stgo32.lo cofflink.lo" ;;
10946 h8300coff_vec
) tb
="$tb coff-h8300.lo reloc16.lo" ;;
10947 h8500coff_vec
) tb
="$tb coff-h8500.lo reloc16.lo" ;;
10948 host_aout_vec
) tb
="$tb host-aout.lo aout32.lo" ;;
10949 hp300bsd_vec
) tb
="$tb hp300bsd.lo aout32.lo" ;;
10950 hp300hpux_vec
) tb
="$tb hp300hpux.lo aout32.lo" ;;
10951 i386aout_vec
) tb
="$tb i386aout.lo aout32.lo" ;;
10952 i386bsd_vec
) tb
="$tb i386bsd.lo aout32.lo" ;;
10953 i386coff_vec
) tb
="$tb coff-i386.lo cofflink.lo" ;;
10954 x86_64coff_vec
) tb
="$tb coff-x86_64.lo cofflink.lo"; target_size
=64 ;;
10955 i386dynix_vec
) tb
="$tb i386dynix.lo aout32.lo" ;;
10956 i386freebsd_vec
) tb
="$tb i386freebsd.lo aout32.lo" ;;
10957 i386linux_vec
) tb
="$tb i386linux.lo aout32.lo" ;;
10958 i386lynx_aout_vec
) tb
="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
10959 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
10960 i386mach3_vec
) tb
="$tb i386mach3.lo aout32.lo" ;;
10961 i386msdos_vec
) tb
="$tb i386msdos.lo" ;;
10962 i386netbsd_vec
) tb
="$tb i386netbsd.lo aout32.lo" ;;
10963 i386os9k_vec
) tb
="$tb i386os9k.lo aout32.lo" ;;
10964 i386pe_vec
) tb
="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
10965 i386pei_vec
) tb
="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
10966 x86_64pe_vec
) tb
="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
10967 x86_64pei_vec
) tb
="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size
=64 ;;
10968 i860coff_vec
) tb
="$tb coff-i860.lo cofflink.lo" ;;
10969 icoff_big_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
10970 icoff_little_vec
) tb
="$tb coff-i960.lo cofflink.lo" ;;
10971 ieee_vec
) tb
="$tb ieee.lo" ;;
10972 m68k4knetbsd_vec
) tb
="$tb m68k4knetbsd.lo aout32.lo" ;;
10973 m68kaux_coff_vec
) tb
="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
10974 m68kcoff_vec
) tb
="$tb coff-m68k.lo cofflink.lo" ;;
10975 m68kcoffun_vec
) tb
="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
10976 m68klinux_vec
) tb
="$tb m68klinux.lo aout32.lo" ;;
10977 m68knetbsd_vec
) tb
="$tb m68knetbsd.lo aout32.lo" ;;
10978 m68ksysvcoff_vec
) tb
="$tb coff-svm68k.lo cofflink.lo" ;;
10979 m88kbcs_vec
) tb
="$tb coff-m88k.lo" ;;
10980 m88kmach3_vec
) tb
="$tb m88kmach3.lo aout32.lo" ;;
10981 m88kopenbsd_vec
) tb
="$tb m88kopenbsd.lo aout32.lo" ;;
10982 maxqcoff_vec
) tb
="$tb coff-maxq.lo" ;;
10983 mach_o_be_vec
) tb
="$tb mach-o.lo" ;;
10984 mach_o_le_vec
) tb
="$tb mach-o.lo" ;;
10985 mach_o_fat_vec
) tb
="$tb mach-o.lo" ;;
10986 mcore_pe_big_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
10987 mcore_pe_little_vec
) tb
="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
10988 mcore_pei_big_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
10989 mcore_pei_little_vec
) tb
="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
10990 mipslpe_vec
) tb
="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
10991 mipslpei_vec
) tb
="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
10992 newsos3_vec
) tb
="$tb newsos3.lo aout32.lo" ;;
10993 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size
=64 ;;
10994 nlm32_i386_vec
) tb
="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
10995 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
10996 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
10997 or32coff_big_vec
) tb
="$tb coff-or32.lo cofflink.lo" ;;
10998 pc532machaout_vec
) tb
="$tb pc532-mach.lo aout-ns32k.lo" ;;
10999 pc532netbsd_vec
) tb
="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
11000 pef_vec
) tb
="$tb pef.lo" ;;
11001 pef_xlib_vec
) tb
="$tb pef.lo" ;;
11002 pdp11_aout_vec
) tb
="$tb pdp11.lo" ;;
11003 pmac_xcoff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11004 ppcboot_vec
) tb
="$tb ppcboot.lo" ;;
11005 riscix_vec
) tb
="$tb aout32.lo riscix.lo" ;;
11006 rs6000coff64_vec
) tb
="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size
=64 ;;
11007 rs6000coff_vec
) tb
="$tb coff-rs6000.lo xcofflink.lo" ;;
11008 shcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11009 shcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11010 shlcoff_small_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11011 shlcoff_vec
) tb
="$tb coff-sh.lo cofflink.lo" ;;
11012 shlpe_vec
) tb
="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11013 shlpei_vec
) tb
="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11014 som_vec
) tb
="$tb som.lo" ;;
11015 sparccoff_vec
) tb
="$tb coff-sparc.lo" ;;
11016 sparcle_aout_vec
) tb
="$tb aout-sparcle.lo aout32.lo" ;;
11017 sparclinux_vec
) tb
="$tb sparclinux.lo aout32.lo" ;;
11018 sparclynx_aout_vec
) tb
="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
11019 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.lo lynx-core.lo" ;;
11020 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.lo aout32.lo" ;;
11021 sunos_big_vec
) tb
="$tb sunos.lo aout32.lo" ;;
11022 sym_vec
) tb
="$tb xsym.lo" ;;
11023 tic30_aout_vec
) tb
="$tb aout-tic30.lo" ;;
11024 tic30_coff_vec
) tb
="$tb coff-tic30.lo" ;;
11025 tic4x_coff0_vec
) tb
="$tb coff-tic4x.lo" ;;
11026 tic4x_coff0_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11027 tic4x_coff1_vec
) tb
="$tb coff-tic4x.lo" ;;
11028 tic4x_coff1_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11029 tic4x_coff2_vec
) tb
="$tb coff-tic4x.lo" ;;
11030 tic4x_coff2_beh_vec
) tb
="$tb coff-tic4x.lo" ;;
11031 tic54x_coff0_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11032 tic54x_coff0_vec
) tb
="$tb coff-tic54x.lo" ;;
11033 tic54x_coff1_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11034 tic54x_coff1_vec
) tb
="$tb coff-tic54x.lo" ;;
11035 tic54x_coff2_beh_vec
) tb
="$tb coff-tic54x.lo" ;;
11036 tic54x_coff2_vec
) tb
="$tb coff-tic54x.lo" ;;
11037 tic80coff_vec
) tb
="$tb coff-tic80.lo cofflink.lo" ;;
11038 vaxnetbsd_vec
) tb
="$tb vaxnetbsd.lo aout32.lo" ;;
11039 vax1knetbsd_vec
) tb
="$tb vax1knetbsd.lo aout32.lo" ;;
11040 vaxbsd_vec
) tb
="$tb vaxbsd.lo aout32.lo" ;;
11041 versados_vec
) tb
="$tb versados.lo" ;;
11042 vms_alpha_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size
=64 ;;
11043 vms_vax_vec
) tb
="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
11044 w65_vec
) tb
="$tb coff-w65.lo reloc16.lo" ;;
11045 we32kcoff_vec
) tb
="$tb coff-we32k.lo" ;;
11046 z80coff_vec
) tb
="$tb coff-z80.lo reloc16.lo" ;;
11047 z8kcoff_vec
) tb
="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
11049 # These appear out of order in targets.c
11050 srec_vec
) tb
="$tb srec.lo" ;;
11051 symbolsrec_vec
) tb
="$tb srec.lo" ;;
11052 tekhex_vec
) tb
="$tb tekhex.lo" ;;
11053 cisco_core_big_vec
) tb
="$tb cisco-core.lo" ;;
11054 cisco_core_little_vec
) tb
="$tb cisco-core.lo" ;;
11057 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
11058 echo "$as_me: error: *** unknown target vector $vec" >&2;}
11059 { (exit 1); exit 1; }; } ;;
11062 if test ${target_size} = 64; then
11065 if test x
"${vec}" = x
"${defvec}"; then
11066 bfd_default_target_size
=${target_size}
11070 # Target architecture .o files.
11071 # A couple of CPUs use shorter file names to avoid problems on DOS
11073 ta
=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
11075 # Weed out duplicate .o files.
11097 if test x
${all_targets} = xtrue
; then
11098 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
11099 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
11103 test -n "$assocvecs" &&
11104 assocvecs
=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11105 else # all_targets is true
11106 # Only set these if they will be nonempty, for the clever echo.
11109 test -n "$selvecs" &&
11110 havevecs
=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
11111 test -n "$selvecs" &&
11112 selvecs
=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11113 test -n "$selarchs" &&
11114 selarchs
=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11115 fi # all_targets is true
11117 case ${host64}-${target64}-${want64} in
11120 bfd_libs
='$(BFD64_LIBS) $(BFD32_LIBS)'
11121 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
11122 if test $BFD_HOST_64_BIT_DEFINED = 0; then
11123 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
11124 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
11125 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
11126 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
11128 if test -n "$GCC" ; then
11130 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
11131 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
11132 # Add more tests for gcc versions with non-working 64-bit support here.
11133 cat >conftest.
$ac_ext <<_ACEOF
11136 cat confdefs.h
>>conftest.
$ac_ext
11137 cat >>conftest.
$ac_ext <<_ACEOF
11138 /* end confdefs.h. */
11139 :__GNUC__:__GNUC_MINOR__:__i386__:
11141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11142 $EGREP ": 2 : 91 : 1 :" >/dev
/null
2>&1; then
11144 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
11145 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
11147 echo "$as_me:$LINENO: result: no" >&5
11148 echo "${ECHO_T}no" >&6
11152 if test $bad_64bit_gcc = yes ; then
11153 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
11154 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
11155 { (exit 1); exit 1; }; }
11161 bfd_libs
='$(BFD32_LIBS)'
11162 all_backends
='$(BFD32_BACKENDS)'
11173 # Determine the host dependant file_ptr a.k.a. off_t type. In order
11174 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
11175 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
11176 # Hopefully a reasonable assumption since fseeko et.al. should be
11177 # upward compatible.
11183 for ac_func
in ftello ftello64 fseeko fseeko64 fopen64
11185 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11186 echo "$as_me:$LINENO: checking for $ac_func" >&5
11187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11188 if eval "test \"\${$as_ac_var+set}\" = set"; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 cat >conftest.
$ac_ext <<_ACEOF
11194 cat confdefs.h
>>conftest.
$ac_ext
11195 cat >>conftest.
$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11199 #define $ac_func innocuous_$ac_func
11201 /* System header to define __stub macros and hopefully few prototypes,
11202 which can conflict with char $ac_func (); below.
11203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11204 <limits.h> exists even on freestanding compilers. */
11207 # include <limits.h>
11209 # include <assert.h>
11214 /* Override any gcc2 internal prototype to avoid an error. */
11219 /* We use char because int might match the return type of a gcc2
11220 builtin and then its argument prototype would still apply. */
11222 /* The GNU C library defines this for functions which it implements
11223 to always fail with ENOSYS. Some functions are actually named
11224 something starting with __ and the normal name is an alias. */
11225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11228 char (*f) () = $ac_func;
11237 return f != $ac_func;
11242 rm -f conftest.
$ac_objext conftest
$ac_exeext
11243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11244 (eval $ac_link) 2>conftest.er1
11246 grep -v '^ *+' conftest.er1
>conftest.err
11248 cat conftest.err
>&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); } &&
11251 { ac_try
='test -z "$ac_c_werror_flag"
11252 || test ! -s conftest.err'
11253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11254 (eval $ac_try) 2>&5
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); }; } &&
11258 { ac_try
='test -s conftest$ac_exeext'
11259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11260 (eval $ac_try) 2>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; }; then
11264 eval "$as_ac_var=yes"
11266 echo "$as_me: failed program was:" >&5
11267 sed 's/^/| /' conftest.
$ac_ext >&5
11269 eval "$as_ac_var=no"
11271 rm -f conftest.err conftest.
$ac_objext \
11272 conftest
$ac_exeext conftest.
$ac_ext
11274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11276 if test `eval echo '${'$as_ac_var'}'` = yes; then
11277 cat >>confdefs.h
<<_ACEOF
11278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11284 if test x
"$ac_cv_func_ftello" = xyes
-a x
"$ac_cv_func_fseeko" = xyes
; then
11285 echo "$as_me:$LINENO: checking for off_t" >&5
11286 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
11287 if test "${ac_cv_type_off_t+set}" = set; then
11288 echo $ECHO_N "(cached) $ECHO_C" >&6
11290 cat >conftest.
$ac_ext <<_ACEOF
11293 cat confdefs.h
>>conftest.
$ac_ext
11294 cat >>conftest.
$ac_ext <<_ACEOF
11295 /* end confdefs.h. */
11296 $ac_includes_default
11302 if (sizeof (off_t))
11308 rm -f conftest.
$ac_objext
11309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11310 (eval $ac_compile) 2>conftest.er1
11312 grep -v '^ *+' conftest.er1
>conftest.err
11314 cat conftest.err
>&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); } &&
11317 { ac_try
='test -z "$ac_c_werror_flag"
11318 || test ! -s conftest.err'
11319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11320 (eval $ac_try) 2>&5
11322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323 (exit $ac_status); }; } &&
11324 { ac_try
='test -s conftest.$ac_objext'
11325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11326 (eval $ac_try) 2>&5
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); }; }; then
11330 ac_cv_type_off_t
=yes
11332 echo "$as_me: failed program was:" >&5
11333 sed 's/^/| /' conftest.
$ac_ext >&5
11335 ac_cv_type_off_t
=no
11337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11339 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11340 echo "${ECHO_T}$ac_cv_type_off_t" >&6
11342 echo "$as_me:$LINENO: checking size of off_t" >&5
11343 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
11344 if test "${ac_cv_sizeof_off_t+set}" = set; then
11345 echo $ECHO_N "(cached) $ECHO_C" >&6
11347 if test "$ac_cv_type_off_t" = yes; then
11348 # The cast to unsigned long works around a bug in the HP C Compiler
11349 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11350 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11351 # This bug is HP SR number 8606223364.
11352 if test "$cross_compiling" = yes; then
11353 # Depending upon the size, compute the lo and hi bounds.
11354 cat >conftest.
$ac_ext <<_ACEOF
11357 cat confdefs.h
>>conftest.
$ac_ext
11358 cat >>conftest.
$ac_ext <<_ACEOF
11359 /* end confdefs.h. */
11360 $ac_includes_default
11364 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
11371 rm -f conftest.
$ac_objext
11372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11373 (eval $ac_compile) 2>conftest.er1
11375 grep -v '^ *+' conftest.er1
>conftest.err
11377 cat conftest.err
>&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); } &&
11380 { ac_try
='test -z "$ac_c_werror_flag"
11381 || test ! -s conftest.err'
11382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11383 (eval $ac_try) 2>&5
11385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11386 (exit $ac_status); }; } &&
11387 { ac_try
='test -s conftest.$ac_objext'
11388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11389 (eval $ac_try) 2>&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); }; }; then
11395 cat >conftest.
$ac_ext <<_ACEOF
11398 cat confdefs.h
>>conftest.
$ac_ext
11399 cat >>conftest.
$ac_ext <<_ACEOF
11400 /* end confdefs.h. */
11401 $ac_includes_default
11405 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
11412 rm -f conftest.
$ac_objext
11413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11414 (eval $ac_compile) 2>conftest.er1
11416 grep -v '^ *+' conftest.er1
>conftest.err
11418 cat conftest.err
>&5
11419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420 (exit $ac_status); } &&
11421 { ac_try
='test -z "$ac_c_werror_flag"
11422 || test ! -s conftest.err'
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); }; } &&
11428 { ac_try
='test -s conftest.$ac_objext'
11429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11430 (eval $ac_try) 2>&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); }; }; then
11434 ac_hi
=$ac_mid; break
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.
$ac_ext >&5
11439 ac_lo
=`expr $ac_mid + 1`
11440 if test $ac_lo -le $ac_mid; then
11444 ac_mid
=`expr 2 '*' $ac_mid + 1`
11446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11449 echo "$as_me: failed program was:" >&5
11450 sed 's/^/| /' conftest.
$ac_ext >&5
11452 cat >conftest.
$ac_ext <<_ACEOF
11455 cat confdefs.h
>>conftest.
$ac_ext
11456 cat >>conftest.
$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11458 $ac_includes_default
11462 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
11469 rm -f conftest.
$ac_objext
11470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11471 (eval $ac_compile) 2>conftest.er1
11473 grep -v '^ *+' conftest.er1
>conftest.err
11475 cat conftest.err
>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); } &&
11478 { ac_try
='test -z "$ac_c_werror_flag"
11479 || test ! -s conftest.err'
11480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11481 (eval $ac_try) 2>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); }; } &&
11485 { ac_try
='test -s conftest.$ac_objext'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; }; then
11493 cat >conftest.
$ac_ext <<_ACEOF
11496 cat confdefs.h
>>conftest.
$ac_ext
11497 cat >>conftest.
$ac_ext <<_ACEOF
11498 /* end confdefs.h. */
11499 $ac_includes_default
11503 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
11510 rm -f conftest.
$ac_objext
11511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11512 (eval $ac_compile) 2>conftest.er1
11514 grep -v '^ *+' conftest.er1
>conftest.err
11516 cat conftest.err
>&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try
='test -z "$ac_c_werror_flag"
11520 || test ! -s conftest.err'
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); }; } &&
11526 { ac_try
='test -s conftest.$ac_objext'
11527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11528 (eval $ac_try) 2>&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); }; }; then
11532 ac_lo
=$ac_mid; break
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.
$ac_ext >&5
11537 ac_hi
=`expr '(' $ac_mid ')' - 1`
11538 if test $ac_mid -le $ac_hi; then
11542 ac_mid
=`expr 2 '*' $ac_mid`
11544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11547 echo "$as_me: failed program was:" >&5
11548 sed 's/^/| /' conftest.
$ac_ext >&5
11552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11555 # Binary search between lo and hi bounds.
11556 while test "x$ac_lo" != "x$ac_hi"; do
11557 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 $ac_includes_default
11568 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
11575 rm -f conftest.
$ac_objext
11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11577 (eval $ac_compile) 2>conftest.er1
11579 grep -v '^ *+' conftest.er1
>conftest.err
11581 cat conftest.err
>&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } &&
11584 { ac_try
='test -z "$ac_c_werror_flag"
11585 || test ! -s conftest.err'
11586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11587 (eval $ac_try) 2>&5
11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590 (exit $ac_status); }; } &&
11591 { ac_try
='test -s conftest.$ac_objext'
11592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11593 (eval $ac_try) 2>&5
11595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); }; }; then
11599 echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.
$ac_ext >&5
11602 ac_lo
=`expr '(' $ac_mid ')' + 1`
11604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11607 ?
*) ac_cv_sizeof_off_t
=$ac_lo;;
11608 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
11609 See \`config.log' for more details." >&5
11610 echo "$as_me: error: cannot compute sizeof (off_t), 77
11611 See \`config.log' for more details." >&2;}
11612 { (exit 1); exit 1; }; } ;;
11615 if test "$cross_compiling" = yes; then
11616 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11617 See \`config.log' for more details." >&5
11618 echo "$as_me: error: cannot run test program while cross compiling
11619 See \`config.log' for more details." >&2;}
11620 { (exit 1); exit 1; }; }
11622 cat >conftest.
$ac_ext <<_ACEOF
11625 cat confdefs.h
>>conftest.
$ac_ext
11626 cat >>conftest.
$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11628 $ac_includes_default
11629 long longval () { return (long) (sizeof (off_t)); }
11630 unsigned long ulongval () { return (long) (sizeof (off_t)); }
11632 #include <stdlib.h>
11637 FILE *f = fopen ("conftest.val", "w");
11640 if (((long) (sizeof (off_t))) < 0)
11642 long i = longval ();
11643 if (i != ((long) (sizeof (off_t))))
11645 fprintf (f, "%ld\n", i);
11649 unsigned long i = ulongval ();
11650 if (i != ((long) (sizeof (off_t))))
11652 fprintf (f, "%lu\n", i);
11654 exit (ferror (f) || fclose (f) != 0);
11660 rm -f conftest
$ac_exeext
11661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11662 (eval $ac_link) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11667 (eval $ac_try) 2>&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); }; }; then
11671 ac_cv_sizeof_off_t
=`cat conftest.val`
11673 echo "$as_me: program exited with status $ac_status" >&5
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.
$ac_ext >&5
11677 ( exit $ac_status )
11678 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
11679 See \`config.log' for more details." >&5
11680 echo "$as_me: error: cannot compute sizeof (off_t), 77
11681 See \`config.log' for more details." >&2;}
11682 { (exit 1); exit 1; }; }
11684 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11689 ac_cv_sizeof_off_t
=0
11692 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
11693 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
11694 cat >>confdefs.h
<<_ACEOF
11695 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
11700 echo "$as_me:$LINENO: checking file_ptr type" >&5
11701 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
11702 bfd_file_ptr
="long"
11703 bfd_ufile_ptr
="unsigned long"
11704 if test x
"$ac_cv_func_ftello64" = xyes
-a x
"$ac_cv_func_fseeko64" = xyes \
11705 -o x
"${ac_cv_sizeof_off_t}" = x8
; then
11706 bfd_file_ptr
=BFD_HOST_64_BIT
11707 bfd_ufile_ptr
=BFD_HOST_U_64_BIT
11709 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
11710 echo "${ECHO_T}$bfd_file_ptr" >&6
11716 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
11717 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
11718 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
11719 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
11720 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
11725 for ac_header
in stdlib.h unistd.h
11727 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11729 echo "$as_me:$LINENO: checking for $ac_header" >&5
11730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11732 echo $ECHO_N "(cached) $ECHO_C" >&6
11734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11737 # Is the header compilable?
11738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11740 cat >conftest.
$ac_ext <<_ACEOF
11743 cat confdefs.h
>>conftest.
$ac_ext
11744 cat >>conftest.
$ac_ext <<_ACEOF
11745 /* end confdefs.h. */
11746 $ac_includes_default
11747 #include <$ac_header>
11749 rm -f conftest.
$ac_objext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11751 (eval $ac_compile) 2>conftest.er1
11753 grep -v '^ *+' conftest.er1
>conftest.err
11755 cat conftest.err
>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } &&
11758 { ac_try
='test -z "$ac_c_werror_flag"
11759 || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try
='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 ac_header_compiler
=yes
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.
$ac_ext >&5
11776 ac_header_compiler
=no
11778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11780 echo "${ECHO_T}$ac_header_compiler" >&6
11782 # Is the header present?
11783 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11784 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11785 cat >conftest.
$ac_ext <<_ACEOF
11788 cat confdefs.h
>>conftest.
$ac_ext
11789 cat >>conftest.
$ac_ext <<_ACEOF
11790 /* end confdefs.h. */
11791 #include <$ac_header>
11793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11794 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11796 grep -v '^ *+' conftest.er1
>conftest.err
11798 cat conftest.err
>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); } >/dev
/null
; then
11801 if test -s conftest.err
; then
11802 ac_cpp_err
=$ac_c_preproc_warn_flag
11803 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11810 if test -z "$ac_cpp_err"; then
11811 ac_header_preproc
=yes
11813 echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.
$ac_ext >&5
11816 ac_header_preproc
=no
11818 rm -f conftest.err conftest.
$ac_ext
11819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11820 echo "${ECHO_T}$ac_header_preproc" >&6
11822 # So? What about this header?
11823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11825 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11828 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11829 ac_header_preproc
=yes
11832 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11834 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11835 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11836 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11837 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11838 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11839 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11842 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11843 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11846 ## ------------------------------------------ ##
11847 ## Report this to the AC_PACKAGE_NAME lists. ##
11848 ## ------------------------------------------ ##
11851 sed "s/^/$as_me: WARNING: /" >&2
11854 echo "$as_me:$LINENO: checking for $ac_header" >&5
11855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11857 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 eval "$as_ac_Header=\$ac_header_preproc"
11861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11866 cat >>confdefs.h
<<_ACEOF
11867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11875 for ac_func
in getpagesize
11877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11878 echo "$as_me:$LINENO: checking for $ac_func" >&5
11879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11880 if eval "test \"\${$as_ac_var+set}\" = set"; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 cat >conftest.
$ac_ext <<_ACEOF
11886 cat confdefs.h
>>conftest.
$ac_ext
11887 cat >>conftest.
$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11891 #define $ac_func innocuous_$ac_func
11893 /* System header to define __stub macros and hopefully few prototypes,
11894 which can conflict with char $ac_func (); below.
11895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 <limits.h> exists even on freestanding compilers. */
11899 # include <limits.h>
11901 # include <assert.h>
11906 /* Override any gcc2 internal prototype to avoid an error. */
11911 /* We use char because int might match the return type of a gcc2
11912 builtin and then its argument prototype would still apply. */
11914 /* The GNU C library defines this for functions which it implements
11915 to always fail with ENOSYS. Some functions are actually named
11916 something starting with __ and the normal name is an alias. */
11917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11920 char (*f) () = $ac_func;
11929 return f != $ac_func;
11934 rm -f conftest.
$ac_objext conftest
$ac_exeext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11936 (eval $ac_link) 2>conftest.er1
11938 grep -v '^ *+' conftest.er1
>conftest.err
11940 cat conftest.err
>&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); } &&
11943 { ac_try
='test -z "$ac_c_werror_flag"
11944 || test ! -s conftest.err'
11945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11946 (eval $ac_try) 2>&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); }; } &&
11950 { ac_try
='test -s conftest$ac_exeext'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; }; then
11956 eval "$as_ac_var=yes"
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.
$ac_ext >&5
11961 eval "$as_ac_var=no"
11963 rm -f conftest.err conftest.
$ac_objext \
11964 conftest
$ac_exeext conftest.
$ac_ext
11966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11968 if test `eval echo '${'$as_ac_var'}'` = yes; then
11969 cat >>confdefs.h
<<_ACEOF
11970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11976 echo "$as_me:$LINENO: checking for working mmap" >&5
11977 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
11978 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
11979 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 if test "$cross_compiling" = yes; then
11982 ac_cv_func_mmap_fixed_mapped
=no
11984 cat >conftest.
$ac_ext <<_ACEOF
11987 cat confdefs.h
>>conftest.
$ac_ext
11988 cat >>conftest.
$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11990 $ac_includes_default
11991 /* malloc might have been renamed as rpl_malloc. */
11994 /* Thanks to Mike Haertel and Jim Avera for this test.
11995 Here is a matrix of mmap possibilities:
11996 mmap private not fixed
11997 mmap private fixed at somewhere currently unmapped
11998 mmap private fixed at somewhere already mapped
11999 mmap shared not fixed
12000 mmap shared fixed at somewhere currently unmapped
12001 mmap shared fixed at somewhere already mapped
12002 For private mappings, we should verify that changes cannot be read()
12003 back from the file, nor mmap's back from the file at a different
12004 address. (There have been systems where private was not correctly
12005 implemented like the infamous i386 svr4.0, and systems where the
12006 VM page cache was not coherent with the file system buffer cache
12007 like early versions of FreeBSD and possibly contemporary NetBSD.)
12008 For shared mappings, we should conversely verify that changes get
12009 propagated back to all the places they're supposed to be.
12011 Grep wants private fixed already mapped.
12012 The main things grep needs to know about mmap are:
12013 * does it exist and is it safe to write into the mmap'd area
12014 * how to use it (BSD variants) */
12017 #include <sys/mman.h>
12019 #if !STDC_HEADERS && !HAVE_STDLIB_H
12023 /* This mess was copied from the GNU getpagesize.h. */
12024 #if !HAVE_GETPAGESIZE
12025 /* Assume that all systems that can run configure have sys/param.h. */
12026 # if !HAVE_SYS_PARAM_H
12027 # define HAVE_SYS_PARAM_H 1
12030 # ifdef _SC_PAGESIZE
12031 # define getpagesize() sysconf(_SC_PAGESIZE)
12032 # else /* no _SC_PAGESIZE */
12033 # if HAVE_SYS_PARAM_H
12034 # include <sys/param.h>
12035 # ifdef EXEC_PAGESIZE
12036 # define getpagesize() EXEC_PAGESIZE
12037 # else /* no EXEC_PAGESIZE */
12039 # define getpagesize() NBPG * CLSIZE
12042 # endif /* no CLSIZE */
12043 # else /* no NBPG */
12045 # define getpagesize() NBPC
12046 # else /* no NBPC */
12048 # define getpagesize() PAGESIZE
12049 # endif /* PAGESIZE */
12050 # endif /* no NBPC */
12051 # endif /* no NBPG */
12052 # endif /* no EXEC_PAGESIZE */
12053 # else /* no HAVE_SYS_PARAM_H */
12054 # define getpagesize() 8192 /* punt totally */
12055 # endif /* no HAVE_SYS_PARAM_H */
12056 # endif /* no _SC_PAGESIZE */
12058 #endif /* no HAVE_GETPAGESIZE */
12063 char *data, *data2, *data3;
12067 pagesize = getpagesize ();
12069 /* First, make a file with some known garbage in it. */
12070 data = (char *) malloc (pagesize);
12073 for (i = 0; i < pagesize; ++i)
12074 *(data + i) = rand ();
12076 fd = creat ("conftest.mmap", 0600);
12079 if (write (fd, data, pagesize) != pagesize)
12083 /* Next, try to mmap the file at a fixed address which already has
12084 something else allocated at it. If we can, also make sure that
12085 we see the same garbage. */
12086 fd = open ("conftest.mmap", O_RDWR);
12089 data2 = (char *) malloc (2 * pagesize);
12092 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
12093 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12094 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12096 for (i = 0; i < pagesize; ++i)
12097 if (*(data + i) != *(data2 + i))
12100 /* Finally, make sure that changes to the mapped area do not
12101 percolate back to the file as seen by read(). (This is a bug on
12102 some variants of i386 svr4.0.) */
12103 for (i = 0; i < pagesize; ++i)
12104 *(data2 + i) = *(data2 + i) + 1;
12105 data3 = (char *) malloc (pagesize);
12108 if (read (fd, data3, pagesize) != pagesize)
12110 for (i = 0; i < pagesize; ++i)
12111 if (*(data + i) != *(data3 + i))
12117 rm -f conftest
$ac_exeext
12118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12119 (eval $ac_link) 2>&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; }; then
12128 ac_cv_func_mmap_fixed_mapped
=yes
12130 echo "$as_me: program exited with status $ac_status" >&5
12131 echo "$as_me: failed program was:" >&5
12132 sed 's/^/| /' conftest.
$ac_ext >&5
12134 ( exit $ac_status )
12135 ac_cv_func_mmap_fixed_mapped
=no
12137 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12140 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12141 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12142 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12144 cat >>confdefs.h
<<\_ACEOF
12145 #define HAVE_MMAP 1
12149 rm -f conftest.mmap
12153 for ac_func
in madvise mprotect
12155 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12156 echo "$as_me:$LINENO: checking for $ac_func" >&5
12157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12158 if eval "test \"\${$as_ac_var+set}\" = set"; then
12159 echo $ECHO_N "(cached) $ECHO_C" >&6
12161 cat >conftest.
$ac_ext <<_ACEOF
12164 cat confdefs.h
>>conftest.
$ac_ext
12165 cat >>conftest.
$ac_ext <<_ACEOF
12166 /* end confdefs.h. */
12167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12169 #define $ac_func innocuous_$ac_func
12171 /* System header to define __stub macros and hopefully few prototypes,
12172 which can conflict with char $ac_func (); below.
12173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12174 <limits.h> exists even on freestanding compilers. */
12177 # include <limits.h>
12179 # include <assert.h>
12184 /* Override any gcc2 internal prototype to avoid an error. */
12189 /* We use char because int might match the return type of a gcc2
12190 builtin and then its argument prototype would still apply. */
12192 /* The GNU C library defines this for functions which it implements
12193 to always fail with ENOSYS. Some functions are actually named
12194 something starting with __ and the normal name is an alias. */
12195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12198 char (*f) () = $ac_func;
12207 return f != $ac_func;
12212 rm -f conftest.
$ac_objext conftest
$ac_exeext
12213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12214 (eval $ac_link) 2>conftest.er1
12216 grep -v '^ *+' conftest.er1
>conftest.err
12218 cat conftest.err
>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); } &&
12221 { ac_try
='test -z "$ac_c_werror_flag"
12222 || test ! -s conftest.err'
12223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 (eval $ac_try) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; } &&
12228 { ac_try
='test -s conftest$ac_exeext'
12229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12230 (eval $ac_try) 2>&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }; }; then
12234 eval "$as_ac_var=yes"
12236 echo "$as_me: failed program was:" >&5
12237 sed 's/^/| /' conftest.
$ac_ext >&5
12239 eval "$as_ac_var=no"
12241 rm -f conftest.err conftest.
$ac_objext \
12242 conftest
$ac_exeext conftest.
$ac_ext
12244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12246 if test `eval echo '${'$as_ac_var'}'` = yes; then
12247 cat >>confdefs.h
<<_ACEOF
12248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12254 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
12256 cat >>confdefs.h
<<\_ACEOF
12262 rm -f doc
/config.status
12263 ac_config_files
="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
12266 ac_config_commands
="$ac_config_commands default"
12273 cat >confcache
<<\_ACEOF
12274 # This file is a shell script that caches the results of configure
12275 # tests run on this system so they can be shared between configure
12276 # scripts and configure runs, see configure's option --config-cache.
12277 # It is not useful on other systems. If it contains results you don't
12278 # want to keep, you may remove or edit it.
12280 # config.status only pays attention to the cache file if you give it
12281 # the --recheck option to rerun configure.
12283 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12284 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12285 # following values.
12289 # The following way of writing the cache mishandles newlines in values,
12290 # but we know of no workaround that is simple, portable, and efficient.
12291 # So, don't put newlines in cache variables' values.
12292 # Ultrix sh set writes to stderr and can't be redirected directly,
12293 # and sets the high bit in the cache file unless we assign to the vars.
12296 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12298 # `set' does not quote correctly, so add quotes (double-quote
12299 # substitution turns \\\\ into \\, and sed turns \\ into \).
12302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12305 # `set' quotes correctly as required by POSIX, so do not add quotes.
12307 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12314 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12316 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12318 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12319 if test -w $cache_file; then
12320 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12321 cat confcache
>$cache_file
12323 echo "not updating unwritable cache $cache_file"
12328 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12329 # Let make expand exec_prefix.
12330 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12332 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12333 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12334 # trailing colons and then remove the whole line if VPATH becomes empty
12335 # (actually we leave an empty line to preserve line numbers).
12336 if test "x$srcdir" = x.
; then
12337 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12338 s/:*\$(srcdir):*/:/;
12339 s/:*\${srcdir}:*/:/;
12341 s/^\([^=]*=[ ]*\):*/\1/;
12347 DEFS
=-DHAVE_CONFIG_H
12351 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12352 # 1. Remove the extension, and $U if already installed.
12353 ac_i
=`echo "$ac_i" |
12354 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12356 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12357 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12359 LIBOBJS
=$ac_libobjs
12361 LTLIBOBJS
=$ac_ltlibobjs
12364 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12365 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12366 Usually this means the macro was only invoked conditionally." >&5
12367 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12368 Usually this means the macro was only invoked conditionally." >&2;}
12369 { (exit 1); exit 1; }; }
12371 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12372 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12373 Usually this means the macro was only invoked conditionally." >&5
12374 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12375 Usually this means the macro was only invoked conditionally." >&2;}
12376 { (exit 1); exit 1; }; }
12378 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12379 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12380 Usually this means the macro was only invoked conditionally." >&5
12381 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12382 Usually this means the macro was only invoked conditionally." >&2;}
12383 { (exit 1); exit 1; }; }
12385 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12386 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
12387 Usually this means the macro was only invoked conditionally." >&5
12388 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
12389 Usually this means the macro was only invoked conditionally." >&2;}
12390 { (exit 1); exit 1; }; }
12393 : ${CONFIG_STATUS=./config.status}
12394 ac_clean_files_save
=$ac_clean_files
12395 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12396 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12397 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12398 cat >$CONFIG_STATUS <<_ACEOF
12400 # Generated by $as_me.
12401 # Run this file to recreate the current configuration.
12402 # Compiler output produced by configure, useful for debugging
12403 # configure, is in config.log if it exists.
12406 ac_cs_recheck=false
12408 SHELL=\${CONFIG_SHELL-$SHELL}
12411 cat >>$CONFIG_STATUS <<\_ACEOF
12412 ## --------------------- ##
12413 ## M4sh Initialization. ##
12414 ## --------------------- ##
12416 # Be Bourne compatible
12417 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12420 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12421 # is contrary to our usage. Disable this feature.
12422 alias -g '${1+"$@"}'='"$@"'
12423 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12426 DUALCASE
=1; export DUALCASE
# for MKS sh
12428 # Support unset when possible.
12429 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12436 # Work around bugs in pre-3.0 UWIN ksh.
12437 $as_unset ENV MAIL MAILPATH
12444 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12445 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12446 LC_TELEPHONE LC_TIME
12448 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12449 eval $as_var=C
; export $as_var
12455 # Required to use basename.
12456 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12462 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12463 as_basename
=basename
12469 # Name of the executable.
12470 as_me
=`$as_basename "$0" ||
12471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12472 X"$0" : 'X\(//\)$' \| \
12473 X"$0" : 'X\(/\)$' \| \
12474 . : '\(.\)' 2>/dev/null ||
12476 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12477 /^X\/\(\/\/\)$/{ s//\1/; q; }
12478 /^X\/\(\/\).*/{ s//\1/; q; }
12482 # PATH needs CR, and LINENO needs CR and PATH.
12483 # Avoid depending upon Character Ranges.
12484 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12485 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12486 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12487 as_cr_digits
='0123456789'
12488 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12490 # The user is always right.
12491 if test "${PATH_SEPARATOR+set}" != set; then
12492 echo "#! /bin/sh" >conf$$.sh
12493 echo "exit 0" >>conf$$.sh
12495 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12504 as_lineno_1
=$LINENO
12505 as_lineno_2
=$LINENO
12506 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12507 test "x$as_lineno_1" != "x$as_lineno_2" &&
12508 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12509 # Find who we are. Look in the path if we contain no path at all
12512 *[\\/]* ) as_myself
=$0 ;;
12513 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12514 for as_dir
in $PATH
12517 test -z "$as_dir" && as_dir
=.
12518 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12523 # We did not find ourselves, most probably we were run as `sh COMMAND'
12524 # in which case we are not to be found in the path.
12525 if test "x$as_myself" = x
; then
12528 if test ! -f "$as_myself"; then
12529 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12530 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12531 { (exit 1); exit 1; }; }
12533 case $CONFIG_SHELL in
12535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12536 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12539 test -z "$as_dir" && as_dir
=.
12540 for as_base
in sh bash ksh sh5
; do
12543 if ("$as_dir/$as_base" -c '
12544 as_lineno_1=$LINENO
12545 as_lineno_2=$LINENO
12546 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12547 test "x$as_lineno_1" != "x$as_lineno_2" &&
12548 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12549 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12550 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12551 CONFIG_SHELL
=$as_dir/$as_base
12552 export CONFIG_SHELL
12553 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12561 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12562 # uniformly replaced by the line number. The first 'sed' inserts a
12563 # line-number line before each line; the second 'sed' does the real
12564 # work. The second script uses 'N' to pair each line-number line
12565 # with the numbered line, and appends trailing '-' during
12566 # substitution so that $LINENO is not a special case at line end.
12567 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12568 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12569 sed '=' <$as_myself |
12574 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12577 s,^['$as_cr_digits']*\n,,
12578 ' >$as_me.lineno
&&
12579 chmod +x
$as_me.lineno ||
12580 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12581 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12582 { (exit 1); exit 1; }; }
12584 # Don't try to exec as it changes $[0], causing all sort of problems
12585 # (the dirname of $[0] is not the place where we might find the
12586 # original and so on. Autoconf is especially sensible to this).
12588 # Exit status is that of the last command.
12593 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12594 *c
*,-n*) ECHO_N
= ECHO_C
='
12596 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12597 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12600 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12606 rm -f conf$$ conf$$.exe conf$$.
file
12608 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12609 # We could just check for DJGPP; but this test a) works b) is more generic
12610 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12611 if test -f conf$$.exe
; then
12612 # Don't use ln at all; we don't have any links
12617 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12622 rm -f conf$$ conf$$.exe conf$$.
file
12624 if mkdir
-p .
2>/dev
/null
; then
12627 test -d .
/-p && rmdir .
/-p
12631 as_executable_p
="test -f"
12633 # Sed expression to map a string onto a valid CPP name.
12634 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12636 # Sed expression to map a string onto a valid variable name.
12637 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12641 # We need space, tab and new line, in precisely that order.
12651 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12652 # report actual input values of CONFIG_FILES etc. instead of their
12653 # values after options handling. Logging --version etc. is OK.
12657 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12658 ## Running $as_me. ##
12663 This file was extended by $as_me, which was
12664 generated by GNU Autoconf 2.59. Invocation command line was
12666 CONFIG_FILES = $CONFIG_FILES
12667 CONFIG_HEADERS = $CONFIG_HEADERS
12668 CONFIG_LINKS = $CONFIG_LINKS
12669 CONFIG_COMMANDS = $CONFIG_COMMANDS
12673 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12677 # Files that config.status was made for.
12678 if test -n "$ac_config_files"; then
12679 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12682 if test -n "$ac_config_headers"; then
12683 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12686 if test -n "$ac_config_links"; then
12687 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12690 if test -n "$ac_config_commands"; then
12691 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12694 cat >>$CONFIG_STATUS <<\_ACEOF
12697 \`$as_me' instantiates files from templates according to the
12698 current configuration.
12700 Usage: $0 [OPTIONS] [FILE]...
12702 -h, --help print this help, then exit
12703 -V, --version print version number, then exit
12704 -q, --quiet do not print progress messages
12705 -d, --debug don't remove temporary files
12706 --recheck update $as_me by reconfiguring in the same conditions
12707 --file=FILE[:TEMPLATE]
12708 instantiate the configuration file FILE
12709 --header=FILE[:TEMPLATE]
12710 instantiate the configuration header FILE
12712 Configuration files:
12715 Configuration headers:
12718 Configuration commands:
12721 Report bugs to <bug-autoconf@gnu.org>."
12724 cat >>$CONFIG_STATUS <<_ACEOF
12727 configured by $0, generated by GNU Autoconf 2.59,
12728 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12730 Copyright (C) 2003 Free Software Foundation, Inc.
12731 This config.status script is free software; the Free Software Foundation
12732 gives unlimited permission to copy, distribute and modify it."
12737 cat >>$CONFIG_STATUS <<\_ACEOF
12738 # If no file are specified by the user, then we need to provide default
12739 # value. By we need to know if files were specified by the user.
12745 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12746 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12754 *) # This is not an option, so the user has probably given explicit
12757 ac_need_defaults
=false
;;
12761 # Handling of the options.
12763 cat >>$CONFIG_STATUS <<\_ACEOF
12764 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12766 --version |
--vers* |
-V )
12767 echo "$ac_cs_version"; exit 0 ;;
12769 # Conflict between --help and --header
12770 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12771 Try \`$0 --help' for more information." >&5
12772 echo "$as_me: error: ambiguous option: $1
12773 Try \`$0 --help' for more information." >&2;}
12774 { (exit 1); exit 1; }; };;
12775 --help |
--hel |
-h )
12776 echo "$ac_cs_usage"; exit 0 ;;
12777 --debug |
--d* |
-d )
12779 --file |
--fil |
--fi |
--f )
12781 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12782 ac_need_defaults
=false
;;
12783 --header |
--heade |
--head |
--hea )
12785 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12786 ac_need_defaults
=false
;;
12787 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12788 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12791 # This is an error.
12792 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12793 Try \`$0 --help' for more information." >&5
12794 echo "$as_me: error: unrecognized option: $1
12795 Try \`$0 --help' for more information." >&2;}
12796 { (exit 1); exit 1; }; } ;;
12798 *) ac_config_targets
="$ac_config_targets $1" ;;
12804 ac_configure_extra_args
=
12806 if $ac_cs_silent; then
12808 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12812 cat >>$CONFIG_STATUS <<_ACEOF
12813 if \$ac_cs_recheck; then
12814 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12815 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12820 cat >>$CONFIG_STATUS <<_ACEOF
12822 # INIT-COMMANDS section.
12825 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12826 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12827 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12829 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12830 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12831 LINGUAS="${LINGUAS-%UNSET%}"
12839 cat >>$CONFIG_STATUS <<\_ACEOF
12840 for ac_config_target
in $ac_config_targets
12842 case "$ac_config_target" in
12843 # Handling of arguments.
12844 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12845 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
12846 "bfd-in3.h" ) CONFIG_FILES
="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
12847 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12848 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12849 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12850 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
12851 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
12852 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12853 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12854 { (exit 1); exit 1; }; };;
12858 # If the user did not use the arguments to specify the items to instantiate,
12859 # then the envvar interface is used. Set only those that are not.
12860 # We use the long form for the default assignment because of an extremely
12861 # bizarre bug on SunOS 4.1.3.
12862 if $ac_need_defaults; then
12863 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12864 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12865 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12868 # Have a temporary directory for convenience. Make it in the build tree
12869 # simply because there is no reason to put it here, and in addition,
12870 # creating and moving files from /tmp can sometimes cause problems.
12871 # Create a temporary directory, and hook for its removal unless debugging.
12874 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12875 trap '{ (exit 1); exit 1; }' 1 2 13 15
12878 # Create a (secure) tmp directory for tmp files.
12881 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12882 test -n "$tmp" && test -d "$tmp"
12885 tmp
=.
/confstat$$
-$RANDOM
12886 (umask 077 && mkdir
$tmp)
12889 echo "$me: cannot create a temporary directory in ." >&2
12890 { (exit 1); exit 1; }
12895 cat >>$CONFIG_STATUS <<_ACEOF
12898 # CONFIG_FILES section.
12901 # No need to generate the scripts if there are no CONFIG_FILES.
12902 # This happens for instance when ./config.status config.h
12903 if test -n "\$CONFIG_FILES"; then
12904 # Protect against being on the right side of a sed subst in config.status.
12905 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12906 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12907 s,@SHELL@,$SHELL,;t t
12908 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12909 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12910 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12911 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12912 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12913 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12914 s,@exec_prefix@,$exec_prefix,;t t
12915 s,@prefix@,$prefix,;t t
12916 s,@program_transform_name@,$program_transform_name,;t t
12917 s,@bindir@,$bindir,;t t
12918 s,@sbindir@,$sbindir,;t t
12919 s,@libexecdir@,$libexecdir,;t t
12920 s,@datadir@,$datadir,;t t
12921 s,@sysconfdir@,$sysconfdir,;t t
12922 s,@sharedstatedir@,$sharedstatedir,;t t
12923 s,@localstatedir@,$localstatedir,;t t
12924 s,@libdir@,$libdir,;t t
12925 s,@includedir@,$includedir,;t t
12926 s,@oldincludedir@,$oldincludedir,;t t
12927 s,@infodir@,$infodir,;t t
12928 s,@mandir@,$mandir,;t t
12929 s,@build_alias@,$build_alias,;t t
12930 s,@host_alias@,$host_alias,;t t
12931 s,@target_alias@,$target_alias,;t t
12932 s,@DEFS@,$DEFS,;t t
12933 s,@ECHO_C@,$ECHO_C,;t t
12934 s,@ECHO_N@,$ECHO_N,;t t
12935 s,@ECHO_T@,$ECHO_T,;t t
12936 s,@LIBS@,$LIBS,;t t
12937 s,@build@,$build,;t t
12938 s,@build_cpu@,$build_cpu,;t t
12939 s,@build_vendor@,$build_vendor,;t t
12940 s,@build_os@,$build_os,;t t
12941 s,@host@,$host,;t t
12942 s,@host_cpu@,$host_cpu,;t t
12943 s,@host_vendor@,$host_vendor,;t t
12944 s,@host_os@,$host_os,;t t
12945 s,@target@,$target,;t t
12946 s,@target_cpu@,$target_cpu,;t t
12947 s,@target_vendor@,$target_vendor,;t t
12948 s,@target_os@,$target_os,;t t
12950 s,@CFLAGS@,$CFLAGS,;t t
12951 s,@LDFLAGS@,$LDFLAGS,;t t
12952 s,@CPPFLAGS@,$CPPFLAGS,;t t
12953 s,@ac_ct_CC@,$ac_ct_CC,;t t
12954 s,@EXEEXT@,$EXEEXT,;t t
12955 s,@OBJEXT@,$OBJEXT,;t t
12956 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12957 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12958 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12959 s,@CYGPATH_W@,$CYGPATH_W,;t t
12960 s,@PACKAGE@,$PACKAGE,;t t
12961 s,@VERSION@,$VERSION,;t t
12962 s,@ACLOCAL@,$ACLOCAL,;t t
12963 s,@AUTOCONF@,$AUTOCONF,;t t
12964 s,@AUTOMAKE@,$AUTOMAKE,;t t
12965 s,@AUTOHEADER@,$AUTOHEADER,;t t
12966 s,@MAKEINFO@,$MAKEINFO,;t t
12967 s,@install_sh@,$install_sh,;t t
12968 s,@STRIP@,$STRIP,;t t
12969 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12970 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12971 s,@mkdir_p@,$mkdir_p,;t t
12973 s,@SET_MAKE@,$SET_MAKE,;t t
12974 s,@am__leading_dot@,$am__leading_dot,;t t
12975 s,@AMTAR@,$AMTAR,;t t
12976 s,@am__tar@,$am__tar,;t t
12977 s,@am__untar@,$am__untar,;t t
12978 s,@DEPDIR@,$DEPDIR,;t t
12979 s,@am__include@,$am__include,;t t
12980 s,@am__quote@,$am__quote,;t t
12981 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12982 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12983 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12984 s,@CCDEPMODE@,$CCDEPMODE,;t t
12985 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12986 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12988 s,@ac_ct_AR@,$ac_ct_AR,;t t
12989 s,@RANLIB@,$RANLIB,;t t
12990 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12991 s,@LN_S@,$LN_S,;t t
12992 s,@LIBTOOL@,$LIBTOOL,;t t
12993 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
12994 s,@NO_WERROR@,$NO_WERROR,;t t
12995 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12996 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12997 s,@MAINT@,$MAINT,;t t
12998 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
12999 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
13000 s,@host_noncanonical@,$host_noncanonical,;t t
13001 s,@target_noncanonical@,$target_noncanonical,;t t
13002 s,@bfdlibdir@,$bfdlibdir,;t t
13003 s,@bfdincludedir@,$bfdincludedir,;t t
13004 s,@USE_NLS@,$USE_NLS,;t t
13005 s,@LIBINTL@,$LIBINTL,;t t
13006 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
13007 s,@INCINTL@,$INCINTL,;t t
13008 s,@XGETTEXT@,$XGETTEXT,;t t
13009 s,@GMSGFMT@,$GMSGFMT,;t t
13010 s,@POSUB@,$POSUB,;t t
13011 s,@CATALOGS@,$CATALOGS,;t t
13012 s,@DATADIRNAME@,$DATADIRNAME,;t t
13013 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13014 s,@GENCAT@,$GENCAT,;t t
13015 s,@CATOBJEXT@,$CATOBJEXT,;t t
13016 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13017 s,@MSGFMT@,$MSGFMT,;t t
13018 s,@MSGMERGE@,$MSGMERGE,;t t
13019 s,@HDEFINES@,$HDEFINES,;t t
13021 s,@EGREP@,$EGREP,;t t
13022 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
13023 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
13024 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
13025 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
13026 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
13027 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13028 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
13029 s,@COREFILE@,$COREFILE,;t t
13030 s,@COREFLAG@,$COREFLAG,;t t
13031 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
13032 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
13033 s,@TDEFINES@,$TDEFINES,;t t
13034 s,@wordsize@,$wordsize,;t t
13035 s,@bfd_libs@,$bfd_libs,;t t
13036 s,@all_backends@,$all_backends,;t t
13037 s,@bfd_backends@,$bfd_backends,;t t
13038 s,@bfd_machines@,$bfd_machines,;t t
13039 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
13040 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
13041 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
13042 s,@tdefaults@,$tdefaults,;t t
13043 s,@datarootdir@,$datarootdir,;t t
13044 s,@docdir@,$docdir,;t t
13045 s,@htmldir@,$htmldir,;t t
13046 s,@LIBOBJS@,$LIBOBJS,;t t
13047 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13052 cat >>$CONFIG_STATUS <<\_ACEOF
13053 # Split the substitutions into bite-sized pieces for seds with
13054 # small command number limits, like on Digital OSF/1 and HP-UX.
13055 ac_max_sed_lines
=48
13056 ac_sed_frag
=1 # Number of current file.
13057 ac_beg
=1 # First line for current file.
13058 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13061 while $ac_more_lines; do
13062 if test $ac_beg -gt 1; then
13063 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13065 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13067 if test ! -s $tmp/subs.frag
; then
13068 ac_more_lines
=false
13070 # The purpose of the label and of the branching condition is to
13071 # speed up the sed processing (if there are no `@' at all, there
13072 # is no need to browse any of the substitutions).
13073 # These are the two extra sed commands mentioned above.
13075 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13076 if test -z "$ac_sed_cmds"; then
13077 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13079 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13081 ac_sed_frag
=`expr $ac_sed_frag + 1`
13083 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13086 if test -z "$ac_sed_cmds"; then
13089 fi # test -n "$CONFIG_FILES"
13092 cat >>$CONFIG_STATUS <<\_ACEOF
13093 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13094 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13096 - |
*:- |
*:-:* ) # input from stdin
13098 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13099 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13100 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13101 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13102 * ) ac_file_in
=$ac_file.
in ;;
13105 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13106 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13107 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13108 X"$ac_file" : 'X\(//\)[^/]' \| \
13109 X"$ac_file" : 'X\(//\)$' \| \
13110 X"$ac_file" : 'X\(/\)' \| \
13111 . : '\(.\)' 2>/dev/null ||
13113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13115 /^X\(\/\/\)$/{ s//\1/; q; }
13116 /^X\(\/\).*/{ s//\1/; q; }
13118 { if $as_mkdir_p; then
13123 while test ! -d "$as_dir"; do
13124 as_dirs
="$as_dir $as_dirs"
13125 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13126 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13127 X"$as_dir" : 'X\(//\)[^/]' \| \
13128 X"$as_dir" : 'X\(//\)$' \| \
13129 X"$as_dir" : 'X\(/\)' \| \
13130 . : '\(.\)' 2>/dev/null ||
13132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13134 /^X\(\/\/\)$/{ s//\1/; q; }
13135 /^X\(\/\).*/{ s//\1/; q; }
13138 test ! -n "$as_dirs" || mkdir
$as_dirs
13139 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13140 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13141 { (exit 1); exit 1; }; }; }
13145 if test "$ac_dir" != .
; then
13146 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13147 # A "../" for each directory in $ac_dir_suffix.
13148 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13150 ac_dir_suffix
= ac_top_builddir
=
13154 .
) # No --srcdir option. We are building in place.
13156 if test -z "$ac_top_builddir"; then
13159 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13161 [\\/]* | ?
:[\\/]* ) # Absolute path.
13162 ac_srcdir
=$srcdir$ac_dir_suffix;
13163 ac_top_srcdir
=$srcdir ;;
13164 *) # Relative path.
13165 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13166 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13169 # Do not use `cd foo && pwd` to compute absolute paths, because
13170 # the directories may not exist.
13172 .
) ac_abs_builddir
="$ac_dir";;
13175 .
) ac_abs_builddir
=`pwd`;;
13176 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13177 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13180 case $ac_abs_builddir in
13181 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13183 case ${ac_top_builddir}.
in
13184 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13185 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13186 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13189 case $ac_abs_builddir in
13190 .
) ac_abs_srcdir
=$ac_srcdir;;
13193 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13194 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13195 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13198 case $ac_abs_builddir in
13199 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13201 case $ac_top_srcdir in
13202 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13203 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13204 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13210 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13211 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13214 if test x
"$ac_file" != x-
; then
13215 { echo "$as_me:$LINENO: creating $ac_file" >&5
13216 echo "$as_me: creating $ac_file" >&6;}
13219 # Let's still pretend it is `configure' which instantiates (i.e., don't
13220 # use $as_me), people would be surprised to read:
13221 # /* config.h. Generated by config.status. */
13222 if test x
"$ac_file" = x-
; then
13225 configure_input
="$ac_file. "
13227 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13228 sed 's,.*/,,'` by configure."
13230 # First look for the input files in the build tree, otherwise in the
13232 ac_file_inputs
=`IFS=:
13233 for f in $ac_file_in; do
13235 -) echo $tmp/stdin ;;
13237 # Absolute (can't be DOS-style, as IFS=:)
13238 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13239 echo "$as_me: error: cannot find input file: $f" >&2;}
13240 { (exit 1); exit 1; }; }
13243 if test -f "$f"; then
13246 elif test -f "$srcdir/$f"; then
13251 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13252 echo "$as_me: error: cannot find input file: $f" >&2;}
13253 { (exit 1); exit 1; }; }
13256 done` ||
{ (exit 1); exit 1; }
13258 cat >>$CONFIG_STATUS <<_ACEOF
13262 cat >>$CONFIG_STATUS <<\_ACEOF
13264 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13265 s
,@configure_input@
,$configure_input,;t t
13266 s
,@srcdir@
,$ac_srcdir,;t t
13267 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13268 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13269 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13270 s
,@builddir@
,$ac_builddir,;t t
13271 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13272 s
,@top_builddir@
,$ac_top_builddir,;t t
13273 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13274 s
,@INSTALL@
,$ac_INSTALL,;t t
13275 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13277 if test x"$ac_file" != x-; then
13278 mv $tmp/out $ac_file
13286 cat >>$CONFIG_STATUS <<\_ACEOF
13289 # CONFIG_HEADER section.
13292 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13293 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13295 # ac_d sets the value in "#define NAME VALUE" lines.
13296 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13297 ac_dB
='[ ].*$,\1#\2'
13300 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13301 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13302 ac_uB
='$,\1#\2define\3'
13306 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13307 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13309 - |
*:- |
*:-:* ) # input from stdin
13311 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13312 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13313 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13314 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13315 * ) ac_file_in
=$ac_file.
in ;;
13318 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13319 echo "$as_me: creating $ac_file" >&6;}
13321 # First look for the input files in the build tree, otherwise in the
13323 ac_file_inputs
=`IFS=:
13324 for f in $ac_file_in; do
13326 -) echo $tmp/stdin ;;
13328 # Absolute (can't be DOS-style, as IFS=:)
13329 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13330 echo "$as_me: error: cannot find input file: $f" >&2;}
13331 { (exit 1); exit 1; }; }
13332 # Do quote $f, to prevent DOS paths from being IFS'd.
13335 if test -f "$f"; then
13338 elif test -f "$srcdir/$f"; then
13343 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13344 echo "$as_me: error: cannot find input file: $f" >&2;}
13345 { (exit 1); exit 1; }; }
13348 done` ||
{ (exit 1); exit 1; }
13349 # Remove the trailing spaces.
13350 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13354 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13355 # `conftest.undefs', that substitutes the proper values into
13356 # config.h.in to produce config.h. The first handles `#define'
13357 # templates, and the second `#undef' templates.
13358 # And first: Protect against being on the right side of a sed subst in
13359 # config.status. Protect against being in an unquoted here document
13360 # in config.status.
13361 rm -f conftest.defines conftest.undefs
13362 # Using a here document instead of a string reduces the quoting nightmare.
13363 # Putting comments in sed scripts is not portable.
13365 # `end' is used to avoid that the second main sed command (meant for
13366 # 0-ary CPP macros) applies to n-ary macro definitions.
13367 # See the Autoconf documentation for `clear'.
13368 cat >confdef2sed.
sed <<\_ACEOF
13373 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13375 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13378 # If some macros were called several times there might be several times
13379 # the same #defines, which is useless. Nevertheless, we may not want to
13380 # sort them, since we want the *last* AC-DEFINE to be honored.
13381 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13382 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13383 rm -f confdef2sed.sed
13385 # This sed command replaces #undef with comments. This is necessary, for
13386 # example, in the case of _POSIX_SOURCE, which is predefined and required
13387 # on some systems where configure will not decide to define it.
13388 cat >>conftest.undefs <<\_ACEOF
13389 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13392 # Break up conftest.defines because some shells have a limit on the size
13393 # of here documents, and old seds have small limits too (100 cmds).
13394 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13395 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13396 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13397 echo ' :' >>$CONFIG_STATUS
13398 rm -f conftest.tail
13399 while grep . conftest.defines >/dev/null
13401 # Write a limited-size here document to $tmp/defines.sed.
13402 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13403 # Speed up: don't consider the non `#define' lines.
13404 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13405 # Work around the forget-to-reset-the-flag bug.
13406 echo 't clr' >>$CONFIG_STATUS
13407 echo ': clr' >>$CONFIG_STATUS
13408 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13410 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13412 mv $tmp/out $tmp/in
13414 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13415 rm -f conftest.defines
13416 mv conftest.
tail conftest.defines
13418 rm -f conftest.defines
13419 echo ' fi # grep' >>$CONFIG_STATUS
13420 echo >>$CONFIG_STATUS
13422 # Break up conftest.undefs because some shells have a limit on the size
13423 # of here documents, and old seds have small limits too (100 cmds).
13424 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13425 rm -f conftest.
tail
13426 while grep . conftest.undefs
>/dev
/null
13428 # Write a limited-size here document to $tmp/undefs.sed.
13429 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13430 # Speed up: don't consider the non
`#undef'
13431 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13432 # Work around the forget-to-reset-the-flag bug.
13433 echo 't clr' >>$CONFIG_STATUS
13434 echo ': clr' >>$CONFIG_STATUS
13435 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13437 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13439 mv $tmp/out $tmp/in
13441 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13442 rm -f conftest.undefs
13443 mv conftest.tail conftest.undefs
13445 rm -f conftest.undefs
13447 cat >>$CONFIG_STATUS <<\_ACEOF
13448 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13449 # use $as_me), people would be surprised to read:
13450 # /* config.h. Generated by config.status. */
13451 if test x
"$ac_file" = x-
; then
13452 echo "/* Generated by configure. */" >$tmp/config.h
13454 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13456 cat $tmp/in >>$tmp/config.h
13458 if test x
"$ac_file" != x-
; then
13459 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13460 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13461 echo "$as_me: $ac_file is unchanged" >&6;}
13463 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13464 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13465 X"$ac_file" : 'X\(//\)[^/]' \| \
13466 X"$ac_file" : 'X\(//\)$' \| \
13467 X"$ac_file" : 'X\(/\)' \| \
13468 . : '\(.\)' 2>/dev/null ||
13470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13472 /^X\(\/\/\)$/{ s//\1/; q; }
13473 /^X\(\/\).*/{ s//\1/; q; }
13475 { if $as_mkdir_p; then
13480 while test ! -d "$as_dir"; do
13481 as_dirs
="$as_dir $as_dirs"
13482 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13484 X"$as_dir" : 'X\(//\)[^/]' \| \
13485 X"$as_dir" : 'X\(//\)$' \| \
13486 X"$as_dir" : 'X\(/\)' \| \
13487 . : '\(.\)' 2>/dev/null ||
13489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13490 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13491 /^X\(\/\/\)$/{ s//\1/; q; }
13492 /^X\(\/\).*/{ s//\1/; q; }
13495 test ! -n "$as_dirs" || mkdir
$as_dirs
13496 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13497 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13498 { (exit 1); exit 1; }; }; }
13501 mv $tmp/config.h
$ac_file
13505 rm -f $tmp/config.h
13507 # Compute $ac_file's index in $config_headers.
13509 for _am_header
in $config_headers :; do
13510 case $_am_header in
13511 $ac_file |
$ac_file:* )
13514 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13517 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13518 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13519 X$ac_file : 'X\(//\)[^/]' \| \
13520 X$ac_file : 'X\(//\)$' \| \
13521 X$ac_file : 'X\(/\)' \| \
13522 . : '\(.\)' 2>/dev/null ||
13524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13525 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13526 /^X\(\/\/\)$/{ s//\1/; q; }
13527 /^X\(\/\).*/{ s//\1/; q; }
13528 s/.*/./; q'`/stamp-h
$_am_stamp_count
13531 cat >>$CONFIG_STATUS <<\_ACEOF
13534 # CONFIG_COMMANDS section.
13536 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13537 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13538 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13539 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13540 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13541 X"$ac_dest" : 'X\(//\)[^/]' \| \
13542 X"$ac_dest" : 'X\(//\)$' \| \
13543 X"$ac_dest" : 'X\(/\)' \| \
13544 . : '\(.\)' 2>/dev/null ||
13546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13547 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13548 /^X\(\/\/\)$/{ s//\1/; q; }
13549 /^X\(\/\).*/{ s//\1/; q; }
13551 { if $as_mkdir_p; then
13556 while test ! -d "$as_dir"; do
13557 as_dirs
="$as_dir $as_dirs"
13558 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13559 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13560 X"$as_dir" : 'X\(//\)[^/]' \| \
13561 X"$as_dir" : 'X\(//\)$' \| \
13562 X"$as_dir" : 'X\(/\)' \| \
13563 . : '\(.\)' 2>/dev/null ||
13565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13566 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13567 /^X\(\/\/\)$/{ s//\1/; q; }
13568 /^X\(\/\).*/{ s//\1/; q; }
13571 test ! -n "$as_dirs" || mkdir
$as_dirs
13572 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13573 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13574 { (exit 1); exit 1; }; }; }
13578 if test "$ac_dir" != .
; then
13579 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13580 # A "../" for each directory in $ac_dir_suffix.
13581 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13583 ac_dir_suffix
= ac_top_builddir
=
13587 .
) # No --srcdir option. We are building in place.
13589 if test -z "$ac_top_builddir"; then
13592 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13594 [\\/]* | ?
:[\\/]* ) # Absolute path.
13595 ac_srcdir
=$srcdir$ac_dir_suffix;
13596 ac_top_srcdir
=$srcdir ;;
13597 *) # Relative path.
13598 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13599 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13602 # Do not use `cd foo && pwd` to compute absolute paths, because
13603 # the directories may not exist.
13605 .
) ac_abs_builddir
="$ac_dir";;
13608 .
) ac_abs_builddir
=`pwd`;;
13609 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13610 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13613 case $ac_abs_builddir in
13614 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13616 case ${ac_top_builddir}.
in
13617 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13618 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13619 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13622 case $ac_abs_builddir in
13623 .
) ac_abs_srcdir
=$ac_srcdir;;
13626 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13627 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13628 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13631 case $ac_abs_builddir in
13632 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13634 case $ac_top_srcdir in
13635 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13636 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13637 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13642 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13643 echo "$as_me: executing $ac_dest commands" >&6;}
13645 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
13646 # Strip MF so we end up with the name of the file.
13647 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13648 # Check whether this is an Automake generated Makefile or not.
13649 # We used to match only the files named `Makefile.in', but
13650 # some people rename them; so instead we look at the file content.
13651 # Grep'ing the first line is not enough: some people post-process
13652 # each Makefile.in and add a new line on top of each file to say so.
13653 # So let's grep whole file.
13654 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
13655 dirpart
=`(dirname "$mf") 2>/dev/null ||
13656 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13657 X"$mf" : 'X\(//\)[^/]' \| \
13658 X"$mf" : 'X\(//\)$' \| \
13659 X"$mf" : 'X\(/\)' \| \
13660 . : '\(.\)' 2>/dev/null ||
13662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13664 /^X\(\/\/\)$/{ s//\1/; q; }
13665 /^X\(\/\).*/{ s//\1/; q; }
13670 # Extract the definition of DEPDIR, am__include, and am__quote
13671 # from the Makefile without running `make'.
13672 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13673 test -z "$DEPDIR" && continue
13674 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13675 test -z "am__include" && continue
13676 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13677 # When using ansi2knr, U may be empty or an underscore; expand it
13678 U
=`sed -n 's/^U = //p' < "$mf"`
13679 # Find all dependency output files, they are included files with
13680 # $(DEPDIR) in their names. We invoke sed twice because it is the
13681 # simplest approach to changing $(DEPDIR) to its actual value in the
13683 for file in `sed -n "
13684 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13685 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13686 # Make sure the directory exists.
13687 test -f "$dirpart/$file" && continue
13688 fdir
=`(dirname "$file") 2>/dev/null ||
13689 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13690 X"$file" : 'X\(//\)[^/]' \| \
13691 X"$file" : 'X\(//\)$' \| \
13692 X"$file" : 'X\(/\)' \| \
13693 . : '\(.\)' 2>/dev/null ||
13695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13696 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13697 /^X\(\/\/\)$/{ s//\1/; q; }
13698 /^X\(\/\).*/{ s//\1/; q; }
13700 { if $as_mkdir_p; then
13701 mkdir
-p $dirpart/$fdir
13703 as_dir
=$dirpart/$fdir
13705 while test ! -d "$as_dir"; do
13706 as_dirs
="$as_dir $as_dirs"
13707 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13709 X"$as_dir" : 'X\(//\)[^/]' \| \
13710 X"$as_dir" : 'X\(//\)$' \| \
13711 X"$as_dir" : 'X\(/\)' \| \
13712 . : '\(.\)' 2>/dev/null ||
13714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13715 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13716 /^X\(\/\/\)$/{ s//\1/; q; }
13717 /^X\(\/\).*/{ s//\1/; q; }
13720 test ! -n "$as_dirs" || mkdir
$as_dirs
13721 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13722 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13723 { (exit 1); exit 1; }; }; }
13725 # echo "creating $dirpart/$file"
13726 echo '# dummy' > "$dirpart/$file"
13731 for ac_file
in $CONFIG_FILES; do
13732 # Support "outfile[:infile[:infile...]]"
13734 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13736 # PO directories have a Makefile.in generated from Makefile.in.in.
13737 case "$ac_file" in */Makefile.
in)
13738 # Adjust a relative srcdir.
13739 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13740 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
13741 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13742 # In autoconf-2.13 it is called $ac_given_srcdir.
13743 # In autoconf-2.50 it is called $srcdir.
13744 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
13745 case "$ac_given_srcdir" in
13746 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
13747 /*) top_srcdir
="$ac_given_srcdir" ;;
13748 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13750 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13751 rm -f "$ac_dir/POTFILES"
13752 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
13753 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13754 POMAKEFILEDEPS
="POTFILES.in"
13755 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13756 # on $ac_dir but don't depend on user-specified configuration
13758 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13759 # The LINGUAS file contains the set of available languages.
13760 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13761 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
13763 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13764 # Hide the ALL_LINGUAS assigment from automake.
13765 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13766 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
13768 # The set of available languages was given in configure.in.
13769 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13771 case "$ac_given_srcdir" in
13773 *) srcdirpre
='$(srcdir)/' ;;
13779 for lang
in $ALL_LINGUAS; do
13780 POFILES
="$POFILES $srcdirpre$lang.po"
13781 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13782 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
13783 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
13785 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13786 # environment variable.
13788 if test -n "$ALL_LINGUAS"; then
13789 for presentlang
in $ALL_LINGUAS; do
13791 if test "%UNSET%" != "$LINGUAS"; then
13792 desiredlanguages
="$LINGUAS"
13794 desiredlanguages
="$ALL_LINGUAS"
13796 for desiredlang
in $desiredlanguages; do
13797 # Use the presentlang catalog if desiredlang is
13798 # a. equal to presentlang, or
13799 # b. a variant of presentlang (because in this case,
13800 # presentlang can be used as a fallback for messages
13801 # which are not translated in the desiredlang catalog).
13802 case "$desiredlang" in
13803 "$presentlang"*) useit
=yes;;
13806 if test $useit = yes; then
13807 INST_LINGUAS
="$INST_LINGUAS $presentlang"
13812 if test -n "$INST_LINGUAS"; then
13813 for lang
in $INST_LINGUAS; do
13814 CATALOGS
="$CATALOGS $lang.gmo"
13817 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
13818 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"
13819 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
13820 if test -f "$f"; then
13822 *.orig |
*.bak |
*~
) ;;
13823 *) cat "$f" >> "$ac_dir/Makefile" ;;
13834 *) srcdirpre
='$(srcdir)/' ;;
13838 for lang
in dummy
$OBSOLETE_ALL_LINGUAS; do
13839 if test $lang != dummy
; then
13840 POFILES
="$POFILES $srcdirpre$lang.po"
13841 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13844 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
13845 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
13846 -e "s,@POFILES@,$POFILES," \
13847 -e "s,@GMOFILES@,$GMOFILES," \
13848 po
/Makefile.
in > po
/Makefile
;;
13853 cat >>$CONFIG_STATUS <<\_ACEOF
13855 { (exit 0); exit 0; }
13857 chmod +x
$CONFIG_STATUS
13858 ac_clean_files
=$ac_clean_files_save
13861 # configure is writing to config.log, and then calls config.status.
13862 # config.status does its own redirection, appending to config.log.
13863 # Unfortunately, on DOS this fails, as config.log is still kept open
13864 # by configure, so config.status won't be able to write to it; its
13865 # output is simply discarded. So we exec the FD to /dev/null,
13866 # effectively closing config.log, so it can be properly (re)opened and
13867 # appended to by config.status. When coming back to configure, we
13868 # need to make the FD available again.
13869 if test "$no_create" != yes; then
13871 ac_config_status_args
=
13872 test "$silent" = yes &&
13873 ac_config_status_args
="$ac_config_status_args --quiet"
13875 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13877 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13878 # would make configure fail if this is the last instruction.
13879 $ac_cs_success ||
{ (exit 1); exit 1; }