2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="libbfd.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES CPP EGREP BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
840 --build=BUILD configure for building on BUILD [guessed]
841 --host=HOST cross-compile to build programs to run on HOST [BUILD]
842 --target=TARGET configure for building compilers for TARGET [HOST]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
852 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default=no
856 --enable-static=PKGS build static libraries default=yes
857 --enable-fast-install=PKGS optimize for fast installation default=yes
858 --disable-libtool-lock avoid locking (might break parallel builds)
859 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
860 --enable-targets alternative target configurations
861 --enable-commonbfdlib build shared BFD/opcodes/libiberty library
862 --enable-secureplt Default to creating read-only plt entries
863 --enable-werror treat compile warnings as errors
864 --enable-build-warnings enable build-time compiler warnings
865 --enable-maintainer-mode enable make rules and dependencies not useful
866 (and sometimes confusing) to the casual installer
867 --enable-install-libbfd controls installation of libbfd and related headers
868 --disable-nls do not use Native Language Support
871 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
872 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
873 --with-gnu-ld assume the C compiler uses GNU ld default=no
874 --with-pic try to use only PIC/non-PIC objects default=use both
875 --with-mmap try using mmap for BFD input files if available
876 --with-pkgversion=PKG Add PKG to the version string
877 --with-bugurl=URL Direct users to URL to report a bug
879 Some influential environment variables:
880 CC C compiler command
881 CFLAGS C compiler flags
882 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
883 nonstandard directory <lib dir>
884 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
885 headers in a nonstandard directory <include dir>
888 Use these variables to override the choices made by `configure' or to help
889 it to find libraries and programs with nonstandard names/locations.
894 if test "$ac_init_help" = "recursive"; then
895 # If there are subdirs, report their specific --help.
897 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
898 test -d $ac_dir || continue
901 if test "$ac_dir" != .; then
902 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
903 # A "../" for each directory in $ac_dir_suffix.
904 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
906 ac_dir_suffix= ac_top_builddir=
910 .) # No --srcdir option. We are building in place.
912 if test -z "$ac_top_builddir"; then
915 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
917 [\\/]* | ?:[\\/]* ) # Absolute path.
918 ac_srcdir=$srcdir$ac_dir_suffix;
919 ac_top_srcdir=$srcdir ;;
921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
922 ac_top_srcdir=$ac_top_builddir$srcdir ;;
925 # Do not use `cd foo && pwd` to compute absolute paths, because
926 # the directories may not exist.
928 .) ac_abs_builddir="$ac_dir";;
931 .) ac_abs_builddir=`pwd`;;
932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
933 *) ac_abs_builddir=`pwd`/"$ac_dir";;
936 case $ac_abs_builddir in
937 .) ac_abs_top_builddir=${ac_top_builddir}.;;
939 case ${ac_top_builddir}. in
940 .) ac_abs_top_builddir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
945 case $ac_abs_builddir in
946 .) ac_abs_srcdir=$ac_srcdir;;
949 .) ac_abs_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
954 case $ac_abs_builddir in
955 .) ac_abs_top_srcdir=$ac_top_srcdir;;
957 case $ac_top_srcdir in
958 .) ac_abs_top_srcdir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
965 # Check for guested configure; otherwise get Cygnus style configure.
966 if test -f $ac_srcdir/configure.gnu; then
968 $SHELL $ac_srcdir/configure.gnu --help=recursive
969 elif test -f $ac_srcdir/configure; then
971 $SHELL $ac_srcdir/configure --help=recursive
972 elif test -f $ac_srcdir/configure.ac ||
973 test -f $ac_srcdir/configure.in; then
977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
983 test -n "$ac_init_help" && exit 0
984 if $ac_init_version; then
987 Copyright (C) 2003 Free Software Foundation, Inc.
988 This configure script is free software; the Free Software Foundation
989 gives unlimited permission to copy, distribute and modify it.
995 This file contains any messages produced by compilers while
996 running configure, to aid debugging if configure makes a mistake.
998 It was created by $as_me, which was
999 generated by GNU Autoconf 2.59. Invocation command line was
1010 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1011 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1012 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1013 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1014 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1016 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1017 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1019 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1020 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1021 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1022 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1023 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1024 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1025 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1033 test -z "$as_dir" && as_dir=.
1034 echo "PATH: $as_dir"
1049 # Keep a trace of the command line.
1050 # Strip out --no-create and --no-recursion so they do not pile up.
1051 # Strip out --silent because we don't want to record it for future runs.
1052 # Also quote any args containing shell meta-characters.
1053 # Make two passes to allow for proper duplicate-argument suppression.
1058 ac_must_keep_next=false
1064 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1068 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1069 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1072 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1074 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1075 if test $ac_must_keep_next = true; then
1076 ac_must_keep_next=false # Got value, back to normal.
1079 *=* | --config-cache | -C | -disable-* | --disable-* \
1080 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1081 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1082 | -with-* | --with-* | -without-* | --without-* | --x)
1083 case "$ac_configure_args0 " in
1084 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1087 -* ) ac_must_keep_next=true ;;
1090 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1091 # Get rid of the leading space.
1097 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1098 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1100 # When interrupted or exit'd, cleanup temporary files, and complete
1101 # config.log. We remove comments because anyway the quotes in there
1102 # would cause problems or look ugly.
1103 # WARNING: Be sure not to use single quotes in there, as some shells,
1104 # such as our DU 5.0 friend, will then `close' the trap.
1105 trap 'exit_status=$?
1106 # Save into config.log some information that might help in debugging.
1111 ## ---------------- ##
1112 ## Cache variables. ##
1113 ## ---------------- ##
1116 # The following way of writing the cache mishandles newlines in values,
1119 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1122 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1127 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1134 ## ----------------- ##
1135 ## Output variables. ##
1136 ## ----------------- ##
1139 for ac_var in $ac_subst_vars
1141 eval ac_val=$`echo $ac_var`
1142 echo "$ac_var='"'"'$ac_val'"'"'"
1146 if test -n "$ac_subst_files"; then
1153 for ac_var in $ac_subst_files
1155 eval ac_val=$`echo $ac_var`
1156 echo "$ac_var='"'"'$ac_val'"'"'"
1161 if test -s confdefs.h; then
1168 sed "/^$/d" confdefs.h | sort
1171 test "$ac_signal" != 0 &&
1172 echo "$as_me: caught signal $ac_signal"
1173 echo "$as_me: exit $exit_status"
1175 rm -f core *.core &&
1176 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1179 for ac_signal in 1 2 13 15; do
1180 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1184 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1185 rm -rf conftest* confdefs.h
1186 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1189 # Predefined preprocessor variables.
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_NAME "$PACKAGE_NAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_STRING "$PACKAGE_STRING"
1211 cat >>confdefs.h <<_ACEOF
1212 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1216 # Let the site file select an alternate cache file if it wants to.
1217 # Prefer explicitly selected file to automatically selected ones.
1218 if test -z "$CONFIG_SITE"; then
1219 if test "x$prefix" != xNONE; then
1220 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1222 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1225 for ac_site_file in $CONFIG_SITE; do
1226 if test -r "$ac_site_file"; then
1227 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1228 echo "$as_me: loading site script $ac_site_file" >&6;}
1229 sed 's/^/| /' "$ac_site_file" >&5
1234 if test -r "$cache_file"; then
1235 # Some versions of bash will fail to source /dev/null (special
1236 # files actually), so we avoid doing that.
1237 if test -f "$cache_file"; then
1238 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1239 echo "$as_me: loading cache $cache_file" >&6;}
1241 [\\/]* | ?:[\\/]* ) . $cache_file;;
1242 *) . ./$cache_file;;
1246 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1247 echo "$as_me: creating cache $cache_file" >&6;}
1251 # Check that the precious variables saved in the cache have kept the same
1253 ac_cache_corrupted=false
1254 for ac_var in `(set) 2>&1 |
1255 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1256 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1257 eval ac_new_set=\$ac_env_${ac_var}_set
1258 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1259 eval ac_new_val="\$ac_env_${ac_var}_value"
1260 case $ac_old_set,$ac_new_set in
1262 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1266 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1267 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1268 ac_cache_corrupted=: ;;
1271 if test "x$ac_old_val" != "x$ac_new_val"; then
1272 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1273 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1274 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1275 echo "$as_me: former value: $ac_old_val" >&2;}
1276 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1277 echo "$as_me: current value: $ac_new_val" >&2;}
1278 ac_cache_corrupted=:
1281 # Pass precious variables to config.status.
1282 if test "$ac_new_set" = set; then
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 *) ac_arg=$ac_var=$ac_new_val ;;
1288 case " $ac_configure_args " in
1289 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1290 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1294 if $ac_cache_corrupted; then
1295 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1296 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1297 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1298 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1299 { (exit 1); exit 1; }; }
1303 ac_cpp='$CPP $CPPFLAGS'
1304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1330 if test -f $ac_dir/install-sh; then
1332 ac_install_sh="$ac_aux_dir/install-sh -c"
1334 elif test -f $ac_dir/install.sh; then
1336 ac_install_sh="$ac_aux_dir/install.sh -c"
1338 elif test -f $ac_dir/shtool; then
1340 ac_install_sh="$ac_aux_dir/shtool install -c"
1344 if test -z "$ac_aux_dir"; then
1345 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1346 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1347 { (exit 1); exit 1; }; }
1349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1351 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1353 # Make sure we can run config.sub.
1354 $ac_config_sub sun4 >/dev/null 2>&1 ||
1355 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1356 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1357 { (exit 1); exit 1; }; }
1359 echo "$as_me:$LINENO: checking build system type" >&5
1360 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1361 if test "${ac_cv_build+set}" = set; then
1362 echo $ECHO_N "(cached) $ECHO_C" >&6
1364 ac_cv_build_alias=$build_alias
1365 test -z "$ac_cv_build_alias" &&
1366 ac_cv_build_alias=`$ac_config_guess`
1367 test -z "$ac_cv_build_alias" &&
1368 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1369 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1370 { (exit 1); exit 1; }; }
1371 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1372 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1373 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1374 { (exit 1); exit 1; }; }
1377 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1378 echo "${ECHO_T}$ac_cv_build" >&6
1380 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1381 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1382 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1385 echo "$as_me:$LINENO: checking host system type" >&5
1386 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1387 if test "${ac_cv_host+set}" = set; then
1388 echo $ECHO_N "(cached) $ECHO_C" >&6
1390 ac_cv_host_alias=$host_alias
1391 test -z "$ac_cv_host_alias" &&
1392 ac_cv_host_alias=$ac_cv_build_alias
1393 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1394 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1395 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1396 { (exit 1); exit 1; }; }
1399 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1400 echo "${ECHO_T}$ac_cv_host" >&6
1402 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1403 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1404 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1407 echo "$as_me:$LINENO: checking target system type" >&5
1408 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1409 if test "${ac_cv_target+set}" = set; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 ac_cv_target_alias=$target_alias
1413 test "x$ac_cv_target_alias" = "x" &&
1414 ac_cv_target_alias=$ac_cv_host_alias
1415 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1416 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1417 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1418 { (exit 1); exit 1; }; }
1421 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1422 echo "${ECHO_T}$ac_cv_target" >&6
1423 target=$ac_cv_target
1424 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1425 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1426 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1429 # The aliases save the names the user supplied, while $host etc.
1430 # will get canonicalized.
1431 test -n "$target_alias" &&
1432 test "$program_prefix$program_suffix$program_transform_name" = \
1434 program_prefix=${target_alias}-
1436 ac_cpp='$CPP $CPPFLAGS'
1437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1440 if test -n "$ac_tool_prefix"; then
1441 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1442 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1443 echo "$as_me:$LINENO: checking for $ac_word" >&5
1444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1445 if test "${ac_cv_prog_CC+set}" = set; then
1446 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 if test -n "$CC"; then
1449 ac_cv_prog_CC="$CC" # Let the user override the test.
1451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1455 test -z "$as_dir" && as_dir=.
1456 for ac_exec_ext in '' $ac_executable_extensions; do
1457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1458 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1468 if test -n "$CC"; then
1469 echo "$as_me:$LINENO: result: $CC" >&5
1470 echo "${ECHO_T}$CC" >&6
1472 echo "$as_me:$LINENO: result: no" >&5
1473 echo "${ECHO_T}no" >&6
1477 if test -z "$ac_cv_prog_CC"; then
1479 # Extract the first word of "gcc", so it can be a program name with args.
1480 set dummy gcc; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 if test -n "$ac_ct_CC"; then
1487 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_prog_ac_ct_CC="gcc"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1505 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1506 if test -n "$ac_ct_CC"; then
1507 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1508 echo "${ECHO_T}$ac_ct_CC" >&6
1510 echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1519 if test -z "$CC"; then
1520 if test -n "$ac_tool_prefix"; then
1521 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1522 set dummy ${ac_tool_prefix}cc; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_CC+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$CC"; then
1529 ac_cv_prog_CC="$CC" # Let the user override the test.
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 for ac_exec_ext in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 ac_cv_prog_CC="${ac_tool_prefix}cc"
1539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1548 if test -n "$CC"; then
1549 echo "$as_me:$LINENO: result: $CC" >&5
1550 echo "${ECHO_T}$CC" >&6
1552 echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1557 if test -z "$ac_cv_prog_CC"; then
1559 # Extract the first word of "cc", so it can be a program name with args.
1560 set dummy cc; ac_word=$2
1561 echo "$as_me:$LINENO: checking for $ac_word" >&5
1562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1566 if test -n "$ac_ct_CC"; then
1567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573 test -z "$as_dir" && as_dir=.
1574 for ac_exec_ext in '' $ac_executable_extensions; do
1575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1576 ac_cv_prog_ac_ct_CC="cc"
1577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1586 if test -n "$ac_ct_CC"; then
1587 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1588 echo "${ECHO_T}$ac_ct_CC" >&6
1590 echo "$as_me:$LINENO: result: no" >&5
1591 echo "${ECHO_T}no" >&6
1600 if test -z "$CC"; then
1601 # Extract the first word of "cc", so it can be a program name with args.
1602 set dummy cc; ac_word=$2
1603 echo "$as_me:$LINENO: checking for $ac_word" >&5
1604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605 if test "${ac_cv_prog_CC+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 if test -n "$CC"; then
1609 ac_cv_prog_CC="$CC" # Let the user override the test.
1612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616 test -z "$as_dir" && as_dir=.
1617 for ac_exec_ext in '' $ac_executable_extensions; do
1618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1619 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1620 ac_prog_rejected=yes
1624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630 if test $ac_prog_rejected = yes; then
1631 # We found a bogon in the path, so make sure we never use it.
1632 set dummy $ac_cv_prog_CC
1634 if test $# != 0; then
1635 # We chose a different compiler from the bogus one.
1636 # However, it has the same basename, so the bogon will be chosen
1637 # first if we set CC to just the basename; use the full file name.
1639 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1645 if test -n "$CC"; then
1646 echo "$as_me:$LINENO: result: $CC" >&5
1647 echo "${ECHO_T}$CC" >&6
1649 echo "$as_me:$LINENO: result: no" >&5
1650 echo "${ECHO_T}no" >&6
1654 if test -z "$CC"; then
1655 if test -n "$ac_tool_prefix"; then
1658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1660 echo "$as_me:$LINENO: checking for $ac_word" >&5
1661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1662 if test "${ac_cv_prog_CC+set}" = set; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 if test -n "$CC"; then
1666 ac_cv_prog_CC="$CC" # Let the user override the test.
1668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1672 test -z "$as_dir" && as_dir=.
1673 for ac_exec_ext in '' $ac_executable_extensions; do
1674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1675 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 if test -n "$CC"; then
1686 echo "$as_me:$LINENO: result: $CC" >&5
1687 echo "${ECHO_T}$CC" >&6
1689 echo "$as_me:$LINENO: result: no" >&5
1690 echo "${ECHO_T}no" >&6
1693 test -n "$CC" && break
1696 if test -z "$CC"; then
1700 # Extract the first word of "$ac_prog", so it can be a program name with args.
1701 set dummy $ac_prog; ac_word=$2
1702 echo "$as_me:$LINENO: checking for $ac_word" >&5
1703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1704 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 if test -n "$ac_ct_CC"; then
1708 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir=.
1715 for ac_exec_ext in '' $ac_executable_extensions; do
1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717 ac_cv_prog_ac_ct_CC="$ac_prog"
1718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1727 if test -n "$ac_ct_CC"; then
1728 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1729 echo "${ECHO_T}$ac_ct_CC" >&6
1731 echo "$as_me:$LINENO: result: no" >&5
1732 echo "${ECHO_T}no" >&6
1735 test -n "$ac_ct_CC" && break
1744 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1745 See \`config.log' for more details." >&5
1746 echo "$as_me: error: no acceptable C compiler found in \$PATH
1747 See \`config.log' for more details." >&2;}
1748 { (exit 1); exit 1; }; }
1750 # Provide some information about the compiler.
1751 echo "$as_me:$LINENO:" \
1752 "checking for C compiler version" >&5
1753 ac_compiler=`set X $ac_compile; echo $2`
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1755 (eval $ac_compiler --version </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1759 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1760 (eval $ac_compiler -v </dev/null >&5) 2>&5
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1763 (exit $ac_status); }
1764 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1765 (eval $ac_compiler -V </dev/null >&5) 2>&5
1767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1768 (exit $ac_status); }
1770 cat >conftest.$ac_ext <<_ACEOF
1773 cat confdefs.h >>conftest.$ac_ext
1774 cat >>conftest.$ac_ext <<_ACEOF
1775 /* end confdefs.h. */
1785 ac_clean_files_save=$ac_clean_files
1786 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1787 # Try to create an executable without -o first, disregard a.out.
1788 # It will help us diagnose broken compilers, and finding out an intuition
1790 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1791 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1792 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1793 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1794 (eval $ac_link_default) 2>&5
1796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1797 (exit $ac_status); }; then
1798 # Find the output, starting from the most likely. This scheme is
1799 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1802 # Be careful to initialize this variable, since it used to be cached.
1803 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1805 # b.out is created by i960 compilers.
1806 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1808 test -f "$ac_file" || continue
1810 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1813 # This is the source file.
1816 # We found the default executable, but exeext='' is most
1820 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1821 # FIXME: I believe we export ac_cv_exeext for Libtool,
1822 # but it would be cool to find out if it's true. Does anybody
1823 # maintain Libtool? --akim.
1831 echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1834 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1835 See \`config.log' for more details." >&5
1836 echo "$as_me: error: C compiler cannot create executables
1837 See \`config.log' for more details." >&2;}
1838 { (exit 77); exit 77; }; }
1841 ac_exeext=$ac_cv_exeext
1842 echo "$as_me:$LINENO: result: $ac_file" >&5
1843 echo "${ECHO_T}$ac_file" >&6
1845 # Check the compiler produces executables we can run. If not, either
1846 # the compiler is broken, or we cross compile.
1847 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1848 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1849 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1850 # If not cross compiling, check that we can run a simple program.
1851 if test "$cross_compiling" != yes; then
1852 if { ac_try='./$ac_file'
1853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1857 (exit $ac_status); }; }; then
1860 if test "$cross_compiling" = maybe; then
1863 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1864 If you meant to cross compile, use \`--host'.
1865 See \`config.log' for more details." >&5
1866 echo "$as_me: error: cannot run C compiled programs.
1867 If you meant to cross compile, use \`--host'.
1868 See \`config.log' for more details." >&2;}
1869 { (exit 1); exit 1; }; }
1873 echo "$as_me:$LINENO: result: yes" >&5
1874 echo "${ECHO_T}yes" >&6
1876 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1877 ac_clean_files=$ac_clean_files_save
1878 # Check the compiler produces executables we can run. If not, either
1879 # the compiler is broken, or we cross compile.
1880 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1881 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1882 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1883 echo "${ECHO_T}$cross_compiling" >&6
1885 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1886 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1888 (eval $ac_link) 2>&5
1890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1891 (exit $ac_status); }; then
1892 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1893 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1894 # work properly (i.e., refer to `conftest.exe'), while it won't with
1896 for ac_file in conftest.exe conftest conftest.*; do
1897 test -f "$ac_file" || continue
1899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1900 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1907 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1908 See \`config.log' for more details." >&5
1909 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1910 See \`config.log' for more details." >&2;}
1911 { (exit 1); exit 1; }; }
1914 rm -f conftest$ac_cv_exeext
1915 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1916 echo "${ECHO_T}$ac_cv_exeext" >&6
1918 rm -f conftest.$ac_ext
1919 EXEEXT=$ac_cv_exeext
1921 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1922 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1923 if test "${ac_cv_objext+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 cat >conftest.$ac_ext <<_ACEOF
1929 cat confdefs.h >>conftest.$ac_ext
1930 cat >>conftest.$ac_ext <<_ACEOF
1931 /* end confdefs.h. */
1941 rm -f conftest.o conftest.obj
1942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1943 (eval $ac_compile) 2>&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; then
1947 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1950 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1955 echo "$as_me: failed program was:" >&5
1956 sed 's/^/| /' conftest.$ac_ext >&5
1958 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1959 See \`config.log' for more details." >&5
1960 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1961 See \`config.log' for more details." >&2;}
1962 { (exit 1); exit 1; }; }
1965 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1967 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1968 echo "${ECHO_T}$ac_cv_objext" >&6
1969 OBJEXT=$ac_cv_objext
1971 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1972 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1973 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 cat >conftest.$ac_ext <<_ACEOF
1979 cat confdefs.h >>conftest.$ac_ext
1980 cat >>conftest.$ac_ext <<_ACEOF
1981 /* end confdefs.h. */
1994 rm -f conftest.$ac_objext
1995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1996 (eval $ac_compile) 2>conftest.er1
1998 grep -v '^ *+' conftest.er1 >conftest.err
2000 cat conftest.err >&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); } &&
2003 { ac_try='test -z "$ac_c_werror_flag"
2004 || test ! -s conftest.err'
2005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }; } &&
2010 { ac_try='test -s conftest.$ac_objext'
2011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 (exit $ac_status); }; }; then
2018 echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.$ac_ext >&5
2023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2024 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2027 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2028 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2029 GCC=`test $ac_compiler_gnu = yes && echo yes`
2030 ac_test_CFLAGS=${CFLAGS+set}
2031 ac_save_CFLAGS=$CFLAGS
2033 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2034 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2035 if test "${ac_cv_prog_cc_g+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2038 cat >conftest.$ac_ext <<_ACEOF
2041 cat confdefs.h >>conftest.$ac_ext
2042 cat >>conftest.$ac_ext <<_ACEOF
2043 /* end confdefs.h. */
2053 rm -f conftest.$ac_objext
2054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2055 (eval $ac_compile) 2>conftest.er1
2057 grep -v '^ *+' conftest.er1 >conftest.err
2059 cat conftest.err >&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); } &&
2062 { ac_try='test -z "$ac_c_werror_flag"
2063 || test ! -s conftest.err'
2064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); }; } &&
2069 { ac_try='test -s conftest.$ac_objext'
2070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2074 (exit $ac_status); }; }; then
2077 echo "$as_me: failed program was:" >&5
2078 sed 's/^/| /' conftest.$ac_ext >&5
2082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2084 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2085 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2086 if test "$ac_test_CFLAGS" = set; then
2087 CFLAGS=$ac_save_CFLAGS
2088 elif test $ac_cv_prog_cc_g = yes; then
2089 if test "$GCC" = yes; then
2095 if test "$GCC" = yes; then
2101 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2102 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2103 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2106 ac_cv_prog_cc_stdc=no
2108 cat >conftest.$ac_ext <<_ACEOF
2111 cat confdefs.h >>conftest.$ac_ext
2112 cat >>conftest.$ac_ext <<_ACEOF
2113 /* end confdefs.h. */
2116 #include <sys/types.h>
2117 #include <sys/stat.h>
2118 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2119 struct buf { int x; };
2120 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2121 static char *e (p, i)
2127 static char *f (char * (*g) (char **, int), char **p, ...)
2132 s = g (p, va_arg (v,int));
2137 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2138 function prototypes and stuff, but not '\xHH' hex character constants.
2139 These don't provoke an error unfortunately, instead are silently treated
2140 as 'x'. The following induces an error, until -std1 is added to get
2141 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2142 array size at least. It's necessary to write '\x00'==0 to get something
2143 that's true only with -std1. */
2144 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2146 int test (int i, double x);
2147 struct s1 {int (*f) (int a);};
2148 struct s2 {int (*f) (double a);};
2149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2160 # Don't try gcc -ansi; that turns off useful extensions and
2161 # breaks some systems' header files.
2162 # AIX -qlanglvl=ansi
2163 # Ultrix and OSF/1 -std1
2164 # HP-UX 10.20 and later -Ae
2165 # HP-UX older versions -Aa -D_HPUX_SOURCE
2166 # SVR4 -Xc -D__EXTENSIONS__
2167 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2169 CC="$ac_save_CC $ac_arg"
2170 rm -f conftest.$ac_objext
2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2172 (eval $ac_compile) 2>conftest.er1
2174 grep -v '^ *+' conftest.er1 >conftest.err
2176 cat conftest.err >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); } &&
2179 { ac_try='test -z "$ac_c_werror_flag"
2180 || test ! -s conftest.err'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; } &&
2186 { ac_try='test -s conftest.$ac_objext'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2192 ac_cv_prog_cc_stdc=$ac_arg
2195 echo "$as_me: failed program was:" >&5
2196 sed 's/^/| /' conftest.$ac_ext >&5
2199 rm -f conftest.err conftest.$ac_objext
2201 rm -f conftest.$ac_ext conftest.$ac_objext
2206 case "x$ac_cv_prog_cc_stdc" in
2208 echo "$as_me:$LINENO: result: none needed" >&5
2209 echo "${ECHO_T}none needed" >&6 ;;
2211 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2212 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2213 CC="$CC $ac_cv_prog_cc_stdc" ;;
2216 # Some people use a C++ compiler to compile C. Since we use `exit',
2217 # in C++ we need to declare it. In case someone uses the same compiler
2218 # for both compiling C and C++ we need to have the C++ compiler decide
2219 # the declaration of exit, since it's the most demanding environment.
2220 cat >conftest.$ac_ext <<_ACEOF
2225 rm -f conftest.$ac_objext
2226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2227 (eval $ac_compile) 2>conftest.er1
2229 grep -v '^ *+' conftest.er1 >conftest.err
2231 cat conftest.err >&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); } &&
2234 { ac_try='test -z "$ac_c_werror_flag"
2235 || test ! -s conftest.err'
2236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; } &&
2241 { ac_try='test -s conftest.$ac_objext'
2242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; }; then
2247 for ac_declaration in \
2249 'extern "C" void std::exit (int) throw (); using std::exit;' \
2250 'extern "C" void std::exit (int); using std::exit;' \
2251 'extern "C" void exit (int) throw ();' \
2252 'extern "C" void exit (int);' \
2255 cat >conftest.$ac_ext <<_ACEOF
2258 cat confdefs.h >>conftest.$ac_ext
2259 cat >>conftest.$ac_ext <<_ACEOF
2260 /* end confdefs.h. */
2271 rm -f conftest.$ac_objext
2272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2273 (eval $ac_compile) 2>conftest.er1
2275 grep -v '^ *+' conftest.er1 >conftest.err
2277 cat conftest.err >&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); } &&
2280 { ac_try='test -z "$ac_c_werror_flag"
2281 || test ! -s conftest.err'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; } &&
2287 { ac_try='test -s conftest.$ac_objext'
2288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292 (exit $ac_status); }; }; then
2295 echo "$as_me: failed program was:" >&5
2296 sed 's/^/| /' conftest.$ac_ext >&5
2300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2301 cat >conftest.$ac_ext <<_ACEOF
2304 cat confdefs.h >>conftest.$ac_ext
2305 cat >>conftest.$ac_ext <<_ACEOF
2306 /* end confdefs.h. */
2316 rm -f conftest.$ac_objext
2317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2318 (eval $ac_compile) 2>conftest.er1
2320 grep -v '^ *+' conftest.er1 >conftest.err
2322 cat conftest.err >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); } &&
2325 { ac_try='test -z "$ac_c_werror_flag"
2326 || test ! -s conftest.err'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; } &&
2332 { ac_try='test -s conftest.$ac_objext'
2333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; }; then
2340 echo "$as_me: failed program was:" >&5
2341 sed 's/^/| /' conftest.$ac_ext >&5
2344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2347 if test -n "$ac_declaration"; then
2348 echo '#ifdef __cplusplus' >>confdefs.h
2349 echo $ac_declaration >>confdefs.h
2350 echo '#endif' >>confdefs.h
2354 echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.$ac_ext >&5
2358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2360 ac_cpp='$CPP $CPPFLAGS'
2361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2366 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2367 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2368 if test "${ac_cv_search_strerror+set}" = set; then
2369 echo $ECHO_N "(cached) $ECHO_C" >&6
2371 ac_func_search_save_LIBS=$LIBS
2372 ac_cv_search_strerror=no
2373 cat >conftest.$ac_ext <<_ACEOF
2376 cat confdefs.h >>conftest.$ac_ext
2377 cat >>conftest.$ac_ext <<_ACEOF
2378 /* end confdefs.h. */
2380 /* Override any gcc2 internal prototype to avoid an error. */
2384 /* We use char because int might match the return type of a gcc2
2385 builtin and then its argument prototype would still apply. */
2395 rm -f conftest.$ac_objext conftest$ac_exeext
2396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2397 (eval $ac_link) 2>conftest.er1
2399 grep -v '^ *+' conftest.er1 >conftest.err
2401 cat conftest.err >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); } &&
2404 { ac_try='test -z "$ac_c_werror_flag"
2405 || test ! -s conftest.err'
2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; } &&
2411 { ac_try='test -s conftest$ac_exeext'
2412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; }; then
2417 ac_cv_search_strerror="none required"
2419 echo "$as_me: failed program was:" >&5
2420 sed 's/^/| /' conftest.$ac_ext >&5
2423 rm -f conftest.err conftest.$ac_objext \
2424 conftest$ac_exeext conftest.$ac_ext
2425 if test "$ac_cv_search_strerror" = no; then
2426 for ac_lib in cposix; do
2427 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2428 cat >conftest.$ac_ext <<_ACEOF
2431 cat confdefs.h >>conftest.$ac_ext
2432 cat >>conftest.$ac_ext <<_ACEOF
2433 /* end confdefs.h. */
2435 /* Override any gcc2 internal prototype to avoid an error. */
2439 /* We use char because int might match the return type of a gcc2
2440 builtin and then its argument prototype would still apply. */
2450 rm -f conftest.$ac_objext conftest$ac_exeext
2451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2452 (eval $ac_link) 2>conftest.er1
2454 grep -v '^ *+' conftest.er1 >conftest.err
2456 cat conftest.err >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); } &&
2459 { ac_try='test -z "$ac_c_werror_flag"
2460 || test ! -s conftest.err'
2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; } &&
2466 { ac_try='test -s conftest$ac_exeext'
2467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); }; }; then
2472 ac_cv_search_strerror="-l$ac_lib"
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2479 rm -f conftest.err conftest.$ac_objext \
2480 conftest$ac_exeext conftest.$ac_ext
2483 LIBS=$ac_func_search_save_LIBS
2485 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2486 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2487 if test "$ac_cv_search_strerror" != no; then
2488 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2493 am__api_version="1.9"
2494 # Find a good install program. We prefer a C program (faster),
2495 # so one script is as good as another. But avoid the broken or
2496 # incompatible versions:
2497 # SysV /etc/install, /usr/sbin/install
2498 # SunOS /usr/etc/install
2499 # IRIX /sbin/install
2501 # AmigaOS /C/install, which installs bootblocks on floppy discs
2502 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2503 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2505 # OS/2's system install, which has a completely different semantic
2506 # ./install, which can be erroneously created by make from ./install.sh.
2507 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2508 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2509 if test -z "$INSTALL"; then
2510 if test "${ac_cv_path_install+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517 test -z "$as_dir" && as_dir=.
2518 # Account for people who put trailing slashes in PATH elements.
2520 ./ | .// | /cC/* | \
2521 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2522 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2525 # OSF1 and SCO ODT 3.0 have their own names for install.
2526 # Don't use installbsd from OSF since it installs stuff as root
2528 for ac_prog in ginstall scoinst install; do
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2531 if test $ac_prog = install &&
2532 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2533 # AIX install. It has an incompatible calling convention.
2535 elif test $ac_prog = install &&
2536 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2537 # program-specific install script used by HP pwplus--don't use.
2540 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2552 if test "${ac_cv_path_install+set}" = set; then
2553 INSTALL=$ac_cv_path_install
2555 # As a last resort, use the slow shell script. We don't cache a
2556 # path for INSTALL within a source directory, because that will
2557 # break other packages using the cache if that directory is
2558 # removed, or if the path is relative.
2559 INSTALL=$ac_install_sh
2562 echo "$as_me:$LINENO: result: $INSTALL" >&5
2563 echo "${ECHO_T}$INSTALL" >&6
2565 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2566 # It thinks the first close brace ends the variable substitution.
2567 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2569 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2571 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2573 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2574 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2577 echo timestamp > conftest.file
2578 # Do `set' in a subshell so we don't clobber the current shell's
2579 # arguments. Must try -L first in case configure is actually a
2580 # symlink; some systems play weird games with the mod time of symlinks
2581 # (eg FreeBSD returns the mod time of the symlink's containing
2584 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2585 if test "$*" = "X"; then
2587 set X `ls -t $srcdir/configure conftest.file`
2590 if test "$*" != "X $srcdir/configure conftest.file" \
2591 && test "$*" != "X conftest.file $srcdir/configure"; then
2593 # If neither matched, then we have a broken ls. This can happen
2594 # if, for instance, CONFIG_SHELL is bash and it inherits a
2595 # broken ls alias from the environment. This has actually
2596 # happened. Such a system could not be considered "sane".
2597 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2598 alias in your environment" >&5
2599 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2600 alias in your environment" >&2;}
2601 { (exit 1); exit 1; }; }
2604 test "$2" = conftest.file
2610 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2611 Check your system clock" >&5
2612 echo "$as_me: error: newly created file is older than distributed files!
2613 Check your system clock" >&2;}
2614 { (exit 1); exit 1; }; }
2616 echo "$as_me:$LINENO: result: yes" >&5
2617 echo "${ECHO_T}yes" >&6
2618 test "$program_prefix" != NONE &&
2619 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2620 # Use a double $ so make ignores it.
2621 test "$program_suffix" != NONE &&
2622 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2623 # Double any \ or $. echo might interpret backslashes.
2624 # By default was `s,x,x', remove it if useless.
2625 cat <<\_ACEOF >conftest.sed
2626 s/[\\$]/&&/g;s/;s,x,x,$//
2628 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2631 # expand $ac_aux_dir to an absolute path
2632 am_aux_dir=`cd $ac_aux_dir && pwd`
2634 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2635 # Use eval to expand $SHELL
2636 if eval "$MISSING --run true"; then
2637 am_missing_run="$MISSING --run "
2640 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2641 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2644 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2645 # We used to keeping the `.' as first argument, in order to
2646 # allow $(mkdir_p) to be used without argument. As in
2647 # $(mkdir_p) $(somedir)
2648 # where $(somedir) is conditionally defined. However this is wrong
2650 # 1. if the package is installed by a user who cannot write `.'
2651 # make install will fail,
2652 # 2. the above comment should most certainly read
2653 # $(mkdir_p) $(DESTDIR)$(somedir)
2654 # so it does not work when $(somedir) is undefined and
2655 # $(DESTDIR) is not.
2656 # To support the latter case, we have to write
2657 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2658 # so the `.' trick is pointless.
2659 mkdir_p='mkdir -p --'
2661 # On NextStep and OpenStep, the `mkdir' command does not
2662 # recognize any option. It will interpret all options as
2663 # directories to create, and then abort because `.' already
2665 for d in ./-p ./--version;
2667 test -d $d && rmdir $d
2669 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2670 if test -f "$ac_aux_dir/mkinstalldirs"; then
2671 mkdir_p='$(mkinstalldirs)'
2673 mkdir_p='$(install_sh) -d'
2677 for ac_prog in gawk mawk nawk awk
2679 # Extract the first word of "$ac_prog", so it can be a program name with args.
2680 set dummy $ac_prog; ac_word=$2
2681 echo "$as_me:$LINENO: checking for $ac_word" >&5
2682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2683 if test "${ac_cv_prog_AWK+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2686 if test -n "$AWK"; then
2687 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 test -z "$as_dir" && as_dir=.
2694 for ac_exec_ext in '' $ac_executable_extensions; do
2695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2696 ac_cv_prog_AWK="$ac_prog"
2697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 if test -n "$AWK"; then
2707 echo "$as_me:$LINENO: result: $AWK" >&5
2708 echo "${ECHO_T}$AWK" >&6
2710 echo "$as_me:$LINENO: result: no" >&5
2711 echo "${ECHO_T}no" >&6
2714 test -n "$AWK" && break
2717 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2718 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2719 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2720 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 cat >conftest.make <<\_ACEOF
2725 @echo 'ac_maketemp="$(MAKE)"'
2727 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2728 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2729 if test -n "$ac_maketemp"; then
2730 eval ac_cv_prog_make_${ac_make}_set=yes
2732 eval ac_cv_prog_make_${ac_make}_set=no
2736 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2737 echo "$as_me:$LINENO: result: yes" >&5
2738 echo "${ECHO_T}yes" >&6
2741 echo "$as_me:$LINENO: result: no" >&5
2742 echo "${ECHO_T}no" >&6
2743 SET_MAKE="MAKE=${MAKE-make}"
2746 rm -rf .tst 2>/dev/null
2747 mkdir .tst 2>/dev/null
2748 if test -d .tst; then
2753 rmdir .tst 2>/dev/null
2755 DEPDIR="${am__leading_dot}deps"
2757 ac_config_commands="$ac_config_commands depfiles"
2760 am_make=${MAKE-make}
2761 cat > confinc << 'END'
2766 # If we don't find an include directive, just comment out the code.
2767 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2768 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2772 # First try GNU make style include.
2773 echo "include confinc" > confmf
2774 # We grep out `Entering directory' and `Leaving directory'
2775 # messages which can occur if `w' ends up in MAKEFLAGS.
2776 # In particular we don't look at `^make:' because GNU make might
2777 # be invoked under some other name (usually "gmake"), in which
2778 # case it prints its new name instead of `make'.
2779 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2784 # Now try BSD make style include.
2785 if test "$am__include" = "#"; then
2786 echo '.include "confinc"' > confmf
2787 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2788 am__include=.include
2795 echo "$as_me:$LINENO: result: $_am_result" >&5
2796 echo "${ECHO_T}$_am_result" >&6
2797 rm -f confinc confmf
2799 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2800 if test "${enable_dependency_tracking+set}" = set; then
2801 enableval="$enable_dependency_tracking"
2804 if test "x$enable_dependency_tracking" != xno; then
2805 am_depcomp="$ac_aux_dir/depcomp"
2810 if test "x$enable_dependency_tracking" != xno; then
2820 # test to see if srcdir already configured
2821 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2822 test -f $srcdir/config.status; then
2823 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2824 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2825 { (exit 1); exit 1; }; }
2828 # test whether we have cygpath
2829 if test -z "$CYGPATH_W"; then
2830 if (cygpath --version) >/dev/null 2>/dev/null; then
2831 CYGPATH_W='cygpath -w'
2838 # Define the identity of the package.
2843 cat >>confdefs.h <<_ACEOF
2844 #define PACKAGE "$PACKAGE"
2848 cat >>confdefs.h <<_ACEOF
2849 #define VERSION "$VERSION"
2852 # Some tools Automake needs.
2854 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2857 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2860 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2863 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2866 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2868 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2870 # Installed binaries are usually stripped using `strip' when the user
2871 # run `make install-strip'. However `strip' might not be the right
2872 # tool to use in cross-compilation environments, therefore Automake
2873 # will honor the `STRIP' environment variable to overrule this program.
2874 if test "$cross_compiling" != no; then
2875 if test -n "$ac_tool_prefix"; then
2876 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2877 set dummy ${ac_tool_prefix}strip; ac_word=$2
2878 echo "$as_me:$LINENO: checking for $ac_word" >&5
2879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2880 if test "${ac_cv_prog_STRIP+set}" = set; then
2881 echo $ECHO_N "(cached) $ECHO_C" >&6
2883 if test -n "$STRIP"; then
2884 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 test -z "$as_dir" && as_dir=.
2891 for ac_exec_ext in '' $ac_executable_extensions; do
2892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2893 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 STRIP=$ac_cv_prog_STRIP
2903 if test -n "$STRIP"; then
2904 echo "$as_me:$LINENO: result: $STRIP" >&5
2905 echo "${ECHO_T}$STRIP" >&6
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2912 if test -z "$ac_cv_prog_STRIP"; then
2914 # Extract the first word of "strip", so it can be a program name with args.
2915 set dummy strip; ac_word=$2
2916 echo "$as_me:$LINENO: checking for $ac_word" >&5
2917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2918 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 if test -n "$ac_ct_STRIP"; then
2922 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir=.
2929 for ac_exec_ext in '' $ac_executable_extensions; do
2930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2931 ac_cv_prog_ac_ct_STRIP="strip"
2932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2941 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2942 if test -n "$ac_ct_STRIP"; then
2943 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2944 echo "${ECHO_T}$ac_ct_STRIP" >&6
2946 echo "$as_me:$LINENO: result: no" >&5
2947 echo "${ECHO_T}no" >&6
2952 STRIP="$ac_cv_prog_STRIP"
2956 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2958 # We need awk for the "check" target. The system "awk" is bad on
2960 # Always define AMTAR for backward compatibility.
2962 AMTAR=${AMTAR-"${am_missing_run}tar"}
2964 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2969 depcc="$CC" am_compiler_list=
2971 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2972 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2973 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2977 # We make a subdir and do the tests there. Otherwise we can end up
2978 # making bogus files that we don't know about and never remove. For
2979 # instance it was reported that on HP-UX the gcc test will end up
2980 # making a dummy file named `D' -- because `-MD' means `put the output
2983 # Copy depcomp to subdir because otherwise we won't find it if we're
2984 # using a relative directory.
2985 cp "$am_depcomp" conftest.dir
2987 # We will build objects and dependencies in a subdirectory because
2988 # it helps to detect inapplicable dependency modes. For instance
2989 # both Tru64's cc and ICC support -MD to output dependencies as a
2990 # side effect of compilation, but ICC will put the dependencies in
2991 # the current directory while Tru64 will put them in the object
2995 am_cv_CC_dependencies_compiler_type=none
2996 if test "$am_compiler_list" = ""; then
2997 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2999 for depmode in $am_compiler_list; do
3000 # Setup a source with many dependencies, because some compilers
3001 # like to wrap large dependency lists on column 80 (with \), and
3002 # we should not choose a depcomp mode which is confused by this.
3004 # We need to recreate these files for each test, as the compiler may
3005 # overwrite some of them when testing with obscure command lines.
3006 # This happens at least with the AIX C compiler.
3008 for i in 1 2 3 4 5 6; do
3009 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3010 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3011 # Solaris 8's {/usr,}/bin/sh.
3012 touch sub/conftst$i.h
3014 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3018 # after this tag, mechanisms are not by side-effect, so they'll
3019 # only be used when explicitly requested
3020 if test "x$enable_dependency_tracking" = xyes; then
3028 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3029 # mode. It turns out that the SunPro C++ compiler does not properly
3030 # handle `-M -o', and we need to detect this.
3031 if depmode=$depmode \
3032 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3033 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3034 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3035 >/dev/null 2>conftest.err &&
3036 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3037 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3038 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3039 # icc doesn't choke on unknown options, it will just issue warnings
3040 # or remarks (even with -Werror). So we grep stderr for any message
3041 # that says an option was ignored or not supported.
3042 # When given -MP, icc 7.0 and 7.1 complain thusly:
3043 # icc: Command line warning: ignoring option '-M'; no argument required
3044 # The diagnosis changed in icc 8.0:
3045 # icc: Command line remark: option '-MP' not supported
3046 if (grep 'ignoring option' conftest.err ||
3047 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3048 am_cv_CC_dependencies_compiler_type=$depmode
3057 am_cv_CC_dependencies_compiler_type=none
3061 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3062 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3063 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3068 test "x$enable_dependency_tracking" != xno \
3069 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3071 am__fastdepCC_FALSE='#'
3073 am__fastdepCC_TRUE='#'
3074 am__fastdepCC_FALSE=
3080 if test -n "$ac_tool_prefix"; then
3081 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3082 set dummy ${ac_tool_prefix}ar; ac_word=$2
3083 echo "$as_me:$LINENO: checking for $ac_word" >&5
3084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3085 if test "${ac_cv_prog_AR+set}" = set; then
3086 echo $ECHO_N "(cached) $ECHO_C" >&6
3088 if test -n "$AR"; then
3089 ac_cv_prog_AR="$AR" # Let the user override the test.
3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir=.
3096 for ac_exec_ext in '' $ac_executable_extensions; do
3097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098 ac_cv_prog_AR="${ac_tool_prefix}ar"
3099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3108 if test -n "$AR"; then
3109 echo "$as_me:$LINENO: result: $AR" >&5
3110 echo "${ECHO_T}$AR" >&6
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3117 if test -z "$ac_cv_prog_AR"; then
3119 # Extract the first word of "ar", so it can be a program name with args.
3120 set dummy ar; ac_word=$2
3121 echo "$as_me:$LINENO: checking for $ac_word" >&5
3122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3123 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3126 if test -n "$ac_ct_AR"; then
3127 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133 test -z "$as_dir" && as_dir=.
3134 for ac_exec_ext in '' $ac_executable_extensions; do
3135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3136 ac_cv_prog_ac_ct_AR="ar"
3137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3146 if test -n "$ac_ct_AR"; then
3147 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3148 echo "${ECHO_T}$ac_ct_AR" >&6
3150 echo "$as_me:$LINENO: result: no" >&5
3151 echo "${ECHO_T}no" >&6
3159 if test -n "$ac_tool_prefix"; then
3160 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3161 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3162 echo "$as_me:$LINENO: checking for $ac_word" >&5
3163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3164 if test "${ac_cv_prog_RANLIB+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 if test -n "$RANLIB"; then
3168 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir=.
3175 for ac_exec_ext in '' $ac_executable_extensions; do
3176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3177 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 RANLIB=$ac_cv_prog_RANLIB
3187 if test -n "$RANLIB"; then
3188 echo "$as_me:$LINENO: result: $RANLIB" >&5
3189 echo "${ECHO_T}$RANLIB" >&6
3191 echo "$as_me:$LINENO: result: no" >&5
3192 echo "${ECHO_T}no" >&6
3196 if test -z "$ac_cv_prog_RANLIB"; then
3197 ac_ct_RANLIB=$RANLIB
3198 # Extract the first word of "ranlib", so it can be a program name with args.
3199 set dummy ranlib; ac_word=$2
3200 echo "$as_me:$LINENO: checking for $ac_word" >&5
3201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3202 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3203 echo $ECHO_N "(cached) $ECHO_C" >&6
3205 if test -n "$ac_ct_RANLIB"; then
3206 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir=.
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3215 ac_cv_prog_ac_ct_RANLIB="ranlib"
3216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3225 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3226 if test -n "$ac_ct_RANLIB"; then
3227 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3228 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3234 RANLIB=$ac_ct_RANLIB
3236 RANLIB="$ac_cv_prog_RANLIB"
3240 # Check whether --enable-shared or --disable-shared was given.
3241 if test "${enable_shared+set}" = set; then
3242 enableval="$enable_shared"
3243 p=${PACKAGE-default}
3245 yes) enable_shared=yes ;;
3246 no) enable_shared=no ;;
3249 # Look at the argument we got. We use all the common list separators.
3250 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3251 for pkg in $enableval; do
3252 if test "X$pkg" = "X$p"; then
3263 # Check whether --enable-static or --disable-static was given.
3264 if test "${enable_static+set}" = set; then
3265 enableval="$enable_static"
3266 p=${PACKAGE-default}
3268 yes) enable_static=yes ;;
3269 no) enable_static=no ;;
3272 # Look at the argument we got. We use all the common list separators.
3273 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3274 for pkg in $enableval; do
3275 if test "X$pkg" = "X$p"; then
3285 # Check whether --enable-fast-install or --disable-fast-install was given.
3286 if test "${enable_fast_install+set}" = set; then
3287 enableval="$enable_fast_install"
3288 p=${PACKAGE-default}
3290 yes) enable_fast_install=yes ;;
3291 no) enable_fast_install=no ;;
3293 enable_fast_install=no
3294 # Look at the argument we got. We use all the common list separators.
3295 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3296 for pkg in $enableval; do
3297 if test "X$pkg" = "X$p"; then
3298 enable_fast_install=yes
3305 enable_fast_install=yes
3308 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3309 if test "${with_gnu_ld+set}" = set; then
3310 withval="$with_gnu_ld"
3311 test "$withval" = no || with_gnu_ld=yes
3316 if test "$GCC" = yes; then
3317 # Check if gcc -print-prog-name=ld gives a path.
3318 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3319 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3322 # gcc leaves a trailing carriage return which upsets mingw
3323 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3325 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3328 # Accept absolute paths.
3329 [\\/]* | [A-Za-z]:[\\/]*)
3330 re_direlt='/[^/][^/]*/\.\./'
3331 # Canonicalize the path of ld
3332 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3333 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3334 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3336 test -z "$LD" && LD="$ac_prog"
3339 # If it fails, then pretend we aren't using GCC.
3343 # If it is relative, then search for the first ld in PATH.
3347 elif test "$with_gnu_ld" = yes; then
3348 echo "$as_me:$LINENO: checking for GNU ld" >&5
3349 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3351 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3352 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3354 if test "${lt_cv_path_LD+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3357 if test -z "$LD"; then
3358 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3359 for ac_dir in $PATH; do
3360 test -z "$ac_dir" && ac_dir=.
3361 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3362 lt_cv_path_LD="$ac_dir/$ac_prog"
3363 # Check to see if the program is GNU ld. I'd rather use --version,
3364 # but apparently some GNU ld's only accept -v.
3365 # Break only if it was the GNU/non-GNU ld that we prefer.
3366 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3367 test "$with_gnu_ld" != no && break
3369 test "$with_gnu_ld" != yes && break
3375 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3380 if test -n "$LD"; then
3381 echo "$as_me:$LINENO: result: $LD" >&5
3382 echo "${ECHO_T}$LD" >&6
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3387 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3388 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3389 { (exit 1); exit 1; }; }
3390 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3391 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3392 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3395 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3396 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3397 lt_cv_prog_gnu_ld=yes
3399 lt_cv_prog_gnu_ld=no
3402 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3403 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3404 with_gnu_ld=$lt_cv_prog_gnu_ld
3407 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3408 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3409 if test "${lt_cv_ld_reload_flag+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 lt_cv_ld_reload_flag='-r'
3414 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3415 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3416 reload_flag=$lt_cv_ld_reload_flag
3417 test -n "$reload_flag" && reload_flag=" $reload_flag"
3419 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3420 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3421 if test "${lt_cv_path_NM+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 if test -n "$NM"; then
3425 # Let the user override the test.
3428 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3429 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3430 test -z "$ac_dir" && ac_dir=.
3431 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3432 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3433 # Check to see if the nm accepts a BSD-compat flag.
3434 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3435 # nm: unknown option "B" ignored
3436 # Tru64's nm complains that /dev/null is an invalid object file
3437 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3438 lt_cv_path_NM="$tmp_nm -B"
3440 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3441 lt_cv_path_NM="$tmp_nm -p"
3444 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3445 continue # so that we can try to find one that supports BSD flags
3450 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3455 echo "$as_me:$LINENO: result: $NM" >&5
3456 echo "${ECHO_T}$NM" >&6
3458 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3459 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3461 if test "$LN_S" = "ln -s"; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3465 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3466 echo "${ECHO_T}no, using $LN_S" >&6
3469 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3470 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3471 if test "${lt_cv_deplibs_check_method+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 lt_cv_file_magic_cmd='$MAGIC_CMD'
3475 lt_cv_file_magic_test_file=
3476 lt_cv_deplibs_check_method='unknown'
3477 # Need to set the preceding variable on all platforms that support
3478 # interlibrary dependencies.
3479 # 'none' -- dependencies not supported.
3480 # `unknown' -- same as none, but documents that we really don't know.
3481 # 'pass_all' -- all dependencies passed with no checks.
3482 # 'test_compile' -- check by making test program.
3483 # 'file_magic [regex]' -- check by looking for files in library path
3484 # which responds to the $file_magic_cmd with a given egrep regex.
3485 # If you have `file' or equivalent on your system and you're not sure
3486 # whether `pass_all' will *always* work, you probably want this one.
3490 lt_cv_deplibs_check_method=pass_all
3494 lt_cv_deplibs_check_method=pass_all
3498 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3499 lt_cv_file_magic_cmd='/usr/bin/file -L'
3500 lt_cv_file_magic_test_file=/shlib/libc.so
3503 cygwin* | mingw* |pw32*)
3504 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3505 lt_cv_file_magic_cmd='$OBJDUMP -f'
3508 darwin* | rhapsody*)
3509 # this will be overwritten by pass_all, but leave it in just in case
3510 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3511 lt_cv_file_magic_cmd='/usr/bin/file -L'
3513 rhapsody* | darwin1.012)
3514 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3517 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3520 lt_cv_deplibs_check_method=pass_all
3523 freebsd* | kfreebsd*-gnu)
3524 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3527 # Not sure whether the presence of OpenBSD here was a mistake.
3528 # Let's accept both of them until this is cleared up.
3529 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3530 lt_cv_file_magic_cmd=/usr/bin/file
3531 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3535 lt_cv_deplibs_check_method=pass_all
3540 lt_cv_deplibs_check_method=pass_all
3546 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3547 lt_cv_file_magic_cmd=/usr/bin/file
3548 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3551 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3552 lt_cv_file_magic_cmd=/usr/bin/file
3553 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3561 # this will be overridden with pass_all, but let us keep it just in case
3562 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3566 *-32|*"-32 ") libmagic=32-bit;;
3567 *-n32|*"-n32 ") libmagic=N32;;
3568 *-64|*"-64 ") libmagic=64-bit;;
3569 *) libmagic=never-match;;
3571 # this will be overridden with pass_all, but let us keep it just in case
3572 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3575 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3576 lt_cv_deplibs_check_method=pass_all
3579 # This must be Linux ELF.
3581 lt_cv_deplibs_check_method=pass_all
3584 netbsd* | knetbsd*-gnu)
3585 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3586 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3588 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3593 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3594 lt_cv_file_magic_cmd=/usr/bin/file
3595 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3598 osf3* | osf4* | osf5*)
3599 # this will be overridden with pass_all, but let us keep it just in case
3600 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3601 lt_cv_file_magic_test_file=/shlib/libc.so
3602 lt_cv_deplibs_check_method=pass_all
3606 lt_cv_deplibs_check_method=pass_all
3610 lt_cv_deplibs_check_method=pass_all
3611 lt_cv_file_magic_test_file=/lib/libc.so
3614 sysv5uw[78]* | sysv4*uw2*)
3615 lt_cv_deplibs_check_method=pass_all
3618 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3619 case $host_vendor in
3621 lt_cv_deplibs_check_method=pass_all
3624 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3625 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3632 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3633 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3634 file_magic_cmd=$lt_cv_file_magic_cmd
3635 deplibs_check_method=$lt_cv_deplibs_check_method
3640 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3642 # find the maximum length of command line arguments
3643 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3644 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3645 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3653 # On DJGPP, this test can blow up pretty badly due to problems in libc
3654 # (any single argument exceeding 2000 bytes causes a buffer overrun
3655 # during glob expansion). Even if it were fixed, the result of this
3656 # check would be larger than it should be.
3657 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3661 # On Win9x/ME, this test blows up -- it succeeds, but takes
3662 # about 5 minutes as the teststring grows exponentially.
3663 # Worse, since 9x/ME are not pre-emptively multitasking,
3664 # you end up with a "frozen" computer, even though with patience
3665 # the test eventually succeeds (with a max line length of 256k).
3666 # Instead, let's just punt: use the minimum linelength reported by
3667 # all of the supported platforms: 8192 (on NT/2K/XP).
3668 lt_cv_sys_max_cmd_len=8192;
3672 # On AmigaOS with pdksh, this test takes hours, literally.
3673 # So we just punt and use a minimum line length of 8192.
3674 lt_cv_sys_max_cmd_len=8192;
3677 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3678 # This has been around since 386BSD, at least. Likely further.
3679 if test -x /sbin/sysctl; then
3680 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3681 elif test -x /usr/sbin/sysctl; then
3682 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3684 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
3686 # And add a safety zone
3687 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3688 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3694 if test -n "$lt_cv_sys_max_cmd_len" ; then
3695 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3696 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3698 echo "$as_me:$LINENO: result: none" >&5
3699 echo "${ECHO_T}none" >&6
3703 # Only perform the check for file, if the check method requires it
3704 case $deplibs_check_method in
3706 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3707 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3708 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3709 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3714 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3717 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3720 ac_save_MAGIC_CMD="$MAGIC_CMD"
3721 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3722 ac_dummy="/usr/bin:$PATH"
3723 for ac_dir in $ac_dummy; do
3724 test -z "$ac_dir" && ac_dir=.
3725 if test -f $ac_dir/${ac_tool_prefix}file; then
3726 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3727 if test -n "$file_magic_test_file"; then
3728 case $deplibs_check_method in
3730 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3731 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3732 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3733 egrep "$file_magic_regex" > /dev/null; then
3738 *** Warning: the command libtool uses to detect shared libraries,
3739 *** $file_magic_cmd, produces output that libtool cannot recognize.
3740 *** The result is that libtool may fail to recognize shared libraries
3741 *** as such. This will affect the creation of libtool libraries that
3742 *** depend on shared libraries, but programs linked with such libtool
3743 *** libraries will work regardless of this problem. Nevertheless, you
3744 *** may want to report the problem to your system manager and/or to
3755 MAGIC_CMD="$ac_save_MAGIC_CMD"
3760 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3761 if test -n "$MAGIC_CMD"; then
3762 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3763 echo "${ECHO_T}$MAGIC_CMD" >&6
3765 echo "$as_me:$LINENO: result: no" >&5
3766 echo "${ECHO_T}no" >&6
3769 if test -z "$lt_cv_path_MAGIC_CMD"; then
3770 if test -n "$ac_tool_prefix"; then
3771 echo "$as_me:$LINENO: checking for file" >&5
3772 echo $ECHO_N "checking for file... $ECHO_C" >&6
3773 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3774 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3781 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3784 ac_save_MAGIC_CMD="$MAGIC_CMD"
3785 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3786 ac_dummy="/usr/bin:$PATH"
3787 for ac_dir in $ac_dummy; do
3788 test -z "$ac_dir" && ac_dir=.
3789 if test -f $ac_dir/file; then
3790 lt_cv_path_MAGIC_CMD="$ac_dir/file"
3791 if test -n "$file_magic_test_file"; then
3792 case $deplibs_check_method in
3794 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3795 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3796 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3797 egrep "$file_magic_regex" > /dev/null; then
3802 *** Warning: the command libtool uses to detect shared libraries,
3803 *** $file_magic_cmd, produces output that libtool cannot recognize.
3804 *** The result is that libtool may fail to recognize shared libraries
3805 *** as such. This will affect the creation of libtool libraries that
3806 *** depend on shared libraries, but programs linked with such libtool
3807 *** libraries will work regardless of this problem. Nevertheless, you
3808 *** may want to report the problem to your system manager and/or to
3819 MAGIC_CMD="$ac_save_MAGIC_CMD"
3824 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3825 if test -n "$MAGIC_CMD"; then
3826 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3827 echo "${ECHO_T}$MAGIC_CMD" >&6
3829 echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6
3842 if test -n "$ac_tool_prefix"; then
3843 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3844 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3845 echo "$as_me:$LINENO: checking for $ac_word" >&5
3846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3847 if test "${ac_cv_prog_RANLIB+set}" = set; then
3848 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 if test -n "$RANLIB"; then
3851 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 RANLIB=$ac_cv_prog_RANLIB
3870 if test -n "$RANLIB"; then
3871 echo "$as_me:$LINENO: result: $RANLIB" >&5
3872 echo "${ECHO_T}$RANLIB" >&6
3874 echo "$as_me:$LINENO: result: no" >&5
3875 echo "${ECHO_T}no" >&6
3879 if test -z "$ac_cv_prog_RANLIB"; then
3880 ac_ct_RANLIB=$RANLIB
3881 # Extract the first word of "ranlib", so it can be a program name with args.
3882 set dummy ranlib; ac_word=$2
3883 echo "$as_me:$LINENO: checking for $ac_word" >&5
3884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3885 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 if test -n "$ac_ct_RANLIB"; then
3889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3898 ac_cv_prog_ac_ct_RANLIB="ranlib"
3899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3908 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3909 if test -n "$ac_ct_RANLIB"; then
3910 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3911 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3917 RANLIB=$ac_ct_RANLIB
3919 RANLIB="$ac_cv_prog_RANLIB"
3922 if test -n "$ac_tool_prefix"; then
3923 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3924 set dummy ${ac_tool_prefix}strip; ac_word=$2
3925 echo "$as_me:$LINENO: checking for $ac_word" >&5
3926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3927 if test "${ac_cv_prog_STRIP+set}" = set; then
3928 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 if test -n "$STRIP"; then
3931 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 test -z "$as_dir" && as_dir=.
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3940 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 STRIP=$ac_cv_prog_STRIP
3950 if test -n "$STRIP"; then
3951 echo "$as_me:$LINENO: result: $STRIP" >&5
3952 echo "${ECHO_T}$STRIP" >&6
3954 echo "$as_me:$LINENO: result: no" >&5
3955 echo "${ECHO_T}no" >&6
3959 if test -z "$ac_cv_prog_STRIP"; then
3961 # Extract the first word of "strip", so it can be a program name with args.
3962 set dummy strip; ac_word=$2
3963 echo "$as_me:$LINENO: checking for $ac_word" >&5
3964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3965 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 if test -n "$ac_ct_STRIP"; then
3969 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir=.
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_ac_ct_STRIP="strip"
3979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3988 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3989 if test -n "$ac_ct_STRIP"; then
3990 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3991 echo "${ECHO_T}$ac_ct_STRIP" >&6
3993 echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6
3999 STRIP="$ac_cv_prog_STRIP"
4003 # Check for any special flags to pass to ltconfig.
4004 libtool_flags="--cache-file=$cache_file"
4005 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4006 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4007 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4008 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4009 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4012 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4013 if test "${enable_libtool_lock+set}" = set; then
4014 enableval="$enable_libtool_lock"
4017 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4018 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4021 # Check whether --with-pic or --without-pic was given.
4022 if test "${with_pic+set}" = set; then
4028 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4029 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4031 # Some flags need to be propagated to the compiler or linker for good
4035 # Find out which ABI we are using.
4036 echo '#line 4036 "configure"' > conftest.$ac_ext
4037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4038 (eval $ac_compile) 2>&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; then
4042 if test "$lt_cv_prog_gnu_ld" = yes; then
4043 case `/usr/bin/file conftest.$ac_objext` in
4045 LD="${LD-ld} -melf32bsmip"
4048 LD="${LD-ld} -melf32bmipn32"
4051 LD="${LD-ld} -melf64bmip"
4055 case `/usr/bin/file conftest.$ac_objext` in
4072 # Find out which ABI we are using.
4073 echo 'int i;' > conftest.$ac_ext
4074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4075 (eval $ac_compile) 2>&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }; then
4079 case "`/usr/bin/file conftest.o`" in
4091 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4092 # Find out which ABI we are using.
4093 echo 'int i;' > conftest.$ac_ext
4094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4095 (eval $ac_compile) 2>&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); }; then
4099 case "`/usr/bin/file conftest.o`" in
4103 LD="${LD-ld} -m elf_i386"
4105 ppc64-*linux*|powerpc64-*linux*)
4106 LD="${LD-ld} -m elf32ppclinux"
4109 LD="${LD-ld} -m elf_s390"
4112 LD="${LD-ld} -m elf32_sparc"
4119 LD="${LD-ld} -m elf_x86_64"
4121 ppc*-*linux*|powerpc*-*linux*)
4122 LD="${LD-ld} -m elf64ppc"
4125 LD="${LD-ld} -m elf64_s390"
4128 LD="${LD-ld} -m elf64_sparc"
4138 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4139 SAVE_CFLAGS="$CFLAGS"
4140 CFLAGS="$CFLAGS -belf"
4141 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4142 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4143 if test "${lt_cv_cc_needs_belf+set}" = set; then
4144 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 ac_cpp='$CPP $CPPFLAGS'
4150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4154 cat >conftest.$ac_ext <<_ACEOF
4157 cat confdefs.h >>conftest.$ac_ext
4158 cat >>conftest.$ac_ext <<_ACEOF
4159 /* end confdefs.h. */
4169 rm -f conftest.$ac_objext conftest$ac_exeext
4170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4171 (eval $ac_link) 2>conftest.er1
4173 grep -v '^ *+' conftest.er1 >conftest.err
4175 cat conftest.err >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); } &&
4178 { ac_try='test -z "$ac_c_werror_flag"
4179 || test ! -s conftest.err'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; } &&
4185 { ac_try='test -s conftest$ac_exeext'
4186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; }; then
4191 lt_cv_cc_needs_belf=yes
4193 echo "$as_me: failed program was:" >&5
4194 sed 's/^/| /' conftest.$ac_ext >&5
4196 lt_cv_cc_needs_belf=no
4198 rm -f conftest.err conftest.$ac_objext \
4199 conftest$ac_exeext conftest.$ac_ext
4201 ac_cpp='$CPP $CPPFLAGS'
4202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4207 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4208 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4209 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4210 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4211 CFLAGS="$SAVE_CFLAGS"
4219 # Save cache, so that ltconfig can load it
4220 cat >confcache <<\_ACEOF
4221 # This file is a shell script that caches the results of configure
4222 # tests run on this system so they can be shared between configure
4223 # scripts and configure runs, see configure's option --config-cache.
4224 # It is not useful on other systems. If it contains results you don't
4225 # want to keep, you may remove or edit it.
4227 # config.status only pays attention to the cache file if you give it
4228 # the --recheck option to rerun configure.
4230 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4231 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4236 # The following way of writing the cache mishandles newlines in values,
4237 # but we know of no workaround that is simple, portable, and efficient.
4238 # So, don't put newlines in cache variables' values.
4239 # Ultrix sh set writes to stderr and can't be redirected directly,
4240 # and sets the high bit in the cache file unless we assign to the vars.
4243 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4245 # `set' does not quote correctly, so add quotes (double-quote
4246 # substitution turns \\\\ into \\, and sed turns \\ into \).
4249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4252 # `set' quotes correctly as required by POSIX, so do not add quotes.
4254 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4261 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4263 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4265 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4266 if test -w $cache_file; then
4267 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4268 cat confcache >$cache_file
4270 echo "not updating unwritable cache $cache_file"
4275 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4276 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4277 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4278 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4279 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4280 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4281 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4282 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4283 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4284 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4285 echo "$as_me: error: libtool configure failed" >&2;}
4286 { (exit 1); exit 1; }; }
4288 # Reload cache, that may have been modified by ltconfig
4289 if test -r "$cache_file"; then
4290 # Some versions of bash will fail to source /dev/null (special
4291 # files actually), so we avoid doing that.
4292 if test -f "$cache_file"; then
4293 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4294 echo "$as_me: loading cache $cache_file" >&6;}
4296 [\\/]* | ?:[\\/]* ) . $cache_file;;
4297 *) . ./$cache_file;;
4301 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4302 echo "$as_me: creating cache $cache_file" >&6;}
4307 # This can be used to rebuild libtool when needed
4308 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4310 # Always use our own libtool.
4311 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4313 # Redirect the config.log output again, so that the ltconfig log is not
4314 # clobbered by the next message.
4315 exec 5>>./config.log
4323 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4324 if test "${enable_64_bit_bfd+set}" = set; then
4325 enableval="$enable_64_bit_bfd"
4326 case "${enableval}" in
4329 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4330 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
4331 { (exit 1); exit 1; }; } ;;
4335 fi; # Check whether --enable-targets or --disable-targets was given.
4336 if test "${enable_targets+set}" = set; then
4337 enableval="$enable_targets"
4338 case "${enableval}" in
4339 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4340 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4341 { (exit 1); exit 1; }; }
4343 no) enable_targets= ;;
4344 *) enable_targets=$enableval ;;
4346 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4347 if test "${enable_commonbfdlib+set}" = set; then
4348 enableval="$enable_commonbfdlib"
4349 case "${enableval}" in
4350 yes) commonbfdlib=true ;;
4351 no) commonbfdlib=false ;;
4352 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4353 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4354 { (exit 1); exit 1; }; } ;;
4357 # Check whether --with-mmap or --without-mmap was given.
4358 if test "${with_mmap+set}" = set; then
4359 withval="$with_mmap"
4360 case "${withval}" in
4361 yes) want_mmap=true ;;
4362 no) want_mmap=false ;;
4363 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4364 echo "$as_me: error: bad value ${withval} for BFD with-mmap option" >&2;}
4365 { (exit 1); exit 1; }; } ;;
4370 # Check whether --enable-secureplt or --disable-secureplt was given.
4371 if test "${enable_secureplt+set}" = set; then
4372 enableval="$enable_secureplt"
4373 case "${enableval}" in
4374 yes) use_secureplt=true ;;
4375 no) use_secureplt=false ;;
4376 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4377 echo "$as_me: error: bad value ${enableval} for secureplt option" >&2;}
4378 { (exit 1); exit 1; }; } ;;
4382 fi; if test $use_secureplt = true; then
4384 cat >>confdefs.h <<\_ACEOF
4385 #define USE_SECUREPLT 1
4390 # Package version. For an official FSF release, it is empty.
4392 # Check whether --with-pkgversion or --without-pkgversion was given.
4393 if test "${with_pkgversion+set}" = set; then
4394 withval="$with_pkgversion"
4396 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4397 echo "$as_me: error: package version not specified" >&2;}
4398 { (exit 1); exit 1; }; } ;;
4400 *) PKGVERSION="($withval) " ;;
4403 PKGVERSION="(GNU Binutils) "
4408 # The location to which bugs should be reported.
4410 # Check whether --with-bugurl or --without-bugurl was given.
4411 if test "${with_bugurl+set}" = set; then
4412 withval="$with_bugurl"
4414 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4415 echo "$as_me: error: bug URL not specified" >&2;}
4416 { (exit 1); exit 1; }; } ;;
4417 no) REPORT_BUGS_TO="";
4420 *) REPORT_BUGS_TO="<URL:$withval>"
4421 REPORT_BUGS_TEXI="@uref{`echo $withval | sed 's/@/@@/g'`}"
4425 REPORT_BUGS_TO="<URL:http://www.sourceware.org/bugzilla/>"
4426 REPORT_BUGS_TEXI="@uref{http://www.sourceware.org/bugzilla/}"
4433 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4435 # Check whether --enable-werror or --disable-werror was given.
4436 if test "${enable_werror+set}" = set; then
4437 enableval="$enable_werror"
4438 case "${enableval}" in
4439 yes | y) ERROR_ON_WARNING="yes" ;;
4440 no | n) ERROR_ON_WARNING="no" ;;
4441 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4442 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4443 { (exit 1); exit 1; }; } ;;
4447 # Enable -Werror by default when using gcc
4448 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4449 ERROR_ON_WARNING=yes
4453 if test "${ERROR_ON_WARNING}" = yes ; then
4454 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
4455 NO_WERROR="-Wno-error"
4458 if test "${GCC}" = yes ; then
4459 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
4462 # Check whether --enable-build-warnings or --disable-build-warnings was given.
4463 if test "${enable_build_warnings+set}" = set; then
4464 enableval="$enable_build_warnings"
4465 case "${enableval}" in
4466 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
4467 no) if test "${GCC}" = yes ; then
4470 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4471 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
4472 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
4473 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
4474 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4478 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
4479 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4486 ac_config_headers="$ac_config_headers config.h:config.in"
4489 if test -z "$target" ; then
4490 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
4491 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
4492 { (exit 1); exit 1; }; }
4495 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4496 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4497 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4498 if test "${enable_maintainer_mode+set}" = set; then
4499 enableval="$enable_maintainer_mode"
4500 USE_MAINTAINER_MODE=$enableval
4502 USE_MAINTAINER_MODE=no
4504 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4505 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4508 if test $USE_MAINTAINER_MODE = yes; then
4509 MAINTAINER_MODE_TRUE=
4510 MAINTAINER_MODE_FALSE='#'
4512 MAINTAINER_MODE_TRUE='#'
4513 MAINTAINER_MODE_FALSE=
4516 MAINT=$MAINTAINER_MODE_TRUE
4522 GENINSRC_NEVER_TRUE=
4523 GENINSRC_NEVER_FALSE='#'
4525 GENINSRC_NEVER_TRUE='#'
4526 GENINSRC_NEVER_FALSE=
4529 case ${build_alias} in
4530 "") build_noncanonical=${build} ;;
4531 *) build_noncanonical=${build_alias} ;;
4534 case ${host_alias} in
4535 "") host_noncanonical=${build_noncanonical} ;;
4536 *) host_noncanonical=${host_alias} ;;
4539 case ${target_alias} in
4540 "") target_noncanonical=${host_noncanonical} ;;
4541 *) target_noncanonical=${target_alias} ;;
4544 echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4545 echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4546 # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4547 if test "${enable_install_libbfd+set}" = set; then
4548 enableval="$enable_install_libbfd"
4549 install_libbfd_p=$enableval
4551 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
4552 install_libbfd_p=yes
4557 echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4558 echo "${ECHO_T}$install_libbfd_p" >&6
4561 if test $install_libbfd_p = yes; then
4562 INSTALL_LIBBFD_TRUE=
4563 INSTALL_LIBBFD_FALSE='#'
4565 INSTALL_LIBBFD_TRUE='#'
4566 INSTALL_LIBBFD_FALSE=
4569 # Need _noncanonical variables for this.
4574 # libbfd.a is a host library containing target dependent code
4575 bfdlibdir='$(libdir)'
4576 bfdincludedir='$(includedir)'
4577 if test "${host}" != "${target}"; then
4578 bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
4579 bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
4589 bfd_default_target_size=32
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 if test -n "$ac_tool_prefix"; then
4599 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4600 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4601 echo "$as_me:$LINENO: checking for $ac_word" >&5
4602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4603 if test "${ac_cv_prog_CC+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 if test -n "$CC"; then
4607 ac_cv_prog_CC="$CC" # Let the user override the test.
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 test -z "$as_dir" && as_dir=.
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4616 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 if test -n "$CC"; then
4627 echo "$as_me:$LINENO: result: $CC" >&5
4628 echo "${ECHO_T}$CC" >&6
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4635 if test -z "$ac_cv_prog_CC"; then
4637 # Extract the first word of "gcc", so it can be a program name with args.
4638 set dummy gcc; ac_word=$2
4639 echo "$as_me:$LINENO: checking for $ac_word" >&5
4640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 if test -n "$ac_ct_CC"; then
4645 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4651 test -z "$as_dir" && as_dir=.
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_ac_ct_CC="gcc"
4655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4664 if test -n "$ac_ct_CC"; then
4665 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4666 echo "${ECHO_T}$ac_ct_CC" >&6
4668 echo "$as_me:$LINENO: result: no" >&5
4669 echo "${ECHO_T}no" >&6
4677 if test -z "$CC"; then
4678 if test -n "$ac_tool_prefix"; then
4679 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4680 set dummy ${ac_tool_prefix}cc; ac_word=$2
4681 echo "$as_me:$LINENO: checking for $ac_word" >&5
4682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4683 if test "${ac_cv_prog_CC+set}" = set; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 if test -n "$CC"; then
4687 ac_cv_prog_CC="$CC" # Let the user override the test.
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_CC="${ac_tool_prefix}cc"
4697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 if test -n "$CC"; then
4707 echo "$as_me:$LINENO: result: $CC" >&5
4708 echo "${ECHO_T}$CC" >&6
4710 echo "$as_me:$LINENO: result: no" >&5
4711 echo "${ECHO_T}no" >&6
4715 if test -z "$ac_cv_prog_CC"; then
4717 # Extract the first word of "cc", so it can be a program name with args.
4718 set dummy cc; ac_word=$2
4719 echo "$as_me:$LINENO: checking for $ac_word" >&5
4720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4721 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 if test -n "$ac_ct_CC"; then
4725 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 test -z "$as_dir" && as_dir=.
4732 for ac_exec_ext in '' $ac_executable_extensions; do
4733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4734 ac_cv_prog_ac_ct_CC="cc"
4735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4744 if test -n "$ac_ct_CC"; then
4745 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4746 echo "${ECHO_T}$ac_ct_CC" >&6
4748 echo "$as_me:$LINENO: result: no" >&5
4749 echo "${ECHO_T}no" >&6
4758 if test -z "$CC"; then
4759 # Extract the first word of "cc", so it can be a program name with args.
4760 set dummy cc; ac_word=$2
4761 echo "$as_me:$LINENO: checking for $ac_word" >&5
4762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4763 if test "${ac_cv_prog_CC+set}" = set; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 if test -n "$CC"; then
4767 ac_cv_prog_CC="$CC" # Let the user override the test.
4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774 test -z "$as_dir" && as_dir=.
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4777 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4778 ac_prog_rejected=yes
4782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4788 if test $ac_prog_rejected = yes; then
4789 # We found a bogon in the path, so make sure we never use it.
4790 set dummy $ac_cv_prog_CC
4792 if test $# != 0; then
4793 # We chose a different compiler from the bogus one.
4794 # However, it has the same basename, so the bogon will be chosen
4795 # first if we set CC to just the basename; use the full file name.
4797 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4803 if test -n "$CC"; then
4804 echo "$as_me:$LINENO: result: $CC" >&5
4805 echo "${ECHO_T}$CC" >&6
4807 echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6
4812 if test -z "$CC"; then
4813 if test -n "$ac_tool_prefix"; then
4816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4818 echo "$as_me:$LINENO: checking for $ac_word" >&5
4819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4820 if test "${ac_cv_prog_CC+set}" = set; then
4821 echo $ECHO_N "(cached) $ECHO_C" >&6
4823 if test -n "$CC"; then
4824 ac_cv_prog_CC="$CC" # Let the user override the test.
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 test -z "$as_dir" && as_dir=.
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4833 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 if test -n "$CC"; then
4844 echo "$as_me:$LINENO: result: $CC" >&5
4845 echo "${ECHO_T}$CC" >&6
4847 echo "$as_me:$LINENO: result: no" >&5
4848 echo "${ECHO_T}no" >&6
4851 test -n "$CC" && break
4854 if test -z "$CC"; then
4858 # Extract the first word of "$ac_prog", so it can be a program name with args.
4859 set dummy $ac_prog; ac_word=$2
4860 echo "$as_me:$LINENO: checking for $ac_word" >&5
4861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4862 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 if test -n "$ac_ct_CC"; then
4866 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir=.
4873 for ac_exec_ext in '' $ac_executable_extensions; do
4874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4875 ac_cv_prog_ac_ct_CC="$ac_prog"
4876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4885 if test -n "$ac_ct_CC"; then
4886 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4887 echo "${ECHO_T}$ac_ct_CC" >&6
4889 echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6
4893 test -n "$ac_ct_CC" && break
4902 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4903 See \`config.log' for more details." >&5
4904 echo "$as_me: error: no acceptable C compiler found in \$PATH
4905 See \`config.log' for more details." >&2;}
4906 { (exit 1); exit 1; }; }
4908 # Provide some information about the compiler.
4909 echo "$as_me:$LINENO:" \
4910 "checking for C compiler version" >&5
4911 ac_compiler=`set X $ac_compile; echo $2`
4912 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4913 (eval $ac_compiler --version </dev/null >&5) 2>&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); }
4917 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4918 (eval $ac_compiler -v </dev/null >&5) 2>&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }
4922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4923 (eval $ac_compiler -V </dev/null >&5) 2>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); }
4928 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4929 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4930 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4931 echo $ECHO_N "(cached) $ECHO_C" >&6
4933 cat >conftest.$ac_ext <<_ACEOF
4936 cat confdefs.h >>conftest.$ac_ext
4937 cat >>conftest.$ac_ext <<_ACEOF
4938 /* end confdefs.h. */
4951 rm -f conftest.$ac_objext
4952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4953 (eval $ac_compile) 2>conftest.er1
4955 grep -v '^ *+' conftest.er1 >conftest.err
4957 cat conftest.err >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } &&
4960 { ac_try='test -z "$ac_c_werror_flag"
4961 || test ! -s conftest.err'
4962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); }; } &&
4967 { ac_try='test -s conftest.$ac_objext'
4968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); }; }; then
4975 echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.$ac_ext >&5
4980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4981 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4984 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4985 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4986 GCC=`test $ac_compiler_gnu = yes && echo yes`
4987 ac_test_CFLAGS=${CFLAGS+set}
4988 ac_save_CFLAGS=$CFLAGS
4990 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4991 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4992 if test "${ac_cv_prog_cc_g+set}" = set; then
4993 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 cat >conftest.$ac_ext <<_ACEOF
4998 cat confdefs.h >>conftest.$ac_ext
4999 cat >>conftest.$ac_ext <<_ACEOF
5000 /* end confdefs.h. */
5010 rm -f conftest.$ac_objext
5011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5012 (eval $ac_compile) 2>conftest.er1
5014 grep -v '^ *+' conftest.er1 >conftest.err
5016 cat conftest.err >&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); } &&
5019 { ac_try='test -z "$ac_c_werror_flag"
5020 || test ! -s conftest.err'
5021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); }; } &&
5026 { ac_try='test -s conftest.$ac_objext'
5027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); }; }; then
5034 echo "$as_me: failed program was:" >&5
5035 sed 's/^/| /' conftest.$ac_ext >&5
5039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5041 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5042 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5043 if test "$ac_test_CFLAGS" = set; then
5044 CFLAGS=$ac_save_CFLAGS
5045 elif test $ac_cv_prog_cc_g = yes; then
5046 if test "$GCC" = yes; then
5052 if test "$GCC" = yes; then
5058 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5059 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5060 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 ac_cv_prog_cc_stdc=no
5065 cat >conftest.$ac_ext <<_ACEOF
5068 cat confdefs.h >>conftest.$ac_ext
5069 cat >>conftest.$ac_ext <<_ACEOF
5070 /* end confdefs.h. */
5073 #include <sys/types.h>
5074 #include <sys/stat.h>
5075 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5076 struct buf { int x; };
5077 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5078 static char *e (p, i)
5084 static char *f (char * (*g) (char **, int), char **p, ...)
5089 s = g (p, va_arg (v,int));
5094 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5095 function prototypes and stuff, but not '\xHH' hex character constants.
5096 These don't provoke an error unfortunately, instead are silently treated
5097 as 'x'. The following induces an error, until -std1 is added to get
5098 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5099 array size at least. It's necessary to write '\x00'==0 to get something
5100 that's true only with -std1. */
5101 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5103 int test (int i, double x);
5104 struct s1 {int (*f) (int a);};
5105 struct s2 {int (*f) (double a);};
5106 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5112 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5117 # Don't try gcc -ansi; that turns off useful extensions and
5118 # breaks some systems' header files.
5119 # AIX -qlanglvl=ansi
5120 # Ultrix and OSF/1 -std1
5121 # HP-UX 10.20 and later -Ae
5122 # HP-UX older versions -Aa -D_HPUX_SOURCE
5123 # SVR4 -Xc -D__EXTENSIONS__
5124 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5126 CC="$ac_save_CC $ac_arg"
5127 rm -f conftest.$ac_objext
5128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5129 (eval $ac_compile) 2>conftest.er1
5131 grep -v '^ *+' conftest.er1 >conftest.err
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } &&
5136 { ac_try='test -z "$ac_c_werror_flag"
5137 || test ! -s conftest.err'
5138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); }; } &&
5143 { ac_try='test -s conftest.$ac_objext'
5144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); }; }; then
5149 ac_cv_prog_cc_stdc=$ac_arg
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.$ac_ext >&5
5156 rm -f conftest.err conftest.$ac_objext
5158 rm -f conftest.$ac_ext conftest.$ac_objext
5163 case "x$ac_cv_prog_cc_stdc" in
5165 echo "$as_me:$LINENO: result: none needed" >&5
5166 echo "${ECHO_T}none needed" >&6 ;;
5168 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5169 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5170 CC="$CC $ac_cv_prog_cc_stdc" ;;
5173 # Some people use a C++ compiler to compile C. Since we use `exit',
5174 # in C++ we need to declare it. In case someone uses the same compiler
5175 # for both compiling C and C++ we need to have the C++ compiler decide
5176 # the declaration of exit, since it's the most demanding environment.
5177 cat >conftest.$ac_ext <<_ACEOF
5182 rm -f conftest.$ac_objext
5183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5184 (eval $ac_compile) 2>conftest.er1
5186 grep -v '^ *+' conftest.er1 >conftest.err
5188 cat conftest.err >&5
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); } &&
5191 { ac_try='test -z "$ac_c_werror_flag"
5192 || test ! -s conftest.err'
5193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); }; } &&
5198 { ac_try='test -s conftest.$ac_objext'
5199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); }; }; then
5204 for ac_declaration in \
5206 'extern "C" void std::exit (int) throw (); using std::exit;' \
5207 'extern "C" void std::exit (int); using std::exit;' \
5208 'extern "C" void exit (int) throw ();' \
5209 'extern "C" void exit (int);' \
5212 cat >conftest.$ac_ext <<_ACEOF
5215 cat confdefs.h >>conftest.$ac_ext
5216 cat >>conftest.$ac_ext <<_ACEOF
5217 /* end confdefs.h. */
5228 rm -f conftest.$ac_objext
5229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5230 (eval $ac_compile) 2>conftest.er1
5232 grep -v '^ *+' conftest.er1 >conftest.err
5234 cat conftest.err >&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); } &&
5237 { ac_try='test -z "$ac_c_werror_flag"
5238 || test ! -s conftest.err'
5239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }; } &&
5244 { ac_try='test -s conftest.$ac_objext'
5245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }; }; then
5252 echo "$as_me: failed program was:" >&5
5253 sed 's/^/| /' conftest.$ac_ext >&5
5257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5258 cat >conftest.$ac_ext <<_ACEOF
5261 cat confdefs.h >>conftest.$ac_ext
5262 cat >>conftest.$ac_ext <<_ACEOF
5263 /* end confdefs.h. */
5273 rm -f conftest.$ac_objext
5274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5275 (eval $ac_compile) 2>conftest.er1
5277 grep -v '^ *+' conftest.er1 >conftest.err
5279 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try='test -z "$ac_c_werror_flag"
5283 || test ! -s conftest.err'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; } &&
5289 { ac_try='test -s conftest.$ac_objext'
5290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); }; }; then
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.$ac_ext >&5
5301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5304 if test -n "$ac_declaration"; then
5305 echo '#ifdef __cplusplus' >>confdefs.h
5306 echo $ac_declaration >>confdefs.h
5307 echo '#endif' >>confdefs.h
5311 echo "$as_me: failed program was:" >&5
5312 sed 's/^/| /' conftest.$ac_ext >&5
5315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5317 ac_cpp='$CPP $CPPFLAGS'
5318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5323 cat >>confdefs.h <<\_ACEOF
5324 #define _GNU_SOURCE 1
5329 ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi"
5330 # If we haven't got the data from the intl directory,
5331 # assume NLS is disabled.
5340 if test -f ../intl/config.intl; then
5341 . ../intl/config.intl
5343 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5344 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5345 if test x"$USE_NLS" != xyes; then
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5349 echo "$as_me:$LINENO: result: yes" >&5
5350 echo "${ECHO_T}yes" >&6
5352 cat >>confdefs.h <<\_ACEOF
5353 #define ENABLE_NLS 1
5357 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5358 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5359 # Look for .po and .gmo files in the source directory.
5362 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
5363 # If there aren't any .gmo files the shell will give us the
5364 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5366 case "$cat" in *\**)
5369 # The quadruple backslash is collapsed to a double backslash
5370 # by the backticks, then collapsed again by the double quotes,
5371 # leaving us with one backslash in the sed expression (right
5372 # before the dot that mustn't act as a wildcard).
5373 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5374 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
5375 # The user is allowed to set LINGUAS to a list of languages to
5376 # install catalogs for. If it's empty that means "all of them."
5377 if test "x$LINGUAS" = x; then
5378 CATALOGS="$CATALOGS $cat"
5379 XLINGUAS="$XLINGUAS $lang"
5381 case "$LINGUAS" in *$lang*)
5382 CATALOGS="$CATALOGS $cat"
5383 XLINGUAS="$XLINGUAS $lang"
5389 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5390 echo "${ECHO_T}$LINGUAS" >&6
5404 if test -n "$ac_aux_dir"; then
5405 case "$ac_aux_dir" in
5406 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
5407 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5410 if test -z "$MKINSTALLDIRS"; then
5411 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5416 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5417 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5418 # Check whether --enable-nls or --disable-nls was given.
5419 if test "${enable_nls+set}" = set; then
5420 enableval="$enable_nls"
5425 echo "$as_me:$LINENO: result: $USE_NLS" >&5
5426 echo "${ECHO_T}$USE_NLS" >&6
5433 # Prepare PATH_SEPARATOR.
5434 # The user is always right.
5435 if test "${PATH_SEPARATOR+set}" != set; then
5436 echo "#! /bin/sh" >conf$$.sh
5437 echo "exit 0" >>conf$$.sh
5439 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5447 # Find out how to test for executable files. Don't use a zero-byte file,
5448 # as systems may use methods other than mode bits to determine executability.
5449 cat >conf$$.file <<_ASEOF
5453 chmod +x conf$$.file
5454 if test -x conf$$.file >/dev/null 2>&1; then
5455 ac_executable_p="test -x"
5457 ac_executable_p="test -f"
5461 # Extract the first word of "msgfmt", so it can be a program name with args.
5462 set dummy msgfmt; ac_word=$2
5463 echo "$as_me:$LINENO: checking for $ac_word" >&5
5464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5465 if test "${ac_cv_path_MSGFMT+set}" = set; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5473 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5474 for ac_dir in $PATH; do
5476 test -z "$ac_dir" && ac_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5479 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
5480 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5481 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5488 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5492 MSGFMT="$ac_cv_path_MSGFMT"
5493 if test "$MSGFMT" != ":"; then
5494 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5495 echo "${ECHO_T}$MSGFMT" >&6
5497 echo "$as_me:$LINENO: result: no" >&5
5498 echo "${ECHO_T}no" >&6
5501 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5502 set dummy gmsgfmt; ac_word=$2
5503 echo "$as_me:$LINENO: checking for $ac_word" >&5
5504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5505 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5506 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5520 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5531 GMSGFMT=$ac_cv_path_GMSGFMT
5533 if test -n "$GMSGFMT"; then
5534 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5535 echo "${ECHO_T}$GMSGFMT" >&6
5537 echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6
5543 # Prepare PATH_SEPARATOR.
5544 # The user is always right.
5545 if test "${PATH_SEPARATOR+set}" != set; then
5546 echo "#! /bin/sh" >conf$$.sh
5547 echo "exit 0" >>conf$$.sh
5549 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5557 # Find out how to test for executable files. Don't use a zero-byte file,
5558 # as systems may use methods other than mode bits to determine executability.
5559 cat >conf$$.file <<_ASEOF
5563 chmod +x conf$$.file
5564 if test -x conf$$.file >/dev/null 2>&1; then
5565 ac_executable_p="test -x"
5567 ac_executable_p="test -f"
5571 # Extract the first word of "xgettext", so it can be a program name with args.
5572 set dummy xgettext; ac_word=$2
5573 echo "$as_me:$LINENO: checking for $ac_word" >&5
5574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5575 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5576 echo $ECHO_N "(cached) $ECHO_C" >&6
5580 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5583 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5584 for ac_dir in $PATH; do
5586 test -z "$ac_dir" && ac_dir=.
5587 for ac_exec_ext in '' $ac_executable_extensions; do
5588 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5589 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5590 (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
5591 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5598 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5602 XGETTEXT="$ac_cv_path_XGETTEXT"
5603 if test "$XGETTEXT" != ":"; then
5604 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5605 echo "${ECHO_T}$XGETTEXT" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5614 # Prepare PATH_SEPARATOR.
5615 # The user is always right.
5616 if test "${PATH_SEPARATOR+set}" != set; then
5617 echo "#! /bin/sh" >conf$$.sh
5618 echo "exit 0" >>conf$$.sh
5620 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5628 # Find out how to test for executable files. Don't use a zero-byte file,
5629 # as systems may use methods other than mode bits to determine executability.
5630 cat >conf$$.file <<_ASEOF
5634 chmod +x conf$$.file
5635 if test -x conf$$.file >/dev/null 2>&1; then
5636 ac_executable_p="test -x"
5638 ac_executable_p="test -f"
5642 # Extract the first word of "msgmerge", so it can be a program name with args.
5643 set dummy msgmerge; ac_word=$2
5644 echo "$as_me:$LINENO: checking for $ac_word" >&5
5645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5646 if test "${ac_cv_path_MSGMERGE+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5654 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5655 for ac_dir in $PATH; do
5657 test -z "$ac_dir" && ac_dir=.
5658 for ac_exec_ext in '' $ac_executable_extensions; do
5659 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5660 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
5661 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5668 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5672 MSGMERGE="$ac_cv_path_MSGMERGE"
5673 if test "$MSGMERGE" != ":"; then
5674 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5675 echo "${ECHO_T}$MSGMERGE" >&6
5677 echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6
5682 if test "$GMSGFMT" != ":"; then
5683 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
5684 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5687 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5688 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5689 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
5694 if test "$XGETTEXT" != ":"; then
5695 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5696 (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
5699 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5700 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5706 ac_config_commands="$ac_config_commands default-1"
5710 # Permit host specific settings.
5711 . ${srcdir}/configure.host
5714 # Find a good install program. We prefer a C program (faster),
5715 # so one script is as good as another. But avoid the broken or
5716 # incompatible versions:
5717 # SysV /etc/install, /usr/sbin/install
5718 # SunOS /usr/etc/install
5719 # IRIX /sbin/install
5721 # AmigaOS /C/install, which installs bootblocks on floppy discs
5722 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5723 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5724 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5725 # OS/2's system install, which has a completely different semantic
5726 # ./install, which can be erroneously created by make from ./install.sh.
5727 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5728 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5729 if test -z "$INSTALL"; then
5730 if test "${ac_cv_path_install+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir=.
5738 # Account for people who put trailing slashes in PATH elements.
5740 ./ | .// | /cC/* | \
5741 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5742 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5745 # OSF1 and SCO ODT 3.0 have their own names for install.
5746 # Don't use installbsd from OSF since it installs stuff as root
5748 for ac_prog in ginstall scoinst install; do
5749 for ac_exec_ext in '' $ac_executable_extensions; do
5750 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5751 if test $ac_prog = install &&
5752 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5753 # AIX install. It has an incompatible calling convention.
5755 elif test $ac_prog = install &&
5756 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5757 # program-specific install script used by HP pwplus--don't use.
5760 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5772 if test "${ac_cv_path_install+set}" = set; then
5773 INSTALL=$ac_cv_path_install
5775 # As a last resort, use the slow shell script. We don't cache a
5776 # path for INSTALL within a source directory, because that will
5777 # break other packages using the cache if that directory is
5778 # removed, or if the path is relative.
5779 INSTALL=$ac_install_sh
5782 echo "$as_me:$LINENO: result: $INSTALL" >&5
5783 echo "${ECHO_T}$INSTALL" >&6
5785 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5786 # It thinks the first close brace ends the variable substitution.
5787 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5789 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5791 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5794 BFD_HOST_64BIT_LONG=0
5795 BFD_HOST_LONG_LONG=0
5796 BFD_HOST_64_BIT_DEFINED=0
5800 echo "$as_me:$LINENO: checking for long long" >&5
5801 echo $ECHO_N "checking for long long... $ECHO_C" >&6
5802 if test "${bfd_cv_has_long_long+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 cat >conftest.$ac_ext <<_ACEOF
5808 cat confdefs.h >>conftest.$ac_ext
5809 cat >>conftest.$ac_ext <<_ACEOF
5810 /* end confdefs.h. */
5815 unsigned long long ll = 18446744073709551615ULL;
5820 rm -f conftest.$ac_objext
5821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5822 (eval $ac_compile) 2>conftest.er1
5824 grep -v '^ *+' conftest.er1 >conftest.err
5826 cat conftest.err >&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } &&
5829 { ac_try='test -z "$ac_c_werror_flag"
5830 || test ! -s conftest.err'
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; } &&
5836 { ac_try='test -s conftest.$ac_objext'
5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; }; then
5842 bfd_cv_has_long_long=yes
5844 echo "$as_me: failed program was:" >&5
5845 sed 's/^/| /' conftest.$ac_ext >&5
5847 bfd_cv_has_long_long=no
5849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5852 echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
5853 echo "${ECHO_T}$bfd_cv_has_long_long" >&6
5854 if test $bfd_cv_has_long_long = yes; then
5855 BFD_HOST_LONG_LONG=1
5857 ac_cpp='$CPP $CPPFLAGS'
5858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5861 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5862 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5863 # On Suns, sometimes $CPP names a directory.
5864 if test -n "$CPP" && test -d "$CPP"; then
5867 if test -z "$CPP"; then
5868 if test "${ac_cv_prog_CPP+set}" = set; then
5869 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 # Double quotes because CPP needs to be expanded
5872 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5875 for ac_c_preproc_warn_flag in '' yes
5877 # Use a header file that comes with gcc, so configuring glibc
5878 # with a fresh cross-compiler works.
5879 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5880 # <limits.h> exists even on freestanding compilers.
5881 # On the NeXT, cc -E runs the code through the compiler's parser,
5882 # not just through cpp. "Syntax error" is here to catch this case.
5883 cat >conftest.$ac_ext <<_ACEOF
5886 cat confdefs.h >>conftest.$ac_ext
5887 cat >>conftest.$ac_ext <<_ACEOF
5888 /* end confdefs.h. */
5890 # include <limits.h>
5892 # include <assert.h>
5896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5899 grep -v '^ *+' conftest.er1 >conftest.err
5901 cat conftest.err >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } >/dev/null; then
5904 if test -s conftest.err; then
5905 ac_cpp_err=$ac_c_preproc_warn_flag
5906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5913 if test -z "$ac_cpp_err"; then
5916 echo "$as_me: failed program was:" >&5
5917 sed 's/^/| /' conftest.$ac_ext >&5
5919 # Broken: fails on valid input.
5922 rm -f conftest.err conftest.$ac_ext
5924 # OK, works on sane cases. Now check whether non-existent headers
5925 # can be detected and how.
5926 cat >conftest.$ac_ext <<_ACEOF
5929 cat confdefs.h >>conftest.$ac_ext
5930 cat >>conftest.$ac_ext <<_ACEOF
5931 /* end confdefs.h. */
5932 #include <ac_nonexistent.h>
5934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5937 grep -v '^ *+' conftest.er1 >conftest.err
5939 cat conftest.err >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); } >/dev/null; then
5942 if test -s conftest.err; then
5943 ac_cpp_err=$ac_c_preproc_warn_flag
5944 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5951 if test -z "$ac_cpp_err"; then
5952 # Broken: success on invalid input.
5955 echo "$as_me: failed program was:" >&5
5956 sed 's/^/| /' conftest.$ac_ext >&5
5958 # Passes both tests.
5962 rm -f conftest.err conftest.$ac_ext
5965 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5966 rm -f conftest.err conftest.$ac_ext
5967 if $ac_preproc_ok; then
5979 echo "$as_me:$LINENO: result: $CPP" >&5
5980 echo "${ECHO_T}$CPP" >&6
5982 for ac_c_preproc_warn_flag in '' yes
5984 # Use a header file that comes with gcc, so configuring glibc
5985 # with a fresh cross-compiler works.
5986 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5987 # <limits.h> exists even on freestanding compilers.
5988 # On the NeXT, cc -E runs the code through the compiler's parser,
5989 # not just through cpp. "Syntax error" is here to catch this case.
5990 cat >conftest.$ac_ext <<_ACEOF
5993 cat confdefs.h >>conftest.$ac_ext
5994 cat >>conftest.$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5997 # include <limits.h>
5999 # include <assert.h>
6003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6006 grep -v '^ *+' conftest.er1 >conftest.err
6008 cat conftest.err >&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); } >/dev/null; then
6011 if test -s conftest.err; then
6012 ac_cpp_err=$ac_c_preproc_warn_flag
6013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6020 if test -z "$ac_cpp_err"; then
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.$ac_ext >&5
6026 # Broken: fails on valid input.
6029 rm -f conftest.err conftest.$ac_ext
6031 # OK, works on sane cases. Now check whether non-existent headers
6032 # can be detected and how.
6033 cat >conftest.$ac_ext <<_ACEOF
6036 cat confdefs.h >>conftest.$ac_ext
6037 cat >>conftest.$ac_ext <<_ACEOF
6038 /* end confdefs.h. */
6039 #include <ac_nonexistent.h>
6041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6044 grep -v '^ *+' conftest.er1 >conftest.err
6046 cat conftest.err >&5
6047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048 (exit $ac_status); } >/dev/null; then
6049 if test -s conftest.err; then
6050 ac_cpp_err=$ac_c_preproc_warn_flag
6051 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6058 if test -z "$ac_cpp_err"; then
6059 # Broken: success on invalid input.
6062 echo "$as_me: failed program was:" >&5
6063 sed 's/^/| /' conftest.$ac_ext >&5
6065 # Passes both tests.
6069 rm -f conftest.err conftest.$ac_ext
6072 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6073 rm -f conftest.err conftest.$ac_ext
6074 if $ac_preproc_ok; then
6077 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6078 See \`config.log' for more details." >&5
6079 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6080 See \`config.log' for more details." >&2;}
6081 { (exit 1); exit 1; }; }
6085 ac_cpp='$CPP $CPPFLAGS'
6086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6091 echo "$as_me:$LINENO: checking for egrep" >&5
6092 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6093 if test "${ac_cv_prog_egrep+set}" = set; then
6094 echo $ECHO_N "(cached) $ECHO_C" >&6
6096 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6097 then ac_cv_prog_egrep='grep -E'
6098 else ac_cv_prog_egrep='egrep'
6101 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6102 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6103 EGREP=$ac_cv_prog_egrep
6106 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6107 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6108 if test "${ac_cv_header_stdc+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 cat >conftest.$ac_ext <<_ACEOF
6114 cat confdefs.h >>conftest.$ac_ext
6115 cat >>conftest.$ac_ext <<_ACEOF
6116 /* end confdefs.h. */
6130 rm -f conftest.$ac_objext
6131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6132 (eval $ac_compile) 2>conftest.er1
6134 grep -v '^ *+' conftest.er1 >conftest.err
6136 cat conftest.err >&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); } &&
6139 { ac_try='test -z "$ac_c_werror_flag"
6140 || test ! -s conftest.err'
6141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145 (exit $ac_status); }; } &&
6146 { ac_try='test -s conftest.$ac_objext'
6147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); }; }; then
6152 ac_cv_header_stdc=yes
6154 echo "$as_me: failed program was:" >&5
6155 sed 's/^/| /' conftest.$ac_ext >&5
6157 ac_cv_header_stdc=no
6159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6161 if test $ac_cv_header_stdc = yes; then
6162 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6163 cat >conftest.$ac_ext <<_ACEOF
6166 cat confdefs.h >>conftest.$ac_ext
6167 cat >>conftest.$ac_ext <<_ACEOF
6168 /* end confdefs.h. */
6172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6173 $EGREP "memchr" >/dev/null 2>&1; then
6176 ac_cv_header_stdc=no
6182 if test $ac_cv_header_stdc = yes; then
6183 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6184 cat >conftest.$ac_ext <<_ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6194 $EGREP "free" >/dev/null 2>&1; then
6197 ac_cv_header_stdc=no
6203 if test $ac_cv_header_stdc = yes; then
6204 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6205 if test "$cross_compiling" = yes; then
6208 cat >conftest.$ac_ext <<_ACEOF
6211 cat confdefs.h >>conftest.$ac_ext
6212 cat >>conftest.$ac_ext <<_ACEOF
6213 /* end confdefs.h. */
6215 #if ((' ' & 0x0FF) == 0x020)
6216 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6217 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6219 # define ISLOWER(c) \
6220 (('a' <= (c) && (c) <= 'i') \
6221 || ('j' <= (c) && (c) <= 'r') \
6222 || ('s' <= (c) && (c) <= 'z'))
6223 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6226 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6231 for (i = 0; i < 256; i++)
6232 if (XOR (islower (i), ISLOWER (i))
6233 || toupper (i) != TOUPPER (i))
6238 rm -f conftest$ac_exeext
6239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6240 (eval $ac_link) 2>&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; }; then
6251 echo "$as_me: program exited with status $ac_status" >&5
6252 echo "$as_me: failed program was:" >&5
6253 sed 's/^/| /' conftest.$ac_ext >&5
6256 ac_cv_header_stdc=no
6258 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6262 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6263 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6264 if test $ac_cv_header_stdc = yes; then
6266 cat >>confdefs.h <<\_ACEOF
6267 #define STDC_HEADERS 1
6272 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6282 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6283 inttypes.h stdint.h unistd.h
6285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6286 echo "$as_me:$LINENO: checking for $ac_header" >&5
6287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6291 cat >conftest.$ac_ext <<_ACEOF
6294 cat confdefs.h >>conftest.$ac_ext
6295 cat >>conftest.$ac_ext <<_ACEOF
6296 /* end confdefs.h. */
6297 $ac_includes_default
6299 #include <$ac_header>
6301 rm -f conftest.$ac_objext
6302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6303 (eval $ac_compile) 2>conftest.er1
6305 grep -v '^ *+' conftest.er1 >conftest.err
6307 cat conftest.err >&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); } &&
6310 { ac_try='test -z "$ac_c_werror_flag"
6311 || test ! -s conftest.err'
6312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); }; } &&
6317 { ac_try='test -s conftest.$ac_objext'
6318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); }; }; then
6323 eval "$as_ac_Header=yes"
6325 echo "$as_me: failed program was:" >&5
6326 sed 's/^/| /' conftest.$ac_ext >&5
6328 eval "$as_ac_Header=no"
6330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6335 cat >>confdefs.h <<_ACEOF
6336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6344 echo "$as_me:$LINENO: checking for long long" >&5
6345 echo $ECHO_N "checking for long long... $ECHO_C" >&6
6346 if test "${ac_cv_type_long_long+set}" = set; then
6347 echo $ECHO_N "(cached) $ECHO_C" >&6
6349 cat >conftest.$ac_ext <<_ACEOF
6352 cat confdefs.h >>conftest.$ac_ext
6353 cat >>conftest.$ac_ext <<_ACEOF
6354 /* end confdefs.h. */
6355 $ac_includes_default
6359 if ((long long *) 0)
6361 if (sizeof (long long))
6367 rm -f conftest.$ac_objext
6368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6369 (eval $ac_compile) 2>conftest.er1
6371 grep -v '^ *+' conftest.er1 >conftest.err
6373 cat conftest.err >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } &&
6376 { ac_try='test -z "$ac_c_werror_flag"
6377 || test ! -s conftest.err'
6378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }; } &&
6383 { ac_try='test -s conftest.$ac_objext'
6384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); }; }; then
6389 ac_cv_type_long_long=yes
6391 echo "$as_me: failed program was:" >&5
6392 sed 's/^/| /' conftest.$ac_ext >&5
6394 ac_cv_type_long_long=no
6396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6398 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6399 echo "${ECHO_T}$ac_cv_type_long_long" >&6
6401 echo "$as_me:$LINENO: checking size of long long" >&5
6402 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
6403 if test "${ac_cv_sizeof_long_long+set}" = set; then
6404 echo $ECHO_N "(cached) $ECHO_C" >&6
6406 if test "$ac_cv_type_long_long" = yes; then
6407 # The cast to unsigned long works around a bug in the HP C Compiler
6408 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6409 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6410 # This bug is HP SR number 8606223364.
6411 if test "$cross_compiling" = yes; then
6412 # Depending upon the size, compute the lo and hi bounds.
6413 cat >conftest.$ac_ext <<_ACEOF
6416 cat confdefs.h >>conftest.$ac_ext
6417 cat >>conftest.$ac_ext <<_ACEOF
6418 /* end confdefs.h. */
6419 $ac_includes_default
6423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
6430 rm -f conftest.$ac_objext
6431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6432 (eval $ac_compile) 2>conftest.er1
6434 grep -v '^ *+' conftest.er1 >conftest.err
6436 cat conftest.err >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } &&
6439 { ac_try='test -z "$ac_c_werror_flag"
6440 || test ! -s conftest.err'
6441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); }; } &&
6446 { ac_try='test -s conftest.$ac_objext'
6447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); }; }; then
6454 cat >conftest.$ac_ext <<_ACEOF
6457 cat confdefs.h >>conftest.$ac_ext
6458 cat >>conftest.$ac_ext <<_ACEOF
6459 /* end confdefs.h. */
6460 $ac_includes_default
6464 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6471 rm -f conftest.$ac_objext
6472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6473 (eval $ac_compile) 2>conftest.er1
6475 grep -v '^ *+' conftest.er1 >conftest.err
6477 cat conftest.err >&5
6478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); } &&
6480 { ac_try='test -z "$ac_c_werror_flag"
6481 || test ! -s conftest.err'
6482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); }; } &&
6487 { ac_try='test -s conftest.$ac_objext'
6488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); }; }; then
6493 ac_hi=$ac_mid; break
6495 echo "$as_me: failed program was:" >&5
6496 sed 's/^/| /' conftest.$ac_ext >&5
6498 ac_lo=`expr $ac_mid + 1`
6499 if test $ac_lo -le $ac_mid; then
6503 ac_mid=`expr 2 '*' $ac_mid + 1`
6505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6511 cat >conftest.$ac_ext <<_ACEOF
6514 cat confdefs.h >>conftest.$ac_ext
6515 cat >>conftest.$ac_ext <<_ACEOF
6516 /* end confdefs.h. */
6517 $ac_includes_default
6521 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
6528 rm -f conftest.$ac_objext
6529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6530 (eval $ac_compile) 2>conftest.er1
6532 grep -v '^ *+' conftest.er1 >conftest.err
6534 cat conftest.err >&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); } &&
6537 { ac_try='test -z "$ac_c_werror_flag"
6538 || test ! -s conftest.err'
6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); }; } &&
6544 { ac_try='test -s conftest.$ac_objext'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6552 cat >conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6558 $ac_includes_default
6562 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
6569 rm -f conftest.$ac_objext
6570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6571 (eval $ac_compile) 2>conftest.er1
6573 grep -v '^ *+' conftest.er1 >conftest.err
6575 cat conftest.err >&5
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); } &&
6578 { ac_try='test -z "$ac_c_werror_flag"
6579 || test ! -s conftest.err'
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); }; } &&
6585 { ac_try='test -s conftest.$ac_objext'
6586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); }; }; then
6591 ac_lo=$ac_mid; break
6593 echo "$as_me: failed program was:" >&5
6594 sed 's/^/| /' conftest.$ac_ext >&5
6596 ac_hi=`expr '(' $ac_mid ')' - 1`
6597 if test $ac_mid -le $ac_hi; then
6601 ac_mid=`expr 2 '*' $ac_mid`
6603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6606 echo "$as_me: failed program was:" >&5
6607 sed 's/^/| /' conftest.$ac_ext >&5
6611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6614 # Binary search between lo and hi bounds.
6615 while test "x$ac_lo" != "x$ac_hi"; do
6616 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6617 cat >conftest.$ac_ext <<_ACEOF
6620 cat confdefs.h >>conftest.$ac_ext
6621 cat >>conftest.$ac_ext <<_ACEOF
6622 /* end confdefs.h. */
6623 $ac_includes_default
6627 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
6634 rm -f conftest.$ac_objext
6635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6636 (eval $ac_compile) 2>conftest.er1
6638 grep -v '^ *+' conftest.er1 >conftest.err
6640 cat conftest.err >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); } &&
6643 { ac_try='test -z "$ac_c_werror_flag"
6644 || test ! -s conftest.err'
6645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; } &&
6650 { ac_try='test -s conftest.$ac_objext'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; }; then
6658 echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.$ac_ext >&5
6661 ac_lo=`expr '(' $ac_mid ')' + 1`
6663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6666 ?*) ac_cv_sizeof_long_long=$ac_lo;;
6667 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6668 See \`config.log' for more details." >&5
6669 echo "$as_me: error: cannot compute sizeof (long long), 77
6670 See \`config.log' for more details." >&2;}
6671 { (exit 1); exit 1; }; } ;;
6674 if test "$cross_compiling" = yes; then
6675 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6676 See \`config.log' for more details." >&5
6677 echo "$as_me: error: cannot run test program while cross compiling
6678 See \`config.log' for more details." >&2;}
6679 { (exit 1); exit 1; }; }
6681 cat >conftest.$ac_ext <<_ACEOF
6684 cat confdefs.h >>conftest.$ac_ext
6685 cat >>conftest.$ac_ext <<_ACEOF
6686 /* end confdefs.h. */
6687 $ac_includes_default
6688 long longval () { return (long) (sizeof (long long)); }
6689 unsigned long ulongval () { return (long) (sizeof (long long)); }
6696 FILE *f = fopen ("conftest.val", "w");
6699 if (((long) (sizeof (long long))) < 0)
6701 long i = longval ();
6702 if (i != ((long) (sizeof (long long))))
6704 fprintf (f, "%ld\n", i);
6708 unsigned long i = ulongval ();
6709 if (i != ((long) (sizeof (long long))))
6711 fprintf (f, "%lu\n", i);
6713 exit (ferror (f) || fclose (f) != 0);
6719 rm -f conftest$ac_exeext
6720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6721 (eval $ac_link) 2>&5
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6729 (exit $ac_status); }; }; then
6730 ac_cv_sizeof_long_long=`cat conftest.val`
6732 echo "$as_me: program exited with status $ac_status" >&5
6733 echo "$as_me: failed program was:" >&5
6734 sed 's/^/| /' conftest.$ac_ext >&5
6737 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
6738 See \`config.log' for more details." >&5
6739 echo "$as_me: error: cannot compute sizeof (long long), 77
6740 See \`config.log' for more details." >&2;}
6741 { (exit 1); exit 1; }; }
6743 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6748 ac_cv_sizeof_long_long=0
6751 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
6752 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
6753 cat >>confdefs.h <<_ACEOF
6754 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
6760 echo "$as_me:$LINENO: checking for long" >&5
6761 echo $ECHO_N "checking for long... $ECHO_C" >&6
6762 if test "${ac_cv_type_long+set}" = set; then
6763 echo $ECHO_N "(cached) $ECHO_C" >&6
6765 cat >conftest.$ac_ext <<_ACEOF
6768 cat confdefs.h >>conftest.$ac_ext
6769 cat >>conftest.$ac_ext <<_ACEOF
6770 /* end confdefs.h. */
6771 $ac_includes_default
6783 rm -f conftest.$ac_objext
6784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6785 (eval $ac_compile) 2>conftest.er1
6787 grep -v '^ *+' conftest.er1 >conftest.err
6789 cat conftest.err >&5
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); } &&
6792 { ac_try='test -z "$ac_c_werror_flag"
6793 || test ! -s conftest.err'
6794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); }; } &&
6799 { ac_try='test -s conftest.$ac_objext'
6800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); }; }; then
6807 echo "$as_me: failed program was:" >&5
6808 sed 's/^/| /' conftest.$ac_ext >&5
6812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6814 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6815 echo "${ECHO_T}$ac_cv_type_long" >&6
6817 echo "$as_me:$LINENO: checking size of long" >&5
6818 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6819 if test "${ac_cv_sizeof_long+set}" = set; then
6820 echo $ECHO_N "(cached) $ECHO_C" >&6
6822 if test "$ac_cv_type_long" = yes; then
6823 # The cast to unsigned long works around a bug in the HP C Compiler
6824 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6825 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6826 # This bug is HP SR number 8606223364.
6827 if test "$cross_compiling" = yes; then
6828 # Depending upon the size, compute the lo and hi bounds.
6829 cat >conftest.$ac_ext <<_ACEOF
6832 cat confdefs.h >>conftest.$ac_ext
6833 cat >>conftest.$ac_ext <<_ACEOF
6834 /* end confdefs.h. */
6835 $ac_includes_default
6839 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6846 rm -f conftest.$ac_objext
6847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6848 (eval $ac_compile) 2>conftest.er1
6850 grep -v '^ *+' conftest.er1 >conftest.err
6852 cat conftest.err >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); } &&
6855 { ac_try='test -z "$ac_c_werror_flag"
6856 || test ! -s conftest.err'
6857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 (exit $ac_status); }; } &&
6862 { ac_try='test -s conftest.$ac_objext'
6863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); }; }; then
6870 cat >conftest.$ac_ext <<_ACEOF
6873 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF
6875 /* end confdefs.h. */
6876 $ac_includes_default
6880 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6887 rm -f conftest.$ac_objext
6888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6889 (eval $ac_compile) 2>conftest.er1
6891 grep -v '^ *+' conftest.er1 >conftest.err
6893 cat conftest.err >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); } &&
6896 { ac_try='test -z "$ac_c_werror_flag"
6897 || test ! -s conftest.err'
6898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); }; } &&
6903 { ac_try='test -s conftest.$ac_objext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; }; then
6909 ac_hi=$ac_mid; break
6911 echo "$as_me: failed program was:" >&5
6912 sed 's/^/| /' conftest.$ac_ext >&5
6914 ac_lo=`expr $ac_mid + 1`
6915 if test $ac_lo -le $ac_mid; then
6919 ac_mid=`expr 2 '*' $ac_mid + 1`
6921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6927 cat >conftest.$ac_ext <<_ACEOF
6930 cat confdefs.h >>conftest.$ac_ext
6931 cat >>conftest.$ac_ext <<_ACEOF
6932 /* end confdefs.h. */
6933 $ac_includes_default
6937 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6944 rm -f conftest.$ac_objext
6945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6946 (eval $ac_compile) 2>conftest.er1
6948 grep -v '^ *+' conftest.er1 >conftest.err
6950 cat conftest.err >&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } &&
6953 { ac_try='test -z "$ac_c_werror_flag"
6954 || test ! -s conftest.err'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; } &&
6960 { ac_try='test -s conftest.$ac_objext'
6961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); }; }; then
6968 cat >conftest.$ac_ext <<_ACEOF
6971 cat confdefs.h >>conftest.$ac_ext
6972 cat >>conftest.$ac_ext <<_ACEOF
6973 /* end confdefs.h. */
6974 $ac_includes_default
6978 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6985 rm -f conftest.$ac_objext
6986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6987 (eval $ac_compile) 2>conftest.er1
6989 grep -v '^ *+' conftest.er1 >conftest.err
6991 cat conftest.err >&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); } &&
6994 { ac_try='test -z "$ac_c_werror_flag"
6995 || test ! -s conftest.err'
6996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); }; } &&
7001 { ac_try='test -s conftest.$ac_objext'
7002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006 (exit $ac_status); }; }; then
7007 ac_lo=$ac_mid; break
7009 echo "$as_me: failed program was:" >&5
7010 sed 's/^/| /' conftest.$ac_ext >&5
7012 ac_hi=`expr '(' $ac_mid ')' - 1`
7013 if test $ac_mid -le $ac_hi; then
7017 ac_mid=`expr 2 '*' $ac_mid`
7019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7022 echo "$as_me: failed program was:" >&5
7023 sed 's/^/| /' conftest.$ac_ext >&5
7027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7030 # Binary search between lo and hi bounds.
7031 while test "x$ac_lo" != "x$ac_hi"; do
7032 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7033 cat >conftest.$ac_ext <<_ACEOF
7036 cat confdefs.h >>conftest.$ac_ext
7037 cat >>conftest.$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7039 $ac_includes_default
7043 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7050 rm -f conftest.$ac_objext
7051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7052 (eval $ac_compile) 2>conftest.er1
7054 grep -v '^ *+' conftest.er1 >conftest.err
7056 cat conftest.err >&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } &&
7059 { ac_try='test -z "$ac_c_werror_flag"
7060 || test ! -s conftest.err'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; } &&
7066 { ac_try='test -s conftest.$ac_objext'
7067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); }; }; then
7074 echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.$ac_ext >&5
7077 ac_lo=`expr '(' $ac_mid ')' + 1`
7079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7082 ?*) ac_cv_sizeof_long=$ac_lo;;
7083 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7084 See \`config.log' for more details." >&5
7085 echo "$as_me: error: cannot compute sizeof (long), 77
7086 See \`config.log' for more details." >&2;}
7087 { (exit 1); exit 1; }; } ;;
7090 if test "$cross_compiling" = yes; then
7091 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7092 See \`config.log' for more details." >&5
7093 echo "$as_me: error: cannot run test program while cross compiling
7094 See \`config.log' for more details." >&2;}
7095 { (exit 1); exit 1; }; }
7097 cat >conftest.$ac_ext <<_ACEOF
7100 cat confdefs.h >>conftest.$ac_ext
7101 cat >>conftest.$ac_ext <<_ACEOF
7102 /* end confdefs.h. */
7103 $ac_includes_default
7104 long longval () { return (long) (sizeof (long)); }
7105 unsigned long ulongval () { return (long) (sizeof (long)); }
7112 FILE *f = fopen ("conftest.val", "w");
7115 if (((long) (sizeof (long))) < 0)
7117 long i = longval ();
7118 if (i != ((long) (sizeof (long))))
7120 fprintf (f, "%ld\n", i);
7124 unsigned long i = ulongval ();
7125 if (i != ((long) (sizeof (long))))
7127 fprintf (f, "%lu\n", i);
7129 exit (ferror (f) || fclose (f) != 0);
7135 rm -f conftest$ac_exeext
7136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7137 (eval $ac_link) 2>&5
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); }; }; then
7146 ac_cv_sizeof_long=`cat conftest.val`
7148 echo "$as_me: program exited with status $ac_status" >&5
7149 echo "$as_me: failed program was:" >&5
7150 sed 's/^/| /' conftest.$ac_ext >&5
7153 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7154 See \`config.log' for more details." >&5
7155 echo "$as_me: error: cannot compute sizeof (long), 77
7156 See \`config.log' for more details." >&2;}
7157 { (exit 1); exit 1; }; }
7159 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7167 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7168 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7169 cat >>confdefs.h <<_ACEOF
7170 #define SIZEOF_LONG $ac_cv_sizeof_long
7174 if test "x${ac_cv_sizeof_long}" = "x8"; then
7176 BFD_HOST_64BIT_LONG=1
7177 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long"
7178 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long"
7179 elif test "x${ac_cv_sizeof_long_long}" = "x8"; then
7180 test -n "${HOST_64BIT_TYPE}" || HOST_64BIT_TYPE="long long"
7181 test -n "${HOST_U_64BIT_TYPE}" || HOST_U_64BIT_TYPE="unsigned long long"
7184 if test -n "${HOST_64BIT_TYPE}" -a -n "${HOST_U_64BIT_TYPE}"; then
7185 BFD_HOST_64_BIT_DEFINED=1
7186 BFD_HOST_64_BIT="${HOST_64BIT_TYPE}"
7187 BFD_HOST_U_64_BIT="${HOST_U_64BIT_TYPE}"
7196 # Put a plausible default for CC_FOR_BUILD in Makefile.
7197 if test -z "$CC_FOR_BUILD"; then
7198 if test "x$cross_compiling" = "xno"; then
7199 CC_FOR_BUILD='$(CC)'
7205 # Also set EXEEXT_FOR_BUILD.
7206 if test "x$cross_compiling" = "xno"; then
7207 EXEEXT_FOR_BUILD='$(EXEEXT)'
7209 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
7210 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
7211 if test "${bfd_cv_build_exeext+set}" = set; then
7212 echo $ECHO_N "(cached) $ECHO_C" >&6
7215 echo 'int main () { return 0; }' > conftest.c
7216 bfd_cv_build_exeext=
7217 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
7218 for file in conftest.*; do
7220 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
7221 *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
7225 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
7227 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
7228 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
7230 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
7240 for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h
7242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7244 echo "$as_me:$LINENO: checking for $ac_header" >&5
7245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7252 # Is the header compilable?
7253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7255 cat >conftest.$ac_ext <<_ACEOF
7258 cat confdefs.h >>conftest.$ac_ext
7259 cat >>conftest.$ac_ext <<_ACEOF
7260 /* end confdefs.h. */
7261 $ac_includes_default
7262 #include <$ac_header>
7264 rm -f conftest.$ac_objext
7265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7266 (eval $ac_compile) 2>conftest.er1
7268 grep -v '^ *+' conftest.er1 >conftest.err
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } &&
7273 { ac_try='test -z "$ac_c_werror_flag"
7274 || test ! -s conftest.err'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; } &&
7280 { ac_try='test -s conftest.$ac_objext'
7281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; }; then
7286 ac_header_compiler=yes
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 ac_header_compiler=no
7293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7295 echo "${ECHO_T}$ac_header_compiler" >&6
7297 # Is the header present?
7298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7300 cat >conftest.$ac_ext <<_ACEOF
7303 cat confdefs.h >>conftest.$ac_ext
7304 cat >>conftest.$ac_ext <<_ACEOF
7305 /* end confdefs.h. */
7306 #include <$ac_header>
7308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7311 grep -v '^ *+' conftest.er1 >conftest.err
7313 cat conftest.err >&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); } >/dev/null; then
7316 if test -s conftest.err; then
7317 ac_cpp_err=$ac_c_preproc_warn_flag
7318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7325 if test -z "$ac_cpp_err"; then
7326 ac_header_preproc=yes
7328 echo "$as_me: failed program was:" >&5
7329 sed 's/^/| /' conftest.$ac_ext >&5
7331 ac_header_preproc=no
7333 rm -f conftest.err conftest.$ac_ext
7334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7335 echo "${ECHO_T}$ac_header_preproc" >&6
7337 # So? What about this header?
7338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7344 ac_header_preproc=yes
7347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7361 ## ------------------------------------------ ##
7362 ## Report this to the AC_PACKAGE_NAME lists. ##
7363 ## ------------------------------------------ ##
7366 sed "s/^/$as_me: WARNING: /" >&2
7369 echo "$as_me:$LINENO: checking for $ac_header" >&5
7370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 eval "$as_ac_Header=\$ac_header_preproc"
7376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7381 cat >>confdefs.h <<_ACEOF
7382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7392 for ac_header in fcntl.h sys/file.h sys/time.h
7394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7396 echo "$as_me:$LINENO: checking for $ac_header" >&5
7397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7404 # Is the header compilable?
7405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7407 cat >conftest.$ac_ext <<_ACEOF
7410 cat confdefs.h >>conftest.$ac_ext
7411 cat >>conftest.$ac_ext <<_ACEOF
7412 /* end confdefs.h. */
7413 $ac_includes_default
7414 #include <$ac_header>
7416 rm -f conftest.$ac_objext
7417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7418 (eval $ac_compile) 2>conftest.er1
7420 grep -v '^ *+' conftest.er1 >conftest.err
7422 cat conftest.err >&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } &&
7425 { ac_try='test -z "$ac_c_werror_flag"
7426 || test ! -s conftest.err'
7427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); }; } &&
7432 { ac_try='test -s conftest.$ac_objext'
7433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); }; }; then
7438 ac_header_compiler=yes
7440 echo "$as_me: failed program was:" >&5
7441 sed 's/^/| /' conftest.$ac_ext >&5
7443 ac_header_compiler=no
7445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7447 echo "${ECHO_T}$ac_header_compiler" >&6
7449 # Is the header present?
7450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7452 cat >conftest.$ac_ext <<_ACEOF
7455 cat confdefs.h >>conftest.$ac_ext
7456 cat >>conftest.$ac_ext <<_ACEOF
7457 /* end confdefs.h. */
7458 #include <$ac_header>
7460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7461 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7463 grep -v '^ *+' conftest.er1 >conftest.err
7465 cat conftest.err >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); } >/dev/null; then
7468 if test -s conftest.err; then
7469 ac_cpp_err=$ac_c_preproc_warn_flag
7470 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7477 if test -z "$ac_cpp_err"; then
7478 ac_header_preproc=yes
7480 echo "$as_me: failed program was:" >&5
7481 sed 's/^/| /' conftest.$ac_ext >&5
7483 ac_header_preproc=no
7485 rm -f conftest.err conftest.$ac_ext
7486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7487 echo "${ECHO_T}$ac_header_preproc" >&6
7489 # So? What about this header?
7490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7495 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7496 ac_header_preproc=yes
7499 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7500 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7501 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7502 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7503 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7504 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7505 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7506 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7509 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7510 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7513 ## ------------------------------------------ ##
7514 ## Report this to the AC_PACKAGE_NAME lists. ##
7515 ## ------------------------------------------ ##
7518 sed "s/^/$as_me: WARNING: /" >&2
7521 echo "$as_me:$LINENO: checking for $ac_header" >&5
7522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7524 echo $ECHO_N "(cached) $ECHO_C" >&6
7526 eval "$as_ac_Header=\$ac_header_preproc"
7528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7533 cat >>confdefs.h <<_ACEOF
7534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7541 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7542 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7543 if test "${ac_cv_header_time+set}" = set; then
7544 echo $ECHO_N "(cached) $ECHO_C" >&6
7546 cat >conftest.$ac_ext <<_ACEOF
7549 cat confdefs.h >>conftest.$ac_ext
7550 cat >>conftest.$ac_ext <<_ACEOF
7551 /* end confdefs.h. */
7552 #include <sys/types.h>
7553 #include <sys/time.h>
7559 if ((struct tm *) 0)
7565 rm -f conftest.$ac_objext
7566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7567 (eval $ac_compile) 2>conftest.er1
7569 grep -v '^ *+' conftest.er1 >conftest.err
7571 cat conftest.err >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } &&
7574 { ac_try='test -z "$ac_c_werror_flag"
7575 || test ! -s conftest.err'
7576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); }; } &&
7581 { ac_try='test -s conftest.$ac_objext'
7582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); }; }; then
7587 ac_cv_header_time=yes
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 ac_cv_header_time=no
7594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7596 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7597 echo "${ECHO_T}$ac_cv_header_time" >&6
7598 if test $ac_cv_header_time = yes; then
7600 cat >>confdefs.h <<\_ACEOF
7601 #define TIME_WITH_SYS_TIME 1
7612 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7613 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
7614 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
7615 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
7616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7617 echo $ECHO_N "(cached) $ECHO_C" >&6
7619 cat >conftest.$ac_ext <<_ACEOF
7622 cat confdefs.h >>conftest.$ac_ext
7623 cat >>conftest.$ac_ext <<_ACEOF
7624 /* end confdefs.h. */
7625 #include <sys/types.h>
7637 rm -f conftest.$ac_objext
7638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7639 (eval $ac_compile) 2>conftest.er1
7641 grep -v '^ *+' conftest.er1 >conftest.err
7643 cat conftest.err >&5
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); } &&
7646 { ac_try='test -z "$ac_c_werror_flag"
7647 || test ! -s conftest.err'
7648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; } &&
7653 { ac_try='test -s conftest.$ac_objext'
7654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); }; }; then
7659 eval "$as_ac_Header=yes"
7661 echo "$as_me: failed program was:" >&5
7662 sed 's/^/| /' conftest.$ac_ext >&5
7664 eval "$as_ac_Header=no"
7666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7671 cat >>confdefs.h <<_ACEOF
7672 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
7675 ac_header_dirent=$ac_hdr; break
7679 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7680 if test $ac_header_dirent = dirent.h; then
7681 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7682 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7683 if test "${ac_cv_search_opendir+set}" = set; then
7684 echo $ECHO_N "(cached) $ECHO_C" >&6
7686 ac_func_search_save_LIBS=$LIBS
7687 ac_cv_search_opendir=no
7688 cat >conftest.$ac_ext <<_ACEOF
7691 cat confdefs.h >>conftest.$ac_ext
7692 cat >>conftest.$ac_ext <<_ACEOF
7693 /* end confdefs.h. */
7695 /* Override any gcc2 internal prototype to avoid an error. */
7699 /* We use char because int might match the return type of a gcc2
7700 builtin and then its argument prototype would still apply. */
7710 rm -f conftest.$ac_objext conftest$ac_exeext
7711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7712 (eval $ac_link) 2>conftest.er1
7714 grep -v '^ *+' conftest.er1 >conftest.err
7716 cat conftest.err >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); } &&
7719 { ac_try='test -z "$ac_c_werror_flag"
7720 || test ! -s conftest.err'
7721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); }; } &&
7726 { ac_try='test -s conftest$ac_exeext'
7727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); }; }; then
7732 ac_cv_search_opendir="none required"
7734 echo "$as_me: failed program was:" >&5
7735 sed 's/^/| /' conftest.$ac_ext >&5
7738 rm -f conftest.err conftest.$ac_objext \
7739 conftest$ac_exeext conftest.$ac_ext
7740 if test "$ac_cv_search_opendir" = no; then
7741 for ac_lib in dir; do
7742 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7743 cat >conftest.$ac_ext <<_ACEOF
7746 cat confdefs.h >>conftest.$ac_ext
7747 cat >>conftest.$ac_ext <<_ACEOF
7748 /* end confdefs.h. */
7750 /* Override any gcc2 internal prototype to avoid an error. */
7754 /* We use char because int might match the return type of a gcc2
7755 builtin and then its argument prototype would still apply. */
7765 rm -f conftest.$ac_objext conftest$ac_exeext
7766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7767 (eval $ac_link) 2>conftest.er1
7769 grep -v '^ *+' conftest.er1 >conftest.err
7771 cat conftest.err >&5
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773 (exit $ac_status); } &&
7774 { ac_try='test -z "$ac_c_werror_flag"
7775 || test ! -s conftest.err'
7776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); }; } &&
7781 { ac_try='test -s conftest$ac_exeext'
7782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); }; }; then
7787 ac_cv_search_opendir="-l$ac_lib"
7790 echo "$as_me: failed program was:" >&5
7791 sed 's/^/| /' conftest.$ac_ext >&5
7794 rm -f conftest.err conftest.$ac_objext \
7795 conftest$ac_exeext conftest.$ac_ext
7798 LIBS=$ac_func_search_save_LIBS
7800 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7801 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7802 if test "$ac_cv_search_opendir" != no; then
7803 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
7808 echo "$as_me:$LINENO: checking for library containing opendir" >&5
7809 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
7810 if test "${ac_cv_search_opendir+set}" = set; then
7811 echo $ECHO_N "(cached) $ECHO_C" >&6
7813 ac_func_search_save_LIBS=$LIBS
7814 ac_cv_search_opendir=no
7815 cat >conftest.$ac_ext <<_ACEOF
7818 cat confdefs.h >>conftest.$ac_ext
7819 cat >>conftest.$ac_ext <<_ACEOF
7820 /* end confdefs.h. */
7822 /* Override any gcc2 internal prototype to avoid an error. */
7826 /* We use char because int might match the return type of a gcc2
7827 builtin and then its argument prototype would still apply. */
7837 rm -f conftest.$ac_objext conftest$ac_exeext
7838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7839 (eval $ac_link) 2>conftest.er1
7841 grep -v '^ *+' conftest.er1 >conftest.err
7843 cat conftest.err >&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); } &&
7846 { ac_try='test -z "$ac_c_werror_flag"
7847 || test ! -s conftest.err'
7848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); }; } &&
7853 { ac_try='test -s conftest$ac_exeext'
7854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); }; }; then
7859 ac_cv_search_opendir="none required"
7861 echo "$as_me: failed program was:" >&5
7862 sed 's/^/| /' conftest.$ac_ext >&5
7865 rm -f conftest.err conftest.$ac_objext \
7866 conftest$ac_exeext conftest.$ac_ext
7867 if test "$ac_cv_search_opendir" = no; then
7869 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7870 cat >conftest.$ac_ext <<_ACEOF
7873 cat confdefs.h >>conftest.$ac_ext
7874 cat >>conftest.$ac_ext <<_ACEOF
7875 /* end confdefs.h. */
7877 /* Override any gcc2 internal prototype to avoid an error. */
7881 /* We use char because int might match the return type of a gcc2
7882 builtin and then its argument prototype would still apply. */
7892 rm -f conftest.$ac_objext conftest$ac_exeext
7893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7894 (eval $ac_link) 2>conftest.er1
7896 grep -v '^ *+' conftest.er1 >conftest.err
7898 cat conftest.err >&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); } &&
7901 { ac_try='test -z "$ac_c_werror_flag"
7902 || test ! -s conftest.err'
7903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; } &&
7908 { ac_try='test -s conftest$ac_exeext'
7909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); }; }; then
7914 ac_cv_search_opendir="-l$ac_lib"
7917 echo "$as_me: failed program was:" >&5
7918 sed 's/^/| /' conftest.$ac_ext >&5
7921 rm -f conftest.err conftest.$ac_objext \
7922 conftest$ac_exeext conftest.$ac_ext
7925 LIBS=$ac_func_search_save_LIBS
7927 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7928 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7929 if test "$ac_cv_search_opendir" != no; then
7930 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
7936 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
7937 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
7938 if test "${gcc_cv_header_string+set}" = set; then
7939 echo $ECHO_N "(cached) $ECHO_C" >&6
7941 cat >conftest.$ac_ext <<_ACEOF
7944 cat confdefs.h >>conftest.$ac_ext
7945 cat >>conftest.$ac_ext <<_ACEOF
7946 /* end confdefs.h. */
7948 #include <strings.h>
7957 rm -f conftest.$ac_objext
7958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7959 (eval $ac_compile) 2>conftest.er1
7961 grep -v '^ *+' conftest.er1 >conftest.err
7963 cat conftest.err >&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); } &&
7966 { ac_try='test -z "$ac_c_werror_flag"
7967 || test ! -s conftest.err'
7968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972 (exit $ac_status); }; } &&
7973 { ac_try='test -s conftest.$ac_objext'
7974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); }; }; then
7979 gcc_cv_header_string=yes
7981 echo "$as_me: failed program was:" >&5
7982 sed 's/^/| /' conftest.$ac_ext >&5
7984 gcc_cv_header_string=no
7986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7988 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
7989 echo "${ECHO_T}$gcc_cv_header_string" >&6
7990 if test $gcc_cv_header_string = yes; then
7992 cat >>confdefs.h <<\_ACEOF
7993 #define STRING_WITH_STRINGS 1
8005 for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid
8007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8008 echo "$as_me:$LINENO: checking for $ac_func" >&5
8009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8010 if eval "test \"\${$as_ac_var+set}\" = set"; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 cat >conftest.$ac_ext <<_ACEOF
8016 cat confdefs.h >>conftest.$ac_ext
8017 cat >>conftest.$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8021 #define $ac_func innocuous_$ac_func
8023 /* System header to define __stub macros and hopefully few prototypes,
8024 which can conflict with char $ac_func (); below.
8025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8026 <limits.h> exists even on freestanding compilers. */
8029 # include <limits.h>
8031 # include <assert.h>
8036 /* Override any gcc2 internal prototype to avoid an error. */
8041 /* We use char because int might match the return type of a gcc2
8042 builtin and then its argument prototype would still apply. */
8044 /* The GNU C library defines this for functions which it implements
8045 to always fail with ENOSYS. Some functions are actually named
8046 something starting with __ and the normal name is an alias. */
8047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8050 char (*f) () = $ac_func;
8059 return f != $ac_func;
8064 rm -f conftest.$ac_objext conftest$ac_exeext
8065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8066 (eval $ac_link) 2>conftest.er1
8068 grep -v '^ *+' conftest.er1 >conftest.err
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } &&
8073 { ac_try='test -z "$ac_c_werror_flag"
8074 || test ! -s conftest.err'
8075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); }; } &&
8080 { ac_try='test -s conftest$ac_exeext'
8081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085 (exit $ac_status); }; }; then
8086 eval "$as_ac_var=yes"
8088 echo "$as_me: failed program was:" >&5
8089 sed 's/^/| /' conftest.$ac_ext >&5
8091 eval "$as_ac_var=no"
8093 rm -f conftest.err conftest.$ac_objext \
8094 conftest$ac_exeext conftest.$ac_ext
8096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8098 if test `eval echo '${'$as_ac_var'}'` = yes; then
8099 cat >>confdefs.h <<_ACEOF
8100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8107 for ac_func in strtoull
8109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8110 echo "$as_me:$LINENO: checking for $ac_func" >&5
8111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8112 if eval "test \"\${$as_ac_var+set}\" = set"; then
8113 echo $ECHO_N "(cached) $ECHO_C" >&6
8115 cat >conftest.$ac_ext <<_ACEOF
8118 cat confdefs.h >>conftest.$ac_ext
8119 cat >>conftest.$ac_ext <<_ACEOF
8120 /* end confdefs.h. */
8121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8123 #define $ac_func innocuous_$ac_func
8125 /* System header to define __stub macros and hopefully few prototypes,
8126 which can conflict with char $ac_func (); below.
8127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8128 <limits.h> exists even on freestanding compilers. */
8131 # include <limits.h>
8133 # include <assert.h>
8138 /* Override any gcc2 internal prototype to avoid an error. */
8143 /* We use char because int might match the return type of a gcc2
8144 builtin and then its argument prototype would still apply. */
8146 /* The GNU C library defines this for functions which it implements
8147 to always fail with ENOSYS. Some functions are actually named
8148 something starting with __ and the normal name is an alias. */
8149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8152 char (*f) () = $ac_func;
8161 return f != $ac_func;
8166 rm -f conftest.$ac_objext conftest$ac_exeext
8167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8168 (eval $ac_link) 2>conftest.er1
8170 grep -v '^ *+' conftest.er1 >conftest.err
8172 cat conftest.err >&5
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); } &&
8175 { ac_try='test -z "$ac_c_werror_flag"
8176 || test ! -s conftest.err'
8177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181 (exit $ac_status); }; } &&
8182 { ac_try='test -s conftest$ac_exeext'
8183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); }; }; then
8188 eval "$as_ac_var=yes"
8190 echo "$as_me: failed program was:" >&5
8191 sed 's/^/| /' conftest.$ac_ext >&5
8193 eval "$as_ac_var=no"
8195 rm -f conftest.err conftest.$ac_objext \
8196 conftest$ac_exeext conftest.$ac_ext
8198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8200 if test `eval echo '${'$as_ac_var'}'` = yes; then
8201 cat >>confdefs.h <<_ACEOF
8202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8209 echo "$as_me:$LINENO: checking whether basename is declared" >&5
8210 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
8211 if test "${ac_cv_have_decl_basename+set}" = set; then
8212 echo $ECHO_N "(cached) $ECHO_C" >&6
8214 cat >conftest.$ac_ext <<_ACEOF
8217 cat confdefs.h >>conftest.$ac_ext
8218 cat >>conftest.$ac_ext <<_ACEOF
8219 /* end confdefs.h. */
8220 $ac_includes_default
8225 char *p = (char *) basename;
8232 rm -f conftest.$ac_objext
8233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8234 (eval $ac_compile) 2>conftest.er1
8236 grep -v '^ *+' conftest.er1 >conftest.err
8238 cat conftest.err >&5
8239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240 (exit $ac_status); } &&
8241 { ac_try='test -z "$ac_c_werror_flag"
8242 || test ! -s conftest.err'
8243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); }; } &&
8248 { ac_try='test -s conftest.$ac_objext'
8249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); }; }; then
8254 ac_cv_have_decl_basename=yes
8256 echo "$as_me: failed program was:" >&5
8257 sed 's/^/| /' conftest.$ac_ext >&5
8259 ac_cv_have_decl_basename=no
8261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8263 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
8264 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
8265 if test $ac_cv_have_decl_basename = yes; then
8267 cat >>confdefs.h <<_ACEOF
8268 #define HAVE_DECL_BASENAME 1
8273 cat >>confdefs.h <<_ACEOF
8274 #define HAVE_DECL_BASENAME 0
8281 echo "$as_me:$LINENO: checking whether ftello is declared" >&5
8282 echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
8283 if test "${ac_cv_have_decl_ftello+set}" = set; then
8284 echo $ECHO_N "(cached) $ECHO_C" >&6
8286 cat >conftest.$ac_ext <<_ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8292 $ac_includes_default
8297 char *p = (char *) ftello;
8304 rm -f conftest.$ac_objext
8305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8306 (eval $ac_compile) 2>conftest.er1
8308 grep -v '^ *+' conftest.er1 >conftest.err
8310 cat conftest.err >&5
8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8312 (exit $ac_status); } &&
8313 { ac_try='test -z "$ac_c_werror_flag"
8314 || test ! -s conftest.err'
8315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); }; } &&
8320 { ac_try='test -s conftest.$ac_objext'
8321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; }; then
8326 ac_cv_have_decl_ftello=yes
8328 echo "$as_me: failed program was:" >&5
8329 sed 's/^/| /' conftest.$ac_ext >&5
8331 ac_cv_have_decl_ftello=no
8333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8335 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
8336 echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
8337 if test $ac_cv_have_decl_ftello = yes; then
8339 cat >>confdefs.h <<_ACEOF
8340 #define HAVE_DECL_FTELLO 1
8345 cat >>confdefs.h <<_ACEOF
8346 #define HAVE_DECL_FTELLO 0
8353 echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
8354 echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
8355 if test "${ac_cv_have_decl_ftello64+set}" = set; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 cat >conftest.$ac_ext <<_ACEOF
8361 cat confdefs.h >>conftest.$ac_ext
8362 cat >>conftest.$ac_ext <<_ACEOF
8363 /* end confdefs.h. */
8364 $ac_includes_default
8369 char *p = (char *) ftello64;
8376 rm -f conftest.$ac_objext
8377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8378 (eval $ac_compile) 2>conftest.er1
8380 grep -v '^ *+' conftest.er1 >conftest.err
8382 cat conftest.err >&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } &&
8385 { ac_try='test -z "$ac_c_werror_flag"
8386 || test ! -s conftest.err'
8387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); }; } &&
8392 { ac_try='test -s conftest.$ac_objext'
8393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 (exit $ac_status); }; }; then
8398 ac_cv_have_decl_ftello64=yes
8400 echo "$as_me: failed program was:" >&5
8401 sed 's/^/| /' conftest.$ac_ext >&5
8403 ac_cv_have_decl_ftello64=no
8405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8407 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
8408 echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
8409 if test $ac_cv_have_decl_ftello64 = yes; then
8411 cat >>confdefs.h <<_ACEOF
8412 #define HAVE_DECL_FTELLO64 1
8417 cat >>confdefs.h <<_ACEOF
8418 #define HAVE_DECL_FTELLO64 0
8425 echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
8426 echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
8427 if test "${ac_cv_have_decl_fseeko+set}" = set; then
8428 echo $ECHO_N "(cached) $ECHO_C" >&6
8430 cat >conftest.$ac_ext <<_ACEOF
8433 cat confdefs.h >>conftest.$ac_ext
8434 cat >>conftest.$ac_ext <<_ACEOF
8435 /* end confdefs.h. */
8436 $ac_includes_default
8441 char *p = (char *) fseeko;
8448 rm -f conftest.$ac_objext
8449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8450 (eval $ac_compile) 2>conftest.er1
8452 grep -v '^ *+' conftest.er1 >conftest.err
8454 cat conftest.err >&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); } &&
8457 { ac_try='test -z "$ac_c_werror_flag"
8458 || test ! -s conftest.err'
8459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; } &&
8464 { ac_try='test -s conftest.$ac_objext'
8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; }; then
8470 ac_cv_have_decl_fseeko=yes
8472 echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.$ac_ext >&5
8475 ac_cv_have_decl_fseeko=no
8477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8479 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
8480 echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
8481 if test $ac_cv_have_decl_fseeko = yes; then
8483 cat >>confdefs.h <<_ACEOF
8484 #define HAVE_DECL_FSEEKO 1
8489 cat >>confdefs.h <<_ACEOF
8490 #define HAVE_DECL_FSEEKO 0
8497 echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
8498 echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
8499 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
8500 echo $ECHO_N "(cached) $ECHO_C" >&6
8502 cat >conftest.$ac_ext <<_ACEOF
8505 cat confdefs.h >>conftest.$ac_ext
8506 cat >>conftest.$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8508 $ac_includes_default
8513 char *p = (char *) fseeko64;
8520 rm -f conftest.$ac_objext
8521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8522 (eval $ac_compile) 2>conftest.er1
8524 grep -v '^ *+' conftest.er1 >conftest.err
8526 cat conftest.err >&5
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); } &&
8529 { ac_try='test -z "$ac_c_werror_flag"
8530 || test ! -s conftest.err'
8531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; } &&
8536 { ac_try='test -s conftest.$ac_objext'
8537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; }; then
8542 ac_cv_have_decl_fseeko64=yes
8544 echo "$as_me: failed program was:" >&5
8545 sed 's/^/| /' conftest.$ac_ext >&5
8547 ac_cv_have_decl_fseeko64=no
8549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8551 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
8552 echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
8553 if test $ac_cv_have_decl_fseeko64 = yes; then
8555 cat >>confdefs.h <<_ACEOF
8556 #define HAVE_DECL_FSEEKO64 1
8561 cat >>confdefs.h <<_ACEOF
8562 #define HAVE_DECL_FSEEKO64 0
8572 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
8574 cat >>confdefs.h <<\_ACEOF
8575 #define USE_BINARY_FOPEN 1
8580 echo "$as_me:$LINENO: checking whether ffs is declared" >&5
8581 echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
8582 if test "${ac_cv_have_decl_ffs+set}" = set; then
8583 echo $ECHO_N "(cached) $ECHO_C" >&6
8585 cat >conftest.$ac_ext <<_ACEOF
8588 cat confdefs.h >>conftest.$ac_ext
8589 cat >>conftest.$ac_ext <<_ACEOF
8590 /* end confdefs.h. */
8591 $ac_includes_default
8596 char *p = (char *) ffs;
8603 rm -f conftest.$ac_objext
8604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8605 (eval $ac_compile) 2>conftest.er1
8607 grep -v '^ *+' conftest.er1 >conftest.err
8609 cat conftest.err >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); } &&
8612 { ac_try='test -z "$ac_c_werror_flag"
8613 || test ! -s conftest.err'
8614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); }; } &&
8619 { ac_try='test -s conftest.$ac_objext'
8620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); }; }; then
8625 ac_cv_have_decl_ffs=yes
8627 echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.$ac_ext >&5
8630 ac_cv_have_decl_ffs=no
8632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8634 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
8635 echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
8636 if test $ac_cv_have_decl_ffs = yes; then
8638 cat >>confdefs.h <<_ACEOF
8639 #define HAVE_DECL_FFS 1
8644 cat >>confdefs.h <<_ACEOF
8645 #define HAVE_DECL_FFS 0
8652 echo "$as_me:$LINENO: checking whether free is declared" >&5
8653 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
8654 if test "${ac_cv_have_decl_free+set}" = set; then
8655 echo $ECHO_N "(cached) $ECHO_C" >&6
8657 cat >conftest.$ac_ext <<_ACEOF
8660 cat confdefs.h >>conftest.$ac_ext
8661 cat >>conftest.$ac_ext <<_ACEOF
8662 /* end confdefs.h. */
8663 $ac_includes_default
8668 char *p = (char *) free;
8675 rm -f conftest.$ac_objext
8676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8677 (eval $ac_compile) 2>conftest.er1
8679 grep -v '^ *+' conftest.er1 >conftest.err
8681 cat conftest.err >&5
8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8683 (exit $ac_status); } &&
8684 { ac_try='test -z "$ac_c_werror_flag"
8685 || test ! -s conftest.err'
8686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); }; } &&
8691 { ac_try='test -s conftest.$ac_objext'
8692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); }; }; then
8697 ac_cv_have_decl_free=yes
8699 echo "$as_me: failed program was:" >&5
8700 sed 's/^/| /' conftest.$ac_ext >&5
8702 ac_cv_have_decl_free=no
8704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8706 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
8707 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
8708 if test $ac_cv_have_decl_free = yes; then
8710 cat >>confdefs.h <<_ACEOF
8711 #define HAVE_DECL_FREE 1
8716 cat >>confdefs.h <<_ACEOF
8717 #define HAVE_DECL_FREE 0
8724 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
8725 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
8726 if test "${ac_cv_have_decl_getenv+set}" = set; then
8727 echo $ECHO_N "(cached) $ECHO_C" >&6
8729 cat >conftest.$ac_ext <<_ACEOF
8732 cat confdefs.h >>conftest.$ac_ext
8733 cat >>conftest.$ac_ext <<_ACEOF
8734 /* end confdefs.h. */
8735 $ac_includes_default
8740 char *p = (char *) getenv;
8747 rm -f conftest.$ac_objext
8748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8749 (eval $ac_compile) 2>conftest.er1
8751 grep -v '^ *+' conftest.er1 >conftest.err
8753 cat conftest.err >&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); } &&
8756 { ac_try='test -z "$ac_c_werror_flag"
8757 || test ! -s conftest.err'
8758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); }; } &&
8763 { ac_try='test -s conftest.$ac_objext'
8764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); }; }; then
8769 ac_cv_have_decl_getenv=yes
8771 echo "$as_me: failed program was:" >&5
8772 sed 's/^/| /' conftest.$ac_ext >&5
8774 ac_cv_have_decl_getenv=no
8776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8778 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
8779 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
8780 if test $ac_cv_have_decl_getenv = yes; then
8782 cat >>confdefs.h <<_ACEOF
8783 #define HAVE_DECL_GETENV 1
8788 cat >>confdefs.h <<_ACEOF
8789 #define HAVE_DECL_GETENV 0
8796 echo "$as_me:$LINENO: checking whether malloc is declared" >&5
8797 echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
8798 if test "${ac_cv_have_decl_malloc+set}" = set; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 cat >conftest.$ac_ext <<_ACEOF
8804 cat confdefs.h >>conftest.$ac_ext
8805 cat >>conftest.$ac_ext <<_ACEOF
8806 /* end confdefs.h. */
8807 $ac_includes_default
8812 char *p = (char *) malloc;
8819 rm -f conftest.$ac_objext
8820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8821 (eval $ac_compile) 2>conftest.er1
8823 grep -v '^ *+' conftest.er1 >conftest.err
8825 cat conftest.err >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); } &&
8828 { ac_try='test -z "$ac_c_werror_flag"
8829 || test ! -s conftest.err'
8830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); }; } &&
8835 { ac_try='test -s conftest.$ac_objext'
8836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); }; }; then
8841 ac_cv_have_decl_malloc=yes
8843 echo "$as_me: failed program was:" >&5
8844 sed 's/^/| /' conftest.$ac_ext >&5
8846 ac_cv_have_decl_malloc=no
8848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8850 echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
8851 echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
8852 if test $ac_cv_have_decl_malloc = yes; then
8854 cat >>confdefs.h <<_ACEOF
8855 #define HAVE_DECL_MALLOC 1
8860 cat >>confdefs.h <<_ACEOF
8861 #define HAVE_DECL_MALLOC 0
8868 echo "$as_me:$LINENO: checking whether realloc is declared" >&5
8869 echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
8870 if test "${ac_cv_have_decl_realloc+set}" = set; then
8871 echo $ECHO_N "(cached) $ECHO_C" >&6
8873 cat >conftest.$ac_ext <<_ACEOF
8876 cat confdefs.h >>conftest.$ac_ext
8877 cat >>conftest.$ac_ext <<_ACEOF
8878 /* end confdefs.h. */
8879 $ac_includes_default
8884 char *p = (char *) realloc;
8891 rm -f conftest.$ac_objext
8892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8893 (eval $ac_compile) 2>conftest.er1
8895 grep -v '^ *+' conftest.er1 >conftest.err
8897 cat conftest.err >&5
8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899 (exit $ac_status); } &&
8900 { ac_try='test -z "$ac_c_werror_flag"
8901 || test ! -s conftest.err'
8902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); }; } &&
8907 { ac_try='test -s conftest.$ac_objext'
8908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); }; }; then
8913 ac_cv_have_decl_realloc=yes
8915 echo "$as_me: failed program was:" >&5
8916 sed 's/^/| /' conftest.$ac_ext >&5
8918 ac_cv_have_decl_realloc=no
8920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8922 echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
8923 echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
8924 if test $ac_cv_have_decl_realloc = yes; then
8926 cat >>confdefs.h <<_ACEOF
8927 #define HAVE_DECL_REALLOC 1
8932 cat >>confdefs.h <<_ACEOF
8933 #define HAVE_DECL_REALLOC 0
8940 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
8941 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
8942 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
8943 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 cat >conftest.$ac_ext <<_ACEOF
8948 cat confdefs.h >>conftest.$ac_ext
8949 cat >>conftest.$ac_ext <<_ACEOF
8950 /* end confdefs.h. */
8951 $ac_includes_default
8956 char *p = (char *) stpcpy;
8963 rm -f conftest.$ac_objext
8964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8965 (eval $ac_compile) 2>conftest.er1
8967 grep -v '^ *+' conftest.er1 >conftest.err
8969 cat conftest.err >&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); } &&
8972 { ac_try='test -z "$ac_c_werror_flag"
8973 || test ! -s conftest.err'
8974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); }; } &&
8979 { ac_try='test -s conftest.$ac_objext'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; }; then
8985 ac_cv_have_decl_stpcpy=yes
8987 echo "$as_me: failed program was:" >&5
8988 sed 's/^/| /' conftest.$ac_ext >&5
8990 ac_cv_have_decl_stpcpy=no
8992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8994 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
8995 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
8996 if test $ac_cv_have_decl_stpcpy = yes; then
8998 cat >>confdefs.h <<_ACEOF
8999 #define HAVE_DECL_STPCPY 1
9004 cat >>confdefs.h <<_ACEOF
9005 #define HAVE_DECL_STPCPY 0
9012 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
9013 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
9014 if test "${ac_cv_have_decl_strstr+set}" = set; then
9015 echo $ECHO_N "(cached) $ECHO_C" >&6
9017 cat >conftest.$ac_ext <<_ACEOF
9020 cat confdefs.h >>conftest.$ac_ext
9021 cat >>conftest.$ac_ext <<_ACEOF
9022 /* end confdefs.h. */
9023 $ac_includes_default
9028 char *p = (char *) strstr;
9035 rm -f conftest.$ac_objext
9036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9037 (eval $ac_compile) 2>conftest.er1
9039 grep -v '^ *+' conftest.er1 >conftest.err
9041 cat conftest.err >&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); } &&
9044 { ac_try='test -z "$ac_c_werror_flag"
9045 || test ! -s conftest.err'
9046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050 (exit $ac_status); }; } &&
9051 { ac_try='test -s conftest.$ac_objext'
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; }; then
9057 ac_cv_have_decl_strstr=yes
9059 echo "$as_me: failed program was:" >&5
9060 sed 's/^/| /' conftest.$ac_ext >&5
9062 ac_cv_have_decl_strstr=no
9064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9066 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
9067 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
9068 if test $ac_cv_have_decl_strstr = yes; then
9070 cat >>confdefs.h <<_ACEOF
9071 #define HAVE_DECL_STRSTR 1
9076 cat >>confdefs.h <<_ACEOF
9077 #define HAVE_DECL_STRSTR 0
9084 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
9085 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
9086 if test "${ac_cv_have_decl_snprintf+set}" = set; then
9087 echo $ECHO_N "(cached) $ECHO_C" >&6
9089 cat >conftest.$ac_ext <<_ACEOF
9092 cat confdefs.h >>conftest.$ac_ext
9093 cat >>conftest.$ac_ext <<_ACEOF
9094 /* end confdefs.h. */
9095 $ac_includes_default
9100 char *p = (char *) snprintf;
9107 rm -f conftest.$ac_objext
9108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9109 (eval $ac_compile) 2>conftest.er1
9111 grep -v '^ *+' conftest.er1 >conftest.err
9113 cat conftest.err >&5
9114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115 (exit $ac_status); } &&
9116 { ac_try='test -z "$ac_c_werror_flag"
9117 || test ! -s conftest.err'
9118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); }; } &&
9123 { ac_try='test -s conftest.$ac_objext'
9124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9128 (exit $ac_status); }; }; then
9129 ac_cv_have_decl_snprintf=yes
9131 echo "$as_me: failed program was:" >&5
9132 sed 's/^/| /' conftest.$ac_ext >&5
9134 ac_cv_have_decl_snprintf=no
9136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9138 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
9139 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
9140 if test $ac_cv_have_decl_snprintf = yes; then
9142 cat >>confdefs.h <<_ACEOF
9143 #define HAVE_DECL_SNPRINTF 1
9148 cat >>confdefs.h <<_ACEOF
9149 #define HAVE_DECL_SNPRINTF 0
9156 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
9157 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
9158 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
9159 echo $ECHO_N "(cached) $ECHO_C" >&6
9161 cat >conftest.$ac_ext <<_ACEOF
9164 cat confdefs.h >>conftest.$ac_ext
9165 cat >>conftest.$ac_ext <<_ACEOF
9166 /* end confdefs.h. */
9167 $ac_includes_default
9172 char *p = (char *) vsnprintf;
9179 rm -f conftest.$ac_objext
9180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9181 (eval $ac_compile) 2>conftest.er1
9183 grep -v '^ *+' conftest.er1 >conftest.err
9185 cat conftest.err >&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); } &&
9188 { ac_try='test -z "$ac_c_werror_flag"
9189 || test ! -s conftest.err'
9190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9194 (exit $ac_status); }; } &&
9195 { ac_try='test -s conftest.$ac_objext'
9196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 (exit $ac_status); }; }; then
9201 ac_cv_have_decl_vsnprintf=yes
9203 echo "$as_me: failed program was:" >&5
9204 sed 's/^/| /' conftest.$ac_ext >&5
9206 ac_cv_have_decl_vsnprintf=no
9208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9210 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
9211 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
9212 if test $ac_cv_have_decl_vsnprintf = yes; then
9214 cat >>confdefs.h <<_ACEOF
9215 #define HAVE_DECL_VSNPRINTF 1
9220 cat >>confdefs.h <<_ACEOF
9221 #define HAVE_DECL_VSNPRINTF 0
9229 # If we are configured native, pick a core file support file.
9233 if test "${target}" = "${host}"; then
9235 alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
9239 COREFILE=trad-core.lo
9240 TRAD_HEADER='"hosts/alphalinux.h"'
9242 alpha*-*-netbsd* | alpha*-*-openbsd*)
9243 COREFILE=netbsd-core.lo
9245 alpha*-*-*) COREFILE=osf-core.lo ;;
9246 arm-*-freebsd* | arm-*-kfreebsd*-gnu)
9248 arm-*-netbsd* | arm-*-openbsd*)
9249 COREFILE=netbsd-core.lo
9251 arm-*-riscix) COREFILE=trad-core.lo ;;
9252 hppa*-*-hpux*) COREFILE=hpux-core.lo ;;
9253 hppa*-*-hiux*) COREFILE=hpux-core.lo ;;
9254 hppa*-*-mpeix*) COREFILE=hpux-core.lo ;;
9255 hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo"
9256 COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;;
9257 hppa*-*-netbsd* | hppa*-*-openbsd*)
9258 COREFILE=netbsd-core.lo
9262 COREFILE=trad-core.lo
9263 TRAD_HEADER='"hosts/i370linux.h"'
9266 i[3-7]86-sequent-bsd*)
9267 COREFILE=trad-core.lo
9268 TRAD_HEADER='"hosts/symmetry.h"'
9270 i[3-7]86-sequent-sysv4*) ;;
9271 i[3-7]86-sequent-sysv*)
9272 COREFILE=trad-core.lo
9273 TRAD_HEADER='"hosts/symmetry.h"'
9278 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*)
9279 COREFILE=trad-core.lo
9280 TRAD_HEADER='"hosts/i386bsd.h"'
9282 i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu)
9284 TRAD_HEADER='"hosts/i386bsd.h"'
9286 i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu | i[3-7]86-*-openbsd*)
9287 COREFILE=netbsd-core.lo
9289 i[3-7]86-esix-sysv3*)
9290 COREFILE=trad-core.lo
9291 TRAD_HEADER='"hosts/esix.h"'
9293 i[3-7]86-*-sco3.2v5*)
9294 COREFILE=sco5-core.lo
9296 i[3-7]86-*-sco* | i[3-7]86-*-isc*)
9297 COREFILE=trad-core.lo
9298 TRAD_HEADER='"hosts/i386sco.h"'
9301 COREFILE=trad-core.lo
9302 TRAD_HEADER='"hosts/i386mach3.h"'
9305 COREFILE=trad-core.lo
9306 TRAD_HEADER='"hosts/i386linux.h"'
9308 i[3-7]86-*-isc*) COREFILE=trad-core.lo ;;
9309 i[3-7]86-*-aix*) COREFILE=aix386-core.lo ;;
9310 i860-*-mach3* | i860-*-osf1*)
9311 COREFILE=trad-core.lo
9312 TRAD_HEADER='"hosts/i860mach3.h"'
9314 mips-*-netbsd* | mips*-*-openbsd*)
9315 COREFILE=netbsd-core.lo
9318 COREFILE=trad-core.lo
9319 TRAD_HEADER='"hosts/decstation.h"'
9321 mips-sgi-irix4*) COREFILE=irix-core.lo ;;
9322 mips-sgi-irix5*) COREFILE=irix-core.lo ;;
9323 mips-sgi-irix6*) COREFILE=irix-core.lo ;;
9325 mips-*-sysv* | mips-*-riscos*)
9326 COREFILE=trad-core.lo
9327 TRAD_HEADER='"hosts/riscos.h"'
9330 COREFILE=trad-core.lo
9331 TRAD_HEADER='"hosts/news-mips.h"'
9334 COREFILE=trad-core.lo
9335 TRAD_HEADER='"hosts/dpx2.h"'
9337 m68*-hp-hpux*) COREFILE=hpux-core.lo ;;
9339 COREFILE=trad-core.lo
9340 TRAD_HEADER='"hosts/hp300bsd.h"'
9343 COREFILE=trad-core.lo
9344 TRAD_HEADER='"hosts/m68klinux.h"'
9346 m68*-motorola-sysv*)
9347 COREFILE=trad-core.lo
9348 TRAD_HEADER='"hosts/delta68.h"'
9351 COREFILE=trad-core.lo
9352 TRAD_HEADER='"hosts/news.h"'
9354 m68*-*-netbsd* | m68*-*-openbsd*)
9355 COREFILE=netbsd-core.lo
9358 COREFILE=trad-core.lo
9359 TRAD_HEADER='"hosts/m68kaux.h"'
9363 m88*-motorola-sysv*)
9364 COREFILE=ptrace-core.lo
9367 COREFILE=trad-core.lo
9368 TRAD_HEADER='"hosts/m88kmach3.h"'
9371 COREFILE=netbsd-core.lo
9374 COREFILE=trad-core.lo
9375 TRAD_HEADER='"hosts/pc532mach.h"'
9377 ns32k-*-netbsd* | ns32k-*-openbsd*)
9378 COREFILE=netbsd-core.lo
9381 COREFILE=lynx-core.lo
9383 rs6000-*-aix5.* | powerpc-*-aix5.*)
9384 COREFILE=rs6000-core.lo
9385 COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
9387 rs6000-*-aix4.[3-9]* | powerpc-*-aix4.[3-9]*)
9388 COREFILE=rs6000-core.lo
9389 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
9390 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
9391 # have c_impl as a member of struct core_dumpx
9392 echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
9393 echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
9394 cat >conftest.$ac_ext <<_ACEOF
9397 cat confdefs.h >>conftest.$ac_ext
9398 cat >>conftest.$ac_ext <<_ACEOF
9399 /* end confdefs.h. */
9404 struct core_dumpx c; c.c_impl = 0;
9409 rm -f conftest.$ac_objext
9410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9411 (eval $ac_compile) 2>conftest.er1
9413 grep -v '^ *+' conftest.er1 >conftest.err
9415 cat conftest.err >&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); } &&
9418 { ac_try='test -z "$ac_c_werror_flag"
9419 || test ! -s conftest.err'
9420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9424 (exit $ac_status); }; } &&
9425 { ac_try='test -s conftest.$ac_objext'
9426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); }; }; then
9432 cat >>confdefs.h <<\_ACEOF
9433 #define HAVE_ST_C_IMPL 1
9436 echo "$as_me:$LINENO: result: yes" >&5
9437 echo "${ECHO_T}yes" >&6
9439 echo "$as_me: failed program was:" >&5
9440 sed 's/^/| /' conftest.$ac_ext >&5
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9447 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;;
9448 rs6000-*-*) COREFILE=rs6000-core.lo ;;
9449 powerpc-*-aix4*) COREFILE=rs6000-core.lo ;;
9450 powerpc-*-aix*) COREFILE=rs6000-core.lo ;;
9452 powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
9454 powerpc-*-netbsd*) COREFILE=netbsd-core.lo ;;
9455 powerpc-*-*bsd*) COREFILE=netbsd-core.lo ;;
9456 s390*-*-*) COREFILE=trad-core.lo ;;
9457 sh*-*-netbsd* | sh*-*-openbsd*)
9458 COREFILE=netbsd-core.lo
9460 sparc-*-netbsd* | sparc*-*-openbsd*)
9461 COREFILE=netbsd-core.lo
9464 COREFILE=trad-core.lo
9465 TRAD_HEADER='"hosts/tahoe.h"'
9467 vax-*-netbsd* | vax-*-openbsd*)
9468 COREFILE=netbsd-core.lo
9471 COREFILE=trad-core.lo
9472 TRAD_HEADER='"hosts/vaxult2.h"'
9475 COREFILE=trad-core.lo
9476 TRAD_HEADER='"hosts/vaxult2.h"'
9479 COREFILE=trad-core.lo
9480 TRAD_HEADER='"hosts/vaxlinux.h"'
9483 COREFILE=trad-core.lo
9484 TRAD_HEADER='"hosts/vaxbsd.h"'
9486 x86_64-*-netbsd* | x86_64-*-openbsd*)
9487 COREFILE=netbsd-core.lo
9492 aix386-core.lo) COREFLAG=-DAIX386_CORE ;;
9493 hppabsd-core.lo) COREFLAG=-DHPPABSD_CORE ;;
9494 hpux-core.lo) COREFLAG=-DHPUX_CORE ;;
9495 irix-core.lo) COREFLAG=-DIRIX_CORE ;;
9496 lynx-core.lo) COREFLAG=-DLYNX_CORE ;;
9497 netbsd-core.lo) COREFLAG=-DNETBSD_CORE ;;
9498 osf-core.lo) COREFLAG=-DOSF_CORE ;;
9499 ptrace-core.lo) COREFLAG=-DPTRACE_CORE ;;
9500 rs6000-core.lo) COREFLAG="$COREFLAG -DAIX_CORE" ;;
9501 sco5-core.lo) COREFLAG="$COREFLAG -DSCO5_CORE" ;;
9502 trad-core.lo) COREFLAG="$COREFLAG -DTRAD_CORE" ;;
9505 # ELF corefile support has several flavors, but all of
9506 # them use something called <sys/procfs.h>
9508 for ac_header in sys/procfs.h
9510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9512 echo "$as_me:$LINENO: checking for $ac_header" >&5
9513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9515 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9520 # Is the header compilable?
9521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9523 cat >conftest.$ac_ext <<_ACEOF
9526 cat confdefs.h >>conftest.$ac_ext
9527 cat >>conftest.$ac_ext <<_ACEOF
9528 /* end confdefs.h. */
9529 $ac_includes_default
9530 #include <$ac_header>
9532 rm -f conftest.$ac_objext
9533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9534 (eval $ac_compile) 2>conftest.er1
9536 grep -v '^ *+' conftest.er1 >conftest.err
9538 cat conftest.err >&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); } &&
9541 { ac_try='test -z "$ac_c_werror_flag"
9542 || test ! -s conftest.err'
9543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); }; } &&
9548 { ac_try='test -s conftest.$ac_objext'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; }; then
9554 ac_header_compiler=yes
9556 echo "$as_me: failed program was:" >&5
9557 sed 's/^/| /' conftest.$ac_ext >&5
9559 ac_header_compiler=no
9561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9563 echo "${ECHO_T}$ac_header_compiler" >&6
9565 # Is the header present?
9566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9568 cat >conftest.$ac_ext <<_ACEOF
9571 cat confdefs.h >>conftest.$ac_ext
9572 cat >>conftest.$ac_ext <<_ACEOF
9573 /* end confdefs.h. */
9574 #include <$ac_header>
9576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9579 grep -v '^ *+' conftest.er1 >conftest.err
9581 cat conftest.err >&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); } >/dev/null; then
9584 if test -s conftest.err; then
9585 ac_cpp_err=$ac_c_preproc_warn_flag
9586 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9593 if test -z "$ac_cpp_err"; then
9594 ac_header_preproc=yes
9596 echo "$as_me: failed program was:" >&5
9597 sed 's/^/| /' conftest.$ac_ext >&5
9599 ac_header_preproc=no
9601 rm -f conftest.err conftest.$ac_ext
9602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9603 echo "${ECHO_T}$ac_header_preproc" >&6
9605 # So? What about this header?
9606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9612 ac_header_preproc=yes
9615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9619 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9621 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9622 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9625 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9629 ## ------------------------------------------ ##
9630 ## Report this to the AC_PACKAGE_NAME lists. ##
9631 ## ------------------------------------------ ##
9634 sed "s/^/$as_me: WARNING: /" >&2
9637 echo "$as_me:$LINENO: checking for $ac_header" >&5
9638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 eval "$as_ac_Header=\$ac_header_preproc"
9644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9649 cat >>confdefs.h <<_ACEOF
9650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9657 if test "$ac_cv_header_sys_procfs_h" = yes; then
9658 echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
9659 echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
9660 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
9661 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 cat >conftest.$ac_ext <<_ACEOF
9666 cat confdefs.h >>conftest.$ac_ext
9667 cat >>conftest.$ac_ext <<_ACEOF
9668 /* end confdefs.h. */
9671 #include <sys/procfs.h>
9680 rm -f conftest.$ac_objext
9681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9682 (eval $ac_compile) 2>conftest.er1
9684 grep -v '^ *+' conftest.er1 >conftest.err
9686 cat conftest.err >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } &&
9689 { ac_try='test -z "$ac_c_werror_flag"
9690 || test ! -s conftest.err'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; } &&
9696 { ac_try='test -s conftest.$ac_objext'
9697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); }; }; then
9702 bfd_cv_have_sys_procfs_type_prstatus_t=yes
9704 echo "$as_me: failed program was:" >&5
9705 sed 's/^/| /' conftest.$ac_ext >&5
9707 bfd_cv_have_sys_procfs_type_prstatus_t=no
9710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9713 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
9715 cat >>confdefs.h <<\_ACEOF
9716 #define HAVE_PRSTATUS_T 1
9720 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
9721 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
9723 echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
9724 echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
9725 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
9726 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 cat >conftest.$ac_ext <<_ACEOF
9731 cat confdefs.h >>conftest.$ac_ext
9732 cat >>conftest.$ac_ext <<_ACEOF
9733 /* end confdefs.h. */
9736 #include <sys/procfs.h>
9745 rm -f conftest.$ac_objext
9746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9747 (eval $ac_compile) 2>conftest.er1
9749 grep -v '^ *+' conftest.er1 >conftest.err
9751 cat conftest.err >&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); } &&
9754 { ac_try='test -z "$ac_c_werror_flag"
9755 || test ! -s conftest.err'
9756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); }; } &&
9761 { ac_try='test -s conftest.$ac_objext'
9762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); }; }; then
9767 bfd_cv_have_sys_procfs_type_prstatus32_t=yes
9769 echo "$as_me: failed program was:" >&5
9770 sed 's/^/| /' conftest.$ac_ext >&5
9772 bfd_cv_have_sys_procfs_type_prstatus32_t=no
9775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9778 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
9780 cat >>confdefs.h <<\_ACEOF
9781 #define HAVE_PRSTATUS32_T 1
9785 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
9786 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
9788 echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
9789 echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
9790 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
9791 echo $ECHO_N "(cached) $ECHO_C" >&6
9793 cat >conftest.$ac_ext <<_ACEOF
9796 cat confdefs.h >>conftest.$ac_ext
9797 cat >>conftest.$ac_ext <<_ACEOF
9798 /* end confdefs.h. */
9801 #include <sys/procfs.h>
9805 prstatus_t avar; void* aref = (void*) &avar.pr_who
9810 rm -f conftest.$ac_objext
9811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9812 (eval $ac_compile) 2>conftest.er1
9814 grep -v '^ *+' conftest.er1 >conftest.err
9816 cat conftest.err >&5
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); } &&
9819 { ac_try='test -z "$ac_c_werror_flag"
9820 || test ! -s conftest.err'
9821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); }; } &&
9826 { ac_try='test -s conftest.$ac_objext'
9827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; }; then
9832 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
9834 echo "$as_me: failed program was:" >&5
9835 sed 's/^/| /' conftest.$ac_ext >&5
9837 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
9840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9843 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
9845 cat >>confdefs.h <<\_ACEOF
9846 #define HAVE_PRSTATUS_T_PR_WHO 1
9850 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
9851 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
9853 echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
9854 echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
9855 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 cat >conftest.$ac_ext <<_ACEOF
9861 cat confdefs.h >>conftest.$ac_ext
9862 cat >>conftest.$ac_ext <<_ACEOF
9863 /* end confdefs.h. */
9866 #include <sys/procfs.h>
9870 prstatus32_t avar; void* aref = (void*) &avar.pr_who
9875 rm -f conftest.$ac_objext
9876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9877 (eval $ac_compile) 2>conftest.er1
9879 grep -v '^ *+' conftest.er1 >conftest.err
9881 cat conftest.err >&5
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); } &&
9884 { ac_try='test -z "$ac_c_werror_flag"
9885 || test ! -s conftest.err'
9886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); }; } &&
9891 { ac_try='test -s conftest.$ac_objext'
9892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896 (exit $ac_status); }; }; then
9897 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
9899 echo "$as_me: failed program was:" >&5
9900 sed 's/^/| /' conftest.$ac_ext >&5
9902 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
9905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9908 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
9910 cat >>confdefs.h <<\_ACEOF
9911 #define HAVE_PRSTATUS32_T_PR_WHO 1
9915 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
9916 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
9918 echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
9919 echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
9920 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 cat >conftest.$ac_ext <<_ACEOF
9926 cat confdefs.h >>conftest.$ac_ext
9927 cat >>conftest.$ac_ext <<_ACEOF
9928 /* end confdefs.h. */
9931 #include <sys/procfs.h>
9940 rm -f conftest.$ac_objext
9941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9942 (eval $ac_compile) 2>conftest.er1
9944 grep -v '^ *+' conftest.er1 >conftest.err
9946 cat conftest.err >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } &&
9949 { ac_try='test -z "$ac_c_werror_flag"
9950 || test ! -s conftest.err'
9951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); }; } &&
9956 { ac_try='test -s conftest.$ac_objext'
9957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); }; }; then
9962 bfd_cv_have_sys_procfs_type_pstatus_t=yes
9964 echo "$as_me: failed program was:" >&5
9965 sed 's/^/| /' conftest.$ac_ext >&5
9967 bfd_cv_have_sys_procfs_type_pstatus_t=no
9970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9973 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
9975 cat >>confdefs.h <<\_ACEOF
9976 #define HAVE_PSTATUS_T 1
9980 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
9981 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
9983 echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
9984 echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
9985 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
9986 echo $ECHO_N "(cached) $ECHO_C" >&6
9988 cat >conftest.$ac_ext <<_ACEOF
9991 cat confdefs.h >>conftest.$ac_ext
9992 cat >>conftest.$ac_ext <<_ACEOF
9993 /* end confdefs.h. */
9996 #include <sys/procfs.h>
10005 rm -f conftest.$ac_objext
10006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10007 (eval $ac_compile) 2>conftest.er1
10009 grep -v '^ *+' conftest.er1 >conftest.err
10011 cat conftest.err >&5
10012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); } &&
10014 { ac_try='test -z "$ac_c_werror_flag"
10015 || test ! -s conftest.err'
10016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017 (eval $ac_try) 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; } &&
10021 { ac_try='test -s conftest.$ac_objext'
10022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10023 (eval $ac_try) 2>&5
10025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10026 (exit $ac_status); }; }; then
10027 bfd_cv_have_sys_procfs_type_pxstatus_t=yes
10029 echo "$as_me: failed program was:" >&5
10030 sed 's/^/| /' conftest.$ac_ext >&5
10032 bfd_cv_have_sys_procfs_type_pxstatus_t=no
10035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10038 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
10040 cat >>confdefs.h <<\_ACEOF
10041 #define HAVE_PXSTATUS_T 1
10045 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
10046 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
10048 echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
10049 echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
10050 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
10051 echo $ECHO_N "(cached) $ECHO_C" >&6
10053 cat >conftest.$ac_ext <<_ACEOF
10056 cat confdefs.h >>conftest.$ac_ext
10057 cat >>conftest.$ac_ext <<_ACEOF
10058 /* end confdefs.h. */
10061 #include <sys/procfs.h>
10070 rm -f conftest.$ac_objext
10071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10072 (eval $ac_compile) 2>conftest.er1
10074 grep -v '^ *+' conftest.er1 >conftest.err
10076 cat conftest.err >&5
10077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078 (exit $ac_status); } &&
10079 { ac_try='test -z "$ac_c_werror_flag"
10080 || test ! -s conftest.err'
10081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10082 (eval $ac_try) 2>&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; } &&
10086 { ac_try='test -s conftest.$ac_objext'
10087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10088 (eval $ac_try) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }; }; then
10092 bfd_cv_have_sys_procfs_type_pstatus32_t=yes
10094 echo "$as_me: failed program was:" >&5
10095 sed 's/^/| /' conftest.$ac_ext >&5
10097 bfd_cv_have_sys_procfs_type_pstatus32_t=no
10100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10103 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
10105 cat >>confdefs.h <<\_ACEOF
10106 #define HAVE_PSTATUS32_T 1
10110 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
10111 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
10113 echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
10114 echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
10115 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
10116 echo $ECHO_N "(cached) $ECHO_C" >&6
10118 cat >conftest.$ac_ext <<_ACEOF
10121 cat confdefs.h >>conftest.$ac_ext
10122 cat >>conftest.$ac_ext <<_ACEOF
10123 /* end confdefs.h. */
10126 #include <sys/procfs.h>
10135 rm -f conftest.$ac_objext
10136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10137 (eval $ac_compile) 2>conftest.er1
10139 grep -v '^ *+' conftest.er1 >conftest.err
10141 cat conftest.err >&5
10142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10143 (exit $ac_status); } &&
10144 { ac_try='test -z "$ac_c_werror_flag"
10145 || test ! -s conftest.err'
10146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10147 (eval $ac_try) 2>&5
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); }; } &&
10151 { ac_try='test -s conftest.$ac_objext'
10152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10153 (eval $ac_try) 2>&5
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); }; }; then
10157 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
10159 echo "$as_me: failed program was:" >&5
10160 sed 's/^/| /' conftest.$ac_ext >&5
10162 bfd_cv_have_sys_procfs_type_prpsinfo_t=no
10165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10168 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
10170 cat >>confdefs.h <<\_ACEOF
10171 #define HAVE_PRPSINFO_T 1
10175 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
10176 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
10178 echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
10179 echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
10180 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 cat >conftest.$ac_ext <<_ACEOF
10186 cat confdefs.h >>conftest.$ac_ext
10187 cat >>conftest.$ac_ext <<_ACEOF
10188 /* end confdefs.h. */
10191 #include <sys/procfs.h>
10200 rm -f conftest.$ac_objext
10201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10202 (eval $ac_compile) 2>conftest.er1
10204 grep -v '^ *+' conftest.er1 >conftest.err
10206 cat conftest.err >&5
10207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); } &&
10209 { ac_try='test -z "$ac_c_werror_flag"
10210 || test ! -s conftest.err'
10211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10212 (eval $ac_try) 2>&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); }; } &&
10216 { ac_try='test -s conftest.$ac_objext'
10217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10218 (eval $ac_try) 2>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); }; }; then
10222 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
10224 echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.$ac_ext >&5
10227 bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
10230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10233 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
10235 cat >>confdefs.h <<\_ACEOF
10236 #define HAVE_PRPSINFO32_T 1
10240 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
10241 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
10243 echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
10244 echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
10245 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
10246 echo $ECHO_N "(cached) $ECHO_C" >&6
10248 cat >conftest.$ac_ext <<_ACEOF
10251 cat confdefs.h >>conftest.$ac_ext
10252 cat >>conftest.$ac_ext <<_ACEOF
10253 /* end confdefs.h. */
10256 #include <sys/procfs.h>
10265 rm -f conftest.$ac_objext
10266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10267 (eval $ac_compile) 2>conftest.er1
10269 grep -v '^ *+' conftest.er1 >conftest.err
10271 cat conftest.err >&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } &&
10274 { ac_try='test -z "$ac_c_werror_flag"
10275 || test ! -s conftest.err'
10276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277 (eval $ac_try) 2>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; } &&
10281 { ac_try='test -s conftest.$ac_objext'
10282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10283 (eval $ac_try) 2>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; }; then
10287 bfd_cv_have_sys_procfs_type_psinfo_t=yes
10289 echo "$as_me: failed program was:" >&5
10290 sed 's/^/| /' conftest.$ac_ext >&5
10292 bfd_cv_have_sys_procfs_type_psinfo_t=no
10295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10298 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
10300 cat >>confdefs.h <<\_ACEOF
10301 #define HAVE_PSINFO_T 1
10305 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
10306 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
10308 echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
10309 echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
10310 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
10311 echo $ECHO_N "(cached) $ECHO_C" >&6
10313 cat >conftest.$ac_ext <<_ACEOF
10316 cat confdefs.h >>conftest.$ac_ext
10317 cat >>conftest.$ac_ext <<_ACEOF
10318 /* end confdefs.h. */
10321 #include <sys/procfs.h>
10330 rm -f conftest.$ac_objext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10332 (eval $ac_compile) 2>conftest.er1
10334 grep -v '^ *+' conftest.er1 >conftest.err
10336 cat conftest.err >&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); } &&
10339 { ac_try='test -z "$ac_c_werror_flag"
10340 || test ! -s conftest.err'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; } &&
10346 { ac_try='test -s conftest.$ac_objext'
10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348 (eval $ac_try) 2>&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; }; then
10352 bfd_cv_have_sys_procfs_type_psinfo32_t=yes
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.$ac_ext >&5
10357 bfd_cv_have_sys_procfs_type_psinfo32_t=no
10360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10363 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
10365 cat >>confdefs.h <<\_ACEOF
10366 #define HAVE_PSINFO32_T 1
10370 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
10371 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
10373 echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
10374 echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
10375 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10378 cat >conftest.$ac_ext <<_ACEOF
10381 cat confdefs.h >>conftest.$ac_ext
10382 cat >>conftest.$ac_ext <<_ACEOF
10383 /* end confdefs.h. */
10386 #include <sys/procfs.h>
10395 rm -f conftest.$ac_objext
10396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10397 (eval $ac_compile) 2>conftest.er1
10399 grep -v '^ *+' conftest.er1 >conftest.err
10401 cat conftest.err >&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } &&
10404 { ac_try='test -z "$ac_c_werror_flag"
10405 || test ! -s conftest.err'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; } &&
10411 { ac_try='test -s conftest.$ac_objext'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; }; then
10417 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
10419 echo "$as_me: failed program was:" >&5
10420 sed 's/^/| /' conftest.$ac_ext >&5
10422 bfd_cv_have_sys_procfs_type_lwpstatus_t=no
10425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10428 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
10430 cat >>confdefs.h <<\_ACEOF
10431 #define HAVE_LWPSTATUS_T 1
10435 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
10436 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
10438 echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
10439 echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
10440 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
10441 echo $ECHO_N "(cached) $ECHO_C" >&6
10443 cat >conftest.$ac_ext <<_ACEOF
10446 cat confdefs.h >>conftest.$ac_ext
10447 cat >>conftest.$ac_ext <<_ACEOF
10448 /* end confdefs.h. */
10451 #include <sys/procfs.h>
10460 rm -f conftest.$ac_objext
10461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10462 (eval $ac_compile) 2>conftest.er1
10464 grep -v '^ *+' conftest.er1 >conftest.err
10466 cat conftest.err >&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); } &&
10469 { ac_try='test -z "$ac_c_werror_flag"
10470 || test ! -s conftest.err'
10471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10472 (eval $ac_try) 2>&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); }; } &&
10476 { ac_try='test -s conftest.$ac_objext'
10477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10478 (eval $ac_try) 2>&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); }; }; then
10482 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
10484 echo "$as_me: failed program was:" >&5
10485 sed 's/^/| /' conftest.$ac_ext >&5
10487 bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
10490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10493 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
10495 cat >>confdefs.h <<\_ACEOF
10496 #define HAVE_LWPXSTATUS_T 1
10500 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
10501 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
10503 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
10504 echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
10505 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
10506 echo $ECHO_N "(cached) $ECHO_C" >&6
10508 cat >conftest.$ac_ext <<_ACEOF
10511 cat confdefs.h >>conftest.$ac_ext
10512 cat >>conftest.$ac_ext <<_ACEOF
10513 /* end confdefs.h. */
10516 #include <sys/procfs.h>
10520 lwpstatus_t avar; void* aref = (void*) &avar.pr_context
10525 rm -f conftest.$ac_objext
10526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10527 (eval $ac_compile) 2>conftest.er1
10529 grep -v '^ *+' conftest.er1 >conftest.err
10531 cat conftest.err >&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } &&
10534 { ac_try='test -z "$ac_c_werror_flag"
10535 || test ! -s conftest.err'
10536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10537 (eval $ac_try) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); }; } &&
10541 { ac_try='test -s conftest.$ac_objext'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; }; then
10547 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
10549 echo "$as_me: failed program was:" >&5
10550 sed 's/^/| /' conftest.$ac_ext >&5
10552 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
10555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10558 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
10560 cat >>confdefs.h <<\_ACEOF
10561 #define HAVE_LWPSTATUS_T_PR_CONTEXT 1
10565 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
10566 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
10568 echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
10569 echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
10570 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
10571 echo $ECHO_N "(cached) $ECHO_C" >&6
10573 cat >conftest.$ac_ext <<_ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10581 #include <sys/procfs.h>
10585 lwpstatus_t avar; void* aref = (void*) &avar.pr_reg
10590 rm -f conftest.$ac_objext
10591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10592 (eval $ac_compile) 2>conftest.er1
10594 grep -v '^ *+' conftest.er1 >conftest.err
10596 cat conftest.err >&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); } &&
10599 { ac_try='test -z "$ac_c_werror_flag"
10600 || test ! -s conftest.err'
10601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10602 (eval $ac_try) 2>&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); }; } &&
10606 { ac_try='test -s conftest.$ac_objext'
10607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10608 (eval $ac_try) 2>&5
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); }; }; then
10612 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
10614 echo "$as_me: failed program was:" >&5
10615 sed 's/^/| /' conftest.$ac_ext >&5
10617 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
10620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10623 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
10625 cat >>confdefs.h <<\_ACEOF
10626 #define HAVE_LWPSTATUS_T_PR_REG 1
10630 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
10631 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
10633 echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
10634 echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
10635 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
10636 echo $ECHO_N "(cached) $ECHO_C" >&6
10638 cat >conftest.$ac_ext <<_ACEOF
10641 cat confdefs.h >>conftest.$ac_ext
10642 cat >>conftest.$ac_ext <<_ACEOF
10643 /* end confdefs.h. */
10646 #include <sys/procfs.h>
10650 win32_pstatus_t avar
10655 rm -f conftest.$ac_objext
10656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10657 (eval $ac_compile) 2>conftest.er1
10659 grep -v '^ *+' conftest.er1 >conftest.err
10661 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } &&
10664 { ac_try='test -z "$ac_c_werror_flag"
10665 || test ! -s conftest.err'
10666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10667 (eval $ac_try) 2>&5
10669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670 (exit $ac_status); }; } &&
10671 { ac_try='test -s conftest.$ac_objext'
10672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10673 (eval $ac_try) 2>&5
10675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676 (exit $ac_status); }; }; then
10677 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10682 bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
10685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10688 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
10690 cat >>confdefs.h <<\_ACEOF
10691 #define HAVE_WIN32_PSTATUS_T 1
10695 echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
10696 echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
10702 if test -n "$TRAD_HEADER"; then
10704 cat >>confdefs.h <<_ACEOF
10705 #define TRAD_HEADER $TRAD_HEADER
10710 # Horrible hacks to build DLLs on Windows.
10715 if test "$enable_shared" = "yes"; then
10716 WIN32LDFLAGS="-no-undefined"
10717 WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
10721 # We borrow WIN32LIBADD so that the shared libbfd won't depend on
10725 # Linux/MIPS uses PIC by default.
10726 if test "$enable_shared" = "yes"; then
10727 WIN32LIBADD="-L../libiberty -liberty"
10731 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
10732 if test -n "$x"; then
10733 WIN32LIBADD="-L../libiberty/pic -liberty"
10744 # Canonicalize the secondary target names.
10745 if test -n "$enable_targets" ; then
10746 for targ in `echo $enable_targets | sed 's/,/ /g'`
10748 result=`$ac_config_sub $targ 2>/dev/null`
10749 if test -n "$result" ; then
10750 canon_targets="$canon_targets $result"
10752 # Allow targets that config.sub doesn't recognize, like "all".
10753 canon_targets="$canon_targets $targ"
10764 for targ in $target $canon_targets
10766 if test "x$targ" = "xall"; then
10768 assocvecs="$assocvecs $targ_defvec $targ_selvecs"
10770 . $srcdir/config.bfd
10771 if test "x$targ" = "x$target"; then
10772 defvec=$targ_defvec
10774 selvecs="$selvecs $targ_defvec $targ_selvecs"
10775 selarchs="$selarchs $targ_archs"
10776 TDEFINES="$TDEFINES $targ_cflags"
10781 # This processing still needs to be done if we're to decide properly whether
10782 # 64-bit support needs to be compiled in. Currently, it will be included if
10783 # the default or any other explicitly requested target requires it; it
10784 # will not be included on a 32-bit host if no 64-bit target is requested, and
10785 # no "--with-64-bit-bfd" option is given, even if "--enable-targets=all" is
10788 # uniq the default and selected vectors in all the configured targets.
10790 for i in $selvecs ; do
10799 # uniq the associated vectors in all the configured targets.
10801 for i in $assocvecs ; do
10810 # uniq the architectures in all the configured targets.
10812 for i in $selarchs ; do
10820 # Target backend .o files.
10823 elf="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
10825 for vec in $selvecs
10829 # This list is alphabetized to make it easy to compare
10830 # with the two vector lists in targets.c. For the same reason,
10831 # use one entry per line, even though this leads to long lines.
10832 a_out_adobe_vec) tb="$tb aout-adobe.lo aout32.lo" ;;
10833 aix5coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
10834 aout0_big_vec) tb="$tb aout0.lo aout32.lo" ;;
10835 aout_arm_big_vec) tb="$tb aout-arm.lo aout32.lo" ;;
10836 aout_arm_little_vec) tb="$tb aout-arm.lo aout32.lo" ;;
10837 apollocoff_vec) tb="$tb coff-apollo.lo" ;;
10838 arm_epoc_pe_big_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
10839 arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
10840 arm_epoc_pei_big_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
10841 arm_epoc_pei_little_vec) tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
10842 arm_wince_pe_big_vec) tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
10843 arm_wince_pe_little_vec) tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
10844 arm_wince_pei_big_vec) tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
10845 arm_wince_pei_little_vec) tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
10846 armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;;
10847 armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;;
10848 armnetbsd_vec) tb="$tb armnetbsd.lo aout32.lo" ;;
10849 armpe_big_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
10850 armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
10851 armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
10852 armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
10853 b_out_vec_big_host) tb="$tb bout.lo aout32.lo" ;;
10854 b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;;
10855 bfd_efi_app_ia32_vec) tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;;
10856 bfd_efi_app_x86_64_vec) tb="$tb efi-app-x86_64.lo pex64igen.lo cofflink.lo" ;target_size=64;;
10857 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
10858 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
10859 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
10860 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
10861 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
10862 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
10863 bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
10864 bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10865 bfd_elf32_bigarm_symbian_vec)
10866 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10867 bfd_elf32_bigarm_vxworks_vec)
10868 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10869 bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10870 bfd_elf32_bigmips_vxworks_vec)
10871 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10872 bfd_elf32_cr16c_vec) tb="$tb elf32-cr16c.lo elf32.lo $elf" ;;
10873 bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
10874 bfd_elf32_crx_vec) tb="$tb elf32-crx.lo elf32.lo $elf" ;;
10875 bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
10876 bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
10877 bfd_elf32_dlx_big_vec) tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
10878 bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
10879 bfd_elf32_frv_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
10880 bfd_elf32_frvfdpic_vec) tb="$tb elf32-frv.lo elf32.lo $elf" ;;
10881 bfd_elf32_h8300_vec) tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
10882 bfd_elf32_hppa_linux_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
10883 bfd_elf32_hppa_nbsd_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
10884 bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
10885 bfd_elf32_i370_vec) tb="$tb elf32-i370.lo elf32.lo $elf" ;;
10886 bfd_elf32_i386_freebsd_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10887 bfd_elf32_i386_vxworks_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10888 bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
10889 bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
10890 bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
10891 bfd_elf32_i960_vec) tb="$tb elf32-i960.lo elf32.lo $elf" ;;
10892 bfd_elf32_ia64_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf" ;;
10893 bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elf32.lo $elf";;
10894 bfd_elf32_ip2k_vec) tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
10895 bfd_elf32_iq2000_vec) tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
10896 bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
10897 bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
10898 bfd_elf32_littlearm_symbian_vec)
10899 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10900 bfd_elf32_littlearm_vxworks_vec)
10901 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10902 bfd_elf32_littlearm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
10903 bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10904 bfd_elf32_littlemips_vxworks_vec)
10905 tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10906 bfd_elf32_m32c_vec) tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
10907 bfd_elf32_m32r_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
10908 bfd_elf32_m32rle_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
10909 bfd_elf32_m32rlin_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
10910 bfd_elf32_m32rlelin_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
10911 bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
10912 bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
10913 bfd_elf32_m68k_vec) tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
10914 bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
10915 bfd_elf32_mcore_big_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
10916 bfd_elf32_mcore_little_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
10917 bfd_elf32_mep_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
10918 bfd_elf32_mep_little_vec) tb="$tb elf32-mep.lo elf32.lo $elf" ;;
10919 bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;;
10920 bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;;
10921 bfd_elf32_mt_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;;
10922 bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
10923 bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
10924 bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
10925 bfd_elf32_ntradbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
10926 bfd_elf32_ntradlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
10927 bfd_elf32_openrisc_vec) tb="$tb elf32-openrisc.lo elf32.lo $elf" ;;
10928 bfd_elf32_or32_big_vec) tb="$tb elf32-or32.lo elf32.lo $elf" ;;
10929 bfd_elf32_pj_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
10930 bfd_elf32_pjl_vec) tb="$tb elf32-pj.lo elf32.lo $elf";;
10931 bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10932 bfd_elf32_powerpcle_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10933 bfd_elf32_powerpc_vxworks_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
10934 bfd_elf32_s390_vec) tb="$tb elf32-s390.lo elf32.lo $elf" ;;
10935 bfd_elf32_bigscore_vec) tb="$tb elf32-score.lo elf32.lo $elf" ;;
10936 bfd_elf32_littlescore_vec) tb="$tb elf32-score.lo elf32.lo $elf" ;;
10937 # FIXME: We include cofflink.lo not because it's needed for
10938 # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
10939 # which needs it but does not list it. Should be fixed in right place.
10940 bfd_elf32_sh64_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
10941 bfd_elf32_sh64l_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
10942 bfd_elf32_sh64lin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
10943 bfd_elf32_sh64blin_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
10944 bfd_elf32_sh64lnbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
10945 bfd_elf32_sh64nbsd_vec) tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
10946 bfd_elf32_sh_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10947 bfd_elf32_shblin_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10948 bfd_elf32_shl_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10949 bfd_elf32_shl_symbian_vec) tb="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10950 bfd_elf32_shlin_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10951 bfd_elf32_shlnbsd_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10952 bfd_elf32_shlvxworks_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10953 bfd_elf32_shnbsd_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
10954 bfd_elf32_shvxworks_vec) tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
10955 bfd_elf32_sparc_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
10956 bfd_elf32_sparc_vxworks_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
10957 bfd_elf32_spu_vec) tb="$tb elf32-spu.lo elf32.lo $elf" ;;
10958 bfd_elf32_tradbigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10959 bfd_elf32_tradlittlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
10960 bfd_elf32_us_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
10961 bfd_elf32_v850_vec) tb="$tb elf32-v850.lo elf32.lo $elf" ;;
10962 bfd_elf32_vax_vec) tb="$tb elf32-vax.lo elf32.lo $elf" ;;
10963 bfd_elf32_xstormy16_vec) tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
10964 bfd_elf32_xc16x_vec) tb="$tb elf32-xc16x.lo elf32.lo $elf" ;;
10965 bfd_elf32_xtensa_le_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
10966 bfd_elf32_xtensa_be_vec) tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
10967 bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
10968 bfd_elf64_alpha_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
10969 bfd_elf64_big_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
10970 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 ;;
10971 bfd_elf64_hppa_linux_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
10972 bfd_elf64_hppa_vec) tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
10973 bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
10974 bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
10975 bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elf64.lo $elf"; target_size=64 ;;
10976 bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
10977 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 ;;
10978 bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
10979 bfd_elf64_powerpc_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
10980 bfd_elf64_powerpcle_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
10981 bfd_elf64_s390_vec) tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
10982 bfd_elf64_sh64_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10983 bfd_elf64_sh64l_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10984 bfd_elf64_sh64lin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10985 bfd_elf64_sh64blin_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10986 bfd_elf64_sh64lnbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10987 bfd_elf64_sh64nbsd_vec) tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
10988 bfd_elf64_sparc_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
10989 bfd_elf64_sparc_freebsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
10990 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 ;;
10991 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 ;;
10992 bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;;
10993 bfd_elf64_x86_64_vec) tb="$tb elf64-x86-64.lo elf64.lo $elf"; target_size=64 ;;
10994 bfd_mmo_vec) tb="$tb mmo.lo" target_size=64 ;;
10995 bfd_powerpc_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
10996 bfd_powerpc_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
10997 bfd_powerpcle_pe_vec) tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
10998 bfd_powerpcle_pei_vec) tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
10999 cris_aout_vec) tb="$tb aout-cris.lo" ;;
11000 demo_64_vec) tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
11001 ecoff_big_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11002 ecoff_biglittle_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11003 ecoff_little_vec) tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
11004 ecoffalpha_little_vec) tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;;
11005 go32coff_vec) tb="$tb coff-go32.lo cofflink.lo" ;;
11006 go32stubbedcoff_vec) tb="$tb coff-stgo32.lo cofflink.lo" ;;
11007 h8300coff_vec) tb="$tb coff-h8300.lo reloc16.lo" ;;
11008 h8500coff_vec) tb="$tb coff-h8500.lo reloc16.lo" ;;
11009 host_aout_vec) tb="$tb host-aout.lo aout32.lo" ;;
11010 hp300bsd_vec) tb="$tb hp300bsd.lo aout32.lo" ;;
11011 hp300hpux_vec) tb="$tb hp300hpux.lo aout32.lo" ;;
11012 i386aout_vec) tb="$tb i386aout.lo aout32.lo" ;;
11013 i386bsd_vec) tb="$tb i386bsd.lo aout32.lo" ;;
11014 i386coff_vec) tb="$tb coff-i386.lo cofflink.lo" ;;
11015 x86_64coff_vec) tb="$tb coff-x86_64.lo cofflink.lo"; target_size=64 ;;
11016 i386dynix_vec) tb="$tb i386dynix.lo aout32.lo" ;;
11017 i386freebsd_vec) tb="$tb i386freebsd.lo aout32.lo" ;;
11018 i386linux_vec) tb="$tb i386linux.lo aout32.lo" ;;
11019 i386lynx_aout_vec) tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
11020 i386lynx_coff_vec) tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
11021 i386mach3_vec) tb="$tb i386mach3.lo aout32.lo" ;;
11022 i386msdos_vec) tb="$tb i386msdos.lo" ;;
11023 i386netbsd_vec) tb="$tb i386netbsd.lo aout32.lo" ;;
11024 i386os9k_vec) tb="$tb i386os9k.lo aout32.lo" ;;
11025 i386pe_vec) tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
11026 i386pei_vec) tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
11027 x86_64pe_vec) tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
11028 x86_64pei_vec) tb="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
11029 i860coff_vec) tb="$tb coff-i860.lo cofflink.lo" ;;
11030 icoff_big_vec) tb="$tb coff-i960.lo cofflink.lo" ;;
11031 icoff_little_vec) tb="$tb coff-i960.lo cofflink.lo" ;;
11032 ieee_vec) tb="$tb ieee.lo" ;;
11033 m68k4knetbsd_vec) tb="$tb m68k4knetbsd.lo aout32.lo" ;;
11034 m68kaux_coff_vec) tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
11035 m68kcoff_vec) tb="$tb coff-m68k.lo cofflink.lo" ;;
11036 m68kcoffun_vec) tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
11037 m68klinux_vec) tb="$tb m68klinux.lo aout32.lo" ;;
11038 m68knetbsd_vec) tb="$tb m68knetbsd.lo aout32.lo" ;;
11039 m68ksysvcoff_vec) tb="$tb coff-svm68k.lo cofflink.lo" ;;
11040 m88kbcs_vec) tb="$tb coff-m88k.lo" ;;
11041 m88kmach3_vec) tb="$tb m88kmach3.lo aout32.lo" ;;
11042 m88kopenbsd_vec) tb="$tb m88kopenbsd.lo aout32.lo" ;;
11043 maxqcoff_vec) tb="$tb coff-maxq.lo" ;;
11044 mach_o_be_vec) tb="$tb mach-o.lo" ;;
11045 mach_o_le_vec) tb="$tb mach-o.lo" ;;
11046 mach_o_fat_vec) tb="$tb mach-o.lo" ;;
11047 mcore_pe_big_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11048 mcore_pe_little_vec) tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
11049 mcore_pei_big_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11050 mcore_pei_little_vec) tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
11051 mipslpe_vec) tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
11052 mipslpei_vec) tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
11053 newsos3_vec) tb="$tb newsos3.lo aout32.lo" ;;
11054 nlm32_alpha_vec) tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;;
11055 nlm32_i386_vec) tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
11056 nlm32_powerpc_vec) tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
11057 nlm32_sparc_vec) tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
11058 or32coff_big_vec) tb="$tb coff-or32.lo cofflink.lo" ;;
11059 pc532machaout_vec) tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
11060 pc532netbsd_vec) tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
11061 pef_vec) tb="$tb pef.lo" ;;
11062 pef_xlib_vec) tb="$tb pef.lo" ;;
11063 pdp11_aout_vec) tb="$tb pdp11.lo" ;;
11064 pmac_xcoff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
11065 ppcboot_vec) tb="$tb ppcboot.lo" ;;
11066 riscix_vec) tb="$tb aout32.lo riscix.lo" ;;
11067 rs6000coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
11068 rs6000coff_vec) tb="$tb coff-rs6000.lo xcofflink.lo" ;;
11069 shcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
11070 shcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
11071 shlcoff_small_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
11072 shlcoff_vec) tb="$tb coff-sh.lo cofflink.lo" ;;
11073 shlpe_vec) tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11074 shlpei_vec) tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
11075 som_vec) tb="$tb som.lo" ;;
11076 sparccoff_vec) tb="$tb coff-sparc.lo" ;;
11077 sparcle_aout_vec) tb="$tb aout-sparcle.lo aout32.lo" ;;
11078 sparclinux_vec) tb="$tb sparclinux.lo aout32.lo" ;;
11079 sparclynx_aout_vec) tb="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
11080 sparclynx_coff_vec) tb="$tb cf-sparclynx.lo lynx-core.lo" ;;
11081 sparcnetbsd_vec) tb="$tb sparcnetbsd.lo aout32.lo" ;;
11082 sunos_big_vec) tb="$tb sunos.lo aout32.lo" ;;
11083 sym_vec) tb="$tb xsym.lo" ;;
11084 tic30_aout_vec) tb="$tb aout-tic30.lo" ;;
11085 tic30_coff_vec) tb="$tb coff-tic30.lo" ;;
11086 tic4x_coff0_vec) tb="$tb coff-tic4x.lo" ;;
11087 tic4x_coff0_beh_vec) tb="$tb coff-tic4x.lo" ;;
11088 tic4x_coff1_vec) tb="$tb coff-tic4x.lo" ;;
11089 tic4x_coff1_beh_vec) tb="$tb coff-tic4x.lo" ;;
11090 tic4x_coff2_vec) tb="$tb coff-tic4x.lo" ;;
11091 tic4x_coff2_beh_vec) tb="$tb coff-tic4x.lo" ;;
11092 tic54x_coff0_beh_vec) tb="$tb coff-tic54x.lo" ;;
11093 tic54x_coff0_vec) tb="$tb coff-tic54x.lo" ;;
11094 tic54x_coff1_beh_vec) tb="$tb coff-tic54x.lo" ;;
11095 tic54x_coff1_vec) tb="$tb coff-tic54x.lo" ;;
11096 tic54x_coff2_beh_vec) tb="$tb coff-tic54x.lo" ;;
11097 tic54x_coff2_vec) tb="$tb coff-tic54x.lo" ;;
11098 tic80coff_vec) tb="$tb coff-tic80.lo cofflink.lo" ;;
11099 vaxnetbsd_vec) tb="$tb vaxnetbsd.lo aout32.lo" ;;
11100 vax1knetbsd_vec) tb="$tb vax1knetbsd.lo aout32.lo" ;;
11101 vaxbsd_vec) tb="$tb vaxbsd.lo aout32.lo" ;;
11102 versados_vec) tb="$tb versados.lo" ;;
11103 vms_alpha_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo"; target_size=64 ;;
11104 vms_vax_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
11105 w65_vec) tb="$tb coff-w65.lo reloc16.lo" ;;
11106 we32kcoff_vec) tb="$tb coff-we32k.lo" ;;
11107 z80coff_vec) tb="$tb coff-z80.lo reloc16.lo" ;;
11108 z8kcoff_vec) tb="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
11110 # These appear out of order in targets.c
11111 srec_vec) tb="$tb srec.lo" ;;
11112 symbolsrec_vec) tb="$tb srec.lo" ;;
11113 tekhex_vec) tb="$tb tekhex.lo" ;;
11114 cisco_core_big_vec) tb="$tb cisco-core.lo" ;;
11115 cisco_core_little_vec) tb="$tb cisco-core.lo" ;;
11118 *) { { echo "$as_me:$LINENO: error: *** unknown target vector $vec" >&5
11119 echo "$as_me: error: *** unknown target vector $vec" >&2;}
11120 { (exit 1); exit 1; }; } ;;
11123 if test ${target_size} = 64; then
11126 if test x"${vec}" = x"${defvec}"; then
11127 bfd_default_target_size=${target_size}
11131 # Target architecture .o files.
11132 # A couple of CPUs use shorter file names to avoid problems on DOS
11134 ta=`echo $selarchs | sed -e s/bfd_/cpu-/g -e s/_arch/.lo/g -e s/mn10200/m10200/ -e s/mn10300/m10300/`
11136 # Weed out duplicate .o files.
11158 if test x${all_targets} = xtrue ; then
11159 bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
11160 bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
11164 test -n "$assocvecs" &&
11165 assocvecs=`echo $assocvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11166 else # all_targets is true
11167 # Only set these if they will be nonempty, for the clever echo.
11170 test -n "$selvecs" &&
11171 havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
11172 test -n "$selvecs" &&
11173 selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11174 test -n "$selarchs" &&
11175 selarchs=`echo $selarchs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
11176 fi # all_targets is true
11178 case ${host64}-${target64}-${want64} in
11181 bfd64_libs='$(BFD64_LIBS)'
11182 all_backends='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
11183 if test $BFD_HOST_64_BIT_DEFINED = 0; then
11184 { echo "$as_me:$LINENO: WARNING: You have requested a 64 bit BFD configuration, but" >&5
11185 echo "$as_me: WARNING: You have requested a 64 bit BFD configuration, but" >&2;}
11186 { echo "$as_me:$LINENO: WARNING: your compiler may not have a 64 bit integral type" >&5
11187 echo "$as_me: WARNING: your compiler may not have a 64 bit integral type" >&2;}
11189 if test -n "$GCC" ; then
11191 echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
11192 echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
11193 # Add more tests for gcc versions with non-working 64-bit support here.
11194 cat >conftest.$ac_ext <<_ACEOF
11197 cat confdefs.h >>conftest.$ac_ext
11198 cat >>conftest.$ac_ext <<_ACEOF
11199 /* end confdefs.h. */
11200 :__GNUC__:__GNUC_MINOR__:__i386__:
11202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11203 $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then
11205 echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
11206 echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
11208 echo "$as_me:$LINENO: result: no" >&5
11209 echo "${ECHO_T}no" >&6
11213 if test $bad_64bit_gcc = yes ; then
11214 { { echo "$as_me:$LINENO: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&5
11215 echo "$as_me: error: A newer version of gcc is needed for the requested 64-bit BFD configuration" >&2;}
11216 { (exit 1); exit 1; }; }
11222 all_backends='$(BFD32_BACKENDS)'
11233 # Determine the host dependant file_ptr a.k.a. off_t type. In order
11234 # prefer: off64_t - if ftello64 and fseeko64, off_t - if ftello and
11235 # fseeko, long. This assumes that sizeof off_t is .ge. sizeof long.
11236 # Hopefully a reasonable assumption since fseeko et.al. should be
11237 # upward compatible.
11243 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
11245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11246 echo "$as_me:$LINENO: checking for $ac_func" >&5
11247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11248 if eval "test \"\${$as_ac_var+set}\" = set"; then
11249 echo $ECHO_N "(cached) $ECHO_C" >&6
11251 cat >conftest.$ac_ext <<_ACEOF
11254 cat confdefs.h >>conftest.$ac_ext
11255 cat >>conftest.$ac_ext <<_ACEOF
11256 /* end confdefs.h. */
11257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11259 #define $ac_func innocuous_$ac_func
11261 /* System header to define __stub macros and hopefully few prototypes,
11262 which can conflict with char $ac_func (); below.
11263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11264 <limits.h> exists even on freestanding compilers. */
11267 # include <limits.h>
11269 # include <assert.h>
11274 /* Override any gcc2 internal prototype to avoid an error. */
11279 /* We use char because int might match the return type of a gcc2
11280 builtin and then its argument prototype would still apply. */
11282 /* The GNU C library defines this for functions which it implements
11283 to always fail with ENOSYS. Some functions are actually named
11284 something starting with __ and the normal name is an alias. */
11285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11288 char (*f) () = $ac_func;
11297 return f != $ac_func;
11302 rm -f conftest.$ac_objext conftest$ac_exeext
11303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11304 (eval $ac_link) 2>conftest.er1
11306 grep -v '^ *+' conftest.er1 >conftest.err
11308 cat conftest.err >&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); } &&
11311 { ac_try='test -z "$ac_c_werror_flag"
11312 || test ! -s conftest.err'
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11314 (eval $ac_try) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; } &&
11318 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11324 eval "$as_ac_var=yes"
11326 echo "$as_me: failed program was:" >&5
11327 sed 's/^/| /' conftest.$ac_ext >&5
11329 eval "$as_ac_var=no"
11331 rm -f conftest.err conftest.$ac_objext \
11332 conftest$ac_exeext conftest.$ac_ext
11334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11336 if test `eval echo '${'$as_ac_var'}'` = yes; then
11337 cat >>confdefs.h <<_ACEOF
11338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11344 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
11345 echo "$as_me:$LINENO: checking for off_t" >&5
11346 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
11347 if test "${ac_cv_type_off_t+set}" = set; then
11348 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 cat >conftest.$ac_ext <<_ACEOF
11353 cat confdefs.h >>conftest.$ac_ext
11354 cat >>conftest.$ac_ext <<_ACEOF
11355 /* end confdefs.h. */
11356 $ac_includes_default
11362 if (sizeof (off_t))
11368 rm -f conftest.$ac_objext
11369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11370 (eval $ac_compile) 2>conftest.er1
11372 grep -v '^ *+' conftest.er1 >conftest.err
11374 cat conftest.err >&5
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); } &&
11377 { ac_try='test -z "$ac_c_werror_flag"
11378 || test ! -s conftest.err'
11379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11380 (eval $ac_try) 2>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); }; } &&
11384 { ac_try='test -s conftest.$ac_objext'
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386 (eval $ac_try) 2>&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; }; then
11390 ac_cv_type_off_t=yes
11392 echo "$as_me: failed program was:" >&5
11393 sed 's/^/| /' conftest.$ac_ext >&5
11395 ac_cv_type_off_t=no
11397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11399 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11400 echo "${ECHO_T}$ac_cv_type_off_t" >&6
11402 echo "$as_me:$LINENO: checking size of off_t" >&5
11403 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
11404 if test "${ac_cv_sizeof_off_t+set}" = set; then
11405 echo $ECHO_N "(cached) $ECHO_C" >&6
11407 if test "$ac_cv_type_off_t" = yes; then
11408 # The cast to unsigned long works around a bug in the HP C Compiler
11409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11411 # This bug is HP SR number 8606223364.
11412 if test "$cross_compiling" = yes; then
11413 # Depending upon the size, compute the lo and hi bounds.
11414 cat >conftest.$ac_ext <<_ACEOF
11417 cat confdefs.h >>conftest.$ac_ext
11418 cat >>conftest.$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 $ac_includes_default
11424 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
11431 rm -f conftest.$ac_objext
11432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11433 (eval $ac_compile) 2>conftest.er1
11435 grep -v '^ *+' conftest.er1 >conftest.err
11437 cat conftest.err >&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } &&
11440 { ac_try='test -z "$ac_c_werror_flag"
11441 || test ! -s conftest.err'
11442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11443 (eval $ac_try) 2>&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); }; } &&
11447 { ac_try='test -s conftest.$ac_objext'
11448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11449 (eval $ac_try) 2>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }; }; then
11455 cat >conftest.$ac_ext <<_ACEOF
11458 cat confdefs.h >>conftest.$ac_ext
11459 cat >>conftest.$ac_ext <<_ACEOF
11460 /* end confdefs.h. */
11461 $ac_includes_default
11465 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
11472 rm -f conftest.$ac_objext
11473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11474 (eval $ac_compile) 2>conftest.er1
11476 grep -v '^ *+' conftest.er1 >conftest.err
11478 cat conftest.err >&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); } &&
11481 { ac_try='test -z "$ac_c_werror_flag"
11482 || test ! -s conftest.err'
11483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11484 (eval $ac_try) 2>&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); }; } &&
11488 { ac_try='test -s conftest.$ac_objext'
11489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11490 (eval $ac_try) 2>&5
11492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493 (exit $ac_status); }; }; then
11494 ac_hi=$ac_mid; break
11496 echo "$as_me: failed program was:" >&5
11497 sed 's/^/| /' conftest.$ac_ext >&5
11499 ac_lo=`expr $ac_mid + 1`
11500 if test $ac_lo -le $ac_mid; then
11504 ac_mid=`expr 2 '*' $ac_mid + 1`
11506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11509 echo "$as_me: failed program was:" >&5
11510 sed 's/^/| /' conftest.$ac_ext >&5
11512 cat >conftest.$ac_ext <<_ACEOF
11515 cat confdefs.h >>conftest.$ac_ext
11516 cat >>conftest.$ac_ext <<_ACEOF
11517 /* end confdefs.h. */
11518 $ac_includes_default
11522 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
11529 rm -f conftest.$ac_objext
11530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11531 (eval $ac_compile) 2>conftest.er1
11533 grep -v '^ *+' conftest.er1 >conftest.err
11535 cat conftest.err >&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } &&
11538 { ac_try='test -z "$ac_c_werror_flag"
11539 || test ! -s conftest.err'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; } &&
11545 { ac_try='test -s conftest.$ac_objext'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; }; then
11553 cat >conftest.$ac_ext <<_ACEOF
11556 cat confdefs.h >>conftest.$ac_ext
11557 cat >>conftest.$ac_ext <<_ACEOF
11558 /* end confdefs.h. */
11559 $ac_includes_default
11563 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
11570 rm -f conftest.$ac_objext
11571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11572 (eval $ac_compile) 2>conftest.er1
11574 grep -v '^ *+' conftest.er1 >conftest.err
11576 cat conftest.err >&5
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); } &&
11579 { ac_try='test -z "$ac_c_werror_flag"
11580 || test ! -s conftest.err'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; } &&
11586 { ac_try='test -s conftest.$ac_objext'
11587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11588 (eval $ac_try) 2>&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); }; }; then
11592 ac_lo=$ac_mid; break
11594 echo "$as_me: failed program was:" >&5
11595 sed 's/^/| /' conftest.$ac_ext >&5
11597 ac_hi=`expr '(' $ac_mid ')' - 1`
11598 if test $ac_mid -le $ac_hi; then
11602 ac_mid=`expr 2 '*' $ac_mid`
11604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11607 echo "$as_me: failed program was:" >&5
11608 sed 's/^/| /' conftest.$ac_ext >&5
11612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11615 # Binary search between lo and hi bounds.
11616 while test "x$ac_lo" != "x$ac_hi"; do
11617 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11618 cat >conftest.$ac_ext <<_ACEOF
11621 cat confdefs.h >>conftest.$ac_ext
11622 cat >>conftest.$ac_ext <<_ACEOF
11623 /* end confdefs.h. */
11624 $ac_includes_default
11628 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
11635 rm -f conftest.$ac_objext
11636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11637 (eval $ac_compile) 2>conftest.er1
11639 grep -v '^ *+' conftest.er1 >conftest.err
11641 cat conftest.err >&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); } &&
11644 { ac_try='test -z "$ac_c_werror_flag"
11645 || test ! -s conftest.err'
11646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11647 (eval $ac_try) 2>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; } &&
11651 { ac_try='test -s conftest.$ac_objext'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; }; then
11659 echo "$as_me: failed program was:" >&5
11660 sed 's/^/| /' conftest.$ac_ext >&5
11662 ac_lo=`expr '(' $ac_mid ')' + 1`
11664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11667 ?*) ac_cv_sizeof_off_t=$ac_lo;;
11668 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
11669 See \`config.log' for more details." >&5
11670 echo "$as_me: error: cannot compute sizeof (off_t), 77
11671 See \`config.log' for more details." >&2;}
11672 { (exit 1); exit 1; }; } ;;
11675 if test "$cross_compiling" = yes; then
11676 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11677 See \`config.log' for more details." >&5
11678 echo "$as_me: error: cannot run test program while cross compiling
11679 See \`config.log' for more details." >&2;}
11680 { (exit 1); exit 1; }; }
11682 cat >conftest.$ac_ext <<_ACEOF
11685 cat confdefs.h >>conftest.$ac_ext
11686 cat >>conftest.$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11688 $ac_includes_default
11689 long longval () { return (long) (sizeof (off_t)); }
11690 unsigned long ulongval () { return (long) (sizeof (off_t)); }
11692 #include <stdlib.h>
11697 FILE *f = fopen ("conftest.val", "w");
11700 if (((long) (sizeof (off_t))) < 0)
11702 long i = longval ();
11703 if (i != ((long) (sizeof (off_t))))
11705 fprintf (f, "%ld\n", i);
11709 unsigned long i = ulongval ();
11710 if (i != ((long) (sizeof (off_t))))
11712 fprintf (f, "%lu\n", i);
11714 exit (ferror (f) || fclose (f) != 0);
11720 rm -f conftest$ac_exeext
11721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11722 (eval $ac_link) 2>&5
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 ac_cv_sizeof_off_t=`cat conftest.val`
11733 echo "$as_me: program exited with status $ac_status" >&5
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.$ac_ext >&5
11737 ( exit $ac_status )
11738 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
11739 See \`config.log' for more details." >&5
11740 echo "$as_me: error: cannot compute sizeof (off_t), 77
11741 See \`config.log' for more details." >&2;}
11742 { (exit 1); exit 1; }; }
11744 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11749 ac_cv_sizeof_off_t=0
11752 echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
11753 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
11754 cat >>confdefs.h <<_ACEOF
11755 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
11760 echo "$as_me:$LINENO: checking file_ptr type" >&5
11761 echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
11762 bfd_file_ptr="long"
11763 bfd_ufile_ptr="unsigned long"
11764 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
11765 -o x"${ac_cv_sizeof_off_t}" = x8; then
11766 bfd_file_ptr=BFD_HOST_64_BIT
11767 bfd_ufile_ptr=BFD_HOST_U_64_BIT
11769 echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
11770 echo "${ECHO_T}$bfd_file_ptr" >&6
11776 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
11777 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
11778 test -n "${assocvecs}" && tdefaults="${tdefaults} -DASSOCIATED_VECS='${assocvecs}'"
11779 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
11780 test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
11785 for ac_header in stdlib.h unistd.h
11787 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11789 echo "$as_me:$LINENO: checking for $ac_header" >&5
11790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11792 echo $ECHO_N "(cached) $ECHO_C" >&6
11794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11797 # Is the header compilable?
11798 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11799 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11800 cat >conftest.$ac_ext <<_ACEOF
11803 cat confdefs.h >>conftest.$ac_ext
11804 cat >>conftest.$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11806 $ac_includes_default
11807 #include <$ac_header>
11809 rm -f conftest.$ac_objext
11810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11811 (eval $ac_compile) 2>conftest.er1
11813 grep -v '^ *+' conftest.er1 >conftest.err
11815 cat conftest.err >&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); } &&
11818 { ac_try='test -z "$ac_c_werror_flag"
11819 || test ! -s conftest.err'
11820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821 (eval $ac_try) 2>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; } &&
11825 { ac_try='test -s conftest.$ac_objext'
11826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 (eval $ac_try) 2>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; }; then
11831 ac_header_compiler=yes
11833 echo "$as_me: failed program was:" >&5
11834 sed 's/^/| /' conftest.$ac_ext >&5
11836 ac_header_compiler=no
11838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11840 echo "${ECHO_T}$ac_header_compiler" >&6
11842 # Is the header present?
11843 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11845 cat >conftest.$ac_ext <<_ACEOF
11848 cat confdefs.h >>conftest.$ac_ext
11849 cat >>conftest.$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11851 #include <$ac_header>
11853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11854 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11856 grep -v '^ *+' conftest.er1 >conftest.err
11858 cat conftest.err >&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); } >/dev/null; then
11861 if test -s conftest.err; then
11862 ac_cpp_err=$ac_c_preproc_warn_flag
11863 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11870 if test -z "$ac_cpp_err"; then
11871 ac_header_preproc=yes
11873 echo "$as_me: failed program was:" >&5
11874 sed 's/^/| /' conftest.$ac_ext >&5
11876 ac_header_preproc=no
11878 rm -f conftest.err conftest.$ac_ext
11879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11880 echo "${ECHO_T}$ac_header_preproc" >&6
11882 # So? What about this header?
11883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11888 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11889 ac_header_preproc=yes
11892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11896 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11897 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11899 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11903 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11906 ## ------------------------------------------ ##
11907 ## Report this to the AC_PACKAGE_NAME lists. ##
11908 ## ------------------------------------------ ##
11911 sed "s/^/$as_me: WARNING: /" >&2
11914 echo "$as_me:$LINENO: checking for $ac_header" >&5
11915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 eval "$as_ac_Header=\$ac_header_preproc"
11921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11926 cat >>confdefs.h <<_ACEOF
11927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11935 for ac_func in getpagesize
11937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11938 echo "$as_me:$LINENO: checking for $ac_func" >&5
11939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11940 if eval "test \"\${$as_ac_var+set}\" = set"; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 cat >conftest.$ac_ext <<_ACEOF
11946 cat confdefs.h >>conftest.$ac_ext
11947 cat >>conftest.$ac_ext <<_ACEOF
11948 /* end confdefs.h. */
11949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11951 #define $ac_func innocuous_$ac_func
11953 /* System header to define __stub macros and hopefully few prototypes,
11954 which can conflict with char $ac_func (); below.
11955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11956 <limits.h> exists even on freestanding compilers. */
11959 # include <limits.h>
11961 # include <assert.h>
11966 /* Override any gcc2 internal prototype to avoid an error. */
11971 /* We use char because int might match the return type of a gcc2
11972 builtin and then its argument prototype would still apply. */
11974 /* The GNU C library defines this for functions which it implements
11975 to always fail with ENOSYS. Some functions are actually named
11976 something starting with __ and the normal name is an alias. */
11977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11980 char (*f) () = $ac_func;
11989 return f != $ac_func;
11994 rm -f conftest.$ac_objext conftest$ac_exeext
11995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11996 (eval $ac_link) 2>conftest.er1
11998 grep -v '^ *+' conftest.er1 >conftest.err
12000 cat conftest.err >&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); } &&
12003 { ac_try='test -z "$ac_c_werror_flag"
12004 || test ! -s conftest.err'
12005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12006 (eval $ac_try) 2>&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; } &&
12010 { ac_try='test -s conftest$ac_exeext'
12011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12012 (eval $ac_try) 2>&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); }; }; then
12016 eval "$as_ac_var=yes"
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.$ac_ext >&5
12021 eval "$as_ac_var=no"
12023 rm -f conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12028 if test `eval echo '${'$as_ac_var'}'` = yes; then
12029 cat >>confdefs.h <<_ACEOF
12030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12036 echo "$as_me:$LINENO: checking for working mmap" >&5
12037 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
12038 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12039 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 if test "$cross_compiling" = yes; then
12042 ac_cv_func_mmap_fixed_mapped=no
12044 cat >conftest.$ac_ext <<_ACEOF
12047 cat confdefs.h >>conftest.$ac_ext
12048 cat >>conftest.$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12050 $ac_includes_default
12051 /* malloc might have been renamed as rpl_malloc. */
12054 /* Thanks to Mike Haertel and Jim Avera for this test.
12055 Here is a matrix of mmap possibilities:
12056 mmap private not fixed
12057 mmap private fixed at somewhere currently unmapped
12058 mmap private fixed at somewhere already mapped
12059 mmap shared not fixed
12060 mmap shared fixed at somewhere currently unmapped
12061 mmap shared fixed at somewhere already mapped
12062 For private mappings, we should verify that changes cannot be read()
12063 back from the file, nor mmap's back from the file at a different
12064 address. (There have been systems where private was not correctly
12065 implemented like the infamous i386 svr4.0, and systems where the
12066 VM page cache was not coherent with the file system buffer cache
12067 like early versions of FreeBSD and possibly contemporary NetBSD.)
12068 For shared mappings, we should conversely verify that changes get
12069 propagated back to all the places they're supposed to be.
12071 Grep wants private fixed already mapped.
12072 The main things grep needs to know about mmap are:
12073 * does it exist and is it safe to write into the mmap'd area
12074 * how to use it (BSD variants) */
12077 #include <sys/mman.h>
12079 #if !STDC_HEADERS && !HAVE_STDLIB_H
12083 /* This mess was copied from the GNU getpagesize.h. */
12084 #if !HAVE_GETPAGESIZE
12085 /* Assume that all systems that can run configure have sys/param.h. */
12086 # if !HAVE_SYS_PARAM_H
12087 # define HAVE_SYS_PARAM_H 1
12090 # ifdef _SC_PAGESIZE
12091 # define getpagesize() sysconf(_SC_PAGESIZE)
12092 # else /* no _SC_PAGESIZE */
12093 # if HAVE_SYS_PARAM_H
12094 # include <sys/param.h>
12095 # ifdef EXEC_PAGESIZE
12096 # define getpagesize() EXEC_PAGESIZE
12097 # else /* no EXEC_PAGESIZE */
12099 # define getpagesize() NBPG * CLSIZE
12102 # endif /* no CLSIZE */
12103 # else /* no NBPG */
12105 # define getpagesize() NBPC
12106 # else /* no NBPC */
12108 # define getpagesize() PAGESIZE
12109 # endif /* PAGESIZE */
12110 # endif /* no NBPC */
12111 # endif /* no NBPG */
12112 # endif /* no EXEC_PAGESIZE */
12113 # else /* no HAVE_SYS_PARAM_H */
12114 # define getpagesize() 8192 /* punt totally */
12115 # endif /* no HAVE_SYS_PARAM_H */
12116 # endif /* no _SC_PAGESIZE */
12118 #endif /* no HAVE_GETPAGESIZE */
12123 char *data, *data2, *data3;
12127 pagesize = getpagesize ();
12129 /* First, make a file with some known garbage in it. */
12130 data = (char *) malloc (pagesize);
12133 for (i = 0; i < pagesize; ++i)
12134 *(data + i) = rand ();
12136 fd = creat ("conftest.mmap", 0600);
12139 if (write (fd, data, pagesize) != pagesize)
12143 /* Next, try to mmap the file at a fixed address which already has
12144 something else allocated at it. If we can, also make sure that
12145 we see the same garbage. */
12146 fd = open ("conftest.mmap", O_RDWR);
12149 data2 = (char *) malloc (2 * pagesize);
12152 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
12153 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12154 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12156 for (i = 0; i < pagesize; ++i)
12157 if (*(data + i) != *(data2 + i))
12160 /* Finally, make sure that changes to the mapped area do not
12161 percolate back to the file as seen by read(). (This is a bug on
12162 some variants of i386 svr4.0.) */
12163 for (i = 0; i < pagesize; ++i)
12164 *(data2 + i) = *(data2 + i) + 1;
12165 data3 = (char *) malloc (pagesize);
12168 if (read (fd, data3, pagesize) != pagesize)
12170 for (i = 0; i < pagesize; ++i)
12171 if (*(data + i) != *(data3 + i))
12177 rm -f conftest$ac_exeext
12178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12179 (eval $ac_link) 2>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12184 (eval $ac_try) 2>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); }; }; then
12188 ac_cv_func_mmap_fixed_mapped=yes
12190 echo "$as_me: program exited with status $ac_status" >&5
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.$ac_ext >&5
12194 ( exit $ac_status )
12195 ac_cv_func_mmap_fixed_mapped=no
12197 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12200 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12201 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12202 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12204 cat >>confdefs.h <<\_ACEOF
12205 #define HAVE_MMAP 1
12209 rm -f conftest.mmap
12213 for ac_func in madvise mprotect
12215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12216 echo "$as_me:$LINENO: checking for $ac_func" >&5
12217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12218 if eval "test \"\${$as_ac_var+set}\" = set"; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12221 cat >conftest.$ac_ext <<_ACEOF
12224 cat confdefs.h >>conftest.$ac_ext
12225 cat >>conftest.$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12229 #define $ac_func innocuous_$ac_func
12231 /* System header to define __stub macros and hopefully few prototypes,
12232 which can conflict with char $ac_func (); below.
12233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12234 <limits.h> exists even on freestanding compilers. */
12237 # include <limits.h>
12239 # include <assert.h>
12244 /* Override any gcc2 internal prototype to avoid an error. */
12249 /* We use char because int might match the return type of a gcc2
12250 builtin and then its argument prototype would still apply. */
12252 /* The GNU C library defines this for functions which it implements
12253 to always fail with ENOSYS. Some functions are actually named
12254 something starting with __ and the normal name is an alias. */
12255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12258 char (*f) () = $ac_func;
12267 return f != $ac_func;
12272 rm -f conftest.$ac_objext conftest$ac_exeext
12273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12274 (eval $ac_link) 2>conftest.er1
12276 grep -v '^ *+' conftest.er1 >conftest.err
12278 cat conftest.err >&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); } &&
12281 { ac_try='test -z "$ac_c_werror_flag"
12282 || test ! -s conftest.err'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; } &&
12288 { ac_try='test -s conftest$ac_exeext'
12289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12290 (eval $ac_try) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; }; then
12294 eval "$as_ac_var=yes"
12296 echo "$as_me: failed program was:" >&5
12297 sed 's/^/| /' conftest.$ac_ext >&5
12299 eval "$as_ac_var=no"
12301 rm -f conftest.err conftest.$ac_objext \
12302 conftest$ac_exeext conftest.$ac_ext
12304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12306 if test `eval echo '${'$as_ac_var'}'` = yes; then
12307 cat >>confdefs.h <<_ACEOF
12308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12314 case ${want_mmap}+${ac_cv_func_mmap_fixed_mapped} in
12316 cat >>confdefs.h <<\_ACEOF
12322 rm -f doc/config.status
12323 ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
12326 ac_config_commands="$ac_config_commands default"
12333 cat >confcache <<\_ACEOF
12334 # This file is a shell script that caches the results of configure
12335 # tests run on this system so they can be shared between configure
12336 # scripts and configure runs, see configure's option --config-cache.
12337 # It is not useful on other systems. If it contains results you don't
12338 # want to keep, you may remove or edit it.
12340 # config.status only pays attention to the cache file if you give it
12341 # the --recheck option to rerun configure.
12343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12345 # following values.
12349 # The following way of writing the cache mishandles newlines in values,
12350 # but we know of no workaround that is simple, portable, and efficient.
12351 # So, don't put newlines in cache variables' values.
12352 # Ultrix sh set writes to stderr and can't be redirected directly,
12353 # and sets the high bit in the cache file unless we assign to the vars.
12356 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12358 # `set' does not quote correctly, so add quotes (double-quote
12359 # substitution turns \\\\ into \\, and sed turns \\ into \).
12362 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12365 # `set' quotes correctly as required by POSIX, so do not add quotes.
12367 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12374 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12376 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12378 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12379 if test -w $cache_file; then
12380 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12381 cat confcache >$cache_file
12383 echo "not updating unwritable cache $cache_file"
12388 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12389 # Let make expand exec_prefix.
12390 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12392 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12393 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12394 # trailing colons and then remove the whole line if VPATH becomes empty
12395 # (actually we leave an empty line to preserve line numbers).
12396 if test "x$srcdir" = x.; then
12397 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12398 s/:*\$(srcdir):*/:/;
12399 s/:*\${srcdir}:*/:/;
12401 s/^\([^=]*=[ ]*\):*/\1/;
12407 DEFS=-DHAVE_CONFIG_H
12411 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12412 # 1. Remove the extension, and $U if already installed.
12413 ac_i=`echo "$ac_i" |
12414 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12416 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12417 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
12419 LIBOBJS=$ac_libobjs
12421 LTLIBOBJS=$ac_ltlibobjs
12424 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12425 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12426 Usually this means the macro was only invoked conditionally." >&5
12427 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12428 Usually this means the macro was only invoked conditionally." >&2;}
12429 { (exit 1); exit 1; }; }
12431 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12432 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12433 Usually this means the macro was only invoked conditionally." >&5
12434 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12435 Usually this means the macro was only invoked conditionally." >&2;}
12436 { (exit 1); exit 1; }; }
12438 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12439 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12440 Usually this means the macro was only invoked conditionally." >&5
12441 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12442 Usually this means the macro was only invoked conditionally." >&2;}
12443 { (exit 1); exit 1; }; }
12445 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12446 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
12447 Usually this means the macro was only invoked conditionally." >&5
12448 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
12449 Usually this means the macro was only invoked conditionally." >&2;}
12450 { (exit 1); exit 1; }; }
12452 if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12453 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBBFD\" was never defined.
12454 Usually this means the macro was only invoked conditionally." >&5
12455 echo "$as_me: error: conditional \"INSTALL_LIBBFD\" was never defined.
12456 Usually this means the macro was only invoked conditionally." >&2;}
12457 { (exit 1); exit 1; }; }
12460 : ${CONFIG_STATUS=./config.status}
12461 ac_clean_files_save=$ac_clean_files
12462 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12463 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12464 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12465 cat >$CONFIG_STATUS <<_ACEOF
12467 # Generated by $as_me.
12468 # Run this file to recreate the current configuration.
12469 # Compiler output produced by configure, useful for debugging
12470 # configure, is in config.log if it exists.
12473 ac_cs_recheck=false
12475 SHELL=\${CONFIG_SHELL-$SHELL}
12478 cat >>$CONFIG_STATUS <<\_ACEOF
12479 ## --------------------- ##
12480 ## M4sh Initialization. ##
12481 ## --------------------- ##
12483 # Be Bourne compatible
12484 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12487 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12488 # is contrary to our usage. Disable this feature.
12489 alias -g '${1+"$@"}'='"$@"'
12490 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12493 DUALCASE=1; export DUALCASE # for MKS sh
12495 # Support unset when possible.
12496 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12503 # Work around bugs in pre-3.0 UWIN ksh.
12504 $as_unset ENV MAIL MAILPATH
12511 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12512 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12513 LC_TELEPHONE LC_TIME
12515 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12516 eval $as_var=C; export $as_var
12522 # Required to use basename.
12523 if expr a : '\(a\)' >/dev/null 2>&1; then
12529 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
12530 as_basename=basename
12536 # Name of the executable.
12537 as_me=`$as_basename "$0" ||
12538 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12539 X"$0" : 'X\(//\)$' \| \
12540 X"$0" : 'X\(/\)$' \| \
12541 . : '\(.\)' 2>/dev/null ||
12543 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12544 /^X\/\(\/\/\)$/{ s//\1/; q; }
12545 /^X\/\(\/\).*/{ s//\1/; q; }
12549 # PATH needs CR, and LINENO needs CR and PATH.
12550 # Avoid depending upon Character Ranges.
12551 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12552 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12553 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12554 as_cr_digits='0123456789'
12555 as_cr_alnum=$as_cr_Letters$as_cr_digits
12557 # The user is always right.
12558 if test "${PATH_SEPARATOR+set}" != set; then
12559 echo "#! /bin/sh" >conf$$.sh
12560 echo "exit 0" >>conf$$.sh
12562 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12571 as_lineno_1=$LINENO
12572 as_lineno_2=$LINENO
12573 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12574 test "x$as_lineno_1" != "x$as_lineno_2" &&
12575 test "x$as_lineno_3" = "x$as_lineno_2" || {
12576 # Find who we are. Look in the path if we contain no path at all
12579 *[\\/]* ) as_myself=$0 ;;
12580 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12581 for as_dir in $PATH
12584 test -z "$as_dir" && as_dir=.
12585 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12590 # We did not find ourselves, most probably we were run as `sh COMMAND'
12591 # in which case we are not to be found in the path.
12592 if test "x$as_myself" = x; then
12595 if test ! -f "$as_myself"; then
12596 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12597 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12598 { (exit 1); exit 1; }; }
12600 case $CONFIG_SHELL in
12602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12603 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12606 test -z "$as_dir" && as_dir=.
12607 for as_base in sh bash ksh sh5; do
12610 if ("$as_dir/$as_base" -c '
12611 as_lineno_1=$LINENO
12612 as_lineno_2=$LINENO
12613 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12614 test "x$as_lineno_1" != "x$as_lineno_2" &&
12615 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12616 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12617 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12618 CONFIG_SHELL=$as_dir/$as_base
12619 export CONFIG_SHELL
12620 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12628 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12629 # uniformly replaced by the line number. The first 'sed' inserts a
12630 # line-number line before each line; the second 'sed' does the real
12631 # work. The second script uses 'N' to pair each line-number line
12632 # with the numbered line, and appends trailing '-' during
12633 # substitution so that $LINENO is not a special case at line end.
12634 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12635 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12636 sed '=' <$as_myself |
12641 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12644 s,^['$as_cr_digits']*\n,,
12645 ' >$as_me.lineno &&
12646 chmod +x $as_me.lineno ||
12647 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12648 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12649 { (exit 1); exit 1; }; }
12651 # Don't try to exec as it changes $[0], causing all sort of problems
12652 # (the dirname of $[0] is not the place where we might find the
12653 # original and so on. Autoconf is especially sensible to this).
12655 # Exit status is that of the last command.
12660 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12661 *c*,-n*) ECHO_N= ECHO_C='
12663 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12664 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12667 if expr a : '\(a\)' >/dev/null 2>&1; then
12673 rm -f conf$$ conf$$.exe conf$$.file
12675 if ln -s conf$$.file conf$$ 2>/dev/null; then
12676 # We could just check for DJGPP; but this test a) works b) is more generic
12677 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12678 if test -f conf$$.exe; then
12679 # Don't use ln at all; we don't have any links
12684 elif ln conf$$.file conf$$ 2>/dev/null; then
12689 rm -f conf$$ conf$$.exe conf$$.file
12691 if mkdir -p . 2>/dev/null; then
12694 test -d ./-p && rmdir ./-p
12698 as_executable_p="test -f"
12700 # Sed expression to map a string onto a valid CPP name.
12701 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12703 # Sed expression to map a string onto a valid variable name.
12704 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12708 # We need space, tab and new line, in precisely that order.
12718 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12719 # report actual input values of CONFIG_FILES etc. instead of their
12720 # values after options handling. Logging --version etc. is OK.
12724 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12725 ## Running $as_me. ##
12730 This file was extended by $as_me, which was
12731 generated by GNU Autoconf 2.59. Invocation command line was
12733 CONFIG_FILES = $CONFIG_FILES
12734 CONFIG_HEADERS = $CONFIG_HEADERS
12735 CONFIG_LINKS = $CONFIG_LINKS
12736 CONFIG_COMMANDS = $CONFIG_COMMANDS
12740 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12744 # Files that config.status was made for.
12745 if test -n "$ac_config_files"; then
12746 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12749 if test -n "$ac_config_headers"; then
12750 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12753 if test -n "$ac_config_links"; then
12754 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12757 if test -n "$ac_config_commands"; then
12758 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12761 cat >>$CONFIG_STATUS <<\_ACEOF
12764 \`$as_me' instantiates files from templates according to the
12765 current configuration.
12767 Usage: $0 [OPTIONS] [FILE]...
12769 -h, --help print this help, then exit
12770 -V, --version print version number, then exit
12771 -q, --quiet do not print progress messages
12772 -d, --debug don't remove temporary files
12773 --recheck update $as_me by reconfiguring in the same conditions
12774 --file=FILE[:TEMPLATE]
12775 instantiate the configuration file FILE
12776 --header=FILE[:TEMPLATE]
12777 instantiate the configuration header FILE
12779 Configuration files:
12782 Configuration headers:
12785 Configuration commands:
12791 cat >>$CONFIG_STATUS <<_ACEOF
12794 configured by $0, generated by GNU Autoconf 2.59,
12795 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12797 Copyright (C) 2003 Free Software Foundation, Inc.
12798 This config.status script is free software; the Free Software Foundation
12799 gives unlimited permission to copy, distribute and modify it."
12804 cat >>$CONFIG_STATUS <<\_ACEOF
12805 # If no file are specified by the user, then we need to provide default
12806 # value. By we need to know if files were specified by the user.
12812 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12813 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12821 *) # This is not an option, so the user has probably given explicit
12824 ac_need_defaults=false;;
12828 # Handling of the options.
12830 cat >>$CONFIG_STATUS <<\_ACEOF
12831 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12833 --version | --vers* | -V )
12834 echo "$ac_cs_version"; exit 0 ;;
12836 # Conflict between --help and --header
12837 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12838 Try \`$0 --help' for more information." >&5
12839 echo "$as_me: error: ambiguous option: $1
12840 Try \`$0 --help' for more information." >&2;}
12841 { (exit 1); exit 1; }; };;
12842 --help | --hel | -h )
12843 echo "$ac_cs_usage"; exit 0 ;;
12844 --debug | --d* | -d )
12846 --file | --fil | --fi | --f )
12848 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12849 ac_need_defaults=false;;
12850 --header | --heade | --head | --hea )
12852 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12853 ac_need_defaults=false;;
12854 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12855 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12858 # This is an error.
12859 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12860 Try \`$0 --help' for more information." >&5
12861 echo "$as_me: error: unrecognized option: $1
12862 Try \`$0 --help' for more information." >&2;}
12863 { (exit 1); exit 1; }; } ;;
12865 *) ac_config_targets="$ac_config_targets $1" ;;
12871 ac_configure_extra_args=
12873 if $ac_cs_silent; then
12875 ac_configure_extra_args="$ac_configure_extra_args --silent"
12879 cat >>$CONFIG_STATUS <<_ACEOF
12880 if \$ac_cs_recheck; then
12881 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12882 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12887 cat >>$CONFIG_STATUS <<_ACEOF
12889 # INIT-COMMANDS section.
12892 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12893 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12894 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12896 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12897 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12898 LINGUAS="${LINGUAS-%UNSET%}"
12906 cat >>$CONFIG_STATUS <<\_ACEOF
12907 for ac_config_target in $ac_config_targets
12909 case "$ac_config_target" in
12910 # Handling of arguments.
12911 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12912 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12913 "bfd-in3.h" ) CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
12914 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
12915 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12916 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
12917 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12918 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
12919 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12920 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12921 { (exit 1); exit 1; }; };;
12925 # If the user did not use the arguments to specify the items to instantiate,
12926 # then the envvar interface is used. Set only those that are not.
12927 # We use the long form for the default assignment because of an extremely
12928 # bizarre bug on SunOS 4.1.3.
12929 if $ac_need_defaults; then
12930 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12931 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12932 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12935 # Have a temporary directory for convenience. Make it in the build tree
12936 # simply because there is no reason to put it here, and in addition,
12937 # creating and moving files from /tmp can sometimes cause problems.
12938 # Create a temporary directory, and hook for its removal unless debugging.
12941 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12942 trap '{ (exit 1); exit 1; }' 1 2 13 15
12945 # Create a (secure) tmp directory for tmp files.
12948 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12949 test -n "$tmp" && test -d "$tmp"
12952 tmp=./confstat$$-$RANDOM
12953 (umask 077 && mkdir $tmp)
12956 echo "$me: cannot create a temporary directory in ." >&2
12957 { (exit 1); exit 1; }
12962 cat >>$CONFIG_STATUS <<_ACEOF
12965 # CONFIG_FILES section.
12968 # No need to generate the scripts if there are no CONFIG_FILES.
12969 # This happens for instance when ./config.status config.h
12970 if test -n "\$CONFIG_FILES"; then
12971 # Protect against being on the right side of a sed subst in config.status.
12972 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12973 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12974 s,@SHELL@,$SHELL,;t t
12975 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12976 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12977 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12978 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12979 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12980 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12981 s,@exec_prefix@,$exec_prefix,;t t
12982 s,@prefix@,$prefix,;t t
12983 s,@program_transform_name@,$program_transform_name,;t t
12984 s,@bindir@,$bindir,;t t
12985 s,@sbindir@,$sbindir,;t t
12986 s,@libexecdir@,$libexecdir,;t t
12987 s,@datadir@,$datadir,;t t
12988 s,@sysconfdir@,$sysconfdir,;t t
12989 s,@sharedstatedir@,$sharedstatedir,;t t
12990 s,@localstatedir@,$localstatedir,;t t
12991 s,@libdir@,$libdir,;t t
12992 s,@includedir@,$includedir,;t t
12993 s,@oldincludedir@,$oldincludedir,;t t
12994 s,@infodir@,$infodir,;t t
12995 s,@mandir@,$mandir,;t t
12996 s,@build_alias@,$build_alias,;t t
12997 s,@host_alias@,$host_alias,;t t
12998 s,@target_alias@,$target_alias,;t t
12999 s,@DEFS@,$DEFS,;t t
13000 s,@ECHO_C@,$ECHO_C,;t t
13001 s,@ECHO_N@,$ECHO_N,;t t
13002 s,@ECHO_T@,$ECHO_T,;t t
13003 s,@LIBS@,$LIBS,;t t
13004 s,@build@,$build,;t t
13005 s,@build_cpu@,$build_cpu,;t t
13006 s,@build_vendor@,$build_vendor,;t t
13007 s,@build_os@,$build_os,;t t
13008 s,@host@,$host,;t t
13009 s,@host_cpu@,$host_cpu,;t t
13010 s,@host_vendor@,$host_vendor,;t t
13011 s,@host_os@,$host_os,;t t
13012 s,@target@,$target,;t t
13013 s,@target_cpu@,$target_cpu,;t t
13014 s,@target_vendor@,$target_vendor,;t t
13015 s,@target_os@,$target_os,;t t
13017 s,@CFLAGS@,$CFLAGS,;t t
13018 s,@LDFLAGS@,$LDFLAGS,;t t
13019 s,@CPPFLAGS@,$CPPFLAGS,;t t
13020 s,@ac_ct_CC@,$ac_ct_CC,;t t
13021 s,@EXEEXT@,$EXEEXT,;t t
13022 s,@OBJEXT@,$OBJEXT,;t t
13023 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13024 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13025 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13026 s,@CYGPATH_W@,$CYGPATH_W,;t t
13027 s,@PACKAGE@,$PACKAGE,;t t
13028 s,@VERSION@,$VERSION,;t t
13029 s,@ACLOCAL@,$ACLOCAL,;t t
13030 s,@AUTOCONF@,$AUTOCONF,;t t
13031 s,@AUTOMAKE@,$AUTOMAKE,;t t
13032 s,@AUTOHEADER@,$AUTOHEADER,;t t
13033 s,@MAKEINFO@,$MAKEINFO,;t t
13034 s,@install_sh@,$install_sh,;t t
13035 s,@STRIP@,$STRIP,;t t
13036 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13037 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13038 s,@mkdir_p@,$mkdir_p,;t t
13040 s,@SET_MAKE@,$SET_MAKE,;t t
13041 s,@am__leading_dot@,$am__leading_dot,;t t
13042 s,@AMTAR@,$AMTAR,;t t
13043 s,@am__tar@,$am__tar,;t t
13044 s,@am__untar@,$am__untar,;t t
13045 s,@DEPDIR@,$DEPDIR,;t t
13046 s,@am__include@,$am__include,;t t
13047 s,@am__quote@,$am__quote,;t t
13048 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13049 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13050 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13051 s,@CCDEPMODE@,$CCDEPMODE,;t t
13052 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13053 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13055 s,@ac_ct_AR@,$ac_ct_AR,;t t
13056 s,@RANLIB@,$RANLIB,;t t
13057 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13058 s,@LN_S@,$LN_S,;t t
13059 s,@LIBTOOL@,$LIBTOOL,;t t
13060 s,@PKGVERSION@,$PKGVERSION,;t t
13061 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
13062 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t
13063 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
13064 s,@NO_WERROR@,$NO_WERROR,;t t
13065 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13066 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13067 s,@MAINT@,$MAINT,;t t
13068 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
13069 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
13070 s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
13071 s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
13072 s,@host_noncanonical@,$host_noncanonical,;t t
13073 s,@target_noncanonical@,$target_noncanonical,;t t
13074 s,@bfdlibdir@,$bfdlibdir,;t t
13075 s,@bfdincludedir@,$bfdincludedir,;t t
13076 s,@USE_NLS@,$USE_NLS,;t t
13077 s,@LIBINTL@,$LIBINTL,;t t
13078 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
13079 s,@INCINTL@,$INCINTL,;t t
13080 s,@XGETTEXT@,$XGETTEXT,;t t
13081 s,@GMSGFMT@,$GMSGFMT,;t t
13082 s,@POSUB@,$POSUB,;t t
13083 s,@CATALOGS@,$CATALOGS,;t t
13084 s,@DATADIRNAME@,$DATADIRNAME,;t t
13085 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13086 s,@GENCAT@,$GENCAT,;t t
13087 s,@CATOBJEXT@,$CATOBJEXT,;t t
13088 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13089 s,@MSGFMT@,$MSGFMT,;t t
13090 s,@MSGMERGE@,$MSGMERGE,;t t
13091 s,@HDEFINES@,$HDEFINES,;t t
13093 s,@EGREP@,$EGREP,;t t
13094 s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
13095 s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
13096 s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
13097 s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
13098 s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
13099 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
13100 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
13101 s,@COREFILE@,$COREFILE,;t t
13102 s,@COREFLAG@,$COREFLAG,;t t
13103 s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
13104 s,@WIN32LIBADD@,$WIN32LIBADD,;t t
13105 s,@TDEFINES@,$TDEFINES,;t t
13106 s,@wordsize@,$wordsize,;t t
13107 s,@bfd64_libs@,$bfd64_libs,;t t
13108 s,@all_backends@,$all_backends,;t t
13109 s,@bfd_backends@,$bfd_backends,;t t
13110 s,@bfd_machines@,$bfd_machines,;t t
13111 s,@bfd_default_target_size@,$bfd_default_target_size,;t t
13112 s,@bfd_file_ptr@,$bfd_file_ptr,;t t
13113 s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
13114 s,@tdefaults@,$tdefaults,;t t
13115 s,@datarootdir@,$datarootdir,;t t
13116 s,@docdir@,$docdir,;t t
13117 s,@htmldir@,$htmldir,;t t
13118 s,@LIBOBJS@,$LIBOBJS,;t t
13119 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13124 cat >>$CONFIG_STATUS <<\_ACEOF
13125 # Split the substitutions into bite-sized pieces for seds with
13126 # small command number limits, like on Digital OSF/1 and HP-UX.
13127 ac_max_sed_lines=48
13128 ac_sed_frag=1 # Number of current file.
13129 ac_beg=1 # First line for current file.
13130 ac_end=$ac_max_sed_lines # Line after last line for current file.
13133 while $ac_more_lines; do
13134 if test $ac_beg -gt 1; then
13135 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13137 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13139 if test ! -s $tmp/subs.frag; then
13140 ac_more_lines=false
13142 # The purpose of the label and of the branching condition is to
13143 # speed up the sed processing (if there are no `@' at all, there
13144 # is no need to browse any of the substitutions).
13145 # These are the two extra sed commands mentioned above.
13147 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13148 if test -z "$ac_sed_cmds"; then
13149 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13151 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13153 ac_sed_frag=`expr $ac_sed_frag + 1`
13155 ac_end=`expr $ac_end + $ac_max_sed_lines`
13158 if test -z "$ac_sed_cmds"; then
13161 fi # test -n "$CONFIG_FILES"
13164 cat >>$CONFIG_STATUS <<\_ACEOF
13165 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13166 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13168 - | *:- | *:-:* ) # input from stdin
13170 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13171 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13172 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13173 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13174 * ) ac_file_in=$ac_file.in ;;
13177 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13178 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13179 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13180 X"$ac_file" : 'X\(//\)[^/]' \| \
13181 X"$ac_file" : 'X\(//\)$' \| \
13182 X"$ac_file" : 'X\(/\)' \| \
13183 . : '\(.\)' 2>/dev/null ||
13185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13186 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13187 /^X\(\/\/\)$/{ s//\1/; q; }
13188 /^X\(\/\).*/{ s//\1/; q; }
13190 { if $as_mkdir_p; then
13195 while test ! -d "$as_dir"; do
13196 as_dirs="$as_dir $as_dirs"
13197 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13198 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13199 X"$as_dir" : 'X\(//\)[^/]' \| \
13200 X"$as_dir" : 'X\(//\)$' \| \
13201 X"$as_dir" : 'X\(/\)' \| \
13202 . : '\(.\)' 2>/dev/null ||
13204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13206 /^X\(\/\/\)$/{ s//\1/; q; }
13207 /^X\(\/\).*/{ s//\1/; q; }
13210 test ! -n "$as_dirs" || mkdir $as_dirs
13211 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13212 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13213 { (exit 1); exit 1; }; }; }
13217 if test "$ac_dir" != .; then
13218 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13219 # A "../" for each directory in $ac_dir_suffix.
13220 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13222 ac_dir_suffix= ac_top_builddir=
13226 .) # No --srcdir option. We are building in place.
13228 if test -z "$ac_top_builddir"; then
13231 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13233 [\\/]* | ?:[\\/]* ) # Absolute path.
13234 ac_srcdir=$srcdir$ac_dir_suffix;
13235 ac_top_srcdir=$srcdir ;;
13236 *) # Relative path.
13237 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13238 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13241 # Do not use `cd foo && pwd` to compute absolute paths, because
13242 # the directories may not exist.
13244 .) ac_abs_builddir="$ac_dir";;
13247 .) ac_abs_builddir=`pwd`;;
13248 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13249 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13252 case $ac_abs_builddir in
13253 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13255 case ${ac_top_builddir}. in
13256 .) ac_abs_top_builddir=$ac_abs_builddir;;
13257 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13258 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13261 case $ac_abs_builddir in
13262 .) ac_abs_srcdir=$ac_srcdir;;
13265 .) ac_abs_srcdir=$ac_abs_builddir;;
13266 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13267 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13270 case $ac_abs_builddir in
13271 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13273 case $ac_top_srcdir in
13274 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13275 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13276 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13282 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13283 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13286 if test x"$ac_file" != x-; then
13287 { echo "$as_me:$LINENO: creating $ac_file" >&5
13288 echo "$as_me: creating $ac_file" >&6;}
13291 # Let's still pretend it is `configure' which instantiates (i.e., don't
13292 # use $as_me), people would be surprised to read:
13293 # /* config.h. Generated by config.status. */
13294 if test x"$ac_file" = x-; then
13297 configure_input="$ac_file. "
13299 configure_input=$configure_input"Generated from `echo $ac_file_in |
13300 sed 's,.*/,,'` by configure."
13302 # First look for the input files in the build tree, otherwise in the
13304 ac_file_inputs=`IFS=:
13305 for f in $ac_file_in; do
13307 -) echo $tmp/stdin ;;
13309 # Absolute (can't be DOS-style, as IFS=:)
13310 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13311 echo "$as_me: error: cannot find input file: $f" >&2;}
13312 { (exit 1); exit 1; }; }
13315 if test -f "$f"; then
13318 elif test -f "$srcdir/$f"; then
13323 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13324 echo "$as_me: error: cannot find input file: $f" >&2;}
13325 { (exit 1); exit 1; }; }
13328 done` || { (exit 1); exit 1; }
13330 cat >>$CONFIG_STATUS <<_ACEOF
13334 cat >>$CONFIG_STATUS <<\_ACEOF
13336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13337 s,@configure_input@,$configure_input,;t t
13338 s,@srcdir@,$ac_srcdir,;t t
13339 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13340 s,@top_srcdir@,$ac_top_srcdir,;t t
13341 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13342 s,@builddir@,$ac_builddir,;t t
13343 s,@abs_builddir@,$ac_abs_builddir,;t t
13344 s,@top_builddir@,$ac_top_builddir,;t t
13345 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13346 s,@INSTALL@,$ac_INSTALL,;t t
13347 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13349 if test x"$ac_file" != x-; then
13350 mv $tmp/out $ac_file
13358 cat >>$CONFIG_STATUS <<\_ACEOF
13361 # CONFIG_HEADER section.
13364 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13365 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13367 # ac_d sets the value in "#define NAME VALUE" lines.
13368 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13369 ac_dB='[ ].*$,\1#\2'
13372 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13373 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13374 ac_uB='$,\1#\2define\3'
13378 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13379 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13381 - | *:- | *:-:* ) # input from stdin
13383 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13384 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13385 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13386 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13387 * ) ac_file_in=$ac_file.in ;;
13390 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13391 echo "$as_me: creating $ac_file" >&6;}
13393 # First look for the input files in the build tree, otherwise in the
13395 ac_file_inputs=`IFS=:
13396 for f in $ac_file_in; do
13398 -) echo $tmp/stdin ;;
13400 # Absolute (can't be DOS-style, as IFS=:)
13401 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13402 echo "$as_me: error: cannot find input file: $f" >&2;}
13403 { (exit 1); exit 1; }; }
13404 # Do quote $f, to prevent DOS paths from being IFS'd.
13407 if test -f "$f"; then
13410 elif test -f "$srcdir/$f"; then
13415 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13416 echo "$as_me: error: cannot find input file: $f" >&2;}
13417 { (exit 1); exit 1; }; }
13420 done` || { (exit 1); exit 1; }
13421 # Remove the trailing spaces.
13422 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13426 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13427 # `conftest.undefs', that substitutes the proper values into
13428 # config.h.in to produce config.h. The first handles `#define'
13429 # templates, and the second `#undef' templates.
13430 # And first: Protect against being on the right side of a sed subst in
13431 # config.status. Protect against being in an unquoted here document
13432 # in config.status.
13433 rm -f conftest.defines conftest.undefs
13434 # Using a here document instead of a string reduces the quoting nightmare.
13435 # Putting comments in sed scripts is not portable.
13437 # `end' is used to avoid that the second main sed command (meant for
13438 # 0-ary CPP macros) applies to n-ary macro definitions.
13439 # See the Autoconf documentation for `clear'.
13440 cat >confdef2sed.sed <<\_ACEOF
13445 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13447 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13450 # If some macros were called several times there might be several times
13451 # the same #defines, which is useless. Nevertheless, we may not want to
13452 # sort them, since we want the *last* AC-DEFINE to be honored.
13453 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13454 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13455 rm -f confdef2sed.sed
13457 # This sed command replaces #undef with comments. This is necessary, for
13458 # example, in the case of _POSIX_SOURCE, which is predefined and required
13459 # on some systems where configure will not decide to define it.
13460 cat >>conftest.undefs <<\_ACEOF
13461 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13464 # Break up conftest.defines because some shells have a limit on the size
13465 # of here documents, and old seds have small limits too (100 cmds).
13466 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13467 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13468 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13469 echo ' :' >>$CONFIG_STATUS
13470 rm -f conftest.tail
13471 while grep . conftest.defines >/dev/null
13473 # Write a limited-size here document to $tmp/defines.sed.
13474 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13475 # Speed up: don't consider the non `#define' lines.
13476 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13477 # Work around the forget-to-reset-the-flag bug.
13478 echo 't clr' >>$CONFIG_STATUS
13479 echo ': clr' >>$CONFIG_STATUS
13480 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
13482 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13484 mv $tmp/out $tmp/in
13486 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
13487 rm -f conftest.defines
13488 mv conftest.tail conftest.defines
13490 rm -f conftest.defines
13491 echo ' fi # grep' >>$CONFIG_STATUS
13492 echo >>$CONFIG_STATUS
13494 # Break up conftest.undefs because some shells have a limit on the size
13495 # of here documents, and old seds have small limits too (100 cmds).
13496 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13497 rm -f conftest.tail
13498 while grep . conftest.undefs >/dev/null
13500 # Write a limited-size here document to $tmp/undefs.sed.
13501 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13502 # Speed up: don't consider the non `#undef'
13503 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13504 # Work around the forget-to-reset-the-flag bug.
13505 echo 't clr' >>$CONFIG_STATUS
13506 echo ': clr' >>$CONFIG_STATUS
13507 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13509 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13511 mv $tmp/out $tmp/in
13513 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13514 rm -f conftest.undefs
13515 mv conftest.tail conftest.undefs
13517 rm -f conftest.undefs
13519 cat >>$CONFIG_STATUS <<\_ACEOF
13520 # Let's still pretend it is `configure' which instantiates (i.e., don't
13521 # use $as_me), people would be surprised to read:
13522 # /* config.h. Generated by config.status. */
13523 if test x"$ac_file" = x-; then
13524 echo "/* Generated by configure. */" >$tmp/config.h
13526 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13528 cat $tmp/in >>$tmp/config.h
13530 if test x"$ac_file" != x-; then
13531 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
13532 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13533 echo "$as_me: $ac_file is unchanged" >&6;}
13535 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13536 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13537 X"$ac_file" : 'X\(//\)[^/]' \| \
13538 X"$ac_file" : 'X\(//\)$' \| \
13539 X"$ac_file" : 'X\(/\)' \| \
13540 . : '\(.\)' 2>/dev/null ||
13542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13543 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13544 /^X\(\/\/\)$/{ s//\1/; q; }
13545 /^X\(\/\).*/{ s//\1/; q; }
13547 { if $as_mkdir_p; then
13552 while test ! -d "$as_dir"; do
13553 as_dirs="$as_dir $as_dirs"
13554 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13555 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13556 X"$as_dir" : 'X\(//\)[^/]' \| \
13557 X"$as_dir" : 'X\(//\)$' \| \
13558 X"$as_dir" : 'X\(/\)' \| \
13559 . : '\(.\)' 2>/dev/null ||
13561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13562 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13563 /^X\(\/\/\)$/{ s//\1/; q; }
13564 /^X\(\/\).*/{ s//\1/; q; }
13567 test ! -n "$as_dirs" || mkdir $as_dirs
13568 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13569 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13570 { (exit 1); exit 1; }; }; }
13573 mv $tmp/config.h $ac_file
13577 rm -f $tmp/config.h
13579 # Compute $ac_file's index in $config_headers.
13581 for _am_header in $config_headers :; do
13582 case $_am_header in
13583 $ac_file | $ac_file:* )
13586 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13589 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13590 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13591 X$ac_file : 'X\(//\)[^/]' \| \
13592 X$ac_file : 'X\(//\)$' \| \
13593 X$ac_file : 'X\(/\)' \| \
13594 . : '\(.\)' 2>/dev/null ||
13596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13597 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13598 /^X\(\/\/\)$/{ s//\1/; q; }
13599 /^X\(\/\).*/{ s//\1/; q; }
13600 s/.*/./; q'`/stamp-h$_am_stamp_count
13603 cat >>$CONFIG_STATUS <<\_ACEOF
13606 # CONFIG_COMMANDS section.
13608 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13609 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13610 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13611 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13612 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13613 X"$ac_dest" : 'X\(//\)[^/]' \| \
13614 X"$ac_dest" : 'X\(//\)$' \| \
13615 X"$ac_dest" : 'X\(/\)' \| \
13616 . : '\(.\)' 2>/dev/null ||
13618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13619 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13620 /^X\(\/\/\)$/{ s//\1/; q; }
13621 /^X\(\/\).*/{ s//\1/; q; }
13623 { if $as_mkdir_p; then
13628 while test ! -d "$as_dir"; do
13629 as_dirs="$as_dir $as_dirs"
13630 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13631 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13632 X"$as_dir" : 'X\(//\)[^/]' \| \
13633 X"$as_dir" : 'X\(//\)$' \| \
13634 X"$as_dir" : 'X\(/\)' \| \
13635 . : '\(.\)' 2>/dev/null ||
13637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13638 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13639 /^X\(\/\/\)$/{ s//\1/; q; }
13640 /^X\(\/\).*/{ s//\1/; q; }
13643 test ! -n "$as_dirs" || mkdir $as_dirs
13644 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13645 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13646 { (exit 1); exit 1; }; }; }
13650 if test "$ac_dir" != .; then
13651 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13652 # A "../" for each directory in $ac_dir_suffix.
13653 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13655 ac_dir_suffix= ac_top_builddir=
13659 .) # No --srcdir option. We are building in place.
13661 if test -z "$ac_top_builddir"; then
13664 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13666 [\\/]* | ?:[\\/]* ) # Absolute path.
13667 ac_srcdir=$srcdir$ac_dir_suffix;
13668 ac_top_srcdir=$srcdir ;;
13669 *) # Relative path.
13670 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13671 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13674 # Do not use `cd foo && pwd` to compute absolute paths, because
13675 # the directories may not exist.
13677 .) ac_abs_builddir="$ac_dir";;
13680 .) ac_abs_builddir=`pwd`;;
13681 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13682 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13685 case $ac_abs_builddir in
13686 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13688 case ${ac_top_builddir}. in
13689 .) ac_abs_top_builddir=$ac_abs_builddir;;
13690 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13691 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13694 case $ac_abs_builddir in
13695 .) ac_abs_srcdir=$ac_srcdir;;
13698 .) ac_abs_srcdir=$ac_abs_builddir;;
13699 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13700 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13703 case $ac_abs_builddir in
13704 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13706 case $ac_top_srcdir in
13707 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13708 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13709 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13714 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13715 echo "$as_me: executing $ac_dest commands" >&6;}
13717 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13718 # Strip MF so we end up with the name of the file.
13719 mf=`echo "$mf" | sed -e 's/:.*$//'`
13720 # Check whether this is an Automake generated Makefile or not.
13721 # We used to match only the files named `Makefile.in', but
13722 # some people rename them; so instead we look at the file content.
13723 # Grep'ing the first line is not enough: some people post-process
13724 # each Makefile.in and add a new line on top of each file to say so.
13725 # So let's grep whole file.
13726 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
13727 dirpart=`(dirname "$mf") 2>/dev/null ||
13728 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13729 X"$mf" : 'X\(//\)[^/]' \| \
13730 X"$mf" : 'X\(//\)$' \| \
13731 X"$mf" : 'X\(/\)' \| \
13732 . : '\(.\)' 2>/dev/null ||
13734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13735 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13736 /^X\(\/\/\)$/{ s//\1/; q; }
13737 /^X\(\/\).*/{ s//\1/; q; }
13742 # Extract the definition of DEPDIR, am__include, and am__quote
13743 # from the Makefile without running `make'.
13744 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13745 test -z "$DEPDIR" && continue
13746 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13747 test -z "am__include" && continue
13748 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13749 # When using ansi2knr, U may be empty or an underscore; expand it
13750 U=`sed -n 's/^U = //p' < "$mf"`
13751 # Find all dependency output files, they are included files with
13752 # $(DEPDIR) in their names. We invoke sed twice because it is the
13753 # simplest approach to changing $(DEPDIR) to its actual value in the
13755 for file in `sed -n "
13756 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13757 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13758 # Make sure the directory exists.
13759 test -f "$dirpart/$file" && continue
13760 fdir=`(dirname "$file") 2>/dev/null ||
13761 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13762 X"$file" : 'X\(//\)[^/]' \| \
13763 X"$file" : 'X\(//\)$' \| \
13764 X"$file" : 'X\(/\)' \| \
13765 . : '\(.\)' 2>/dev/null ||
13767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13768 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13769 /^X\(\/\/\)$/{ s//\1/; q; }
13770 /^X\(\/\).*/{ s//\1/; q; }
13772 { if $as_mkdir_p; then
13773 mkdir -p $dirpart/$fdir
13775 as_dir=$dirpart/$fdir
13777 while test ! -d "$as_dir"; do
13778 as_dirs="$as_dir $as_dirs"
13779 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13780 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13781 X"$as_dir" : 'X\(//\)[^/]' \| \
13782 X"$as_dir" : 'X\(//\)$' \| \
13783 X"$as_dir" : 'X\(/\)' \| \
13784 . : '\(.\)' 2>/dev/null ||
13786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13787 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13788 /^X\(\/\/\)$/{ s//\1/; q; }
13789 /^X\(\/\).*/{ s//\1/; q; }
13792 test ! -n "$as_dirs" || mkdir $as_dirs
13793 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13794 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13795 { (exit 1); exit 1; }; }; }
13797 # echo "creating $dirpart/$file"
13798 echo '# dummy' > "$dirpart/$file"
13803 for ac_file in $CONFIG_FILES; do
13804 # Support "outfile[:infile[:infile...]]"
13806 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
13808 # PO directories have a Makefile.in generated from Makefile.in.in.
13809 case "$ac_file" in */Makefile.in)
13810 # Adjust a relative srcdir.
13811 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13812 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
13813 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13814 # In autoconf-2.13 it is called $ac_given_srcdir.
13815 # In autoconf-2.50 it is called $srcdir.
13816 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
13817 case "$ac_given_srcdir" in
13818 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
13819 /*) top_srcdir="$ac_given_srcdir" ;;
13820 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
13822 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13823 rm -f "$ac_dir/POTFILES"
13824 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
13825 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13826 POMAKEFILEDEPS="POTFILES.in"
13827 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13828 # on $ac_dir but don't depend on user-specified configuration
13830 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13831 # The LINGUAS file contains the set of available languages.
13832 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13833 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
13835 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13836 # Hide the ALL_LINGUAS assigment from automake.
13837 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13838 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
13840 # The set of available languages was given in configure.in.
13841 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13843 case "$ac_given_srcdir" in
13845 *) srcdirpre='$(srcdir)/' ;;
13851 for lang in $ALL_LINGUAS; do
13852 POFILES="$POFILES $srcdirpre$lang.po"
13853 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
13854 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
13855 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
13857 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13858 # environment variable.
13860 if test -n "$ALL_LINGUAS"; then
13861 for presentlang in $ALL_LINGUAS; do
13863 if test "%UNSET%" != "$LINGUAS"; then
13864 desiredlanguages="$LINGUAS"
13866 desiredlanguages="$ALL_LINGUAS"
13868 for desiredlang in $desiredlanguages; do
13869 # Use the presentlang catalog if desiredlang is
13870 # a. equal to presentlang, or
13871 # b. a variant of presentlang (because in this case,
13872 # presentlang can be used as a fallback for messages
13873 # which are not translated in the desiredlang catalog).
13874 case "$desiredlang" in
13875 "$presentlang"*) useit=yes;;
13878 if test $useit = yes; then
13879 INST_LINGUAS="$INST_LINGUAS $presentlang"
13884 if test -n "$INST_LINGUAS"; then
13885 for lang in $INST_LINGUAS; do
13886 CATALOGS="$CATALOGS $lang.gmo"
13889 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
13890 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"
13891 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
13892 if test -f "$f"; then
13894 *.orig | *.bak | *~) ;;
13895 *) cat "$f" >> "$ac_dir/Makefile" ;;
13906 *) srcdirpre='$(srcdir)/' ;;
13910 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
13911 if test $lang != dummy; then
13912 POFILES="$POFILES $srcdirpre$lang.po"
13913 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
13916 sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' \
13917 -e '/BLD-POTFILES =/r po/BLD-POTFILES' \
13918 -e "s,@POFILES@,$POFILES," \
13919 -e "s,@GMOFILES@,$GMOFILES," \
13920 po/Makefile.in > po/Makefile ;;
13925 cat >>$CONFIG_STATUS <<\_ACEOF
13927 { (exit 0); exit 0; }
13929 chmod +x $CONFIG_STATUS
13930 ac_clean_files=$ac_clean_files_save
13933 # configure is writing to config.log, and then calls config.status.
13934 # config.status does its own redirection, appending to config.log.
13935 # Unfortunately, on DOS this fails, as config.log is still kept open
13936 # by configure, so config.status won't be able to write to it; its
13937 # output is simply discarded. So we exec the FD to /dev/null,
13938 # effectively closing config.log, so it can be properly (re)opened and
13939 # appended to by config.status. When coming back to configure, we
13940 # need to make the FD available again.
13941 if test "$no_create" != yes; then
13943 ac_config_status_args=
13944 test "$silent" = yes &&
13945 ac_config_status_args="$ac_config_status_args --quiet"
13947 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13949 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13950 # would make configure fail if this is the last instruction.
13951 $ac_cs_success || { (exit 1); exit 1; }